Calculates pairwise values of Jost's D

Usage

pairwise_D(x, linearized = FALSE)

Arguments

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

Value

A distance matrix with between-population values of D

Description

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

References

Jost, L. (2008), GST and its relatives do not measure differentiation. Molecular Ecology, 17: 4015-4026.

Examples

data(nancycats) pairwise_D(nancycats[1:26,])
1 2 0.3792225

See also

Other D: D_Jost Other pairwise: pairwise_Gst_Hedrick, pairwise_Gst_Nei