Description Usage Arguments Details Value Examples
Plots from EEM spectra of class ggplot
. In case you work with a larger number of EEMs and want to show then in several plots, you can use eem_overview_plot
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ggeem(data, fill_max = FALSE, ...)
## Default S3 method:
ggeem(data, fill_max = FALSE, ...)
## S3 method for class 'eemlist'
ggeem(data, fill_max = FALSE, ...)
## S3 method for class 'eem'
ggeem(data, fill_max = FALSE, ...)
## S3 method for class 'parafac'
ggeem(data, fill_max = FALSE, ...)
## S3 method for class 'data.frame'
ggeem(data, fill_max = FALSE, redneg = FALSE, ...)
|
data |
eem, eemlist, parafac or data.frame. The details are given under 'Details'. |
fill_max |
sets the maximum fluorescence value for the colour scale. This is mainly used by other functions, and makes different plots visually comparable. |
... |
parameters passed on to |
redneg |
logical, whether negative values should be coloured discreet. |
The data can be of different sources:
eem: a single EEM spectrum is plotted
eemlist: all spectra of the samples are plotted, arranged in a grid
data.frame: a data.frame containing EEM data. Can be created by e.g. as.data.frame.eem
parafac: a PARAFAC model, the components are plotted then.
Using redneg you can give negative values a reddish colour. This can help identifying these parts in samples or components. Negative values are physically not possible and can only be the result of measuring errors, model deviations and problems with interpolated values.
A colour palette can be specified using the argument colpal.
Plotting distinct samples can be done using eem_extract
. Please see example.
a ggplot object
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.