Learn R Programming

SeuratObject (version 5.0.2)

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)

Value

The default DimReduc, if possible

Arguments

object

A Seurat object

assay

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

Examples

Run this code
DefaultDimReduc(pbmc_small)

Run the code above in your browser using DataLab