Properties#

Pseudobulk.X

A dictionary of count matrices for each cell type, as NumPy arrays.

Pseudobulk.obs

A dictionary of Polars DataFrames of sample-level metadata for each cell type.

Pseudobulk.var

A dictionary of Polars DataFrames of gene-level metadata for each cell type.

Pseudobulk.obs_names

A shortcut to access the first column of obs for each cell type.

Pseudobulk.var_names

A shortcut to access the first column of var for each cell type.

Pseudobulk.num_threads

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

Pseudobulk.shape

a dictionary mapping each cell type to a length-2 tuple where the first element is the number of samples, and the second is the number of genes.