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

Why not use genepopedit::genepop_flatten?

write_genepopedit(data)

Arguments

data

(4 options) A file or object generated by radiator:

  • tidy data

  • Genomic Data Structure (GDS)

How to get GDS and tidy data ? Look into tidy_genomic_data, read_vcf or tidy_vcf.

Value

A genepopedit object in the global environment.

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