Closed Tn00 closed 6 years ago
Sorry that the document is brief. I am working on a more comprehensive document and will update shortly.
Regarding the errors, several things were not right:
1) vaf.col.names should be a vector/string of the names of the columns where vaf is held in the data frame x. Your code created an empty string for vaf.col.names, due to this command:
sample.names <- gsub('prim.vaf', '', vaf.col.names)
that should better be:
sample.names <- gsub('.vaf', '', vaf.col.names)
2) Cluster column name should be a string, (eg. cluster.col.name = "cluster" ).
There is also a running bug on one sample analysis. The trick to overcome this is to create a second sample that is exactly the same as the sample you have but with different name/vaf column name, and trick ClonEvol to think that there are two samples. See also https://github.com/hdng/clonevol/issues/8.
Thank you for your help ! It is indeed better.
I'm a beginner in R and I'm trying to use the package ClonEvol, however the documentation on the github webpage is very limited. So for now I'm using their example code and trying to adapt it to my data called ce.
However, I get the following error :
Error in .subset2(x, i, exact = exact) : recursive indexing failed at level 2
And if I delete cluster.col.name=ce$cluster and vaf.col.names=vaf.col.names, the error becomes the following :
Has someone any idea of what went wrong ?