write_gtypes | R Documentation |
Write a strataG object from a tidy data frame. Used internally in radiator and might be of interest for users.
write_gtypes(data, write = FALSE, filename = NULL)
data |
(4 options) A file or object generated by radiator:
How to get GDS and tidy data ?
Look into |
write |
(logical, optional) To write in the working directory the gtypes
object. The file is written with |
filename |
(character, optional) Filename prefix.
Default: |
An object of the class strataG is returned.
Thierry Gosselin thierrygosselin@icloud.com
Archer FI, Adams PE, Schneiders BB. strataG: An r package for manipulating, summarizing and analysing population genetic data. Molecular Ecology Resources. 2017; 17: 5-11. doi:10.1111/1755-0998.12559
## Not run:
# require(strataG)
# with radiator GDS
turtle <- radiator::write_gtypes(data = "my.radiator.gds.rad")
# with tidy data
turtle <- radiator::write_gtypes(data = "my.radiator.rad")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.