Fstat.output {Geneland} | R Documentation |
Computes F statistics according to Weir and Cockerham's estimators. Missing values are allowed but as of today, the NA code is only treated as an extra allele which might bias the result.
Fstat.output(genotypes,path.mcmc)
genotypes |
Genotypes of individuals. A matrix with one line per individual and 2 columns per locus |
path.mcmc |
Path to output files directory |
A list with components
Pairwise.Fis |
A matrix of real numbers estimating the pairwise Fis |
Pairwise.Fst |
A matrix of real numbers estimating the pairwise Fst |
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.