Adds Giotto polygon to an existing Giotto object
Arguments
- gobject
giotto object
- gpolygons
list of giotto polygon objects, see
createGiottoPolygonsFromMask
andcreateGiottoPolygonsFromDfr
Examples
x <- GiottoData::loadSubObjectMini("giottoPolygon")
g <- createGiottoObject()
#> python already initialized in this session
#> active environment : 'giotto_env'
#> python version : 3.10
g <- addGiottoPolygons(gobject = g, gpolygons = list(x))