Properties#

X

The count matrix, as a sparse array.

obs

A Polars DataFrame of metadata for each cell.

var

A Polars DataFrame of metadata for each gene.

obsm

A dictionary of 2D NumPy arrays, where the length of each array's first dimension is the number of cells.

varm

A dictionary of 2D NumPy arrays, where the length of each array's first dimension is the number of genes.

obsp

A dictionary of 2D sparse arrays, where the length and width of each array is the number of cells.

varp

A dictionary of 2D sparse arrays, where the length and width of each array is the number of genes.

uns

A dictionary of miscellaneous metadata.

obs_names

A shortcut to access the first column of obs.

var_names

A shortcut to access the first column of var.

num_threads

The default number of threads used for this SingleCell dataset's operations.

shape

a length-2 tuple where the first element is the number of cells, and the second is the number of genes.