R: Get sister id

getNdsSstr {treeman} | R Documentation

## 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

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

[Package treeman version 1.1.4 Index]