ichorCNA icon indicating copy to clipboard operation
ichorCNA copied to clipboard

Detailed output of non-primary solutions

Open ivlachos opened this issue 6 years ago • 2 comments

Hi,

Is there a way to access the detailed output of the non-primary solutions? It seems that only the figures in the pdf output are available.

Thanks!

ivlachos avatar Sep 19 '18 22:09 ivlachos

Hi @ivlachos

At the moment, sub-optimal solutions are not being output except for the genome-wide plots for inspection of the solutions. Following inspection, if we need to select another solution, we typically re-run using the desired initializations of normal contamination (e.g n0.85) and ploidy (e.g. p3). That being said, all the solutions are stored in the .RData object from the original run. The results variable is a list containing all the solutions as its elements. ind contain the indices for the ordering of the solutions in descending order. You can modify ichorCNA.R script to loop over the list and save all the files by using the same code to print out the single optimal solution.

Best, Gavin

gavinha avatar Sep 19 '18 22:09 gavinha

Hi @gavinha,

I'll dive in the RData.

Thank you!

ivlachos avatar Sep 20 '18 22:09 ivlachos