eem_peaks: Extract fluorescence peaks

Description Usage Arguments Value Interpolation See Also Examples

Description

Extract fluorescence peaks

Usage

1
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

1
2
3
4
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))

eemR documentation built on June 27, 2019, 5:08 p.m.