powered by
Spectra plotting with ggplot2
qplotmap( object, mapping = aes_string(x = "x", y = "y", fill = "spc"), ..., func = mean, func.args = list(), map.tileonly = FALSE )
a ggplot object
ggplot
hyperSpec object
see geom_tile
geom_tile
handed to geom_tile
function to summarize the wavelengths
arguments to func
func
if TRUE, mapping will be handed to geom_tile instead of ggplot.
TRUE
mapping
Claudia Beleites
These functions are still experimental and may change substantially in future.
Note that qplotmap will currently produce the wrong scales if x or y are discrete.
qplotmap
plotmap
ggplotgeom_tile
qplotmap (chondro) qplotmap (chondro) + scale_fill_gradientn (colours = alois.palette ())
Run the code above in your browser using DataLab