getNdsPrids {treeman} | R Documentation |
Return node ids for connecting id
to root.
getNdsPrids(tree, ids, ordrd = FALSE, parallel = FALSE, progress = "none")
tree |
|
ids |
vector of node ids |
ordrd |
logical, ensure returned prids are ordered ID to root |
parallel |
logical, make parallel? |
progress |
name of the progress bar to use, see |
Returns a list, parallizable. The function will work faster
if ordrd
is FALSE.
getNdPrids
,
getNdPtids
,
getNdsPtids
,
https://github.com/DomBennett/treeman/wiki/get-methods
library(treeman) tree <- randTree(10) getNdsPrids(tree, ids=tree['tips'])