Get vector of unique ordered group names from Seurat Object

getOrderedGroups(so, which.group = "seurat_clusters", is.number = T)

Arguments

so

Seurat Object

which.group

Character specfying group field in Seurat metadata. Default is "seurat_clusters".

is.number

Logical specifying whether groups IDs are numeric. Default is True.

Value

Ordered vector