Usage
textplot(object, halign="center", valign="center", cex, max.cex = 1, cmar = 2, rmar = 0.5, show.rownames = TRUE, show.colnames = TRUE, hadj = 1, vadj=NULL, row.valign = "center", heading.valign = "bottom", mar = c(0, 0, 0, 0) + 0.1, col.data = par("col"), col.rownames = par("col"), col.colnames = par("col"), wrap = TRUE, wrap.colnames = 10, wrap.rownames = 10, ...)replaceTabs(text, width=8)
Arguments
object
Object to be displayed.
halign
Alignment in the x direction, one of "center", "left",
or "right".
valign
Alignment in the y direction, one of "center", "top" ,
or "bottom"
cex
Character size, see par
for details. If
unset, the code will attempt to use the largest value which allows
the entire object to be displayed. mar
Figure margins, see the documentation for par
.
rmar, cmar
Space between rows or columns, in
fractions of the size of the letter 'M'.
show.rownames, show.colnames
Logical value indicating whether row or
column names will be displayed.
hadj,vadj
Vertical and horizontal location of elements within
matrix cells. These have the same meaning as the adj
graphics
paramter (see par
). col.data
Colors for data elements. If a single value is
provided, all data elements will be the same color. If a matrix
matching the dimensions of the data is provided, each data element
will receive the specified color.
col.rownames, col.colnames
Colors for row names and column
names, respectively. Either may be specified as a scalar or a
vector of appropriate length.
max.cex
Sets the largest text size as a ceiling
row.valign
Sets the vertical alignment of the row as "top", "bottom", or (default) "center".
heading.valign
Sets the vertical alignment of the heading as "top", (default) "bottom", or "center".
wrap
If TRUE (default), will wrap column names and rownames
wrap.colnames
The number of characters after which column labels will be wrapped. Default is 10.
wrap.rownames
The number of characters after which row headings will be wrapped. Default is 10.
text
in the function 'replaceTabs', the text string to be processed
width
in the function 'replaceTabs', the number of spaces to replace tabs with
...
Optional arguments passed to the text plotting command or specialized object methods