[adegenet-commits] r666 - pkg/man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Sep 8 19:16:37 CEST 2010


Author: jombart
Date: 2010-09-08 19:16:37 +0200 (Wed, 08 Sep 2010)
New Revision: 666

Modified:
   pkg/man/fstat.Rd
Log:
jsdniasdn


Modified: pkg/man/fstat.Rd
===================================================================
--- pkg/man/fstat.Rd	2010-09-08 16:03:08 UTC (rev 665)
+++ pkg/man/fstat.Rd	2010-09-08 17:16:37 UTC (rev 666)
@@ -13,10 +13,12 @@
   \code{hierfstat} for \linkS4class{genind} objects. It computes F statistics (Fst, Fis, Fit)
   given a set of genotypes and a grouping factor.
 
-  \code{pairwise.fst} is a simple implementation of Nei's Fst (see details)
+  \code{pairwise.fst} is an implementation of Nei's Fst in which
+  heretozygosities are weighted by group sizes (see details).
 }
 \usage{
 fstat(x, pop=NULL, fstonly=FALSE)
+
 pairwise.fst(x, pop=NULL, res.type=c("dist","matrix"), truenames=TRUE)
 }
 \arguments{
@@ -48,7 +50,13 @@
 \examples{
 if(require(hierfstat)){
 data(nancycats)
+
+## Fst, Fis, Fit
 fstat(nancycats)
+
+## pairwise Fst
+mat.fst <- pairwise.fst(nancycats, res.type="matrix")
+mat.fst
 }
 }
 \keyword{multivariate}
\ No newline at end of file



More information about the adegenet-commits mailing list