powered by
Retrieve tissue coordinates from spatial objects.
GetTissueCoordinates(object, ...)# S3 method for FOV GetTissueCoordinates(object, which = NULL, ...)# S3 method for Seurat GetTissueCoordinates(object, image = NULL, ...)
# S3 method for FOV GetTissueCoordinates(object, which = NULL, ...)
# S3 method for Seurat GetTissueCoordinates(object, image = NULL, ...)
A data frame with tissue coordinates
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
SpatialImage
NULL
Spatial classes may have specific implementations; refer to those documentation pages for more details.
if (FALSE) { GetTissueCoordinates(object, which = "centroids") }
Run the code above in your browser using DataLab