pairwise_D {mmod}R Documentation

Calculates pairwise values of Jost's D

Description

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

Usage

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


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

[Package mmod version 1.3.3 Index]