Open gorden711411 opened 7 years ago
This is a known bug when only one sample is provided. I am working on a fix. In the meanwhile, you can try to add a fake sample identical to the one you have, eg.
loci13$P2 = loci13$P vaf.col.names = c('P', 'P2')
and rerun. The output consensus tree should be the same, except for node annotation that includes P and P2 instead of only P. Just ignore P2.
Thank you for your reply. I hope you can fix the bug smoothly. ^.^
hi, i have the same error when one sample is provided, i want to know if the bug has been fixed? thank you!
Hi, i just tried the ClonEvol tutorial with only P sample (instead of P and R samples) and get the same bug still. Is there any new version available? Thanks!
Hi, i just tried the ClonEvol tutorial with only P sample (instead of P and R samples) and get the same bug still. Is there any new version available? Thanks!
vaf.col.names<- c("P","R") You should copy the vaf of P to R
Hello
I am trying to use clonevol in my data, I have been succeed in the function infer.clonal.models , then I faced some errors when I used the function convert.consensus.tree.clone.to.branch , the following is the error messages.
The following is my command (sorry for the bad layout )
library(clonevol) loci11<- read.table("02844190/02844190_c1_2.tsv",header = TRUE) loci13<-loci11[which(loci11$cluster!='NA'),] colnames(loci13)[3]<-"variant_allele_frequency" vaf.col.names<- "P" loci13["P"]<-loci13$variant_allele_frequency
y = infer.clonal.models(variants = loci13, cluster.col.name = 'cluster', vaf.col.names = vaf.col.names,
sample.groups = sample.groups,
y <- convert.consensus.tree.clone.to.branch(y, branch.scale = "sqrt")
plot.clonal.models(y,
box plot parameters
My data: 02844190.zip
Can you help me to find out why it failed? Many thanks.