Closed nesilin closed 8 years ago
Sorry for the slow response! Via my coauthor, @bswhite:
I think the problem is that Ines has set clusterParams='empty'. Instead, you want the default clusterParams="no.apply.overlapping.std.dev.condition"
without that, it looks like apply.overlapping.std.dev.condition will be TRUE in binomial.bmm.filter.clusters and this condition will be tripped
if(all(indices.to.keep==TRUE) & (apply.overlapping.std.dev.condition == TRU\
E) & (N.c > 1)) { stop("Not implemented because std dev not implemented for binomial!\n") } # End apply.overlapping.std.dev.condition
As for minimum depth, I don't recommend going below 50, unless absolutely necessary. For a striking example of how depth of coverage influences sampling error and the ability to discern clusters, take a look at Figure 5 here: http://www.cell.com/cell-systems/abstract/S2405-4712(15)00113-1
Thanks! Now works!
Hi! I'm trying to compare different tools/methods to estimate clonality in tumors with TCGA data in order to see which samples have a clustering consensus between PyClone, Sciclone and probably Expands too. Not only methods but models too. Beta model as 'bmm' worked fine but I've tried to use 'binomial.bmm' model like this:
And I got the following error:
Here is an example of the data frames I'm using:
Thanks!
PS: To my knowledge PyClone do not use a minimum depth for clustering. Do you recommend to set the minimumDepth parameter to 0 in order to have better comparable results?