pairwise.WCfst: Estimates pairwise FSTs according to Weir and Cockerham...

View source: R/pairwise.fst.R

pairwise.WCfstR 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

pairwise.neifst genet.dist

Examples


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


hierfstat documentation built on May 6, 2022, 1:05 a.m.