Description Usage Arguments Author(s) Examples
This function returns the ancestors of a node and their divergence times.
1 | ancandtime(inode, nodematrix, nspecies)
|
inode |
a node in the tree. |
nodematrix |
the tree matrix. |
nspecies |
number of species (taxa) in the tree. |
Liang Liu
1 2 3 4 | treestr<-"((((H:0.00402,C:0.00402):0.00304,G:0.00706):0.00929,O:0.01635):0.1,W:0.11635);"
nodematrix<-read.tree.nodes(treestr)$nodes
inode<-6
ancandtime(inode,nodematrix,nspecies=5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.