dim.Seurat: Feature and Cell Numbers

View source: R/seurat.R

dim.SeuratR 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,NULL, [[<-,Seurat, 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)


SeuratObject documentation built on Nov. 18, 2023, 1:06 a.m.