Learn R Programming

strataG (version 1.0.3)

arlequin: Read and Write Arlequin Files

Description

Read and write an Arlequin-formatted files.

Usage

read.arlequin(file)

write.arlequin(g, file = "gtypes.prj", title = "gtypes from R", data.type = c("DNA", "MICROSAT", "RFLP"), locus = 1)

Arguments

file
filename for output file.
g
a gtypes object.
title
title for data in file.
data.type
type of data. Can be "DNA", "RFLP", or "MICROSAT".
locus
numeric or character designation of which locus to write.

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/