pruning: Prune tree to match community data or trait data

prune.sampleR Documentation

Prune tree to match community data or trait data

Description

Prune a phylogenetic tree to include only species present in a community data set or with non-missing trait data

Usage

prune.sample(samp, phylo)
prune.missing(x, phylo)

Arguments

phylo

phylo object

samp

Community data matrix

x

Vector of trait data

Value

Returns a pruned phylo object

Author(s)

Steven Kembel <steve.kembel@gmail.com>


skembel/picante documentation built on July 19, 2023, 7:27 a.m.