recoloredImage | R Documentation |
recolorize
objects use a numeric color map and a matrix of
color centers to make recolored images, since this is a lighter weight
and more flexible format. This function generates a colored image
from those values for plotting.
recoloredImage(recolorize_obj, type = c("array", "raster"))
recolorize_obj |
An object of class |
type |
Type of image to return. One of either "array" or "raster". Arrays are numeric RGB arrays (larger, but easier to do operations on), rasters are matrices of hex codes (smaller, only really good for plotting). |
A numeric image array (if type = array
) or a matrix of hex codes (
if type = raster
).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.