pairwise_D: Calculates pairwise values of Jost's D

Description Usage Arguments Value References See Also Examples

Description

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

Usage

1
pairwise_D(x, linearized = FALSE, hsht_mean = "arithmetic")

Arguments

x

genind object (from package adegenet)

linearized

logical, if TRUE will turned linearized D (1/1-D)

hsht_mean

type of mean to use for the global estimates of Hs and Ht default it "arithmetic", can also be set to "harmonic".

Value

A distance matrix with between-population values of D

References

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

See Also

Other pairwise: pairwise_Gst_Hedrick, pairwise_Gst_Nei

Other D: D_Jost

Examples

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

mmod documentation built on May 1, 2019, 10:55 p.m.