mskilab-org / skilift

An R interface for loading and modifying PGV datafiles
0 stars 3 forks source link

Adding two plots of the plot type to the same patient id will only create one plot because there are assigned the same source #5

Open stanleyrc opened 7 months ago

stanleyrc commented 7 months ago

Describe the bug When adding two plots of the same type for the same patient.id, only one plot is generated but both are added to $plots.

potential fix: add a check to see if multiple plots for the same sample are in the data.table being added. If there are multiple, assign different sources for the two plots