Learn R Programming

eemR (version 1.0.1)

eem_peaks: Extract fluorescence peaks

Description

Extract fluorescence peaks

Usage

eem_peaks(eem, ex, em, verbose = TRUE)

Arguments

eem

An object of class eemlist.

ex

A numeric vector with excitation wavelengths.

em

A numeric vector with emission wavelengths.

verbose

Logical determining if additional messages should be printed.

Value

An object of class eemlist.

A data frame containing excitation and emission peak values. See details for more information.

Interpolation

Different excitation and emission wavelengths are often used to measure EEMs. Hence, it is possible to have mismatchs between measured wavelengths and wavelengths used to calculate specific metrics. In these circumstances, EEMs are interpolated using the interp2 function from the parcma library. A message warning the user will be prompted if data interpolation is performed.

See Also

interp2

Examples

Run this code
# NOT RUN {
file <- system.file("extdata/cary/scans_day_1/", "sample1.csv", package = "eemR")
eem <- eem_read(file, import_function = "cary")

eem_peaks(eem, ex = c(250, 350), em = c(300, 400))
# }

Run the code above in your browser using DataLab