taxonNames {MSCquartets}R 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)


[Package MSCquartets version 2.0 Index]