| Overlay {SeuratObject} | R Documentation |
Spatial Objects Over One AnotherCreate an overlay of some query spatial object (x) against some
target object (y). Basically, find all components of a query that
fall within the bounds of a target spatial region
Overlay(x, y, invert = FALSE, ...) ## S4 method for signature 'Centroids,SpatialPolygons' Overlay(x, y, invert = FALSE, ...) ## S4 method for signature 'Segmentation,SpatialPolygons' Overlay(x, y, invert = FALSE, ...) ## S4 method for signature 'Molecules,SpatialPolygons' Overlay(x, y, invert = FALSE, ...) ## S4 method for signature 'FOV,Spatial' Overlay(x, y, invert = FALSE, ...) ## S4 method for signature 'FOV,SpatialPolygons' Overlay(x, y, invert = FALSE, ...) ## S4 method for signature 'FOV,FOV' Overlay(x, y, invert = FALSE, ...)
x |
Query |
y |
Target |
invert |
Invert the overlay and return only the components of |
... |
Ignored |
x with only the components that fall within the
bounds of y