hdng / clonevol

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

cancer.initiation.model parameter in infer.clonal.models() #49

Open LucasLiu20200131 opened 3 years ago

LucasLiu20200131 commented 3 years ago

Hi, thanks for the wonderful tool you developed! Can you help me deal with a issue? while I was using your example data from aml1$variants and the code you provided in the manual, everything was fine except infer.clonal.models(), I set the "cancer.initiation.model" parameter to "polyclonal", and then an error occurred as follow:

Finding consensus models across samples... Found 1 consensus model(s) Generating consensus clonal evolution trees across samples... Found 1 consensus model(s) Scoring models... Error in $<-.data.frame(*tmp*, "clone.ccf.combined.p", value = c(0, : replacement has 6 rows, data has 5

I will be really appreciated if you can help me, thanks again!

FreyaVan commented 3 years ago

polyclonal model need another color for clone 0. That means if you have 5 clone , asign 6 colors.