-
Notifications
You must be signed in to change notification settings - Fork 15
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
add_seurat_clustering fails when clusters are not integers #15
Comments
Hi @KatjaRM,
? |
Hi! Thanks for the answer! Yes: [1] "orig.ident" "nCount_RNA" "nFeature_RNA" The clustering I would like to add is stored in orig.ident. I could either add it from there or from seurat.object@active.ident. |
I see, you should be able to add the clustering using this code:
|
Hm, now I get the error message The following Even though I set overwrite.default = TRUE |
Thanks for the report bug. I might have a closer lookup to it today. |
Hey @KatjaRM,
However, here are some things you could check,
(Normally this should be the case)
|
Hi Max, Thank you so much for taking all the time and looking into it. I checked all the points you mentioned and everything was fine. I have played around with it a little more and what fixed the issue in the end renaming the clusters to just numbers. Weird, but I'll take it. Thank you again for your time! Katja |
Mmhh, could you post the result of:
I'm still interested to understand why it was not working if it were not numbers |
For my initial cluster names:
After renaming the clusters:
The only thing I changed is using SetIdent from Seurat to rename each cluster. |
Hi Team,
I am trying to add my Seurat clustering from a v3 object to a loom file and get the following error with
add_seurat_clustering(loom
= loom, seurat = seurat.object, default.clustering.overwrite = T)`What information do I add for seurat.clustering.prefix = ?
The clustering is not simply a single Seurat clustering round with one resolution factor, but I have subclustering and partly clustering by marker expression, so I am really confused as to what I have to provide.
I would be thankful for any help!
Best,
Katja
The text was updated successfully, but these errors were encountered: