Skip to contents

Wrapper for SeuratObject::Idents() with extra safety checks.

Usage

set_identity(seurat_obj, identity_column)

Arguments

seurat_obj

A Seurat object.

identity_column

The name of the identity column to pull from object metadata.

Value

A Seurat object with an updated identity set.