getNdsPtids: Get post-nodes to tips for multiple nodes

Description Usage Arguments Details See Also Examples

View source: R/get-nds-methods.R

Description

Return node ids for connecting ids to kids.

Usage

1
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

1
2
3
4
library(treeman)
tree <- randTree(10)
# get all nodes to tip for all nodes
getNdsPtids(tree, ids=tree['nds'])

treeman documentation built on July 8, 2020, 7:28 p.m.