Replies: 1 comment
-
In case anyone else is having this issue, the following worked for me:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have updated my version of Seurat and since then I am unable to subset my seurat object.
Before I would have wrote:
Seurat_obj_subset = subset(Seurat_obj, features==Genes_selected_expression)
but now this return erro in .subscript.2ary(x, i, j, drop = TRUE) : subscript out of bounds
I know for certain that the genes are present in my seurat object.
I have tried different ways including the function proposed here : https://github.com/alikhuseynov/add-on_R/blob/develop/R/subset_obj_seurat_v2.R
but I always get the same message.
What I find surprising is that this example is not in the help (https://satijalab.org/seurat/articles/essential_commands.html) while it seems relatively trivial to wish to subset a seurat object to some genes.
Thank you for your help!
Best,
David
Beta Was this translation helpful? Give feedback.
All reactions