Learn R Programming

SeuratObject (version 5.0.2)

Stdev: Get the standard deviations for an object

Description

Get the standard deviations for an object

Usage

Stdev(object, ...)

# S3 method for DimReduc Stdev(object, ...)

# S3 method for Seurat Stdev(object, reduction = "pca", ...)

Value

The standard deviations

Arguments

object

An object

...

Arguments passed to other methods

reduction

Name of reduction to use

Examples

Run this code
# Get the standard deviations for each PC from the DimReduc object
Stdev(object = pbmc_small[["pca"]])

# Get the standard deviations for each PC from the Seurat object
Stdev(object = pbmc_small, reduction = "pca")

Run the code above in your browser using DataLab