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
seuratObj <- SeuratObject::UpdateSeuratObject(readRDS("./data/rds/seuratObj3531889.rds"))
ann <- anndataR::from_Seurat(seuratObj, "HDF5AnnData")
gives the following error message despite the call to SeuratObject::UpdateSeuratObject
Error in anndataR::from_Seurat(seuratObj, "HDF5AnnData") :
Assay 'RNA' is not a valid Seurat v5 assay.
Please use `SeuratObject::UpdateSeuratObject()` to upgrade the object to Seurat v5.
the problem was solved by
seuratObj[["RNA"]] <- as(object = seuratObj[["RNA"]], Class = "Assay5")
Perhaps the error message could be updated with a mention to this class conversion?
The text was updated successfully, but these errors were encountered:
I downloaded a seurat object from https://zenodo.org/record/3531889/files/seuratObj.rds
The following code
gives the following error message despite the call to SeuratObject::UpdateSeuratObject
the problem was solved by
Perhaps the error message could be updated with a mention to this class conversion?
The text was updated successfully, but these errors were encountered: