Learn R Programming

⚠️There's a newer version (0.8-7) of this package.Take me there.

DEMEtics (version 0.8.0)

Calculation of Gst and D values characterizing the genetic differentiation between populations.

Description

Out of a table comprising allelic data of at least one locus for several individuals and from at least two populations, measurements of genetic differentiation (i.e. D, Dest, Dest.Chao, Gst and Gst.est (Jost, 2008)) can be calculated. P-values and 95% confidence intervals are calculated according to Manly (1997) using a bootstrap method. Thereby, for each locus, alleles are reallocated over populations if they are all in Hardy Weinberg Equilibrium (HWE). If not, the genotypes are reallocated, since alleles can not be assumed to be inherited independently from each other (Goudet, 1996). The p-values state how much the empirical found allocation of alleles over populations differs from an allocation that could arise by chance alone. In the case that more than two populations are compared pairwise, the p-values are adjusted besides using bonferroni correction in several other ways due to the multiple comparison from one data set.

Copy Link

Version

Install

install.packages('DEMEtics')

Monthly Downloads

50

Version

0.8.0

License

GPL (>= 2)

Maintainer

Alexander Jueterbock

Last Published

February 11th, 2010

Functions in DEMEtics (0.8.0)

p.val

Bootstrap Test of Significance
inputformat

Transformation of a Data Table Containing Allelic Data for Several Loci
Hs

Mean Heterozygosity within Populations
DEMEtics

Calculation of Gst and D values characterizing the genetic differentiation between populations.
D and Dest

D and Dest - Differentiation Indices
Ht

Total Heterozygosity
H.out

Heterozygosities
Bootstrapping

Resampling of Alleles or Genotypes Using a Bootstrap Method
calc

Genetic Differentiation - For Each Locus Separately and Averaged Over all Loci
allelefreq

Calculation of Allele Frequencies and Sample Sizes per Locus
Example.transformed

Allelic Data of Three Populations For Three Loci
Gst and Gst.est

Gst and Gst.est - Fixation Indices
Dest.Chao

A Measure of Genetic Differentiation
Hj

Heterozygosity Level Within a Single Population
Hardy.Weinberg

Test for Hardy Weinberg Equilibrium (HWE)
Dest.Chao.calc

A Measure of Genetic Differentiation Calculated From Allele Frequencies
Example.untransformed

Allelic Data of Three Populations for Three Loci
pair.pops

Pairwise Genetic Differentiation
all.pops

Genetic Differentiation Averaged Over all Populations