Convert one Seurat spatial image into a native Giotto object without running a Giotto workflow or changing the input object.
Details
Converters live in GiottoClass. If that package is already installed from any source, the bridge reuses it and does not reinstall `drieslab/Giotto`. A GitHub reinstall is requested only when GiottoClass is missing. Conversion does not initialize Giotto's optional Python/conda environment.
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")
print(giotto)
} # }