pairwise_Gst_Nei: Calculates pairwise values of Nei's Gst

Description Usage Arguments Value References See Also Examples

Description

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

Usage

1
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

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

dwinter/mmod documentation built on May 15, 2019, 6:22 p.m.