dim.Seurat {SeuratObject}R Documentation

Feature and Cell Numbers

Description

Feature and Cell Numbers

Usage

## S3 method for class '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)

# Get the number of cells in an object
ncol(pbmc_small)


[Package SeuratObject version 5.0.2 Index]