guessInits | R Documentation |
To reduce converge time and to reduce the likelihood of the slice sampler getting stuck, we use maximum likelihood to derive initial estimates for unknown model parameters.
guessInits(object, beads.prior)
object |
a |
beads.prior |
a data frame with two columns (named a_0, b_0) containing estimated shape parameters from beads-only samples. |
Briefly initial values are defined as follows:
theta_guess[i, j] = Y[i, j]/n[j]
, or the the MLE for theta.
Z_guess[i, j] = 1
if j is a serum sample, and the
observed read count is >2x the expected read count assuming
c[j] = 1
.
pi_guess[j]
is the mean of column j in Z_guess
.
c_guess[j]
is the estimated slope from regressing the
observed read counts against the expected read counts (without adjusting
for the attenuation constant) for non-enriched peptides only.
phi_guess[i,j]
is the ratio of the observed read counts to
the expected read counts multiplied by the attenuation constant.
a list of estimated initial values.
Methods in [Chen et. al 2022](https://www.biorxiv.org/content/10.1101/2022.01.19.476926v1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.