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)
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
ggplot
a ggplot object
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
# NOT RUN { qplotmap (chondro) qplotmap (chondro) + scale_fill_gradientn (colours = alois.palette ()) # }
Run the code above in your browser using DataLab