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, ...)An object
Arguments passed to other methods
Name of segmentation boundary or molecule set to retrieve coordinates for; if NULL, will retrieve coordinates for the default boundary
Name of SpatialImage object to get coordinates for; if
NULL, will retrieve coordinates for the default image
A data frame with tissue coordinates
Spatial classes may have specific implementations; refer to those documentation pages for more details.
if (FALSE) { # \dontrun{
GetTissueCoordinates(object, which = "centroids")
} # }