Learn R Programming

aroma.core (version 1.1.2)

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

Description

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

Usage

## S3 method for class '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() of Image.
verbose
A logical or a Verbose object.

Value

See Also

Image. For more information see matrix.