Plot tree with tips linked to geographic coordinates

Description Usage Arguments Value Author(s) References

View source: R/


Function plots a tree and tips pointing to coordinates on a global map.


3, coords, rotate=TRUE, ...)
## S3 method for class ''
plot(x, type=c("phylogram","direct"), ...)



an object of class "phylo".


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 tree$tip.label.


a logical value indicating whether or not to rotate nodes of the tree to better match longitudinal positions.


for, an object of class "".


a string indicating whether to map the tips of the tree onto a geographic map from a square phylogram (type="phylogram") or to project the tree directly onto the map (type="direct").


optional arguments. For, which creates an object of class "" and (optionally) plots that object, arguments include: database and regions (see map), as well as any arguments that should be passed to internally. For, optional arguments xlim and ylim, which control the plot area for the map; fsize for the font size of plot labels and ftype for the font type (following plotSimmap; split which controls the proportion of vertical (or horizontal) space for the tree (first) and map, in a vector; psize the size of the plotted points on the map - or cex.points, a vector contain the size of the tip points and geographic coordinate points, respectively; from.tip a logical value indicating whether to plot the linking lines from the tips (if TRUE) or from the end of the tip label, the default; colors, a single value or a vector of colors for the points and the linking lines; pch a single value or a vector of point types; lwd and lty for the linking lines; and pts a logical value indicating whether or not to plot points at the tips of the tree. mar and asp are as in par.

Value creates an object of class "" and (if plot=TRUE) plots a phylogeny projected onto a geographic map. plots on object of class "".


Liam Revell [email protected]


Revell, L. J. (2012) phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol., 3, 217-223.

liamrevell/phytools documentation built on Nov. 22, 2018, 5:21 p.m.