LabToolsThe Research Infrastructure
  • Features
  • Demo
  • Technology
  • Examples
  • White Paper
  • FiTrace
  • Data Analysis ↗
  • Calculators
  • Scheduler
Download
FeaturesDemoTechnologyExamplesWhite PaperFiTraceData Analysis ↗CalculatorsSchedulerHealth Tracker ↗

All examples · Example 18 of 34

Bubble ChartRelationshipsStatistical report

Bubble Chart: Biomarker Discovery

Forty candidate biomarkers plotted by log2 fold change and −log10 p; dashed lines mark p = 0.05 and ±1 log2 fold change.

Forty candidate biomarkers plotted by log2 fold change and −log10 p; dashed lines mark p = 0.05 and ±1 log2 fold change.

Key findings

  • 19 of 40 biomarkers have raw p < 0.05; 15 survive Benjamini–Hochberg, 9 Holm and 9 Bonferroni.
  • The choice of correction changes the hit list — which is why LabTools reports which error rate each method controls.
10 LabTools stats calls
2 of 15 stats methods
LabTools 0.14.3
600 dpi PNG Data (CSV) Raw LabTools output
In this reportForty candidates, four ways to correctEffect size vs evidence

Forty candidates, four ways to correct

Screening 40 biomarkers at α = 0.05 would produce two false positives by chance alone. The same 40 p-values are corrected four ways: Bonferroni and Holm control the chance of even one false positive; Benjamini–Hochberg and Benjamini–Yekutieli control the expected share of false discoveries and keep far more power in a screen.

40 tests, α = 0.05

CorrectionControlsTestsRaw p < 0.05Significant after correction
Bonferronifamily-wise error40199
Holmfamily-wise error40199
Benjamini–Hochbergfalse discovery rate401915
Benjamini–Yekutielifalse discovery rate401910
LabTools calls (4)
stats.adjust
labtools stats adjust --p-values @p_values.json --labels @labels.json --method bonferroni --alpha 0.05
stats.adjust
labtools stats adjust --p-values @p_values.json --labels @labels.json --method holm --alpha 0.05
stats.adjust
labtools stats adjust --p-values @p_values.json --labels @labels.json --method benjamini-hochberg --alpha 0.05
stats.adjust
labtools stats adjust --p-values @p_values.json --labels @labels.json --method benjamini-yekutieli --alpha 0.05

The same method is available as an MCP tool (stats_adjust) and from the desktop app's statistics panel.

Top 15 by raw p

Biomarkerlog2 FCCohort nRaw pBonferroniHolmBHBY
BM-34-2.74491.8 × 10⁻⁷7.2 × 10⁻⁶7.2 × 10⁻⁶6.4 × 10⁻⁶2.7 × 10⁻⁵
BM-40-2.682344.1 × 10⁻⁷1.6 × 10⁻⁵1.6 × 10⁻⁵6.4 × 10⁻⁶2.7 × 10⁻⁵
BM-382.8684.8 × 10⁻⁷1.9 × 10⁻⁵1.8 × 10⁻⁵6.4 × 10⁻⁶2.7 × 10⁻⁵
BM-332.19766.0 × 10⁻⁶0.00020.00026.0 × 10⁻⁵0.0003
BM-32-1.631456.4 × 10⁻⁵0.0030.0020.00050.002
BM-35-1.7990.00030.0110.0090.0020.008
BM-311.221320.00030.0130.0110.0020.008
BM-39-1.76860.00060.0260.0210.0030.014
BM-361.431140.00080.0330.0260.0040.015
BM-37-1.32950.0020.0980.0760.0100.042
BM-180.691260.0060.220.170.0200.087
BM-04-1450.0070.280.200.0230.10
BM-270.571620.0090.360.250.0260.11
BM-220.68860.0090.370.250.0260.11
BM-190.81120.0110.420.270.0280.12

LabTools notes

  • 10 comparison(s) were significant on the raw p-values but are not after correction. Report the adjusted values.
  • Holm controls the same familywise error rate as Bonferroni and rejects at least as much, so there is no statistical reason to prefer bonferroni.
  • 4 comparison(s) were significant on the raw p-values but are not after correction. Report the adjusted values.
  • 9 comparison(s) were significant on the raw p-values but are not after correction. Report the adjusted values.

Effect size vs evidence

Is the evidence for a biomarker just a matter of cohort size? Rank correlations between |log2 fold change|, −log10 p and cohort size.

|log2 fold change| vs −log10 p

CoefficientEstimater²np
Pearson r (linear)0.980.9603403.1 × 10⁻²⁸
Spearman ρ (monotonic, rank)0.9335—401.6 × 10⁻¹⁸
Kendall τ (rank, tie-robust; normal-approximation p)0.8—403.6 × 10⁻¹³
LabTools calls (3)
stats.correlation
labtools stats correlation --a @|log2_FC|.json --b @-log10_p.json --method pearson
stats.correlation
labtools stats correlation --a @|log2_FC|.json --b @-log10_p.json --method spearman
stats.correlation
labtools stats correlation --a @|log2_FC|.json --b @-log10_p.json --method kendall

The same method is available as an MCP tool (stats_correlation) and from the desktop app's statistics panel.

LabTools notes

  • Pearson's r measures LINEAR association only, and is sensitive to outliers. A scatter plot (plot.create kind='scatter') is worth a look before reporting it; use method='spearman' if the relationship is monotonic but curved.

Cohort size vs −log10 p

CoefficientEstimater²np
Pearson r (linear)-0.14610.02134400.37
Spearman ρ (monotonic, rank)-0.1674—400.30
Kendall τ (rank, tie-robust; normal-approximation p)-0.1308—400.23
LabTools calls (3)
stats.correlation
labtools stats correlation --a @Cohort_n.json --b @-log10_p.json --method pearson
stats.correlation
labtools stats correlation --a @Cohort_n.json --b @-log10_p.json --method spearman
stats.correlation
labtools stats correlation --a @Cohort_n.json --b @-log10_p.json --method kendall

The same method is available as an MCP tool (stats_correlation) and from the desktop app's statistics panel.

LabTools notes

  • Pearson's r measures LINEAR association only, and is sensitive to outliers. A scatter plot (plot.create kind='scatter') is worth a look before reporting it; use method='spearman' if the relationship is monotonic but curved.

Methods paragraph

Written to go straight into a manuscript.

p-values for the 40 candidates were adjusted by Benjamini–Hochberg; 15 of 40 remained significant at FDR 5% (19 before correction).

Every number on this page was computed by the LabTools statistics engine (version 0.14.3) from the example's CSV on 2026-09-23. Where a value was derived before the data reached LabTools (replicate means, paired differences, log odds ratios), the text says so. The data are simulated from a fixed random seed.

Scatter Plot: qPCR Standard CurveCorrelation Heatmap: Metabolomics

Get started

Run the same analysis on your data

Every test on this page is built into LabTools — from the statistics panel, the command line, or an AI assistant through MCP.

Download freeMore examples

LabTools

The research infrastructure: plot to figure to manuscript in one place. Free for academic and individual use.

Product

  • Features
  • Technology
  • Demo & Tutorials
  • Examples
  • Download

Support

  • Contact Support
  • Help Center

Filliaux Industries

  • filliaux.com
  • Data Analysis
  • Health Tracker

Stay updated

Research tips, product updates, and release notes. No spam.

© 2026 Filliaux Industries · LabToolsPrivacyTermsCookiesLinkedIn