tree.node2name | R Documentation |
This function replaces node numbers in a tree string by species names.
tree.node2name(treestr,name="")
treestr |
a tree string |
name |
species names |
The function returns the tree string with the node numbers replaced by the species names.
Liang Liu
tree.name2node
treestr<-"(((1:4.2,2:4.2):3.1,3:7.3):6.3,4:13.5);"
name<-c("H","C", "G", "O")
tree.node2name(treestr,name)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.