Description Usage Arguments Details See Also Examples
View source: R/get-nds-methods.R
Return node ids for connecting id
to root.
1 | 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
1 2 3 | library(treeman)
tree <- randTree(10)
getNdsPrids(tree, ids=tree['tips'])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.