Skip to contents

Core workflow function that accepts simple SpatVector inputs, performs rasterization of the polys and then checks for overlaps.

Usage

.calculate_overlap_raster(
  spatvec,
  pointvec,
  count_info_column = NULL,
  verbose = TRUE
)

Arguments

spatvec

SpatVector polygon from a giottoPolygon object

pointvec

SpatVector points from a giottoPoints object

count_info_column

column with count information (optional)

verbose

be verbose

Value

SpatVector of overlapped points info