pairwise.WCfst | R Documentation |
Estimates pairwise FSTs according to Weir and Cockerham (1984)
pairwise.WCfst(dat,diploid=TRUE)
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 |
FST are calculated using Weir & Cockerham (1984) equations for FST', as described in the note section of wc
A matrix of pairwise FSTs
Jerome Goudet jerome.goudet@unil.ch
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
pairwise.neifst genet.dist
data(gtrunchier) pairwise.WCfst(gtrunchier[,-2],diploid=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.