Function to change the color map (ramp) in an object of class "contMap"
, "densityMap"
, or "phyloScattergram"
.
setMap(x, ...)
# S3 method for contMap
setMap(x, ...)
# S3 method for densityMap
setMap(x, ...)
# S3 method for phyloScattergram
setMap(x, ...)
an object of class "contMap"
, "densityMap"
, or "phyloScattergram"
.
arguments to be passed to colorRampPalette
. Also, the argument invert
which (if invert=TRUE
) will just flip the current color ramp.
An object of class "contMap"
, "densityMap"
, or "phyloScattergram"
.
Revell, L. J. (2012) phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol., 3, 217-223.
Revell, L. J. 2013. Two new graphical methods for mapping trait evolution on phylogenies. Methods in Ecology and Evolution, 4, 754-759.