FunGeST / Palimpsest

An R package for studying mutational signatures and structural variant signatures along clonal evolution in cancer.
69 stars 19 forks source link

palimpsest_DissectSigs for null clonal or subclonal #35

Open jh2663 opened 4 years ago

jh2663 commented 4 years ago

Hi, I just find that palimpsest_DissectSigs() has no option to tag out some samples with null (zero entries) clonal or subclonal groups in the input dataset.

It returns following error possibly because it can't compare null group vs other one:

Error in plot.window(xlim, ylim, log = log, ...) : need finite 'ylim' values

Best,

p.s1. I was able to handle this issue by manually removing such a sample from input 'vcf' data frame but it would be good to consider this in the next update.

p.s2. The same issue happens with palimpsest_plotTumorHistories() function. It can't make a proper plot for samples with no subclonal entries.