Description Usage Arguments Value Author(s) See Also Examples
The function can find the most recent common ancestor of two nodes inode
and jnode
1 | mrca.2nodes(inode, jnode, nodematrix)
|
inode |
the node |
jnode |
the node |
nodematrix |
the tree node matrix |
anc |
the node number of the most recent common ancestor of |
dist |
the distance between the two nodes. |
Liang Liu lliu@uga.edu
1 2 3 | 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
mrca.2nodes(1,2,nodematrix)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.