pairwise_Gst_Nei {mmod}R Documentation

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 pairwise: pairwise_D, pairwise_Gst_Hedrick

Other Nei: Gst_Nei

Examples


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

[Package mmod version 1.3.3 Index]