fold: Fold EEM matrix into a list

Description Usage Arguments Value Methods (by class) Examples

Description

Fold EEM matrix into a list

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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

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

chengvt/EEM documentation built on May 13, 2019, 3:51 p.m.