bio-metabolomics-statistical-analysis

Analyzes metabolomics feature tables to identify differentially abundant metabolites with fold changes and adjusted p-values.

7|Updated Apr 5, 2026
One-click install
npx skills add https://github.com/dailycafi/metabolism-skills --skill bio-metabolomics-statistical-analysis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bio-metabolomics-statistical-analysis
Source: https://github.com/dailycafi/metabolism-skills/tree/main/skills/metabolomics-analysis/statistical-analysis
Command: npx skills add https://github.com/dailycafi/metabolism-skills --skill bio-metabolomics-statistical-analysis

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a reproducible, metabolomics-aware statistical pipeline to detect differential metabolites, estimate reliable fold changes, and produce diagnostic visualizations so researchers can move from raw intensity tables to interpretable results without ad-hoc mistakes.

Core Features & Use Cases

  • Preprocessing guidance: zero/missing value strategies, log2 transformation, and recommended normalization (PQN, QC-LOESS, VSN) with notes on when normalization can harm interpretation.
  • Univariate testing: limma moderated t-tests with eBayes(trend=TRUE, robust=TRUE) for small-n studies, and Welch's t-test / Wilcoxon alternatives for larger or non-normal cases, including BH FDR correction.
  • Effect-size handling: clear fold-change computation on log2 data, advice on shrinkage with ashr and minimum-effect testing with treat().
  • Multivariate & classification: PCA for QC, PLS-DA / sPLS-DA (mixOmics) and OPLS-DA (ropls) workflows, Random Forest ranking, VIP selection, and ROC/AUC evaluation for biomarker candidates.
  • Visualization & outputs: volcano plots, heatmaps, PCA plots, and exportable result tables suitable for pathway analysis and downstream reporting.
  • Use case: From an untargeted LC-MS feature table and sample metadata, run preprocessing, choose limma or Python-based testing, generate volcano and PCA plots, and produce a ranked table of candidate metabolites with adjusted p-values and shrunk effect sizes.

Quick Start

Run a full analysis: log2-transform and PQN-normalize my feature table, then run limma with BH correction and return fold changes, adjusted p-values, and a volcano plot.

Frequently Asked Questions about bio-metabolomics-statistical-analysis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I identify differentially abundant metabolites from a feature table?

Metabolomics statistical analysis identifies differentially abundant metabolites by applying PQN normalization, log2 transformation, and limma moderated t-tests with BH FDR correction to feature tables, yielding adjusted p-values and fold changes.

What is the best way to normalize metabolomics data before running differential analysis?

PQN normalization is recommended for metabolomics feature tables, alongside log2 transformation and zero-handling, though QC-LOESS and VSN are also supported depending on whether normalization could harm interpretation.

Can I use PLS-DA and OPLS-DA for biomarker discovery in metabolomics?

Yes, metabolomics statistical analysis supports PLS-DA, sPLS-DA, and OPLS-DA workflows for biomarker discovery, alongside PCA for QC, Random Forest ranking, VIP selection, and ROC/AUC evaluation of candidate metabolites.

How do I handle fold change shrinkage for metabolomics statistical tests?

Fold change shrinkage in metabolomics statistical analysis is handled using the ashr method on log2-transformed data, with additional support for minimum-effect testing via the treat() function to ensure reliable effect-size estimation.

When should I use Wilcoxon or Welch's t-test instead of limma for metabolomics?

Welch's t-test and Wilcoxon rank-sum tests are recommended for larger or non-normal metabolomics datasets, while limma moderated t-tests with eBayes(trend=TRUE, robust=TRUE) are preferred for small-n studies to stabilize variance estimates.

Does this metabolomics pipeline support batch covariates in the design matrix?

Yes, the metabolomics statistical analysis pipeline supports the inclusion of batch covariates in design matrices for both R and Python implementations, ensuring batch effects are properly adjusted during differential abundance testing.