Hello
I have four samples (2 replicates each). I used your approach to identify marker genes in two group of samples in Seurat. Would it be possible to apply FindMarkers on merged object of four samples ?
I defined groups as CT and I and included in the ass.cell.ids as given below :
ss_new <- merge(x = data1, y = c(data2, data3,data4), add.cell.ids = c("CT", "CT", "I", "I"), project = "seurat")
Idents(object = ss_new) <- "orig.ident"
markers_Ct_I <- FindMarkers(ss_new, ident.1 = "CT", ident.2 ="I", method = "DESeq2")
But I am getting error to run
Error in WhichCells.Seurat(object = object, idents = ident.1) : Cannot find the following identities in the object: CT