Description Usage Arguments Details See Also Examples
View source: R/get-nds-methods.R
Return root to tip distances (prdst) for ids
1 | getNdsPrdst(tree, ids, parallel = FALSE, progress = "none")
|
tree |
|
ids |
vector of node ids |
parallel |
logical, make parallel? |
progress |
name of the progress bar to use, see |
Sums the lengths of all branches from ids
to root.
getNdPrdst
,
https://github.com/DomBennett/treeman/wiki/get-methods
1 2 3 | library(treeman)
tree <- randTree(10)
getNdsPrdst(tree, ids=tree['tips']) # return prdsts for all tips
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.