This function is a wrapper of varcomp.glob for
genind objects. It computes F statistics (Fst, Fis, Fit)
given a set of genotypes and a grouping factor.
Usage
fstat(x, pop=NULL, fstonly=FALSE)
Arguments
x
an object of class genind.
pop
a factor giving the 'population' of each individual. If NULL,
pop is seeked from x@pop. Note that the term population refers in
fact to any grouping of individuals'.
fstonly
a logical stating whether only the Fst value should be
returned (TRUE) instead of all F statistics (FALSE, default).