Fst-Heterozygosity Smoothed Quantiles
This counts the number of alleles at a locus.
This calcualtes global Fsts from a genepop dataframe.
This calculates allele frequencies.
This calculates beta-hat, the Fst value used in Lositan.
This calculates expected heterozygosities.
This calculates Fst.
This calculates theta.
This calculates the average confidence intervals from multiple bootstr...
This is a wrapper to run the bootstrapping and plot the confidence int...
This identifies all of the SNPs outside of the smoothed quantiles in t...
Generates quantiles from binned Fst values
Calculates mean values within the bins.
This bootstraps across all individuals to calculate a bootstrapped Fst...
This is the major bootstrapping function to calculate confidence inter...
This prints the options for choosing an Fst calculation.
This is a wrapper to generate and plot the smoothed quantiles and iden...
This sorts Fst values into a designated number of overlapping heterozy...
This reads a genepop file into R
Calculates mean values within the bins.
This plots a dataframe of fsts with bootstrapped confidence intervals.
This removes spaces from a character vector
This calculates Cockerham & Weir's Beta.
A program to generate smoothed quantiles for the Fst-heterozygosity distribution. Designed for use with large numbers of loci (e.g., genome-wide SNPs). The best case for analyzing the Fst-heterozygosity distribution is when many populations (>10) have been sampled. See Flanagan & Jones (2017) <doi:10.1093/jhered/esx048>.