treeman (version 1.1.4)

getNdPtids: Get post-nodes to tips

Description

Return node ids for connecting id to kids.

Usage

getNdPtids(tree, id)

Arguments

tree

TreeMan object

id

node id

Details

Returns a vector.

See Also

getNdsPtids, getNdPrids, getNdsPrids, https://github.com/DomBennett/treeman/wiki/get-methods

Examples

Run this code
# NOT RUN {
library(treeman)
tree <- randTree(10)
# get all nodes from root to tip
getNdPtids(tree, id='n1')
# }

Run the code above in your browser using DataLab