View source: R/facets-emcncf.R
emcncf | R Documentation |
Uses genotype mixture model to estimate the cluster specific copy number and cellular fraction. Uses estimates based on the cnlr.median and mafR as initial values for the EM iteration.
emcncf( x, trace = FALSE, unif = FALSE, min.nhet = 15, maxiter = 10, eps = 0.001 )
x |
(list) the output from procSample. This function uses the elements jointseg, out and dipLogR from the output. |
trace |
(logical) flag to print the EM criteria at every step |
unif |
(logical) random EM start values of cellular fractions instead of clusteredcncf values |
min.nhet |
(numeric) minimum number of heterozygote snps in a segment used to call minor cn |
maxiter |
(numeric) maximum number of EM iterations |
eps |
the (numeric) convergence threshold |
A list containing:
loglik |
loglikelihood value of the fitted model |
purity |
fraction tumor cells in the tumor sample |
ploidy |
average total copy number of the tumor cells |
dipLogR |
estimated logR value of diploid segments |
cncf |
dataframe consisting of the columns of segmentation output as well as cellular fraction (cf), total (tcn) and lesser (lcn) copy number of each segment and their em counterpart (with .em suffix) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.