setClusterIdents: Relabel clustering identities in sce metadata.

Description Usage Arguments Value

View source: R/setClusterIdents.R

Description

Relabel clustering identities in sce metadata.

Usage

1
setClusterIdents(sce, orig.ident, new.ident, clustering = "phenograph")

Arguments

sce

a SingleCellExperiment.

orig.ident

a vector of original cluster names present.

new.ident

a vector of the same length with the new cluster identities to map orig.ident to.

clustering

the name of the clustering metadata slot to map the orig.ident to.

Value

an sce with a new metadata slot called 'cell_annotation' containing the new cluster mappings.


kordastilab/ImmunoCluster documentation built on May 10, 2021, 7:41 a.m.