carmonalab / ProjecTILs

Interpretation of cell states using reference single-cell maps
GNU General Public License v3.0
231 stars 27 forks source link

Error using the mouse CD8 T cell atlas (outdated Seurat data structure?) #77

Closed ycl6 closed 2 months ago

ycl6 commented 3 months ago

Hi, the "mouse TIL atlas" and "mouse acute and chronic viral infection CD4 T cell atlas" both load and run fine with the make.projection function.

But when I am using the "mouse acute and chronic viral infection CD8 T cell atlas", I had the following message:

Error: BiocParallel errors
  1 remote errors, element index: 1
  0 unevaluated and other errors
  first remote error:
Error in slot(object = object, name = s): no slot of name "images" for this object of class "Seurat"

I have to use Seurat's UpdateSeuratObject fcuntion to update the object in order for me to use this atlas for projection.

mass-a commented 2 months ago

Yes, for references generated before Seurat 5 it may be necessary to run UpdateSeuratObject() on the reference object. Thanks for reporting!

ycl6 commented 2 months ago

Thanks @mass-a. I'll close the issue now.