Learn R Programming

phytools (version 0.4-31)

setMap: Set color map for objects of class "contMap" or "densityMap"

Description

Function to change the color map (ramp) in an object of class "contMap" or "densityMap".

Usage

setMap(x, ...)

Arguments

x
an object of class "contMap" or "densityMap".
...
arguments to be passed to colorRampPalette.

Value

  • An object of class "contMap" or "densityMap".

See Also

contMap, densityMap