Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/acore/enrichment_analysis/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def run_up_down_regulation_enrichment(

for rej_col, direction in zip(
("up_pairwise_regulation", "down_pairwise_regulation"),
("upregulated", "downregulated"),
(f"upregulated in {g1}", f"upregulated in {g2}"),
):
_enrichment = run_regulation_enrichment(
df,
Expand Down
32 changes: 16 additions & 16 deletions tests/enrichment_analysis/test_enrichment.py
Original file line number Diff line number Diff line change
Expand Up @@ -497,22 +497,22 @@ def test_run_up_down_regulation_enrichment_large():
False,
],
"direction": [
"upregulated",
"upregulated",
"upregulated",
"upregulated",
"upregulated",
"upregulated",
"upregulated",
"upregulated",
"upregulated",
"upregulated",
"downregulated",
"downregulated",
"downregulated",
"downregulated",
"downregulated",
"downregulated",
"upregulated in timepoint1",
"upregulated in timepoint1",
"upregulated in timepoint1",
"upregulated in timepoint1",
"upregulated in timepoint1",
"upregulated in timepoint1",
"upregulated in timepoint1",
"upregulated in timepoint1",
"upregulated in timepoint1",
"upregulated in timepoint1",
"upregulated in timepoint2",
"upregulated in timepoint2",
"upregulated in timepoint2",
"upregulated in timepoint2",
"upregulated in timepoint2",
"upregulated in timepoint2",
],
"comparison": [
"timepoint1~timepoint2",
Expand Down
Loading