getNdPtids {treeman}R Documentation

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

library(treeman)
tree <- randTree(10)
# get all nodes from root to tip
getNdPtids(tree, id='n1')

[Package treeman version 1.1.3 Index]