createCoordFile: Create coordinate file for entire scan

View source: R/coordinateGeneration.R

createCoordFileR Documentation

Create coordinate file for entire scan

Description

Create coordinate file for entire scan

Usage

createCoordFile(overlay, outline = TRUE)

Arguments

overlay

SpatialOverlay object

outline

returned coordinates only contain boundaries, will not work for segmented ROIs

Value

df of coordinates for every AOI in the scan

Examples


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

muBrain <- createCoordFile(muBrain, outline = FALSE)

head(coords(muBrain))


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