Reading data from Fstat
The function read.fstat
reads Fstat data files (.dat) and convert
them into a genind object.
read.fstat(file, quiet = FALSE)
file |
a character string giving the path to the file to convert, with the appropriate extension. |
quiet |
logical stating whether a conversion message must be printed (TRUE,default) or not (FALSE). |
Note: read.fstat
is meant for DIPLOID DATA ONLY. Haploid data with
the Hierfstat format can be read into R using read.table
or
read.csv
after removing headers and 'POP' lines, and then converted
using df2genind
.
an object of the class genind
Thibaut Jombart t.jombart@imperial.ac.uk
Fstat (version 2.9.3). Software by Jerome Goudet.
http://www2.unil.ch/popgen/softwares/fstat.htm
obj <- read.fstat(system.file("files/nancycats.dat",package="adegenet")) obj
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.