Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

pairwise.WCfst

Estimates pairwise FSTs according to Weir and Cockerham (1984)


Description

Estimates pairwise FSTs according to Weir and Cockerham (1984)

Usage

pairwise.WCfst(dat,diploid=TRUE)

Arguments

dat

A data frame containing population of origin as the first column and multi-locus genotypes in following columns

diploid

whether the data is from a diploid (default) or haploid organism

Details

FST are calculated using Weir & Cockerham (1984) equations for FST', as described in the note section of wc

Value

A matrix of pairwise FSTs

Author(s)

Jerome Goudet jerome.goudet@unil.ch

References

Weir, B.S. (1996) Genetic Data Analysis II. Sinauer Associates.

Weir B.S. and Cockerham C.C. (1984) Estimating F-Statistics for the Analysis of Population Structure. Evolution 38:1358

See Also

Examples

data(gtrunchier)
pairwise.WCfst(gtrunchier[,-2],diploid=TRUE)

hierfstat

Estimation and Tests of Hierarchical F-Statistics

v0.5-10
GPL (>= 2)
Authors
Jerome Goudet [aut, cre], Thibaut Jombart [aut], Zhian N. Kamvar [ctb], Eric Archer [ctb], Olivier Hardy [ctb]
Initial release
2021-11-16

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.