add4ChannelImage | R Documentation |
Add 4-channel image to SpatialOverlay from OME-TIFF. Allows for recoloring of image
add4ChannelImage(overlay, ometiff = NULL, res = NULL, ...)
overlay |
SpatialOverlay object |
ometiff |
File path to OME-TIFF. NULL indicates pull info from overlay |
res |
resolution layer, 1 = largest & higher values = smaller. The images increase in resolution and memory. The largest image your environment can hold is recommended. NULL indicates pull info from overlay |
... |
Extra variables |
SpatialOverlay object with image
muBrain <- readRDS(unzip(system.file("extdata", "muBrainSubset_SpatialOverlay.zip",
package = "SpatialOmicsOverlay")))
image <- downloadMouseBrainImage()
muBrain <- add4ChannelImage(overlay = muBrain,
ometiff = image, res = 8)
dim(EBImage::imageData(showImage(muBrain)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.