powered by
Return node ids for connecting ids to kids.
ids
getNdsPtids(tree, ids, parallel = FALSE, progress = "none")
TreeMan object
TreeMan
vector of node ids
logical, make parallel?
name of the progress bar to use, see create_progress_bar
create_progress_bar
Returns a list, parallizable.
getNdPtids, getNdPrids, getNdsPrids, https://github.com/DomBennett/treeman/wiki/get-methods
getNdPtids
getNdPrids
getNdsPrids
# 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 DataLab