taxonNames {MSCquartets} | R Documentation |
Create a vector of all taxon names appearing on a collection of trees, with no repeats.
taxonNames(trees)
trees |
a multiPhylo object containing a collection of trees |
a vector of unique names of taxa appearing on the trees
gtrees=read.tree(file=system.file("extdata","dataGeneTreeSample",package="MSCquartets"))
tnames=taxonNames(gtrees)