scbulkde.engines.get_engine_instance

scbulkde.engines.get_engine_instance#

scbulkde.engines.get_engine_instance(engine_name)#

Create an instance of the specified differential expression engine.

Parameters:

engine_name (str) – Name of the DE engine to instantiate. Available options: - ‘pydeseq2’: PyDESeq2 implementation of DESeq2 - ‘anova’: ANOVA-based linear model testing

Returns:

DEEngineBase Instance of the requested differential expression engine.

Raises:

ValueError – If the specified engine name is not recognized.

Examples

>>> from scbulkde.engines import get_engine_instance
>>> engine = get_engine_instance("anova")
>>> # Use engine for DE testing