phylo.to.map {phytools} | R Documentation |
Function plots a tree and tips pointing to coordinates on a global map.
phylo.to.map(tree, coords, rotate=TRUE, ...) ## S3 method for class 'phylo.to.map' plot(x, type=c("phylogram","direct"), ...)
tree |
an object of class "phylo". |
coords |
a matrix containing the latitude (in column 1) and the longitude of all tip species in the tree. The row names should be the same as |
rotate |
a logical value indicating whether or not to rotate nodes of the tree to better match longitudinal positions. |
x |
for |
type |
a string indicating whether to map the tips of the tree onto a geographic map from a square phylogram ( |
... |
optional arguments. For |
Plots a phylogeny and map and returns an object of class "phylo.to.map"
invisibly.
Liam Revell liam.revell@umb.edu
Revell, L. J. (2012) phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol., 3, 217-223.