Description Usage Arguments Value Author(s)
Calculate overall and by-strata allele frequencies for input to rmetasim.
1 2 3 | calcFreqs(snps)
alleleProp(mac)
|
snps |
data frame of SNP genotypes with first column called 'id', second column called 'stratum' and every two columns thereafter being SNP loci. |
mac |
a vector of numerics giving the count of the minor allele, where 0 = homozygous for reference allele, 1 = heterozygous, 2 = homozygous for minor allele |
list of overall ('global') and by-strata ('pop') allele frequencies
Eric Archer eric.archer@noaa.gov
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.