Skip to contents

Convert one Seurat spatial image into a native Giotto object without running a Giotto workflow or changing the input object.

Usage

srt_to_giotto(srt, image = NULL, ...)

Arguments

srt

A `Seurat` object.

image

Seurat image name. Multi-image objects require an explicit name.

...

Additional arguments passed to [SeuratToScopGiotto()].

Value

A native Giotto object.

Details

This bridge is separate from the legacy [SeuratToScopGiotto()] and [RunGiottoWorkflow()] interface. It returns only the native Giotto object. The scop-controlled converter is used by default to preserve exact single-image selection across Giotto versions; pass `use_official = TRUE` through `...` only when the installed GiottoClass converter is desired.