R: Find the default 'DimReduc'

DefaultDimReduc {SeuratObject} | R Documentation

## 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

    DefaultDimReduc(pbmc_small)

[Package SeuratObject version 4.0.3 Index]