Skip to content

Commit

Permalink
Fall back more to p-value
Browse files Browse the repository at this point in the history
  • Loading branch information
sminot committed Feb 16, 2024
1 parent 20c0000 commit c35f95d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/plot_metagenomes.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def plot(self, meta_cname, output_folder):

# Bars showing the -log10(qvalue) for each gene bin
# (unless there are no useful q-values, in which case fall back to p-values)
if self.adata.var["neg_log10_qvalue"].max() < 0.0001:
if self.adata.var["neg_log10_qvalue"].max() < 0.1:
kw = "neg_log10_pvalue"
label = "p-value (-log10)"
else:
Expand Down

0 comments on commit c35f95d

Please sign in to comment.