Learn R Programming

Seurat (version 4.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, ...)

Arguments

object

An object

...

Arguments passed to other methods

assay

Assay to get

Value

Returns an Assay object

Examples

Run this code
# NOT RUN {
data("pbmc_small")
GetAssay(object = pbmc_small, assay = "RNA")

# }

Run the code above in your browser using DataLab