omics_utils#

Classes

AnnDataConverter(obs_cols, genes)

Converter between AnnData objects and DataFrames with serialized sparse matrices.

AnnDataFilterer(genes[, obs_filters, ...])

Apply a set of filters to an AnnData object.

Limiter(*args, **kwargs)

Calculates the size of the output partitions for compatibility with the cellarium-ml dataloader.

Partitioner(*args, input_dir, converter, ...)

Partitioner for AnnData files.

Pipeline(steps[, output_dir, ...])

Handles a sequence of preprocessing steps in an ETL style pipeline.

Selector(*args, input_dir, filterer, var_cols)

Selects the genes used in consecutive preprocessing steps.

Splitter(*args, converter, seed, n_partitions)

Splits the data into a train and validation set.

Step(base_dir[, cluster, scale])

Base preprocessing step in a modular ETL pipeline.