Description Usage Arguments Value Author(s) References Examples
This function converts a non-clocklike tree to a clocklike tree using an ad-hoc approach described in the paper Liu et al 2007.
1 | noclock2clock(inode, treematrix, nspecies)
|
inode |
root of the tree |
treematrix |
tree node matrix |
nspecies |
the number of species in the tree |
The function returns the tree node matrix of the clocklike tree.
Liang Liu
~put references to the literature/web site here ~
1 2 3 4 | treestr<-"(((H:1,C:3):2,G:6):2,O:10);"
name<-species.name(treestr)
treenode<-read.tree.nodes(treestr,name)$nodes
noclock2clock(7,treenode,4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.