Create a lightweight SpatialExperiment from a spatial Seurat object using
one assay layer, metadata, and resolved spatial coordinates.
Arguments
- srt
A
Seuratobject.- assay
Assay to export. If
NULL, the default assay is used.- layer
Assay layer to export.
- coord.cols
Metadata coordinate columns. By default, SCOP resolves
x/yfirst and thencol/row.- image
Optional Seurat image name. When present, image-derived coordinates are used.
- include_meta
Whether to include Seurat metadata as
colData.- coordinate_space
Coordinate space exported to
spatialCoords."legacy_display"preserves the historical scaled/y-flipped behavior;"raw"preserves analysis distances.