| GetGruffiClusteringName | R Documentation | 
Fetches the first clustering run from a Seurat object, optionally filtered by a specific pattern (e.g., ".reassigned").
GetGruffiClusteringName(
  obj,
  pattern = ".reassigned$",
  granule.res.slot = "optimal.granule.res"
)
| obj | A Seurat object with clustering results in meta.data. | 
| pattern | A character string pattern to filter clustering runs. Default is ".reassigned". | 
The name of the first clustering run that matches the pattern if any; otherwise, the name of the first available clustering run.
# Assume `seuratObj` is your Seurat object
GetGruffiClusteringName(seuratObj)
GetGruffiClusteringName(seuratObj, pattern = "someOtherPattern")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.