Skip to contents

aggregate polygons overlap information from different z-stacks

Usage

aggregateStacksPolygonOverlaps(
  gobject,
  spat_units,
  feat_type,
  new_spat_unit = "aggregate"
)

Arguments

gobject

giotto object

spat_units

spatial units to aggregate

feat_type

feature type used for overlap calculations

new_spat_unit

new name for aggregated spatial unit

Value

giotto object

Examples

g <- GiottoData::loadGiottoMini("vizgen")
#> 1. read Giotto object
#> 2. read Giotto feature information
#> 3. read Giotto spatial information
#> 4. read Giotto image information
#> python already initialized in this session
#>  active environment : '/usr/bin/python3'
#>  python version : 3.12

aggregateStacksPolygonOverlaps(g,
    spat_units = c("z0", "z1"),
    feat_type = "rna"
)
#> Error in rbind2(...): argument "x" is missing, with no default