Plot tree with tips linked to geographic coordinates
phylo.to.map
creates an object of class "phylo.to.map"
and (optionally) plots that object.
plot.phylo.to.map
plots an object of class "phylo.to.map"
in which the tips of the tree point to coordinates on a geographic 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 ( |
... |
various optional arguments. For the function |
phylo.to.map
creates an object of class "phylo.to.map"
and (if plot=TRUE
) plots a phylogeny projected onto a geographic map.
plot.phylo.to.map
plots on object of class "phylo.to.map"
.
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.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.