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, [[<-,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)


mojaveazure/seurat-object documentation built on Dec. 13, 2024, 9:23 a.m.