Description Usage Arguments Value
This is the variance for the simplified function calc_EG
. It used the formula var(X)=E(X^2)-E(X)^2, where E(X) is the same as the result of calc_EG
.
1 | calc_EG_Var(M, p, rdv)
|
M |
genotype likelihoods P(D_{ij}|G=AA, Aa\ or\ aa) for one locus, matrix of dimension number of samples by 3 (double); |
p |
genotype frequencies P(G=AA, Aa\ or\ aa) (double); output from function |
rdv |
read depth (vector of integers) for all samples |
the variance of E(P(G_{ij}|D_{ij})).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.