Mercurial > repos > miller-lab > genome_diversity
view genome_diversity/src/Fst_lib.h @ 14:8ae67e9fb6ff
Uploaded Miller Lab Devshed version a51c894f5bed again [possible toolshed.g2 bug]
author | miller-lab |
---|---|
date | Fri, 28 Sep 2012 11:35:56 -0400 |
parents | 2c498d40ecde |
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);