calculateOverlapPolygonImages#

Date

2022-10-06

https://github.com/drieslab/Giotto/tree/suite/R/giotto_structures.R#L1957

Description#

calculate overlap between cellular structures (polygons) and images (intensities)

Usage#

calculateOverlapPolygonImages(
  gobject,
  name_overlap = "images",
  spatial_info = "cell",
  poly_ID_names = NULL,
  image_names = NULL,
  return_gobject = TRUE,
  verbose = TRUE
)

Arguments#

Argument

Description

gobject

giotto object

name_overlap

name for the overlap results (default to feat_info parameter)

spatial_info

polygon information

poly_ID_names

(optional) list of poly_IDs to use

image_names

names of the images with raw data

return_gobject

return giotto object (default: TRUE)

verbose

be verbose

Value#

giotto object or data.table with overlapping information