overlapImagesToMatrix#
Last Updated: Oct 02, 2023
Description#
create a count matrix based on overlap results from
calculateOverlapPolygonImages
Usage#
overlapImagesToMatrix(
gobject,
name = "raw",
poly_info = "cell",
feat_info = "protein",
name_overlap = "images",
image_names = NULL,
spat_locs_name = "raw",
return_gobject = TRUE
)
Arguments#
|
giotto object |
|
name for the overlap count matrix |
|
polygon information |
|
feature information |
|
names of images you used |
|
name for spatial centroids / locations associated with matrix |
|
return giotto object (default: TRUE) |
Value#
giotto object or data.table with aggregated information