Learn R Programming

eemR (version 0.1.2)

eem_read: Read excitation-emission fluorecence matrix (eem)

Description

Read excitation-emission fluorecence matrix (eem)

Usage

eem_read(file, recursive = FALSE)

Arguments

file
File name or folder containing fluorescence file(s).
recursive
logical. Should the listing recurse into directories?

Value

  • If file is a single filename:

    An object of class eem containing:

    • sample The file name of the eem.
    • x A matrix with fluorescence values.
    • em Emission vector of wavelengths.
    • ex Excitation vector of wavelengths.

    If file is a folder, the function returns an object of class eemlist which is simply a list of eem.

Details

At the moment, Cary Eclipse, Aqualog and Shimadzu EEMs are supported.

eemR will automatically try to determine from which spectrofluorometer the files originate and load the data accordingly. Note that EEMs are reshaped so X[1, 1] represents the fluoresence intensity at X[min(ex), min(em)].

Examples

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

Run the code above in your browser using DataLab