nodes_preorder | R Documentation |
This functions returns the node numbers of a tree in order of preorder tree traversal (root first).
nodes_preorder( tree, node = setdiff(tree$edge[, 1], tree$edge[, 2]), nodes = c() )
tree |
An object of the class phylo |
A numeric vector with node numbers
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.