Entering edit mode
4.5 years ago
elb
▴
260
Hi guys, is there a way to remove from Seurat3 object (all slots) a set of cells listed in a vector?
I tried:
my_object_without_cells = subset(object = my_dataset, cells = cells_to_be_removed)
but the cells are still there. I checked the n of cells and the n of genes and it is unchanged.
Thank you in advance
So, basically subsetting on colnames(obj) removes the cells from all slots of the SeuratObject? Meaning @data,@sct @meta.data etc?
Thank you very much