overlapImagesToMatrix | R Documentation |
create a count matrix based on overlap results from calculateOverlapPolygonImages
overlapImagesToMatrix(
gobject,
name = "raw",
poly_info = "cell",
feat_info = "protein",
name_overlap = "images",
aggr_function = "sum",
image_names = NULL,
spat_locs_name = "raw",
return_gobject = TRUE
)
gobject |
giotto object |
name |
name for the overlap count matrix |
poly_info |
polygon information |
feat_info |
feature information |
name_overlap |
name of the overlap |
aggr_function |
function to aggregate image information (default = sum) |
image_names |
names of images you used |
spat_locs_name |
name for spatial centroids / locations associated with matrix |
return_gobject |
return giotto object (default: TRUE) |
giotto object or data.table with aggregated information
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.