Description Usage Arguments Value
This auxiliary function generates the grid of likelihood values for each tumor pair (rows) and each value of xi (columns): P(observed mutations | xi)
1 | grid.lik(xigrid, mutns, probamut)
|
xigrid |
Grid of the values of xi, corresponding to its domain of definition. |
mutns |
Matrix of the mutations observed, with all mutations in rows and the cases (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). |
probamut |
Vector of the probabilities of occurence for each mutation. |
Return the matrix of the likelihood values for each tumor pair (rows) and each value of xi (columns). This matrix is called by the auxiliary function grid.lik, returned as a parameter by the function clonal.est, and used as a parameter by the function clonal.proba.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.