imageplot(z, layout, low = NULL, high = NULL, ncolors = 123, zerocenter = NULL,
zlim = NULL, mar=c(2,1,1,1), legend=TRUE, ...)
z
. May be specified as a character string
such as "green"
, "white"
etc, or as a rgb vector in which c(1,0,0)
is red,
c(0,1,0)
is green and c(0,0,1)
is blue. The default value is "green"
if zerocenter=T
or "white"
if zerocenter=F
.z
. The default value is "red"
if zerocenter=T
or "blue"
if zerocenter=F
.z
correspond to a shade exactly halfway between the colors
low and high? The default is TRUE if z
takes positive and negative values,
otherwise FALSE.z
to associate with
colors low
and high
. By default zlim
is the range of z
. Any values of z
outside
the interval zlim
will be truncated to the relevant limit.par
.TRUE
the range of z
and zlim
is shown in the bottom marginThis function is related to the earlier plot.spatial
function in the sma
package and to the later maImage
function in the marray
package.
It differs from plot.spatial
most noticeably in that all the spots are plotted and the image is plotted from bottom left rather than from top left.
It is intended to display spatial patterns and artefacts rather than to highlight only the extreme values as does plot.spatial
.
It differs from maImage
in that any statistic may be plotted and in its use of a red-yellow-green color scheme for log-ratios, similar to the classic false-colored jpeg image, rather than the red-black-green color scheme associated with heat maps.
maImage
in the marray package, image
in the graphics package.An overview of diagnostic functions available in LIMMA is given in 09.Diagnostics.
M <- rnorm(8*4*16*16)
imageplot(M,layout=list(ngrid.r=8,ngrid.c=4,nspot.r=16,nspot.c=16))
Run the code above in your browser using DataLab