drawEEM: Draw contour for EEM data

Description Usage Arguments Value Methods (by class) See Also Examples

Description

This function is a wrapper function for filled.contour to draw contour for EEM data.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
drawEEM(x, ...)

## S3 method for class 'EEM'
drawEEM(x, n, exlab = "Excitation wavelength [nm]",
  emlab = "Emission wavelength [nm]", color.palette = matlab.like,
  nlevels = 50, main = NULL, flipaxis = FALSE, ...)

## S3 method for class 'EEMweight'
drawEEM(x, ncomp, exlab = "Excitation wavelength [nm]",
  emlab = "Emission wavelength [nm]", color.palette = matlab.like,
  nlevels = 50, main = NULL, flipaxis = FALSE, ...)

## S3 method for class 'matrix'
drawEEM(x, n, exlab = "Excitation wavelength [nm]",
  emlab = "Emission wavelength [nm]", color.palette = matlab.like,
  nlevels = 50, main = NULL, flipaxis = FALSE, ...)

## S3 method for class 'data.frame'
drawEEM(x, n, exlab = "Excitation wavelength [nm]",
  emlab = "Emission wavelength [nm]", color.palette = matlab.like,
  nlevels = 50, main = NULL, flipaxis = FALSE, ...)

## S3 method for class 'numeric'
drawEEM(x, exlab = "Excitation wavelength [nm]",
  emlab = "Emission wavelength [nm]", color.palette = matlab.like,
  nlevels = 50, main = NULL, flipaxis = FALSE, ...)

Arguments

x

a list of EEM data generated by readEEM function or EEMweight object generated by extract-related functions.

...

(optional) further arguments passed to other methods of filled.contour

n

sample number. The number should not exceed length(EEM)

exlab

(optional) excitation-axis label

emlab

(optional) emission-axis label

color.palette

(optional) contour color palette. See palette for more details

nlevels

(optional) number of levels used to separate range of intensity value

main

(optional) plot title

flipaxis

(optional) flip axis

ncomp

number of components

Value

A figure is returned on the graphic device

Methods (by class)

See Also

drawEEM

Examples

1
2
3
4
5
6
7
8
9
# method for class "EEM"
data(applejuice)
drawEEM(applejuice, 1) # draw contour of the first sample
drawEEM(applejuice, 1, flipaxis = TRUE) # flip the axis

# method for class "EEMweight"
applejuice_uf <- unfold(applejuice) # unfold list into matrix
result <- prcomp(applejuice_uf) 
drawEEM(getLoading(result), 1) # plot loading of the first PC

EEM documentation built on May 2, 2019, 5:58 a.m.

Related to drawEEM in EEM...