read_genetic_data: Read data genetic data

Description Usage Arguments Value

Description

The function read_fstat reads data stored in the Fstat file format (http://heidi.chnebu.ch/doku.php?id=fstat). Typicall Fstat files have the extension *.dat.

Usage

1
2
3
4
5
genind2fpga(x)

read_fstat(fn)

write_genetic(x, fn, loc_sep = ":", sep = ",")

Arguments

x

A three dimensional array containing the genetic data.

fn

Character string, the file name.

loc_sep

Character, the separator to devide alleles.

sep

Character, the field separator.

Value

A three dimensional array to be used with the fpga package. Population names a stored as row names.


jmsigner/fpga documentation built on May 19, 2019, 1:56 p.m.