Learn R Programming

mmod (version 1.3.2)

pairwise_Gst_Nei: Calculates pairwise values of Nei's Gst

Description

This function calculates Nei's Gst, a measure of genetic differentiation, between all combinations of populaitons in a genind object.

Usage

pairwise_Gst_Nei(x, linearized = FALSE)

Arguments

x
genind object (from package adegenet)
linearized
logical, if TRUE will turned linearized Gst (1/(1-Gst))

Value

dist A distance matrix with between-population values of Gst

References

Nei M. (1973) Analysis of gene diversity in subdivided populations. PNAS: 3321-3323.

Nei M, Chesser RK. (1983). Estimation of fixation indices and gene diversities. Annals of Human Genetics. 47: 253-259.

See Also

Other Nei: Gst_Nei

Other pairwise: pairwise_D, pairwise_Gst_Hedrick

Examples

Run this code

data(nancycats)
pairwise_Gst_Nei(nancycats[1:26,])

Run the code above in your browser using DataLab