Description Usage Arguments Value Author(s) Examples
This function converts a Genepop file into an object with a genetic matrix (G) and a structures matrix (S).
1 | genepop2ecogen(genefile = NULL)
|
genefile |
Genepop file. |
A list with the objects G (genetic matrix) and S (structures matrix).
Leandro Roser learoser@gmail.com
1 2 3 4 5 6 7 8 | ## Not run:
# ingpop, file with Genepop format in the folder "/extdata" of the package
ecopath <- paste(path.package("EcoGenetics"), "/extdata/ingpop", sep = "")
ingpop <- genepop2ecogen(ecopath)
ingpop
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.