eco.alfreq: Allelic frequency histograms for an ecogen genetic data frame

Description Usage Arguments Author(s) References Examples

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

1

Arguments

eco

Object of class "ecogen".

grp

Optional factor (column of the S slot) for plots by group.

Author(s)

Leandro Roser learoser@gmail.com

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.

Examples

1
2
3
4
5
6
7
8
## Not run: 

data(eco.test)
eco.alfreq(eco)
eco.alfreq(eco, "pop")


## End(Not run)

EcoGenetics documentation built on July 8, 2020, 5:46 p.m.