Learn R Programming

Seurat (version 5.0.3)

GetAssay: Get an Assay object from a given Seurat object.

Description

Get an Assay object from a given Seurat object.

Usage

GetAssay(object, ...)

# S3 method for Seurat GetAssay(object, assay = NULL, ...)

Value

Returns an Assay object

Arguments

object

An object

...

Arguments passed to other methods

assay

Assay to get

Examples

Run this code
data("pbmc_small")
GetAssay(object = pbmc_small, assay = "RNA")

Run the code above in your browser using DataLab