qplotmap {hyperSpec} | R Documentation |
Spectra plotting with ggplot2
Description
Spectra plotting with ggplot2
Usage
qplotmap(
object,
mapping = aes_string(x = "x", y = "y", fill = "spc"),
...,
func = mean,
func.args = list(),
map.tileonly = FALSE
)
Arguments
object |
hyperSpec object |
mapping |
see |
... |
handed to |
func |
function to summarize the wavelengths |
func.args |
arguments to |
map.tileonly |
if |
Details
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.
Value
a ggplot
object
Author(s)
Claudia Beleites
See Also
Examples
qplotmap (chondro)
qplotmap (chondro) + scale_fill_gradientn (colours = alois.palette ())
[Package hyperSpec version 0.100.2 Index]