sisters: Get the sisters of a node

View source: R/tree_manipulation.R

sistersR Documentation

Get the sisters of a node

Description

Get the sisters of a node

Usage

sisters(x, id, ...)

## S3 method for class 'Strata'
sisters(x, id, ...)

## S3 method for class 'phylo'
sisters(x, id, type = "auto", ...)

Arguments

x

phylo object

id

vector of ids or names

...

Arguments sent to sisters.phylo

type

id type: ['name', 'index', 'auto']

Value

integer vector of indices


arendsee/phylostratr documentation built on Dec. 31, 2022, 10:22 a.m.