addImageOmeTiff: Add image to SpatialOverlay from OME-TIFF

View source: R/addImage.R

addImageOmeTiffR Documentation

Add image to SpatialOverlay from OME-TIFF

Description

Add image to SpatialOverlay from OME-TIFF

Usage

addImageOmeTiff(overlay, ometiff = NULL, res = NULL, ...)

Arguments

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

Value

SpatialOverlay object with image

Examples


muBrain <- readRDS(unzip(system.file("extdata", "muBrainSubset_SpatialOverlay.zip", 
                                    package = "SpatialOmicsOverlay")))

image <- downloadMouseBrainImage()

muBrain <- addImageOmeTiff(overlay = muBrain, 
                           ometiff = image, res = 8)
showImage(muBrain)


Nanostring-Biostats/SpatialOmicsOverlay documentation built on April 20, 2024, 5:36 a.m.