treeman (version 1.1.3)

getNdsPtids: Get post-nodes to tips for multiple nodes

Description

Return node ids for connecting ids to kids.

Usage

getNdsPtids(tree, ids, parallel = FALSE, progress = "none")

Arguments

tree

TreeMan object

ids

vector of node ids

parallel

logical, make parallel?

progress

name of the progress bar to use, see create_progress_bar

Details

Returns a list, parallizable.

See Also

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

Examples

Run this code
# NOT RUN {
library(treeman)
tree <- randTree(10)
# get all nodes to tip for all nodes
getNdsPtids(tree, ids=tree['nds'])
# }

Run the code above in your browser using DataCamp Workspace