getNdsKids: Get children IDs for multiple nodes

View source: R/a.R

getNdsKidsR Documentation

Get children IDs for multiple nodes

Description

Return the node ids of all tips that descend from each node in ids.

Usage

getNdsKids(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, parallelizable.

See Also

getNdKids, https://github.com/DomBennett/treeman/wiki/get-methods

Examples


tree <- randTree(10)
getNdsKids(tree, id = tree["nds"])

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