getNdPrdst | R Documentation |
Return root to tip distance (prdst) for id
getNdPrdst(tree, id)
tree |
|
id |
node id |
Sums the lengths of all branches from id
to root.
getNdsPrdst
,
https://github.com/DomBennett/treeman/wiki/get-methods
tree <- randTree(10)
getNdPrdst(tree, id = "t1") # return the distance to root from t1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.