Description Usage Arguments Value Author(s)
The gradient of obj_parent_reparam
with respect to s
, ell
,
and r
, which recall are reparameterizations of the bias, seqeuncing error, and
overdispersion, respectively.
1 | grad_parent_reparam(pcounts, psize, ploidy, pgeno, s, ell, r, weight = 1)
|
pcounts |
The number of counts of the reference allele we observe in a parent. |
psize |
The total number of reads we observe in a parent. |
ploidy |
An integer. The ploidy of the species. This is assumed to be the same for each individual. |
pgeno |
The genotype of the parent. |
s |
Same as |
ell |
We have |
r |
Same as |
weight |
A double that multiplies to the log-likelihood (objective).
Should only be used when |
A NumericVector
of length three with the partial derivatives of s
,
ell
, and r
in that order.
David Gerard
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.