Search code examples
rseurat

No slot of name "images" error when trying to open RDS file


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


Solution

  • try updating the seurat object:

    pmbc.updated = UpdateSeuratObject(object = pmbc)