fold {EEM}R Documentation

Fold EEM matrix into a list

Description

Fold EEM matrix into a list

Usage

fold(EEM_uf, ...)

## S3 method for class 'matrix'
fold(EEM_uf, ...)

## S3 method for class 'data.frame'
fold(EEM_uf, name = NULL, ...)

## S3 method for class 'numeric'
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)

Examples

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


[Package EEM version 1.1.1 Index]