Skip to content

Commit

Permalink
Update plot_cpdb.py
Browse files Browse the repository at this point in the history
  • Loading branch information
zktuong committed Jun 28, 2024
1 parent f7cad12 commit 560a955
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ktplotspy/plot/plot_cpdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ def plot_cpdb(
df["pvals"] = df_pvals["pvals"]
# change the decimal points
if df.at[i, "pvals"] == 0:
df.at[i, "pvals"] = 1**-result_precision
df.at[i, "pvals"] = 10**-result_precision
if interaction_scores is not None:
df_interaction_scores = interaction_scores_matx.melt(ignore_index=False).reset_index()
df_interaction_scores.index = df_interaction_scores["index"] + DEFAULT_SEP * 3 + df_interaction_scores["variable"]
Expand Down

0 comments on commit 560a955

Please sign in to comment.