intersect_polygons.Rd
Tests which vertices of polygon a
lay inside polygon b
.
intersect_polygons(a, b, strictly = FALSE)
Matrix or data.frame with columns x and y.
Logical value. If TRUE
, only barcode spots that are strictly
interior to the polygon are returned. If FALSE
, barcodes that are
on the relative interior the polygon border or that are vertices themselves
are returned, too.
Logical vector of the same length as the number of rows in a
.