getNdKids: Get children IDs

Description Usage Arguments Details See Also Examples

View source: R/get-nd-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 June 27, 2017, 9:02 a.m.

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