Skip to content

Commit

Permalink
mend
Browse files Browse the repository at this point in the history
  • Loading branch information
abearab committed Jul 13, 2024
1 parent 597e2fd commit 4818a9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions screenpro/visualize/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ def _volcano(
df[f'-log10({pvalue_col})'] = np.log10(df[pvalue_col]) * -1

if xlims == 'auto':
xlims = (df[score_col].min(), df[score_col].max())
xlims = (df[score_col].min() - 0.1, df[score_col].max() + 0.1)
if ylims == 'auto':
ylims = (df[f'-log10({pvalue_col})'].min(), df[f'-log10({pvalue_col})'].max())
ylims = (df[f'-log10({pvalue_col})'].min() - 0.1, df[f'-log10({pvalue_col})'].max() + 0.1)

# Scatter plot for each category
ax.scatter( df.loc[df['label'] == 'target_non_hit', score_col],
Expand Down

0 comments on commit 4818a9e

Please sign in to comment.