Description Usage Arguments Value Author(s) See Also Examples
This function can test if the tree is rooted.
1 | is.rootedtree(tree)
|
tree |
tree string or tree node matrix |
The function returns TRUE if the tree is a rooted tree. Otherwise, it returns FALSE.
Liang Liu lliu@uga.edu
1 2 3 4 5 6 | data(unrooted.tree)
nodematrix<-read.tree.nodes(unrooted.tree[1])$nodes
is.rootedtree(nodematrix)
data(rooted.tree)
is.rootedtree(rooted.tree[1])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.