qplotmap | R Documentation |
Spectra plotting with ggplot2
qplotmap(
object,
mapping = aes_string(x = "x", y = "y", fill = "spc"),
...,
func = mean,
func.args = list(),
map.tileonly = FALSE
)
object |
hyperSpec object |
mapping |
see |
... |
handed to |
func |
function to summarize the wavelengths |
func.args |
arguments to |
map.tileonly |
if |
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.
a ggplot
object
Claudia Beleites
plotmap
ggplot
geom_tile
qplotmap (chondro)
qplotmap (chondro) + scale_fill_gradientn (colours = alois.palette ())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.