Description Usage Arguments Value
View source: R/FST functions.R
Calculates FST with correction for local sample sizes, for diploid biallelic data.
1 | WC_FST_FiniteSample_Diploids_2Alleles(Sample_Mat)
|
Sample_Mat |
This is an array with a row for each population, and three values per row: Number of Homozygotes of one type, number of heterozygotes, number of homozygotes of other type. |
Returns a list of values related to FST:
He: the expected heterozygosity of the locus
FST: Fst (with sample size correction)
T1: The numerator of the Fst calculation (a from Weir and Cockerham 1984)
T2NoCorr: The denominator of the Fst calculation (a+b+c from Weir and Cockerham 1984)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.