strataG (version 2.0.2)

arlequin: Read and Write Arlequin Files

Description

Read an Arlequin-formatted project input file into a gtypes object, or write an input file from a gtypes object.

Usage

read.arlequin(file)

write.arlequin(g, label = NULL, locus = 1)

Arguments

file

filename of an input arlequin project (.arp) file. read.arlequin can only read files with DataType of FREQUENCY, DNA, or MICROSAT.

g

a '>gtypes object.

label

label for Arlequin project filename (.arp). If NULL, the gtypes description is used if present.

locus

numeric or character designation of which locus to write for haploid data.

References

Excoffier, L.G. Laval, and S. Schneider (2005) Arlequin ver. 3.0: An integrated software package for population genetics data analysis. Evolutionary Bioinformatics Online 1:47-50. Available at http://cmpg.unibe.ch/software/arlequin3/