Write a genepopedit object from a tidy data frame or GDS file/object.
Why not use genepopedit::genepop_flatten?
genepopedit requires a specific type of genepop, so if you don't want to manipulate your genepop file, radiator is an alternative.
radiator follows guidelines highlighted here: genepop format, but the 3 functions in radiator that reads genepop files:
the underlying module: read_genepop
imports a larger variety of genepop alternatives, similarly to adegenet
read.genepopfunction, only faster.
Data filtering
This writer does not silently filter markers or individuals. It may validate requirements imposed by the destination format and stop with an informative error when the input is unsuitable. It is the user's responsibility to filter and quality-control the data appropriately for the intended analysis before generating the output. Use radr or another suitable workflow when filtering is required.
Dependencies
Required package dependencies are declared in DESCRIPTION and are
installed with genometranslator. Any additional dependency needed only
for this format or option is identified in this help page. Use
genometranslator_dependencies() to inspect the availability of core
packages, optional packages, and external executables.
References
Stanley RRE, Jeffery NW, Wringe BF, DiBacco C, Bradbury IR (2017) genepopedit: a simple and flexible tool for manipulating multilocus molecular data in R. Molecular Ecology Resources, 17, 12-18.
Author
Thierry Gosselin thierrygosselin@icloud.com
