Description Usage Arguments Value Author(s) See Also Examples
This function can be used to find the root of a tree.
1 | rootoftree(nodematrix)
|
nodematrix |
the tree node matrix |
The function returns the root of the tree.
Liang Liu lliu@uga.edu
1 2 3 4 | treestr<-"((((H:0.00402,C:0.00402):0.00304,G:0.00707):0.00929,O:0.01635):0.1,W:0.12);"
nodematrix<-read.tree.nodes(treestr)$nodes
spname<-read.tree.nodes(treestr)$names
rootoftree(nodematrix)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.