Converts taxon names to tip/edge numbers
Converts taxon names to corresponding tip/edge numbers in the phylogeny.
labelstonumbers(phyl, tips)
phyl |
The phylogeny of interest in phylo format |
tips |
The names of the tips in question |
Simply reads in taxon names, determines which tip or edge number they correspond to, and returns those values
The numbers of all of the tips of interest.
Paradis, E., J. Claude, and K. Strimmer (2004) APE: Analyses of phylogenetics and evolution in R langauge. Bioinformatics, 20, 289-290. Paradis, E. (2012) Analysis of Phylogenetics and Evolution with R (Second Edition). New York: Springer.
phyl<-rtree(10) nums<-labelstonumbers(phyl,c("t1","t2","t3"))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.