Description Usage Arguments Value
Calculates FST both with and without correction for local sample sizes, for diploid biallelic data. Based on Weir and Cockerham (1984)
1 | WC_FST_Diploids_2Alleles(Sample_Mat)
|
Sample_Mat |
This is an array with a row for each population. There should be three columns, with the numbers of individuals from that population which are homozygotes for one allele, heterozygotes, and homozygotes for the other allele. |
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
T2: The denominator of the Fst calculation
FSTNoCorr: Fst (without sample size correction)
T1NoCorr: The numerator of the Fst calculation without sample size correction
T2NoCorr: The denominator of the Fst calculation without sample size correction
meanAlleleFreq: The mean allele frequency over all populations for this locus
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.