View source: R/plot_functions.R
geom_eemregions | R Documentation |
geom_eemregions marks the locations of commonly destinguished molecular groups in EEMs
geom_eemregions(
lim = c(ex_min = 200, ex_max = 500, em_min = 250, em_max = 700),
detail = TRUE,
...
)
lim |
limit the extend of the lines separating the groups |
detail |
logical, whether the reagions are given with numbers only or with more detailed information |
... |
additional arguments to be passed on to |
data, the data.frame with the peaks, is included in the package and accessible using data(peaks). It is possible to alter that data.frame and e.g. provide altered peaks or a selection of peaks using common functions on data.frames.
a layer to a ggplot2
require(tidyr)
eem_list %>%
eem_extract(eem_names((eem_list))[1], keep = TRUE) %>%
ggeem() +
geom_eemregions()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.