Rename 'images' in Seurat object #6953
Replies: 4 comments 1 reply
-
I've never tried visium with seurat but based on the formatting I saw, try: |
Beta Was this translation helpful? Give feedback.
-
Hi cathalgking, You could try copying the image (seurat_object@images$new_name <- ...$old_name) yet the reason you have those labels is because of the key parameter. |
Beta Was this translation helpful? Give feedback.
-
Hey, I used Load10X_Spatial("yourdir", slice = "image_name"). |
Beta Was this translation helpful? Give feedback.
-
You could do something like this. names(object@images) <- image_names |
Beta Was this translation helpful? Give feedback.
-
Hi. I have 4 images in my Seurat object that were read in via the read10x() function individually and then merged. The images came from 1 slide of a 10x Visium experiment (1 from each of the 4 capture areas). I would like to rename the image names. Now they are called ''slice1'', slice.1.1'' etc. How can I do this?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions