map an matrix of intensity values to a matrix of color values.
1 2 | mapToColors(imslice, col = heat.colors(128, alpha = 1),
zero.col = "#00000000", alpha = 1)
|
imslice |
an image matrix defining intensity values |
col |
a color map |
zero.col |
the background color. |
alpha |
transparency multiplier |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.