flipX: Flip x axis in image and overlay points

View source: R/imageManipulation.R

flipXR Documentation

Flip x axis in image and overlay points

Description

Flip x axis in image and overlay points

Usage

flipX(overlay)

Arguments

overlay

SpatialOverlay object

Value

SpatialOverlay object with x 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(flipX(muBrain))


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