Convert a Giotto object into a new Seurat object. Requires GiottoClass.
Arguments
- giotto
A Giotto object. For a round trip, normalize the Seurat object with
Seurat::NormalizeData()before converting it to Giotto.- ...
Arguments passed to other functions.
Examples
if (FALSE) { # \dontrun{
data(visium_human_pancreas_sub)
spatial <- Seurat::NormalizeData(
visium_human_pancreas_sub,
assay = "Spatial",
verbose = FALSE
)
giotto <- srt_to_giotto(spatial, image = "slice1")
giotto_to_srt(giotto)
} # }