prune: Remove the specified indices, and their descendents, from the...

View source: R/tree_manipulation.R

pruneR Documentation

Remove the specified indices, and their descendents, from the tree

Description

Remove the specified indices, and their descendents, from the tree

Usage

prune(x, id, ...)

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

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

Arguments

x

phylo object

id

vector of indices or names

...

Arguments sent to prune.phylo

type

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


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