Description Usage Arguments Details Value
Show an image based on row/column information
1 2 3 4 5 6 7 |
mat |
an object of class arrayplot |
window |
window size to average |
rows |
integer vector with row positions |
cols |
integer vector with column positions |
vals |
numeric vector with values to plot |
byrow |
should the image be plotted row-wise (default:TRUE) |
n.row |
number of rows (if NULL, maximum value of rows) |
pal |
Character vector to use as color palette for the image |
bg.col |
how the missing values should be extrapolated |
The image matrix is created from three columns containing the value to plot and its position (row and column) on the image.
spatial.avg
can be used to average the image.
spatial.avg
and arrayplot
both return an object of class arrayplot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.