| ITH_optim | R Documentation |
Performs EM algorithm for a given configuration matrix
ITH_optim(
my_data,
my_purity,
init_eS,
pi_eps0 = NULL,
my_unc_q = NULL,
max_iter = 4000,
my_epsilon = 1e-06
)
my_data |
A R dataframe containing the following columns:
|
my_purity |
A single numeric value of known/estimated purity |
init_eS |
A subclone configuration matrix pre-defined in R
list |
pi_eps0 |
A user-specified parameter denoting the proportion
of loci not explained by the combinations of purity, copy number,
multiplicity, and allocation. If |
my_unc_q |
An optimal initial vector for the unconstrained
|
max_iter |
Positive integer, preferably 1000 or more, setting the maximum number of iterations |
my_epsilon |
Convergence criterion threshold for changes in the log likelihood, preferably 1e-6 or smaller |
If the EM algorithm converges, the output will be a list containing
iternumber of iterations
convergeconvergence status
unc_q0initial unconstrained subclone proportions parameter
unc_qunconstrained estimate of q
qestimated subclone proportions among cancer cells
CN_MA_piestimated mixture probabilities of multiplicities and allocations given copy number states
etaestimated subclone proportion among tumor cells
purityuser-inputted tumor purity
entropyestimated entropy
inferA R dataframe containing inferred variant allocations
(infer_A), multiplicities (infer_M), cellular prevalences
(infer_CP).
msmodel size, number of parameters within parameter space
LLThe observed log likelihood evaluated at maximum likelihood estimates.
AIC = 2 * LL - 2 * msNegative AIC, used for model selection
BIC = 2 * LL - ms * log(LOCI)Negative BIC, used for model selection
LOCIThe number of inputted somatic variants.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.