Description Usage Arguments Details References Examples
Return dataframe of first node of edge, second node of edge, their ages and the number of children descending from the edge.
1 | getEdgeStats(tree, edges = "all", ignore.tips = NULL)
|
tree |
phylogenetic tree (ape class) |
edges |
numeric vector of edges, 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)
edge.stats <- getEdgeStats (tree)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.