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 April 20, 2024, 5:36 a.m.