View source: R/imageManipulation.R
recolor | R Documentation |
recolor images after changing colors and/or color intensities
recolor(overlay)
overlay |
SpatialOverlay object |
SpatialOverlay object with RGB image
muBrain <- readRDS(unzip(system.file("extdata", "muBrainSubset_SpatialOverlay.zip",
package = "SpatialOmicsOverlay")))
image <- downloadMouseBrainImage()
muBrain <- add4ChannelImage(overlay = muBrain,
ometiff = image, res = 8)
muBrain <- changeImageColoring(overlay = muBrain, color = "magenta",
dye = "Cy5")
showImage(recolor(muBrain))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.