plot.feem: Plot a FEEM object

View source: R/feem.R

plot.feemR Documentation

Plot a FEEM object

Description

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

Usage

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

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.

Value

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

See Also

levelplot

Examples

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

albatross documentation built on May 29, 2024, 9:10 a.m.