getNdsSstr: Get sister id

Description Usage Arguments Details See Also Examples

View source: R/get-nds-methods.R

Description

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

Usage

1
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

1
2
3
library(treeman)
tree <- randTree(10)
getNdsSstr(tree, ids=tree['tips'])

DomBennett/treeman documentation built on Nov. 12, 2020, 1:35 p.m.