Learn R Programming

SeuratObject (version 5.0.2)

dim.Assay: Feature and Cell Numbers

Description

Feature and Cell Numbers

Usage

# S3 method for Assay
dim(x)

Value

A two-length numeric vector with the total number of features and cells in x

Arguments

x

An Assay object

See Also

v3 Assay object, validity, and interaction methods: $.Assay(), Assay-class, Assay-validity, CreateAssayObject(), [.Assay(), [[.Assay(), dimnames.Assay(), merge.Assay(), split.Assay(), subset.Assay()

Examples

Run this code
rna <- pbmc_small[["RNA"]]
dim(rna)

Run the code above in your browser using DataLab