Get an Assay object from a given Seurat object.

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

data("pbmc_small") GetAssay(object = pbmc_small, assay = "RNA")
#> Assay data with 230 features for 80 cells #> Top 10 variable features: #> PPBP, IGLL5, VDAC3, CD1C, AKR1C3, PF4, MYL9, GNLY, TREML1, CA2