This function calculates the fixation index Fst for each SNP, together with its weight in the overall estimate (as used by the Internation HapMap Consortium).
1 
snps 
an object of class 
group 
a factor (or object than can be coerced into a factor),
of length equal to the number of rows of 
pairwise 
if 
See vignette.
A list:
Fst values for each SNP
The weights for combining these into a single index
Uncertain genotypes are treated as missing
David Clayton dc208@cam.ac.uk
1 2 3 4 5  ## Analysis of some HapMap data
data(for.exercise)
f < Fst(snps.10, subject.support$stratum)
weighted.mean(f$Fst, f$weight)

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.