taxonNames: Get all taxon names from a collection of trees

View source: R/QuartetTally.R

taxonNamesR Documentation

Get all taxon names from a collection of trees

Description

Create a vector of all taxon names appearing on a collection of trees, with no repeats.

Usage

taxonNames(trees)

Arguments

trees

a multiPhylo object containing a collection of trees

Value

a vector of unique names of taxa appearing on the trees

Examples

gtrees=read.tree(file=system.file("extdata","dataGeneTreeSample",package="MSCquartets"))
tnames=taxonNames(gtrees)


MSCquartets documentation built on Nov. 2, 2023, 5:32 p.m.