clonEM | R Documentation |
This function optimizes the likelihood of the model using an EM algorithm.
clonEM(mutmat, init.para, xigrid, conv.crit, niter)
mutmat |
Matrix containing the data, with all mutations in rows and the tumor pairs in columns. The data are coded as 0=mutation not observed, 1=shared mutation (observed in both tumors), 2=private mutation (observed in one tumor only). The first column contains the probabilities of occurence for each mutation. |
init.para |
Initial values of the parameters for the optimization. The order of the parameters is c(mu, sigma, pi), where mu and sigma are the mean and variance of the lognormal distribution of the random-effect xi, and pi is the proportion of clonal cases. |
xigrid |
Grid of the values of xi used to compute the integration; it corresponds to the domain of definition of xi. |
conv.crit |
Criteria used to defined convergence (on all three parameters). |
niter |
Maximum number of iterations used for the EM algorithm. |
Return the value of the parameters maximizing the likelihood, the number of iterations used, and the convergence status.
Audrey Mauguen mauguena@mskcc.org and Venkatraman E. Seshan.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.