Skip to content

Commit 0012740

Browse files
committed
Forgot to add parameter to the interaction study function since it works slightly differently from association_study
1 parent 48ce043 commit 0012740

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

clarite/modules/analyze/interaction_study.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ def interaction_study(
1616
edge_encoding_info: Optional[pd.DataFrame] = None,
1717
report_betas: bool = False,
1818
min_n: int = 200,
19+
process_num: Optional[int] = None
1920
):
2021
"""Perform LRT tests comparing a model with interaction terms to one without.
2122
@@ -50,6 +51,8 @@ def interaction_study(
5051
min_n: int or None
5152
Minimum number of complete-case observations (no NA values for outcome, covariates, or variable)
5253
Defaults to 200
54+
process_num: Optional[int]
55+
Number of processes to use when running the analysis, default is None (use the number of cores)
5356
5457
Returns
5558
-------
@@ -107,6 +110,7 @@ def interaction_study(
107110
min_n=min_n,
108111
interactions=interactions,
109112
report_betas=report_betas,
113+
process_num=process_num
110114
)
111115
print(regression)
112116

0 commit comments

Comments
 (0)