getNdKids: Get children IDs

Description Usage Arguments Details See Also Examples

View source: R/get-methods.R

Description

Return the node ids of all tips that descend from node.

Usage

1
getNdKids(tree, id)

Arguments

tree

TreeMan object

id

node id

Details

Returns a vector

See Also

getNdsKids, https://github.com/DomBennett/treeman/wiki/get-methods

Examples

1
2
3
4
library(treeman)
tree <- randTree(10)
# everyone descends from root
getNdKids(tree, id=tree['root'])

treeman documentation built on May 19, 2017, 8:33 p.m.

Search within the treeman package
Search all R packages, documentation and source code