powered by
Return node ids for connecting id to root.
id
getNdsPrids(tree, ids, ordrd = FALSE, parallel = FALSE, progress = "none")
TreeMan object
TreeMan
vector of node ids
logical, ensure returned prids are ordered ID to root
logical, make parallel?
name of the progress bar to use, see create_progress_bar
create_progress_bar
Returns a list, parallizable. The function will work faster if ordrd is FALSE.
ordrd
getNdPrids, getNdPtids, getNdsPtids, https://github.com/DomBennett/treeman/wiki/get-methods
getNdPrids
getNdPtids
getNdsPtids
# NOT RUN { library(treeman) tree <- randTree(10) getNdsPrids(tree, ids=tree['tips']) # }
Run the code above in your browser using DataLab