-
Notifications
You must be signed in to change notification settings - Fork 932
New issue
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
Seurat fails to create meta.features
slot when building from raw counts
#8214
Comments
Though I am able to view slotnames using
But I am not able to change them slotNames(sobj@assays$RNA)[6] <- "meta.features"
Error in slotNames(sobj@assays$RNA)[6] <- "meta.features" :
could not find function "slotNames<-" Besides, whenever I try to > sobj@assays$RNA@
Error in names(x) <- paste("V", seq_along(x), sep = "") :
'names' attribute [1] must be the same length as the vector [0]
|
Hi, Sceasy has yet to offer support for the v5 assay. For now, I would reccomend converting your assay to a v3 assay. This can be done like so: |
In case it helps simplify workflow I have added new function Best, |
Thanks @samuel-marsh and all the Seurat contributors, you save the day again :-) |
Hi
I am trying to create seurat object from count matrix and metadata but for some reason the latest version of Seurat (v5) creates
meta.data
slot instead ofmeta.features
slot. The code to reproduce this behaviour is given belowThis should be the
meta.features
slot notmeta.data
(maybe typo error in your code). This small error is causing error in conversion of Seurat object to anndata (see issue)If there is a workaround kindly let me know!
The text was updated successfully, but these errors were encountered: