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

All examples · Example 32 of 34

PCAOmicsStatistical report

PCA: Sample Clustering

Principal component analysis of 30 samples (6 conditions × 5 replicates) on 50 features; points coloured by condition.

Principal component analysis of 30 samples (6 conditions × 5 replicates) on 50 features; points coloured by condition.

Key findings

  • PC1 and PC2 explain 24.9% and 17.1% of the variance.
  • 48 of 50 features differ between conditions after Benjamini–Hochberg correction (43 after Bonferroni); the strongest is Feature39 (ω² = 0.892).
75 LabTools stats calls
7 of 15 stats methods
LabTools 0.14.3
600 dpi PNG Data (CSV) Raw LabTools output
In this reportWhich of the 50 features separate the conditions?Top feature: Feature39Feature39: which conditions differ?Which groups differ? (pairwise, corrected)

Which of the 50 features separate the conditions?

PCA shows that the 6 conditions separate; this asks which features drive it. Each feature gets a one-way ANOVA across the conditions (n = 5 samples each), and the 50 p-values are corrected as one family.

50 tests, α = 0.05

CorrectionControlsTestsRaw p < 0.05Significant after correction
Bonferronifamily-wise error504843
Holmfamily-wise error504847
Benjamini–Hochbergfalse discovery rate504848
Benjamini–Yekutielifalse discovery rate504847
LabTools calls (5)
stats.anova
labtools stats anova --groups @Feature01.json --no-assumption-checks
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_anova) and from the desktop app's statistics panel.

Top 15 by raw p

FeatureFω²Raw pBonferroniHolmBHBY
Feature3950.450.8925.9 × 10⁻¹²3.0 × 10⁻¹⁰3.0 × 10⁻¹⁰3.0 × 10⁻¹⁰1.3 × 10⁻⁹
Feature1144.740.8792.2 × 10⁻¹¹1.1 × 10⁻⁹1.1 × 10⁻⁹5.3 × 10⁻¹⁰2.4 × 10⁻⁹
Feature1643.130.8753.2 × 10⁻¹¹1.6 × 10⁻⁹1.5 × 10⁻⁹5.3 × 10⁻¹⁰2.4 × 10⁻⁹
Feature3140.290.8686.6 × 10⁻¹¹3.3 × 10⁻⁹3.1 × 10⁻⁹8.2 × 10⁻¹⁰3.7 × 10⁻⁹
Feature2536.520.8551.8 × 10⁻¹⁰9.2 × 10⁻⁹8.5 × 10⁻⁹1.8 × 10⁻⁹8.0 × 10⁻⁹
Feature3236.020.8542.1 × 10⁻¹⁰1.1 × 10⁻⁸9.6 × 10⁻⁹1.8 × 10⁻⁹8.0 × 10⁻⁹
Feature1834.30.8473.5 × 10⁻¹⁰1.8 × 10⁻⁸1.6 × 10⁻⁸2.5 × 10⁻⁹1.1 × 10⁻⁸
Feature1032.980.8425.3 × 10⁻¹⁰2.7 × 10⁻⁸2.3 × 10⁻⁸3.3 × 10⁻⁹1.5 × 10⁻⁸
Feature1532.020.8387.2 × 10⁻¹⁰3.6 × 10⁻⁸3.0 × 10⁻⁸4.0 × 10⁻⁹1.8 × 10⁻⁸
Feature4031.670.8368.1 × 10⁻¹⁰4.0 × 10⁻⁸3.3 × 10⁻⁸4.0 × 10⁻⁹1.8 × 10⁻⁸
Feature4131.210.8349.4 × 10⁻¹⁰4.7 × 10⁻⁸3.8 × 10⁻⁸4.3 × 10⁻⁹1.9 × 10⁻⁸
Feature1327.450.8153.4 × 10⁻⁹1.7 × 10⁻⁷1.3 × 10⁻⁷1.4 × 10⁻⁸6.4 × 10⁻⁸
Feature3426.090.8075.7 × 10⁻⁹2.8 × 10⁻⁷2.2 × 10⁻⁷2.2 × 10⁻⁸9.9 × 10⁻⁸
Feature4425.540.8047.0 × 10⁻⁹3.5 × 10⁻⁷2.6 × 10⁻⁷2.5 × 10⁻⁸1.1 × 10⁻⁷
Feature4521.630.7753.5 × 10⁻⁸1.8 × 10⁻⁶1.3 × 10⁻⁶1.2 × 10⁻⁷5.3 × 10⁻⁷

