Learn R Programming

treeman (version 1.1.4)

getNdsSstr: Get sister id

Description

Returns the ids of the sister(s) of nd ids given.

Usage

getNdsSstr(tree, ids, parallel = FALSE, progress = "none")

Arguments

tree

TreeMan object

ids

nd ids

parallel

logical, make parallel?

progress

name of the progress bar to use, see create_progress_bar

Details

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.

See Also

getNdSstr, https://github.com/DomBennett/treeman/wiki/get-methods

Examples

Run this code
# NOT RUN {
library(treeman)
tree <- randTree(10)
getNdsSstr(tree, ids=tree['tips'])
# }

Run the code above in your browser using DataLab