Description Usage Arguments Value
This is the variance for function calc_EG_general
. It used the formula var(X)=E(X^2)-E(X)^2, where E(X) is the same as the result of calc_EG_general
.
1 | calc_EG_Var_general(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.