Entering edit mode
5 months ago
Bine
▴
90
Good afternoon,
I am trying to filter my Seurat object based on metadata with
Pancreas_Object<- subset(x = Pancreas_Object, subset = sample_type=='solid tumor')
However, I get the following error:
> RNA assay doesn't leave any cells, so it is removed Error in
> subset.Seurat(x = Pancreas_Object, subset = sample_type == "solid
> tumor") : No cells left in the default assay, please change the
> default assay
I dont understand why it says "RNA assay doesnt leave any cells". I clearly have cells for this sample_type.
There is only one assay ("RNA") no integrated data or similar.
Thank you for any input!
Hi Bine,
Have you figured out how to solve your problem? I am facing the exact same issue.
Best regards,
Anton
P.S: Please do not add answers unless you're answering the top level question. Instead, use
Add Comment
orAdd Reply
as appropriate. I've moved your post to the right location this time, please be more careful in the future.You can try this-
Thank you, but unfortunately I still get the same error: