Description Usage Arguments Value Note
Calculates the posterior mean of the sample specific
mutation rate under the background mutation model.
Similar to lupost2.vec
except that it
returns the un-normalized value for the posterior mean of
the sample-specific rate.
1 2 | lupost4.vec(t, mutationexist, C, D, 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 |
uniqueA |
a numeric vector containing all unique
values of A (see |
tableA |
a numeric vector of the same length of
|
base |
minimum value of the log likelihood of the sample-specific mutation rate q_j given the background model |
unormalized posterior mean of the sample-specific mutation rate q_j under the background mutation model given the observed mutations.
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.