3

I'm trying to open a file but it seems I'm running into an error.

Here's what I'm doing, in RStudio:

file <- readRDS("~/Downloads/file.rds")

View(file)

And then I get this error:

Error in eval(call("@", object, slot)) : no slot of name "images" for this object of class "Seurat"

The RDS file requires Seurat but I have that installed properly. I'm not sure how to interpret this error message. Thanks

MrFlick
  • 195,160
  • 17
  • 277
  • 295
JB_Probs
  • 35
  • 1
  • 3
  • Was it possibly made with a different version of Seurat? I wonder if the object structure may have changed (just a guess). Was there a gab between when you made the rds and when you opened it? Or does this happen with all objects you make with Seurat? – MrFlick Aug 26 '20 at 02:00
  • Now that you mention it, this was made with a different version of Seurat. If that is the problem, is there a simpler way to fix it other than uninstalling the current version Seurat and moving to an older one? – JB_Probs Aug 26 '20 at 02:07

1 Answers1

8

try updating the seurat object:

pmbc.updated = UpdateSeuratObject(object = pmbc)

Leigh M
  • 96
  • 1