Spatial
Objects Over One AnotherR/generics.R
, R/centroids.R
, R/segmentation.R
, and 2 more
Overlay.Rd
Create 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 class 'Centroids,SpatialPolygons'
Overlay(x, y, invert = FALSE, ...)
# S4 method for class 'Segmentation,SpatialPolygons'
Overlay(x, y, invert = FALSE, ...)
# S4 method for class 'Molecules,SpatialPolygons'
Overlay(x, y, invert = FALSE, ...)
# S4 method for class 'FOV,Spatial'
Overlay(x, y, invert = FALSE, ...)
# S4 method for class 'FOV,SpatialPolygons'
Overlay(x, y, invert = FALSE, ...)
# S4 method for class 'FOV,FOV'
Overlay(x, y, invert = FALSE, ...)
x
with only the components that fall within the
bounds of y
This function requires the sf package to be installed