PureCN recover optimum solution
1
0
Entering edit mode
twtoal ▴ 10
@twtoal-15473
Last seen 14 months ago
United States

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 • 853 views
ADD COMMENT
1
Entering edit mode
@markusriester-9875
Last seen 22 months ago
United States

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 COMMENT

Login before adding your answer.

Traffic: 868 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6