Skip to contents

Converts Giotto object into a Seurat object. This functions extracts specific sets of data belonging to specified spatial unit. The default values are 'cell' and 'rna' respectively.

Usage

giottoToSeuratV5(
  gobject,
  spat_unit = NULL,
  tech = c("Visium", "Xenium", "Slide-seq"),
  res_type = c("hires", "lowres", "fullres"),
  ...
)

Arguments

gobject

Giotto object

spat_unit

spatial unit (e.g. 'cell')

tech

technology the dataset is using (e.g. "Visium","Xenium", "Slide-seq")

res_type

type of 10x image output resolution

...

additional params to pass to getSpatialLocations

Value

Seurat object