getNdPtids: Get post-nodes to tips

View source: R/a.R

getNdPtidsR 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


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

ropensci/phylotaR documentation built on July 9, 2023, 3:17 p.m.