Learn R Programming

SeuratObject (version 5.3.0)

GetTissueCoordinates: Get tissue coordinates

Description

Retrieve tissue coordinates from spatial objects.

Usage

GetTissueCoordinates(object, ...)

# S3 method for FOV GetTissueCoordinates(object, which = NULL, ...)

# S3 method for Seurat GetTissueCoordinates(object, image = NULL, ...)

Value

A data frame with tissue coordinates

Arguments

object

An object

...

Arguments passed to other methods

which

Name of segmentation boundary or molecule set to retrieve coordinates for; if NULL, will retrieve coordinates for the default boundary

image

Name of SpatialImage object to get coordinates for; if NULL, will retrieve coordinates for the default image

Details

Spatial classes may have specific implementations; refer to those documentation pages for more details.

Examples

Run this code
if (FALSE) {
GetTissueCoordinates(object, which = "centroids")
}

Run the code above in your browser using DataLab