rad2nex | R Documentation |
rad.mat
object to a Nexus fileThis function takes output from rad2mat
and writes it to a
Nexus file, ready for analysis by PAUP*, BEAST, or other software
rad2nex(pyDat, inds = row.names(pyDat), indNames = NA,
fillBlanks = NA, fillChar = '-',
loci = dimnames(pyDat)[[2]],
outfile = 'pyMat.out.nex',
verbose = FALSE,
logfile = 'rad2nex.log', ...)
pyDat |
an object of class |
inds |
individuals to include in the export |
indNames |
a vector of names to rename individuals if desired; assumed to be in same order as inds |
fillBlanks |
integer; number of characters to fill blanks with |
fillChar |
character to fill blanks with |
loci |
loci to include in the Nexus file, by name |
outfile |
file name to write |
verbose |
boolean; report number of characters to add to file |
logfile |
name of logfile, which holds the names of loci in the phylip file written |
No value. This function is called for the side-effect of writing a Nexus file
Andrew Hipp
rad2mat
,
rad2phy
,
write.DNAStringSet
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.