You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I want to rotate some spatial images and the corresponding data by 90 degrees. I was previously using the workaround in issue 2702 by @longmanz (based on code by @AmhedVargas and @JPingLin), reproduced below. However, this code no longer works in Seurat v5.1.0 with error message:
Error in rotateSeuratImage(seu.obj, rotation = "L90", slide = "Sample_1") :
no slot of name "coordinates" for this object of class "VisiumV2"
I've checked each of the attributes in the new object and can't find where the coordinates are now stored. I also note that in a Seurat object generated with a previous version (when the rotate script worked), GetTissueCoordinates() produces an entirely different output than seu.obj@images)[["Sample_1"]]@coordinates.
Hi,
I want to rotate some spatial images and the corresponding data by 90 degrees. I was previously using the workaround in issue 2702 by @longmanz (based on code by @AmhedVargas and @JPingLin), reproduced below. However, this code no longer works in Seurat v5.1.0 with error message:
Error in rotateSeuratImage(seu.obj, rotation = "L90", slide = "Sample_1") :
no slot of name "coordinates" for this object of class "VisiumV2"
I've checked each of the attributes in the new object and can't find where the coordinates are now stored. I also note that in a Seurat object generated with a previous version (when the rotate script worked), GetTissueCoordinates() produces an entirely different output than seu.obj@images)[["Sample_1"]]@coordinates.
Can anyone help to update the rotation script?
Many thanks
The text was updated successfully, but these errors were encountered: