recolor: recolor images after changing colors and/or color intensities

View source: R/imageManipulation.R

recolorR Documentation

recolor images after changing colors and/or color intensities

Description

recolor images after changing colors and/or color intensities

Usage

recolor(overlay)

Arguments

overlay

SpatialOverlay object

Value

SpatialOverlay object with RGB image

Examples


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))


Nanostring-Biostats/SpatialOmicsOverlay documentation built on Dec. 18, 2024, 9:26 a.m.