eco.alfreq: Allelic frequency histograms for an ecogen genetic data frame
Description
This program computes the frequency of each allele and plots
a histogram for the number of alleles with a given frequency.
The distribution is expected to be L-shaped under mutation-drift equilibrium.
When a factor is given, the program plots a histogram for each group.
Usage
eco.alfreq(eco, grp = NULL)
Arguments
eco
Object of class "ecogen".
grp
Optional factor (column of the S slot) for plots by group.
References
Luikart G., F. Allendorf, F. Cornuet, and W. Sherwin. 1998.
Distortion of allele frequency distributions provides a test for recent
population bottlenecks. Journal of Heredity, 89: 238-247.