Learn R Programming

strataG (version 1.0.5)

fstToNm: Nm from Fst

Description

Calculate Nm (number of migrants per generation) for a given value of Fst.

Usage

fstToNm(fst, ploidy)

Arguments

fst
estimate of Fst between populations.
ploidy
ploidy of locus Fst is from.

See Also

wrightFst, numGensEq, expectedNumAlleles

Examples

Run this code
fst <- seq(0.001, 0.2, length.out = 100)
Nm <- fstToNm(fst, 2)
plot(fst, Nm, type = "l")

Run the code above in your browser using DataLab