TajimaD.dosage: Estimates Tajima's D

View source: R/div_dosage.R

TajimaD.dosageR Documentation

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.


hierfstat documentation built on May 6, 2022, 1:05 a.m.