Description Usage Arguments Value Note
Calculates the value of (a
,b
) that
maximizes the likelihood of q_j (sample-specific
background mutation rate) given the relative rate
parameters.
1 | find.prior.param(x, muttable, uniqueA, tableA, S)
|
x |
a vector of length two with the initial guess
for |
S |
an integer corresponding to the number of samples in the dataset. |
muttable |
a matrix containing the likelihood due to
existing background mutations, see
|
uniqueA |
a numeric vector containing all unique
values of A (see |
tableA |
a numeric vector of the same length of
|
a list containing two items:
a |
numeric value for the maximum likelihood estimate of the hyperparameter a representing the prior for q_j (sample-specific mutation rate, q_j~Unif(a,b)) |
b |
numeric value for the maximum likelihood estimate of the hyperparameter a representing the prior for q_j (sample-specific mutation rate, q_j~Unif(a,b)) |
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.