powered by
Return root to tip distances (prdst) for ids
ids
getNdsPrdst(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
Sums the lengths of all branches from ids to root.
getNdPrdst, https://github.com/DomBennett/treeman/wiki/get-methods
getNdPrdst
# NOT RUN { library(treeman) tree <- randTree(10) getNdsPrdst(tree, ids=tree['tips']) # return prdsts for all tips # }
Run the code above in your browser using DataLab