Mercurial > repos > miller-lab > genome_diversity
view genome_diversity/src/Fst_lib.h @ 0:2c498d40ecde
Uploaded
author | miller-lab |
---|---|
date | Mon, 09 Apr 2012 12:03:06 -0400 |
parents | |
children | f04f40a36cc8 |
line wrap: on
line source
/* return either Sewall Wright's Fst or its Weir unbiased estimator * parameters are as follows * 1, 2 : frequencies of the two alleles in population 1 * 3, 4 : frequencies of the two alleles in population 2 * 5 : 0 = return Wright's formulation, 1 = return unbiased estimator */ double Fst(int, int, int, int, int);