view genome_diversity/src/Fst_lib.h @ 0:73648da53556 default tip

Uploaded
author rico
date Mon, 09 Apr 2012 11:55:36 -0400
parents
children
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);