set_identity: Set identity of the Seurat object.

View source: R/utils.R

set_identityR Documentation

Set identity of the Seurat object.

Description

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.


igordot/scooter documentation built on Nov. 20, 2023, 5:55 a.m.