Skip to content
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

Error in .subscript.2ary(x, , j, drop = TRUE) : subscript out of bounds #189

Open
Yijia-Jiang opened this issue Jan 16, 2024 · 4 comments
Open

Comments

@Yijia-Jiang
Copy link

Hello, I am trying to use doubletfinder in seurat v5, and met the following error when running sweep.res.list <- paramSweep_mod(seurat_obj, PCs = 1:30, sct = T). Could you help fix this issue?

Error: Error in .subscript.2ary(x, , j, drop = TRUE)

Thank you very much!

@biomarkerman
Copy link

Same issue. I thought it worked perfectly in the previous release with the same dataset I have now. Is there a way it can be adjusted easily? Thank you!

@eegk
Copy link

eegk commented Feb 6, 2024

Edit: ok I fixed the issue by running DF on individual samples. The problem is that when editing V5 seurat, layers move around objects and structure changes. doubletfinder cant find/identify where the new objects are and it fails. Specially with complex experiments. You have to use sample by sample. @biomarkerman

@IrinaVKuznetsova
Copy link

the same error here. Seurat v5 and DoubletFinder v.2.0.4
trying to run DF on individual samples as advised

@yxsee
Copy link

yxsee commented Mar 25, 2024

I went back to using SplitObject instead of the Seurat v5 split layers and managed to get it working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants