Fstat {Geneland}R Documentation

Computes F statistics on a population genetics dataset given as R object

Description

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 alters the result.

Usage

Fstat(genotypes,npop,pop.mbrship)

Arguments

genotypes Genotypes of individuals. A matrix with one line per individual and 2 columns per locus
npop total number of popluation present in the dataset
pop.mbrship Vector of integers giving the population membership for each individual

Value

A list with components

Pairwise.Fis A vector of estimations of within-population Fis
Pairwise.Fst A matrix of estimations the pairwise population Fst. (Only the upper triangular part is returned).

Author(s)

Arnaud Estoup for original code in Turbo Pascal.

Translation in Fortran and interface with R by Gilles Guillot

References

Weir, B.S. and C.C. Cockerham, Estimating F-statistics for the analysis of population structure, Evolution, 1984, vol. 38, 1358-1370.


[Package Geneland version 2.0.12 Index]