Description Usage Arguments Author(s) References Examples
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.
1 | eco.alfreq(eco, grp = NULL)
|
eco |
Object of class "ecogen". |
grp |
Optional factor (column of the S slot) for plots by group. |
Leandro Roser learoser@gmail.com
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.
1 2 3 4 5 6 7 8 | ## Not run:
data(eco.test)
eco.alfreq(eco)
eco.alfreq(eco, "pop")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.