powered by
Returns the ids of the sister(s) of nd ids given.
getNdsSstr(tree, ids, parallel = FALSE, progress = "none")
TreeMan object
TreeMan
nd ids
logical, make parallel?
name of the progress bar to use, see create_progress_bar
create_progress_bar
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. Parallelizable.
getNdSstr, https://github.com/DomBennett/treeman/wiki/get-methods
getNdSstr
# NOT RUN { library(treeman) tree <- randTree(10) getNdsSstr(tree, ids=tree['tips']) # }
Run the code above in your browser using DataLab