Learn R Programming

EEM (version 1.1.1)

fold: Fold EEM matrix into a list

Description

Fold EEM matrix into a list

Usage

fold(EEM_uf, ...)
"fold"(EEM_uf, ...)
"fold"(EEM_uf, name = NULL, ...)
"fold"(EEM_uf, ...)

Arguments

EEM_uf
Unfolded EEM matrix where columns are wavelength condition and rows are samples. It should have corresponding column names (formatted as EX###EM###) and row names.
...
arguments for other methods
name
optional for data.frame input to specify the sample names

Value

EEM a list containing EEM/EEM data

Methods (by class)

  • data.frame: fold unfolded data.frame

Examples

Run this code
data(applejuice)
applejuice_uf <- unfold(applejuice) # unfold list into matrix
applejuice_uf_norm <- normalize(applejuice_uf) # normalize matrix
drawEEM(fold(applejuice_uf_norm), 1) # visualize normalized EEM

Run the code above in your browser using DataLab