Skip to contents

Utility function to convert a Giotto object to a SpatialExperiment object.

Usage

giottoToSpatialExperiment(giottoObj, verbose = TRUE)

Arguments

giottoObj

Input Giotto object to convert to a SpatialExperiment object

verbose

A boolean value specifying if progress messages should be displayed or not. Default TRUE.

Value

A SpatialExperiment object that contains data from the input Giotto object.

Examples

if (FALSE) { # \dontrun{
mini_gobject <- GiottoData::loadGiottoMini("vizgen")
giottoToSpatialExperiment(mini_gobject)
} # }