seuratMergeClusters: Merge Seurat clusters

View source: R/seuratUtils.R

seuratMergeClustersR Documentation

Merge Seurat clusters

Description

Given an input mapping, group Seurat clusters of the active Seurat Ident together, i.e. merging them

Usage

seuratMergeClusters(scData, clustList)

Slots

scData

the Seurat object

clustList

a list() object where the names are the new cluster names and their values are all the clusters to be merged. If the list consists of multiple sets of clusters to be merged, ensure the sets do not overlap.

Author(s)

Rehrauer, Hubert

Schmid, Peter

Examples

data("pbmc_small")
clustList <- list("foo"=as.character(c(1, 2)))
seuratMergeClusters(pbmc_small, clustList)

uzh/ezRun documentation built on March 5, 2025, 3:41 p.m.