write.BayeScanData: Write data for BayeScan

Description Usage Arguments Details See Also Examples

Description

This function writes data for BayeScan.

Usage

1

Arguments

x

BayeScanData object.

file

character file path to write data.

Details

This code is based on the R code distributed with BayeScan (version 2.1) for converting binary FSTAT files to the BayeScan data format.

See Also

BayeScanData.

Examples

1
2
x <- read.BayeScanData(system.file('extdata', 'example_fstat_aflp.dat', package='bayescanr'))
write.BayeScanData(x, tempfile(fileext='txt'))

jeffreyhanson/bayescanr documentation built on May 19, 2019, 4 a.m.