Description Usage Arguments Details Value Examples
View source: R/getAlleleFrequencies.R
Compute allele frequenciesGenotypic
1 | getAlleleFrequencies(snp)
|
snp |
Alleles encoded as 0, 1 or 2 as a number |
If AA, AB,and BB are the frequencies of the three genotypes at a locus with two alleles, allele frequency is estimated as (2pp+pq) / (2N), where p is the frequency of A-allele; q is the frequency of the B-allele in the sample; N is the number of samples.
pred a vector of predictions
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.