Description Usage Arguments Value
Computes allele frequencies for specified populations given SNP array data
1 | allele_freq(geno, populations)
|
geno |
matrix of genotypes coded as the dosage of allele B 0, 1, 2 with individuals in rows (named) and SNPs in columns (named) |
populations |
list of named populations. Each population has a vector of IDs that belong to the population. Allele frequencies will be derived from all animals |
data.frame consisting of allele_frequencies for populations (columns) for each SNP (rows)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.