We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I am trying to create a new S4 object class that contains all the slots already defined for a Seurat object, plus an additional slot.
NewClass <- setClass( Class = "NewClass", contains="Seurat", slots = c( "newslot" = c(NULL,"list") ) ) -> NewClass
The problem is that when I try to convert any seurat object to the new class
as(seurat,'NewClass')
I got the following error message
Error in validObject(object = .Object) : invalid class “Seurat” object: 'assays' must be a named list
Any idea on how to fix this issue? I am currently using Seurat 5.1.0 and SeuratObject 5.0.2.
Thank you!
Pietro
The text was updated successfully, but these errors were encountered:
I met the same problem!
Sorry, something went wrong.
No branches or pull requests
Hi,
I am trying to create a new S4 object class that contains all the slots already defined for a Seurat object, plus an additional slot.
The problem is that when I try to convert any seurat object to the new class
I got the following error message
Any idea on how to fix this issue?
I am currently using Seurat 5.1.0 and SeuratObject 5.0.2.
Thank you!
Pietro
The text was updated successfully, but these errors were encountered: