Write a plink file from a tidy data frame. Used internally in radiator and assigner and might be of interest for users.

write_plink(data, filename = NULL)

Arguments

data

A tidy data frame object in the global environment or a tidy data frame in wide or long format in the working directory. How to get a tidy data frame ? Look into radiator tidy_genomic_data.

filename

(optional) The file name prefix for tped/tfam files written to the working directory. With default: filename = NULL, the date and time is appended to radiator_plink_.

References

Purcell S, Neale B, Todd-Brown K, Thomas L, Ferreira MAR, Bender D, et al. PLINK: a tool set for whole-genome association and population-based linkage analyses. American Journal of Human Genetics. 2007: 81: 559–575. doi:10.1086/519795

Author

Thierry Gosselin thierrygosselin@icloud.com