hdng / clonevol

Inferring and visualizing clonal evolution in multi-sample cancer sequencing
GNU General Public License v3.0
141 stars 45 forks source link

Patients with only one sample #38

Open logan-leak opened 4 years ago

logan-leak commented 4 years ago

In the vignette, it says "ClonEvol requires an input data frame consisting of at least a cluster column and one or more variant cellular prevalence columns, each corresponds to a sample." However, when I try to run the functions for a patient with only one sample (so the data frame only has two columns, one for the cluster number and one for the VAF value), I run into errors that appear to be unresolvable.

hdng commented 4 years ago

Hi @logan-leak,

This is a known issue with ClonEvol. At some point, the implementation of bootstrapping dropped support for single sample analysis. One trick to overcome this is to create two identical samples from a single sample and run ClonEvol, and then use the output of only one sample.

Does this work for your case?

logan-leak commented 4 years ago

Yes, that works. Thanks!