Description Usage Arguments Details References Examples
Return dataframe of number of children, age and previous connecting node of every node in tree.
1 | getNodeStats(tree, nodes = "all", ignore.tips = NULL)
|
tree |
phylogenetic tree (ape class) |
nodes |
numeric vector of nodes, default 'all' |
ignore.tips |
tips to ignore when counting, default NULL |
Assumes tree is rooted, bifurcating and time callibrated.
Use ignore.tips to specify tips of tree to ignore when counting children.
No references yet! https://github.com/DomBennett/MoreTreeTools.
1 2 | tree <- rtree (100)
node.stats <- getNodeStats (tree)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.