ggeem creates nice plots from EEM spectra of class ggplot. Plots can be modified as any ggplot by adding layers and/or elements with "+".
Usage
ggeem(data, fill_max = FALSE, ...)
# S3 method for default
ggeem(data, fill_max = FALSE, ...)
# S3 method for eemlist
ggeem(data, fill_max = FALSE, ...)
# S3 method for eem
ggeem(data, fill_max = FALSE, ...)
# S3 method for parafac
ggeem(data, fill_max = FALSE, ...)
# S3 method for data.frame
ggeem(data, fill_max = FALSE, ...)
Arguments
data
eem, eemlist, parafac or data.frame. The details are given under 'Details'
fill_max
FALSE
...
parameters passed on to ggplot
Value
a ggplot object
Details
The data can be of different sources:
eem: a single EEM pectrum is plotted
eemlist: all spectra of the samples are plotted in one facet plot
data.frame: a data.frame containing EEM data. Can be created by e.g. as.data.frame.eem