Skip to contents

Write a genepopedit object from a tidy data frame or GDS file/object.

Why not use genepopedit::genepop_flatten?

Usage

write_genepopedit(data)

Arguments

data

A supported genomic file, object, or tidy genomic data frame. Default: data = NULL.

Value

A genepopedit object in the global environment.

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.

See also

Author

Thierry Gosselin thierrygosselin@icloud.com