Description Usage Arguments Value
Given a matrix (M) with dimension number of sample by 3 consisting of genotype likelihoods for each individual, this function uses the EM algorithm to estimate genotype frequencies. It returns a vector with three decimals to stands for probability of 0, 1 or 2 minor alleles in the whole sample
1 | calc_EM(M)
|
M |
matrix of genotype likelihoods derived from Phred-scale likelihood in VCF input for one variant. |
a vector with three decimals to stands for probability of 0, 1 or 2 minor alleles.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.