View source: R/imageManipulation.R
changeColoringIntensity | R Documentation |
Update color intensities for changing to RGB image
changeColoringIntensity(overlay, minInten = NULL, maxInten = NULL, dye)
overlay |
SpatialOverlay object |
minInten |
value to change MinIntensity to; NULL indicates no change |
maxInten |
value to change MaxIntensity to; NULL indicates no change |
dye |
which dye to change color, can be from Dye or DisplayName column from fluor(overlay) |
SpatialOverlay object with updated fluor data
muBrain <- readRDS(unzip(system.file("extdata", "muBrainSubset_SpatialOverlay.zip",
package = "SpatialOmicsOverlay")))
image <- downloadMouseBrainImage()
muBrain <- add4ChannelImage(overlay = muBrain,
ometiff = image, res = 8)
fluor(muBrain)
muBrain <- changeColoringIntensity(overlay = muBrain,
minInten = 500,
maxInten = 10000,
dye = "Cy5")
fluor(muBrain)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.