pruneSample: Pruning data and a tree to a particular subset

Description Usage Arguments Value

View source: R/pruneSample.R

Description

Prunes a comparative dataset down to a particular clade

Usage

1
pruneSample(data, tree, targetGroup)

Arguments

data

a vector of tip values for species; should be in the same order as tiplabels in the tree

tree

an object of class "phylo".

targetGroup

vector listing the tip labels to which the data should be pruned

Value

pruned comparative data set


JeroenSmaers/evomap documentation built on May 7, 2019, 10:35 a.m.