Learn R Programming

eemR (version 0.1.2)

eem_cut: Cut emission and/or excitation wavelengths from EEMs

Description

Cut emission and/or excitation wavelengths from EEMs

Usage

eem_cut(eem, ex, em)

Arguments

eem
Either an object of class eem or eemlist.
ex
A numeric vector of excitation wavelengths to be removed.
em
A numeric vector of emission wavelengths to be removed.

Value

  • Either an object of class eem or eemlist.

Examples

Run this code
# Open the fluorescence eem
file <- system.file("extdata/cary/eem/", "sample1.csv", package = "eemR")

eem <- eem_read(file)
plot(eem)

# Cut few excitation wavelengths
eem <- eem_cut(eem, ex = c(220, 225, 230, 230))
plot(eem)

Run the code above in your browser using DataLab