Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

allelic.richness

Estimates allelic richness


Description

Estimates allelic richness, the rarefied allelic counts, per locus and population

Usage

allelic.richness(data,min.n=NULL,diploid=TRUE)

Arguments

data

A data frame, with as many rows as individuals. The first column contains the population to which the individual belongs, the following to the different loci

min.n

The number of alleles down to which the number of alleles should be rarefied. The default is the minimum number of individuals genotyped (times 2 for diploids)

diploid

a boolean specifying wether individuals are diploid (default) or haploid

Value

min.all

The number of alleles used for rarefaction

Ar

A table with as many rows as loci and columns as populations containing the rarefied allele counts

Author(s)

Jerome Goudet jerome.goudet@unil.ch

References

El Mousadik A. and Petit R.J. (1996) High level of genetic differentiation for allelic richness among populations of the argan tree argania spinosa skeels endemic to Morocco. Theoretical and Applied Genetics, 92:832-839

Hurlbert S.H. (1971) The nonconcept of species diversity: a critique and alternative parameters. Ecology, 52:577-586

Petit R.J., El Mousadik A. and Pons O. (1998) Identifying populations for conservation on the basis of genetic markers. Conservation Biology, 12:844-855

Examples

data(gtrunchier)
allelic.richness(gtrunchier[,-1])

hierfstat

Estimation and Tests of Hierarchical F-Statistics

v0.5-10
GPL (>= 2)
Authors
Jerome Goudet [aut, cre], Thibaut Jombart [aut], Zhian N. Kamvar [ctb], Eric Archer [ctb], Olivier Hardy [ctb]
Initial release
2021-11-16

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.