Learn R Programming

albatross (version 0.3-8)

plot.feem: Plot a FEEM object

Description

Plot a 2D fluorescence intensity surface as a pseudo-colour image.

Usage

# S3 method for feem
plot(
  x, xlab, ylab, cuts = 128,
  col.regions = marine.colours(256), ...
)
# S3 method for feemcube
plot(
  x, xlab, ylab, cuts = 128,
  col.regions = marine.colours(256), as.table = TRUE, ...
)
# S3 method for feem.resid
plot(
  x, ..., at, col.regions = diverging.colours(256)
)

Value

A lattice plot object. Its print or plot method will draw the plot on an appropriate plotting device.

Arguments

x

An FEEM object.

xlab

The x-axis label for the plot, with a sane default.

ylab

The y-axis label for the plot, with a sane default.

cuts

The number of distinct levels the intensity would be divided into, areas between them assigned different colours.

col.regions

The palette to take the colours from, a character vector of R colour specifications.

at

The breakpoints in the intensity values. For residual plots, automatically set in a symmetric manner, ignoring the cuts argument.

as.table

Whether to draw the panels left to right, top to bottom. (Otherwise they are drawn left to right, bottom to top.)

...

Passed as-is to levelplot.

See Also

Examples

Run this code
  plot(feem(matrix(1:42/42, nrow = 7), 320 + 1:7, 300 + 1:6))

Run the code above in your browser using DataLab