Learn R Programming

hierfstat (version 0.5-11)

TajimaD.dosage: Estimates Tajima's D

Description

Estimates Tajima's D from dosage data

Usage

TajimaD.dosage(dos)

Arguments

dos

a ni X nl dosage matrix containing the number of derived/alternate alleles each individual carries at each SNP

Value

Tajima's D (eqn 38 of Tajima, 1989)

References

Tajima F. 1989 Statistical Method for Testing the Neutral Mutation Hypothesis by DNA Polymorphism. Genetics 123:585-595.