access and set spat_unit slot of S4 subobject
Usage
# S4 method for class 'ANY'
spatUnit(x)
# S4 method for class 'list'
spatUnit(x)
# S4 method for class 'spatData'
spatUnit(x)
# S4 method for class 'giottoPolygon'
spatUnit(x)
# S4 method for class 'spatData'
spatUnit(x) <- value
# S4 method for class 'giottoPolygon'
spatUnit(x) <- value
Functions
spatUnit(ANY)
: Get spatial unit informationspatUnit(spatData)
: Get spatial unit informationspatUnit(giottoPolygon)
: Get spatial unit informationspatUnit(spatData) <- value
: Set spatial unit informationspatUnit(giottoPolygon) <- value
: Set giottoPolygon spat_unit
Examples
g <- GiottoData::loadSubObjectMini("featMetaObj")
spatUnit(g)
#> [1] "aggregate"