Question: PureCN recover optimum solution
gravatar for twtoal
8 months ago by
twtoal0 wrote:

If I edit the manual curation file and change the purity and ploidy, is there any way to later on revert it back to the original PureCN-chosen solution's purity and ploidy (assuming I don't have a record of what that original purity and ploidy were)?

Would this be correct?:

> res = readRDS(sample.rds)
> which.max(sapply(res$results, function(L) L$total.log.likelihood))
[1] 2
> sampRDS$res[[2]]$purity
[1] 0.15
> sampRDS$res[[2]]$ploidy
[1] 2.925934



purecn optimum_solution • 149 views
ADD COMMENTlink modified 8 months ago by markus.riester110 • written 8 months ago by twtoal0
Answer: PureCN recover optimum solution
gravatar for markus.riester
8 months ago by
markus.riester110 wrote:

I think you can simply delete the CSV file and re-run PureCN.R with --rds sample.rds. It should re-create the original CSV file. 

ADD COMMENTlink written 8 months ago by markus.riester110
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 283 users visited in the last hour