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

write_maverick(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 the maverick file written to the working directory. With default: filename = NULL, the date and time is appended to radiator_maverick_.

...

other parameters passed to the function.

Value

A maverick file is saved to the working directory (with .txt).

References

Verity R, Nichols RA (2016) Estimating the Number of Subpopulations (K) in Structured Populations. Genetics, 203, genetics.115.180992-1839.

Author

Thierry Gosselin thierrygosselin@icloud.com