write_maverick: Write a maverick file from a tidy data frame

View source: R/write_maverick.R

write_maverickR Documentation

Write a maverick file from a tidy data frame

Description

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

Usage

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).

Author(s)

Thierry Gosselin thierrygosselin@icloud.com

References

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


thierrygosselin/radiator documentation built on May 5, 2024, 5:12 a.m.