Skip to contents

Set giotto polygon spatVector

Usage

set_polygon_info(
  gobject,
  gpolygon,
  polygon_name = "cell",
  verbose = TRUE,
  initialize = FALSE
)

Arguments

gobject

giotto object

gpolygon

giottoPolygon object

polygon_name

name of polygons. Default "cell" (only used when gpolygon is length of 1)

verbose

be verbose

initialize

(default = FALSE) whether to initialize the gobject before returning

Value

giotto object