Description Usage Arguments Value Author(s) See Also Examples
A convenient wrapper around levelplot
to display a hilbert image matrix as
it is returned by hilbertImage
. Alternatively to levelplot
,
EBImage
is available as well.
1 2 3 4 5 | showHilbertImage( mat,
palettePos = colorRampPalette(c("white", "red"))(300),
paletteNeg = colorRampPalette(c("white", "blue"))(300),
maxPaletteValue = max(abs(mat)),
mode = c("lattice", "EBImage", "EBImage-batch") )
|
mat |
The matrix to be displayed. In principle this can be any matrix,
but typically, it is one returned by |
palettePos |
The colour palette to be used for the positive entries in |
paletteNeg |
The colour palette to be used for the negative entries in |
maxPaletteValue |
The absolute value to which the right end of the palettes should correspond. (The left ends correspond to 0.) |
mode |
For mode "lattice", the function |
A lattice or EBImage graphics object. For all modes except “EBImage-batch” it is marked “invisible”.
Simon Anders, EMBL-EBI (sanders\@fs.tum.de)
1 | # See ?hilbertImage for examples.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.