I/O#

Pseudobulk.__init__

Load a saved Pseudobulk dataset, or create one from an in-memory count matrix + metadata for each cell type.

Pseudobulk.save

Saves a Pseudobulk dataset to directory (which must not exist unless overwrite=True, and will be created) with three files per cell type: the X at f'{cell_type}.X.npy', the obs at f'{cell_type}.obs.parquet', and the var at f'{cell_type}.var.parquet'.