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 Sept. 12, 2024, 7:38 a.m.