labeledHeatmap.multiPage(
# Input data and ornaments
Matrix,
xLabels, yLabels = NULL,
xSymbols = NULL, ySymbols = NULL,
textMatrix = NULL, # Paging options
rowsPerPage = NULL, maxRowsPerPage = 20,
colsPerPage = NULL, maxColsPerPage = 10,
addPageNumberToMain = TRUE,
# Further arguments to labeledHeatmap
zlim = NULL,
signed = TRUE,
main = "",
...)
xLabels
are interpreted as colors. See Details.yLabels
are interpreted as colors. See Details.Matrix
or a vector of the same length as the number of entries in Matrix
.maxRowsPerPage
below
and the number of rows in Matrix
.maxColsPerPage
below
and the number of rows in Matrix
.main
title of each plot?Matrix
.Matrix
be converted to colors using a scale centered at zero?labeledHeatmap
.labeledHeatmap
is used to produce each plot/page; most arguments are described
in more detail in the help file for that function.In each plot/page labeledHeatmap
plots a standard heatmap plot of an appropriate
sub-rectangle of Matrix
and embellishes it with
row and column labels and/or with text within the heatmap entries. Row and column labels can be either
character strings or color squares, or both.
To get simple text labels, use colorLabels=FALSE
and pass the desired row and column labels in
yLabels
and xLabels
, respectively.
To label rows and columns by color squares, use
colorLabels=TRUE
; yLabels
and xLabels
are then expected to represent valid colors.
For reasons of compatibility with other functions, each entry in yLabels
and xLabels
is
expected to consist of a color designation preceded by 2 characters: an example would be
MEturquoise
. The first two characters can be arbitrary, they are stripped.
Any labels that do not represent valid colors will be considered text labels and printed in full,
allowing the user to mix text and color labels.
It is also possible to label rows and columns by both color squares and additional text annotation. To
achieve this, use the above technique to get color labels and, additionally, pass the desired text
annotation in the xSymbols
and ySymbols
arguments.
If rowsPerPage
(colsPerPage
) is not given, rows (columns) are allocated automatically as
uniformly as possible, in contiguous blocks of size at most maxRowsPerPage
(maxColsPerPage
).
The allocation is performed by the function allocateJobs
.
labeledHeatmap
for the actual heatmap plot;function allocateJobs
for the allocation of rows/columns to each plot.