You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just noticed that your function SeuratToExpressionSet() assumes by default that the Seurat object is of version 2, and that version 3 can be specified by the user.
Has this issue been fixed in a new release? I think I am having a related problem in that when I try to load a recent Seurat object I get this error:
Error in getClass(Class, where = topenv(parent.frame())) :
“AnnotatedDataFrame” is not a defined class
Hi @gchen605, this issue has not been addressed yet. If you are using a Seurat v3 or v2 object, the issue may be caused by not loading the Biobase library (with library(Biobase)) before running the function. It also requires the Seurat library to be loaded as well. If you are using a newer Seurat object, you can copy the source code for the SeuratToExpressionSet function and make the small edits suggested by CyrillLagger.
Hello,
I just noticed that your function
SeuratToExpressionSet()
assumes by default that the Seurat object is of version 2, and that version 3 can be specified by the user.bisque/R/utils.R
Lines 47 to 48 in f8ca469
Seurat recently released their version 4, so it might be useful to update this function.
Looking at this part of your code,
bisque/R/utils.R
Lines 55 to 65 in f8ca469
I guess it should be sufficient to modify line 60 by:
and line 48 by:
with the versions in this order, as we can expect that most recent users will work with v4 or v3 rather than v2.
By the way, the documentation might also need to be updated accordingly here
bisque/R/utils.R
Lines 13 to 14 in f8ca469
as the current Seurat objects don't have those slots anymore.
Hope this can help!
The text was updated successfully, but these errors were encountered: