Description Usage Arguments Value
The main work is done by the function adegenet::read.genepop
. However, that function requires text files with an extension of .gen
, whereas such files usually have extension .txt
. The sole purpose of this function is to work around the “.gen” requirement.
1 | genepop.to.genind(name, quiet = TRUE, ncode = 3)
|
name |
the name of a file in |
quiet |
whether a conversion message should be printed |
ncode |
Set to the number of characters per allele name |
an object of class genind
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.