Fstat {Geneland} | R Documentation |
Computes F statistics according to Weir and Cockerham's estimators.
Fstat(genotypes,allele.numbers, path.mcmc)
genotypes |
Genotypes of individuals. A matrix with one line per individual and 2 columns per locus |
allele.numbers |
A vector of integer containing the number of possible allele for each locus |
path.mcmc |
Path to output files directory |
A list with components
Total.Fit |
A real number estimating the total Fit |
Pairwise.Fis |
A matrix of real numbers estimating the pairwise Fis |
Pairwise.Fst |
A matrix of real numbers estimating the pairwise Fst |
Pairwise.Fit |
A matrix of real numbers estimating the pairwise Fit |
Arnaud Estoup for original code in Turbo Pascal.
Translation in Fortran and interface with R by Gilles Guillot
Weir, B.S. and C.C. Cockerham, Estimating F-statistics for the analysis of population structure, Evolution, 1984, vol. 38, 1358-1370.