LabTools notes

  • 5 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.
  • 1 comparison(s) were significant on the raw p-values but are not after correction. Report the adjusted values.

Top feature: Feature39

Location, spread and shape for every group — the first thing to read before choosing a test. Skewness near 0 and excess kurtosis near 0 are what a normal distribution looks like.

GroupnMeanSDSEMMedianQ1 – Q3Min – MaxSkewnessExcess kurtosis
Control51.8780.66740.29851.7021.35 – 2.3271.22 – 2.7930.584-1.65
Drug A5-1.6561.020.4562-1.334-1.668 – -1.27-3.359 – -0.651-1.52.91
Drug B50.2080.99240.44380.095-0.24 – 0.378-0.942 – 1.7490.8751.57
Drug A+B5-4.9270.75780.3389-5.009-5.075 – -4.463-6.05 – -4.037-0.590.585
Stress52.7471.1650.52092.4531.995 – 2.9831.671 – 4.6341.331.74
Recovery5-2.6260.75740.3387-2.538-2.897 – -2.056-3.771 – -1.866-0.8620.223
LabTools call
stats.describe
labtools stats describe --groups @groups.json

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

Feature39: which conditions differ?

One-way ANOVA compares means and assumes normal residuals with equal variances; Kruskal–Wallis compares ranks and assumes neither. Both only say the groups differ somewhere — the pairwise table below says where.

TestStatisticdfpEffect size
One-way ANOVAF = 50.455, 245.9 × 10⁻¹²ω² = 0.892 · η² = 0.913 · Cohen's f = 3.24
Kruskal–Wallis HH = 26.457.5 × 10⁻⁵ε² = 0.91
LabTools calls (2)
stats.anova
labtools stats anova --groups @groups.json
stats.kruskal
labtools stats kruskal --groups @groups.json

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

LabTools notes

  • Group 'Control' has n = 5; normality screening has very low power at this size, so a non-significant Shapiro–Wilk is weak evidence of normality.

Which groups differ? (pairwise, corrected)

5 comparisons (each group against Control), each run as a Welch t-test and a Mann–Whitney test. Testing many pairs inflates false positives, so every p-value is corrected with Holm (family-wise) and Benjamini–Hochberg (false-discovery rate) through stats.adjust.

ComparisonMean diff.95% CIHedges' gWelch pHolmBHMann–Whitney pHolmCliff's δ
Control vs Drug A3.535[2.242, 4.828]3.70.00040.0010.00060.0120.0611
Control vs Drug B1.67[0.4058, 2.935]1.780.0170.0340.0210.0600.120.76
Control vs Drug A+B6.805[5.761, 7.849]8.614.4 × 10⁻⁷2.2 × 10⁻⁶2.2 × 10⁻⁶0.0120.0611
Control vs Stress-0.8688[-2.317, 0.5796]-0.8270.200.200.200.210.21-0.52
Control vs Recovery4.504[3.46, 5.548]5.79.7 × 10⁻⁶3.9 × 10⁻⁵2.4 × 10⁻⁵0.0120.0611
LabTools calls (3)
stats.ttest
labtools stats ttest --a @Control.json --b @Drug_A.json --test welch --no-assumption-checks
stats.mannwhitney
labtools stats mannwhitney --a @Control.json --b @Drug_A.json
stats.adjust
labtools stats adjust --p-values @p_values.json --labels @labels.json --method holm

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

Design sensitivity

d = 2.02
Minimum detectable effect (80% power, α = 0.05)
n = 5 vs 5
10.8%
Power to detect d = 0.5
20.1%
Power to detect d = 0.8
38.6%
Power to detect d = 1.2
LabTools calls (2)
stats.power
labtools stats power --n1 5 --n2 5 --mode mde --power 0.8
stats.power
labtools stats power --n1 5 --n2 5 --effect-size 0.5

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

Methods paragraph

Written to go straight into a manuscript.

PC1 and PC2 explained 24.9% and 17.1% of the variance; replicates of each condition clustered together.

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.

Manhattan Plot: GWASClustering: Single-Cell Embedding

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