-
Dear Satija Lab, I am currently trying to use the FindMarkers() function to find the markers of a given disease state. I was able to add the disease states to the Seurat object metadata and have tried coding it as a factor and a numeric but when I set the ident.1 argument equal to the disease state it returns "Cannot find the following identities in the object:" Please advise. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Can you include the full code you're running? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
ident.1
is not a parameter in theFindAllMarkers()
function, since the function will evaluate each set of cell identities present. The issue here is that you haven't set the active cell identities to the "status" variable that you want to group cells by. You can change the active identities using theIdents<-
function. Alternatively, if you want to find markers for one group of cells only, you can use theFindMarkers()
function which will let you set theident.1
andgroup.by
parameters.