Description Usage Arguments Details Value Author(s) References See Also
The function read.genepop reads Genepop data files (.gen) and convert
them into a genind object.
| 1 | read.genepop(file, ncode = 2L, quiet = FALSE)
 | 
| file | a character string giving the path to the file to convert, with the appropriate extension. | 
| ncode | an integer indicating the number of characters used to code an allele. | 
| quiet | logical stating whether a conversion message must be printed (TRUE,default) or not (FALSE). | 
Note: read.genepop is meant for DIPLOID DATA ONLY. Haploid data with
the Genepop 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
Raymond M. & Rousset F, (1995). GENEPOP (version 1.2):
population genetics software for exact tests and ecumenicism. J.
Heredity, 86:248-249 
import2genind, df2genind,
read.fstat, read.structure,
read.genetix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.