getNodeStats: Get node statistics

Description Usage Arguments Details References Examples

Description

Return dataframe of number of children, age and previous connecting node of every node in tree.

Usage

1
getNodeStats(tree, nodes = "all", ignore.tips = NULL)

Arguments

tree

phylogenetic tree (ape class)

nodes

numeric vector of nodes, default 'all'

ignore.tips

tips to ignore when counting, default NULL

Details

Assumes tree is rooted, bifurcating and time callibrated.

Use ignore.tips to specify tips of tree to ignore when counting children.

References

No references yet! https://github.com/DomBennett/MoreTreeTools.

Examples

1
2
tree <- rtree (100)
node.stats <- getNodeStats (tree)

DomBennett/MoreTreeTools documentation built on May 6, 2019, 2:51 p.m.