Description Usage Arguments Value Note
Calculates, for a given gene and sample, the likelihood of mutations in a given gene under the background mutation model and current value of the sample-specific mutation rate
1 2 | lupost.vec(t, mutationexist, C, D, uniqueB, tableB,
uniqueA, tableA, base)
|
t |
numeric value of sample-specific mutation rate (log-scale) |
mutationexist |
logical value indicating whether to include observed mutations in the current gene |
C |
subset of matrix |
D |
numeric value corresponding to the sum of the
logarithms of the first column of |
uniqueB |
similar to |
tableB |
similar to |
base |
minimum value of the log likelihood of the sample-specific mutation rate q_j given the background model |
uniqueA |
a numeric vector containing all unique
values of A (see |
tableA |
a numeric vector of the same length of
|
likelihood of mutations in a single gene and sample given
the background model and sample-specific mutation rate
t
This internal function is not intended to be called by the user.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.