Learn R Programming

SeuratObject (version 4.0.3)

DefaultDimReduc: Find the default DimReduc

Description

Searches for DimReducs matching “umap”, “tsne”, or “pca”, case-insensitive, and in that order. Priority given to DimReducs matching the DefaultAssay or assay specified (eg. “pca” for the default assay weights higher than “umap” for a non-default assay)

Usage

DefaultDimReduc(object, assay = NULL)

Arguments

object

A Seurat object

assay

Name of assay to use; defaults to the default assay of the object

Value

The default DimReduc, if possible

Examples

Run this code
# NOT RUN {
DefaultDimReduc(pbmc_small)

# }

Run the code above in your browser using DataLab