Description Usage Arguments Value
View source: R/FST functions.R
Calculates FST without correction for local sample sizes, for diploid biallelic data. This is necessary for using OutFLANK, which depends on these uncorrected values for reliable function. (Otherwise, sampling corrections can sometimes cause negative estimates of FST.)
1 | WC_FST_FiniteSample_Diploids_2Alleles_NoCorr(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
FSTNoCorr: Fst (without sample size correction)
T1NoCorr: The numerator of the uncorrected sample size correction (similar to Weir and Cockerham 1984)
T2NoCorr: The denominator of the uncorrected sample size correction
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.