How to integrate a PNG image as part of CreateSeuratObject #4231
Replies: 2 comments 1 reply
-
Hi @derek-atlas, we're currently thinking about how best to support custom spatial assays in Seurat. In re-designing our spatial data support, it would be useful to know some common data types that users have. Could you briefly explain what type of data you have, and how the transcriptional measurements relate to regions in the image? |
Beta Was this translation helpful? Give feedback.
-
@BasMatsuura hi, does this issue solved? I had my own merfish data and tiff image. How to create a custom seurat file with spatial image? I only can make the spatial postion display as a DimReducObject like this: |
Beta Was this translation helpful? Give feedback.
-
I am following along with the "Analysis, visualization, and integration of spatial datasets with Seurat" vignette (https://satijalab.org/seurat/articles/spatial_vignette.html) with my own gene expression matrices. I am trying to create the Spatial DimPlot where the clusters are overlaid on top of my microscope tissue slide image but am given the following error when running
The error makes sense as I have not included an image when using the CreateSeuratObject. Rather, I've been using ggplot2 and the OpenImageR package to add the background images. How should I go about incorporating the image into the Seurat object like what was done with the 10x practice dataset? The code I'm using for creating my object is shown below.
Beta Was this translation helpful? Give feedback.
All reactions