write.nexus | R Documentation |
This function writes trees in a file with the NEXUS format.
write.nexus(..., file = "", translate = TRUE, digits = 10)
... |
either (i) a single object of class |
file |
a file name specified by either a variable of mode character,
or a double-quoted string; if |
translate |
a logical, if |
digits |
a numeric giving the number of digits used for printing branch lengths. For negative numbers no branch lengths are printed. |
If several trees are given, they must all have the same tip labels.
If among the objects given some are not trees of class "phylo"
,
they are simply skipped and not written in the file.
See write.tree
for details on how tip (and node) labels
are checked before being printed.
None (invisible ‘NULL’).
Emmanuel Paradis
Maddison, D. R., Swofford, D. L. and Maddison, W. P. (1997) NEXUS: an extensible file format for systematic information. Systematic Biology, 46, 590–621.
read.nexus
, read.tree
,
write.tree
, read.nexus.data
,
write.nexus.data
, write.phyloXML
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.