write_genepop | R Documentation |
Write a genepop file from a tidy data frame or GDS file/object. Used internally in radiator and assigner and might be of interest for users.
write_genepop(
data,
pop.levels = NULL,
genepop.header = NULL,
markers.line = TRUE,
filename = NULL,
...
)
data |
(4 options) A file or object generated by radiator:
How to get GDS and tidy data ?
Look into |
pop.levels |
(optional, string) A character string with your populations ordered.
Default: |
genepop.header |
The first line of the Genepop file.
Default: |
markers.line |
(optional, logical) In the genepop and structure
file, you can write the markers on a single line separated by
commas |
filename |
(optional) The file name prefix for the genepop file
written to the working directory. With default: |
... |
other parameters passed to the function. |
A genepop file is saved to the working directory.
Thierry Gosselin thierrygosselin@icloud.com
Raymond M. & Rousset F, (1995). GENEPOP (version 1.2): population genetics software for exact tests and ecumenicism. J. Heredity, 86:248-249
Rousset F. genepop'007: a complete re-implementation of the genepop software for Windows and Linux. Molecular Ecology Resources. 2008, 8: 103-106. doi:10.1111/j.1471-8286.2007.01931.x
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.