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.
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?
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