jyxi7676 / STtools

5 stars 7 forks source link

C2: Import RDS into Seurat #12

Open FaehlingT opened 2 years ago

FaehlingT commented 2 years ago

Hi, I'm having some trouble working with the SlidingSquareGrids.RDS Seurat data file. After importing this into Seurat using readRDS, I wanted to perform some of the analyses mentioned in https://satijalab.org/seurat/articles/spatial_vignette.html. However, the object seems to miss the coordinates information needed for this step. This coordinate information is saved in the meta.data of the object. However, I don't know how to get the coordinates into the object in a format that actually lets Seurat do anything with this. I hope you have an idea what goes wrong here. Thanks a lot and best wishes, Tobias

jyxi7676 commented 2 years ago

Hi Tobias,

Thank you for reaching out. The coordinates are actually stored in the RDS file. It is generally stored in the @image. In addition, I put it @meta.data.

I hope this helps.

Thank you! BR, Jingyue

On Wed, Mar 23, 2022 at 5:45 PM t221f @.***> wrote:

Hi, I'm having some trouble working with the SlidingSquareGrids.RDS Seurat data file. After importing this into Seurat using readRDS, I wanted to perform some of the analyses mentioned in https://satijalab.org/seurat/articles/spatial_vignette.html. However, the object seems to miss the coordinates information needed for this step. This coordinate information is saved in the meta.data of the object. However, I don't know how to get the coordinates into the object in a format that actually lets Seurat do anything with this. I hope you have an idea what goes wrong here. Thanks a lot and best wishes, Tobias

— Reply to this email directly, view it on GitHub https://github.com/jyxi7676/STtools/issues/12, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL45UCOEXWD7R3L5WF2PHBDVBOGIDANCNFSM5RPIVMBQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>