write.tree.string | R Documentation |
The function writes tree strings to a file in NEXUS or PHYLIP format.
write.tree.string(X, format = "Nexus", file = "", name = "")
X |
a vector of tree strings |
format |
tree file format |
file |
the file name |
name |
the species names |
If name is provided, the function will use name as the species names in the translation block in the NEXUS tree file. Otherwise, the species names will be extracted from the tree strings.
The function returns a tree file in the format of NEXUS or PHYLIP.
Liang Liu lliu@uga.edu
Felsenstein, J. The Newick tree format. http://evolution.genetics.washington.edu/phylip/newicktree.html
write.subtree
, read.tree.string
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.