write.BayeScanData: Write data for BayeScan

Description Usage Arguments Details See Also Examples

View source: R/BayeScanData.R

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

paleo13/bayescanr documentation built on May 24, 2019, 5:59 p.m.