.transNode | R Documentation |
transNode
does the transformation between the number and the label of
a node on a tree
.transNode(tree, node, use.alias = FALSE, message = FALSE)
tree |
A phylo object |
node |
A character or numeric vector representing tree node label(s) or tree node number(s) |
use.alias |
A logical value, TRUE or FALSE. This is an optional argument
that only requried when the input |
message |
A logical value, TRUE or FALSE. The default is FALSE. If TRUE, message will show when a tree have duplicated labels for some internal nodes. |
a vector
Ruizhu Huang
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.