flipY: Flip y axis in image and overlay points

View source: R/imageManipulation.R

flipYR Documentation

Flip y axis in image and overlay points

Description

Flip y axis in image and overlay points

Usage

flipY(overlay)

Arguments

overlay

SpatialOverlay object

Value

SpatialOverlay object with y axis flipped

Examples

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

image <- downloadMouseBrainImage()

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

showImage(flipY(muBrain))


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