Get an Assay object from a given Seurat object.
GetAssay(object, ...)
# S3 method for Seurat
GetAssay(object, assay = NULL, ...)
An object
Arguments passed to other methods
Assay to get
Returns an Assay object
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