Skip to content

Samples missing spatial image information #4

@kangjiajinlong

Description

@kangjiajinlong

Hi SPATA team,

I am learning how to use SPATA and specifically how to plot variables over the sample image. I tried with loading spata object, converting to seurat object and using SpatialDimPlot as follows.

library(SPATAData)
library(SPATA2)
library(Seurat)

spata_obj <- loadSpataObject("./objects/217_T.RDS")
seurat_obj <- transformSpataToSeurat(object = spata_obj)
SpatialDimPlot(object = seurat_obj,group.by="seurat_clusters")

But I got the error "Error in SpatialPlot(object = object, group.by = group.by, images = images, : Could not find any spatial image information". This also happens to a few other samples. Would you mind checking which part of the code I did wrong? If the image is indeed missing, could you kindly point out where I can download the corresponding images?

Thanks,
Jack

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions