eem_cut | R Documentation |
Cut emission and/or excitation wavelengths from EEMs
eem_cut(eem, ex, em, exact = TRUE, fill_with_na = FALSE)
eem |
An object of class |
ex |
A numeric vector of excitation wavelengths to be removed. |
em |
A numeric vector of emission wavelengths to be removed. |
exact |
Logical. If TRUE, only wavelengths matching |
fill_with_na |
Logical. If TRUE, fluorescence values at specified wavelengths will be replaced with NA. If FALSE, these values will be removed. |
An object of class eemlist
.
# Open the fluorescence eem
file <- system.file("extdata/cary/scans_day_1/", "sample1.csv", package = "eemR")
eem <- eem_read(file, import_function = "cary")
plot(eem)
# Cut few excitation wavelengths
eem <- eem_cut(eem, ex = c(220, 225, 230, 230))
plot(eem)
eem <- eem_read(file, import_function = "cary")
eem <- eem_cut(eem, em = 350:400, fill_with_na = TRUE)
plot(eem)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.