Skip to content

Commit

Permalink
🐛 remove unused parameter
Browse files Browse the repository at this point in the history
- maybe it was there for compability, but then we could add kwargs to the function to catch any other arguments (without using these)
  • Loading branch information
enryH committed Nov 25, 2024
1 parent 3015045 commit 13f45e9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions acore/enrichment_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,6 @@ def run_regulation_enrichment(
regulation_data: pd.DataFrame,
annotation: pd.DataFrame,
identifier: str = "identifier",
groups: list[str] = ["group1", "group2"],
annotation_col: str = "annotation",
reject_col: str = "rejected",
group_col: str = "group",
Expand All @@ -256,7 +255,6 @@ def run_regulation_enrichment(
:param annotation: pandas dataframe with annotations for features
(columns: 'annotation', 'identifier' (feature identifiers), and 'source').
:param str identifier: name of the column from annotation containing feature identifiers.
:param list[str] groups: column names from regulation_data containing group identifiers.
:param str annotation_col: name of the column from annotation containing annotation terms.
:param str reject_col: name of the column from regulatio_data containing boolean for
rejected null hypothesis.
Expand Down

0 comments on commit 13f45e9

Please sign in to comment.