Skip to contents

Simplifies running Seurat::RunUMAP() after CHOIR clustering by automatically fetching the pre-generated dimensionality reductions.

Usage

runCHOIRumap(object, key = "CHOIR", reduction = NULL, verbose = TRUE)

Arguments

object

An object of class 'Seurat', 'SingleCellExperiment', or 'ArchRProject' that has undergone CHOIR clustering.

key

The name under which CHOIR-related data for this run is retrieved from the object. Defaults to 'CHOIR'.

reduction

A character vector indicating which CHOIR subtree dimensionality reduction to run UMAP on (e.g., 'P0_reduction', 'P1_reduction'). Default = NULL will run UMAP on all of the dimensionality reductions generated by CHOIR stored under the provided 'key'.

verbose

A boolean value indicating whether to use verbose output during the execution of this function. Can be set to FALSE for a cleaner output.

Value

Returns the object with the following added data stored under the provided key:

reduction

Cell embeddings for all calculated dimensionality reductions