Plot spectra
Usage
at_plot_spectrum(
spectra,
colour_by = c("label", "roi_id", "layer"),
ribbon = TRUE,
call = rlang::caller_env()
)Arguments
- spectra
The long tibble from
at_extract_spectrum()orat_extract().- colour_by
One of
"label","roi_id", or"layer".- ribbon
Logical; draw a min-max ribbon per colour group.
- call
The calling environment, for error reporting.
Value
A ggplot2::ggplot object.
See also
Other plots:
at_plot(),
at_plot_image(),
at_plot_mask(),
at_plot_overlay(),
at_plot_project(),
at_plot_summary()