aroma.core (version 3.1.1)

as.GrayscaleImage.matrix: Creates a Grayscale (Color) Image from a matrix file

Description

Creates a Grayscale (Color) Image from a matrix file.

Usage

# S3 method for matrix
as.GrayscaleImage(z, transforms=NULL, interleaved=c("none", "h", "v", "auto"), scale=1,
  ..., verbose=FALSE)

Arguments

z

A KxN matrix.

transforms

A list of transform functions.

interleaved

A character string specifying how the image data should be interleaved, if at all.

scale

A numeric scale factor in (0,+Inf) for resizing the imaging. If 1, no resizing is done.

...

Passed to colorize() for the object created.

verbose

A logical or a Verbose object.

Value

Returns a bitmap image object.

See Also

For more information see matrix.