Learn R Programming

DEMEtics (version 0.8.0)

Dest.Chao.calc: A Measure of Genetic Differentiation Calculated From Allele Frequencies

Description

This function calculates the measure of genetic differentiation, Dest.Chao (Jost, 2008, p. 4022, eqn. 13) for each locus that has been examined, separately, as well as averaged over all loci.

Usage

Dest.Chao.calc(tab)

Arguments

tab
This is a data table containing the allele frequencies for the several loci and populations. It can easily be calculated using the function allelefreq that is included in this package. To obtain an ex

Value

  • A list 'D.Chao.values' is returned and assigned to the workspace (.GlobalEnv). It comprises a data table and a single value.
  • Dest.Chao.values.for.lociA data table comprising the value of genetic differentiation for each locus separately.
  • Mean.Dest.Chao.valueThe mean value of genetic differentiation over all loci

Details

Details about the measure of genetic differentiation can be found in Jost (2008) and the references cited therein.

References

Jost, L. 2008 Gst and its relatives do not measure differentiation. Molecular Ecology 17, 18, p. 4015--4026.

See Also

Dest.Chao, allelefreq, all.pops.Dest.Chao, pair.pops.Dest.Chao,

Examples

Run this code
data(Example.transformed)
Example <- Example.transformed

allelefreq(Example)
# By using this function, the table including allele frequencies that is
# used as the function's argument, is calculated
# automatically.

Dest.Chao.calc(allelefrequency)

Run the code above in your browser using DataLab