Skip to content
Lanxu · OmniBio
All tools

P-value Adjustment Calculator (FDR / BH / Bonferroni)

Paste a column of p-values or a whole results table to get BH (FDR), Bonferroni, Holm and other multiple-testing adjusted p-values — identical to R’s p.adjust, ready to download.

  • No sign-up
  • Runs locally

Data

Methods and threshold

Methods (pick one or more)

Result

Paste some p-values first, or click “Load example”.

How to use

  1. Paste a column of p-values or a whole results table (header optional), or choose or drop a file. Click “Load example” to see how it looks first.
  2. Check that “First row is a header” was detected correctly, then pick the column that holds the raw p-values.
  3. Tick one or more adjustment methods (BH is the default) and set the significance level α.
  4. Read the significant-count summary and the preview of the first 200 rows on the right; adjusted values below α are shown in bold.
  5. Click “Copy” and paste into Excel, or download TSV / CSV; the file holds every original column with the adjusted values appended at the end.

Notes

  • Results are identical to R’s stats::p.adjust (same method names; BH is R’s "fdr"). Empty cells (including blank lines) and NA are treated as missing and not counted in n, matching R’s default n = sum(!is.na(p)). This tool also treats non-numbers and values outside 0–1 as missing (R’s p.adjust does not check the range and would compute anyway). Output rows match input rows one to one, blank lines included.
  • Upper-bound values such as “<2.2e-16” printed by R are replaced by the bound. Adjusted values are non-decreasing in every input, so this gives conservative upper bounds that are still valid; for exact values, export full-precision p-values from your analysis.
  • FDR (false discovery rate): among the results called significant, the expected share of false positives is at most α. BH is the usual choice for omics data (differential expression, enrichment and the like); BY is more conservative and holds under any dependence between tests.
  • FWER (family-wise error rate): the probability of even one false positive across all tests is at most α — much stricter than FDR, suited to a small number of tests where no false positive is acceptable (e.g. validating a few candidate genes). Holm is never worse than Bonferroni and can always replace it; Hochberg and Hommel are more powerful but assume independent or positively correlated tests.
  • Adjust over all tests you ran. Pasting only pre-filtered p-values (say, those below 0.05) shrinks n and makes the adjusted values too optimistic — that is a misuse.
  • “Significant” counts adjusted p strictly below α. Choose the method and threshold before looking at the results, rather than trying several and keeping the best-looking one.

FAQ

Should I choose BH, Bonferroni or Holm?

BH controls the false discovery rate (FDR) and is the usual choice for omics data such as differential expression and enrichment. Bonferroni and Holm control the family-wise error rate (FWER), which is stricter and suits a small number of tests where no false positive is acceptable; Holm is never worse than Bonferroni and can replace it. Use BY when tests may be arbitrarily dependent; it is more conservative than BH.

Are the results the same as R’s p.adjust?

Yes. Every method matches R’s stats::p.adjust value for value, with the same method names (BH is R’s "fdr"). Empty cells and NA are treated as missing and not counted in n, as in R by default.

Can I paste only the filtered p-values, for example those below 0.05?

No. Adjustment must be done over every test you ran. Pasting only pre-filtered p-values shrinks n and makes the adjusted values too optimistic, so paste the full p-value column.

What happens with NA, blank lines or values such as “<2.2e-16”?

Empty cells, blank lines and NA are treated as missing and not counted in n, and the output still matches the input row by row. Values that are neither numbers nor within 0–1 are also treated as missing, with a notice. Upper-bound forms like “<2.2e-16” are replaced by the bound, which gives conservative but valid adjusted values, marked with “≤” in the preview.

Is my data uploaded, and how many rows can it handle?

Nothing is uploaded; everything is computed in your browser. Files up to 50 MB are accepted. Hommel’s method grows with the square of the number of tests, so it is skipped above 10,000 tests with a notice; the other methods have no such limit.