Changing active.ident in Seurat
M &lt;- SetIdent(M, value = &quot;status&quot;)
or more explicitly
M &lt;- SetIdent(M, value = M@meta.data$status)
You can also use the group.by argument of UMAPPlot() or other plotting functions from Seurat for that matter.