rad2phy: Export a 'rad.mat' object to a phylip file

Description Usage Arguments Value Author(s) See Also

View source: R/rad2phy.R

Description

This function takes output from rad2mat and writes it to a phylip file, ready for analysis by RAxML or other software

Usage

1
2
3
rad2phy(pyDat, inds = row.names(pyDat), loci = dimnames(pyDat)[[2]],
        outfile = "pyMat.out.phy", padding = 50, verbose = FALSE,
        logfile ="rad2phy.log")

Arguments

pyDat

an object of class rad.mat

inds

individuals to include in the export

loci

loci to include in the export

outfile

file name for export

padding

total number of characters, including sequence title, to place before each sequence

verbose

whether to report on loci being written

logfile

name of logfile, which holds the names of loci in the phylip file written

Value

No value. This function is called for the side-effect of writing a phylip file

Author(s)

Andrew Hipp

See Also

rad2mat, write.DNAStringSet


RADami documentation built on May 30, 2017, 8:23 a.m.