Learn R Programming

mmod (version 1.3.2)

pairwise_Gst_Hedrick: Calculates pairwise values of Hedrick's G'st

Description

This function calculates Hedrick's G'st, a measure of genetic differentiation, between all combinations of populaitons in a genind object.

Usage

pairwise_Gst_Hedrick(x, linearized = FALSE)

Arguments

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

Value

A distance matrix with between-population values of G''st

References

Hedrick, PW. (2005), A Standardized Genetic Differentiation Measure. Evolution 59: 1633-1638.

See Also

Other Hedrick: Gst_Hedrick

Other pairwise: pairwise_D, pairwise_Gst_Nei

Examples

Run this code

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

Run the code above in your browser using DataLab