scatrans.run_default_pipeline#
- scatrans.run_default_pipeline(adata_input, groupby='condition', target_group='Disease', reference_group='Control', sample_col=None, organism='mouse', *, run_go_enrichment=True, gene_sets='GO_Biological_Process', filter_preset=None, show_plot=False)[source]#
End-to-end recommended workflow for first-time users.
Steps: active scoring →
filter_active_genes→ optional GO enrichment. Uses “Disease”/”Control” convenience defaults for target/reference.The default for
filter_presetis now auto-detected from the experimental design (via_resolve_simple_backend_kwargs): “pseudobulk” when sample_col is provided with >=3 samples per group (which triggers pseudobulk inside active_score_simple), otherwise “heuristic”. This keeps the thresholds consistent with the actual scale of active_score / unspliced_excess_residual (see WORKFLOW_PRESETS[“pseudobulk_report”]).- Returns a dict with keys:
adata,significant,all_results,candidatesenrichment(DataFrame or None)filter_preset,backend(kwargs used for DE)