Description Usage Arguments Details
Update allelic number (and, of course, configuration, too) in Jannink and Wu 2003 MCMC.
1 2 3 4 5 6 7 8 9 | update_allelic_number(
configuration,
genoprobs,
effects,
trait,
residual_variance,
prior,
poisson_prior_mean = 2
)
|
configuration |
an allelic series matrix, ie, binary matrix of 0s and 1s mapping founders to alleles at a single QTL |
genoprobs |
genotype probabilities matrix for a single marker, ie, n_subjects by n_founders at 1 marker |
effects |
vector containing current value of allelic effects, one entry per allele |
trait |
a univariate trait matrix, n by 1 |
residual_variance |
residual variance |
prior |
takes values "poisson" or "uniform" to specify which prior to use. |
poisson_prior_mean |
Lambda, mean value, for the untruncated Poisson distribution |
If a poisson prior is used for the allelic number, it is truncated to 2, 3, ..., number of founders (8 in the case of Diversity Outbred mice).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.