Feature and Cell Numbers

# S3 method for Seurat
dim(x)

Arguments

x

A Seurat object

Value

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

See also

Seurat object, validity, and interaction methods $.Seurat(), Seurat-class, Seurat-validity, [[.Seurat(), [[<-,Seurat, [[<-,Seurat,NULL, dimnames.Seurat(), merge.Seurat(), names.Seurat(), subset.Seurat()

Examples

# Get the number of features in an object
nrow(pbmc_small)
#> [1] 230

# Get the number of cells in an object
ncol(pbmc_small)
#> [1] 80