calculateOverlapParallel#
Last Updated: Sep 07, 2023
Description#
calculate overlap between cellular structures (polygons) and features (points)
Usage#
calculateOverlapParallel(
gobject,
name_overlap = NULL,
spatial_info = "cell",
feat_info = "rna",
poly_ID_names = "all",
polygon_group_size = 500,
return_gobject = TRUE,
verbose = TRUE
)
Arguments#
|
giotto object |
|
name for the overlap results (default to feat_info parameter) |
|
polygon information |
|
feature information |
|
list of poly_IDs to use |
|
number of polygons to process per parallelization group |
|
return giotto object (default: TRUE) |
|
be verbose |
Details#
parallel follows the future approach. This means that plan(multisession) does not work, since the underlying terra objects are internal C pointers. plan(multicore) is also not supported for Rstudio users.
Value#
giotto object or spatVector with overlapping information