Retrieve tissue coordinates from spatial objects.

GetTissueCoordinates(object, ...)

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

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

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

Value

A data frame with tissue coordinates

Details

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

Examples

if (FALSE) { # \dontrun{
GetTissueCoordinates(object, which = "centroids")
} # }