rank.nodes {phybase} | R Documentation |
The function returns the rank of each node in the tree.
rank.nodes(treenode, inode, ntaxa, start, rank)
treenode |
tree node matrix |
inode |
the tree root |
ntaxa |
the number of taxa in the tree |
start |
the maximum rank |
rank |
a dummy vector |
The function returns a vector of ranks for the nodes in the tree.
Liang Liu lliu@oeb.harvard.edu