Skip to contents

Get giotto polygon spatVector

Usage

get_polygon_info(
  gobject,
  polygon_name = NULL,
  polygon_overlap = NULL,
  return_giottoPolygon = FALSE,
  verbose = TRUE,
  simplify = TRUE
)

Arguments

gobject

giotto object

polygon_name

name of polygons. Default "cell"

polygon_overlap

if not NULL, return specified polygon overlap information

return_giottoPolygon

(Defaults to FALSE) Return as giottoPolygon S4 object

verbose

be verbose

simplify

logical. Whether or not to take object out of a list when there is a length of 1.

Value

spatVector