tree.noclock2clock | R Documentation |
This function converts a non-clocklike tree to a clocklike tree using an ad-hoc approach described in the paper Liu et al 2007.
tree.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 ~
treestr<-"(((H:1,C:3):2,G:6):2,O:10);"
name<-species.name(treestr)
treenode<-read.tree.nodes(treestr,name)$nodes
tree.noclock2clock(7,treenode,4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.