Skip to contents

Runs RunPCA on the embedded Seurat object and returns the updated MatisseObject. The PCA result is stored inside the Seurat object and accessible via GetSeurat(obj).

Usage

# S3 method for class 'MatisseObject'
RunPCA(object, ...)

Arguments

object

A MatisseObject.

...

Additional arguments forwarded to RunPCA (e.g. assay, npcs, features).

Value

The updated MatisseObject with a "pca" reduction.

Details

Typical usage after SCTransform.MatisseObject:


obj <- RunPCA(obj, assay = "SCT", npcs = 50)