Description Usage Arguments Value
View source: R/FST functions.R
Calculates FST with correction for local sample sizes, for haploid biallelic data. Based on Weir (1996 - Genetic Data Analysis II)
1 | WC_FST_FiniteSample_Haploids_2AllelesB_MCW(AllCounts)
|
AllCounts |
This is an array with a row for each population, and two values per row: Number of alleles in the sample of one type, number of alleles of other type. |
Returns a list of values related to FST:
He: the expected heterozygosity of the locus
p_ave: the average allele frequency
FST: Fst (with sample size correction)
T1: The numerator of the Fst calculation
T2: The denominator of the Fst calculation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.