Learn R Programming

Seurat (version 4.3.0.1)

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