getSharedTaxa: Rboretum Common Taxa Fetcher

View source: R/getSharedTaxa.R

getSharedTaxaR Documentation

Rboretum Common Taxa Fetcher

Description

This function takes a multiPhylo object and returns a sorted list of taxa common to all trees. Note: Function will STOP if <3 taxa are shared among trees.

Usage

getSharedTaxa(trees)

Arguments

trees

multiPhylo object where >= 3 species are shared among all trees

Value

Sorted character vector of tip labels present in all trees

Examples

common_taxa <- getSharedTaxa(myMultiPhylo)

BobLiterman/Rboretum documentation built on July 6, 2023, 7:46 p.m.