write_hierfstat: Write a hierfstat file from a tidy data frame

write_hierfstatR Documentation

Write a hierfstat file from a tidy data frame

Description

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

Usage

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

Value

A hierfstat file is saved to the working directory.

Author(s)

Thierry Gosselin thierrygosselin@icloud.com

References

Goudet, J. (1995) FSTAT (Version 1.2): A computer program to calculate F- statistics. Journal of Heredity, 86, 485-486.

Goudet, J. (2005) hierfstat, a package for r to compute and test hierarchical F-statistics. Molecular Ecology Notes, 5, 184-186.


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