pairwise.WCfst {hierfstat} | R Documentation |
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)
[Package hierfstat version 0.5-11 Index]