rnalysis.filtering.DESeqFilter.pval_histogram

DESeqFilter.pval_histogram(adjusted_pvals: bool = False, bin_size: Fraction = 0.05, title: str | Literal['auto'] = 'auto') Figure

Plots a histogram of the p-values in the DESeqFilter object. This is often used to troubleshoot the results of a differential expression analysis. For more information about interpreting p-value histograms, see the following blog post by / David Robinson: https://varianceexplained.org/statistics/interpreting-pvalue-histogram/

Parameters:
  • adjusted_pvals (bool (default=False)) – if True, will plot a histogram of the adjusted p-values instead of the raw p-values.

  • bin_size (float between 0 and 1 (default=0.05)) – determines the size of the bins in the histogram.

  • title (str or 'auto' (default='auto')) – the title of the histogram. If β€˜auto’, will be set automatically.