getNdKids {treeman} | R Documentation |
Return the node ids of all tips that descend from node.
getNdKids(tree, id)
tree |
|
id |
node id |
Returns a vector
getNdsKids
,
https://github.com/DomBennett/treeman/wiki/get-methods
library(treeman) tree <- randTree(10) # everyone descends from root getNdKids(tree, id=tree['root'])