Dictionary interface#

keys

Get a KeysView (like you would get from dict.keys()) of this Pseudobulk dataset's cell types.

values

Get a ValuesView (like you would get from dict.values()) of (X, obs, var) tuples for each cell type in this Pseudobulk dataset.

items

Get an ItemsView (like you would get from dict.items()) of (cell_type, (X, obs, var)) tuples for each cell type in this Pseudobulk dataset.

iter_X

Iterate over each cell type's X.

iter_obs

Iterate over each cell type's obs.

iter_var

Iterate over each cell type's var.

__contains__

Check if this Pseudobulk dataset contains the specified cell type.

__or__

Combine the cell types of this Pseudobulk dataset with another.

__eq__

Test for equality with another Pseudobulk dataset.