getNdSstr {treeman} | R Documentation |
Returns the id of the sister(s) of node id given.
getNdSstr(tree, id)
tree |
|
id |
node id |
An error is raised if there is no sister (e.g. for the root). There can be more than one sister if tree is polytomous.
getNdsSstr
,
https://github.com/DomBennett/treeman/wiki/get-methods
library(treeman) tree <- randTree(10) getNdSstr(tree, id='t1')