Agent skill · Data & Analytics

bio-metabolomics-xcms-preprocessing

XCMS3 workflow for LC-MS/MS metabolomics preprocessing. Covers peak detection, retention time alignment, correspondence (grouping), and gap filling. Use when processing raw LC-MS data into a feature table for untargeted metabolomics.

FreedomIntelligencegithub.com/FreedomIntelligenceGitHub ↗
claude-code
Install
npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill bio-metabolomics-xcms-preprocessing --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 3
SKILL.md size: 8 KB
Bundled scripts: none
Path: skills/bio-metabolomics-xcms-preprocessing/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 2,909
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

## Version Compatibility Reference examples tested with: MSnbase 2.28+, scanpy 1.10+, xcms 4.0+ Before using code patterns, verify installed versions match. If versions differ: - R: `packageVersion('<pkg>')` then `?function_name` to verify parameters If code throws ImportError, AttributeError, or TypeError, introspect the installed package and adapt the example to match the actual API rather than retrying. # XCMS Metabolomics Preprocessing Requires Bioconductor 3.18+ with xcms 4.0+ and MSnbase 2.28+. ## Load Raw Data **Goal:** Import raw LC-MS files into R for downstream peak detection and alignment. **Approach:** Read mzML/mzXML files into an OnDiskMSnExp object using MSnbase for memory-efficient access. **"Process my raw LC-MS data into a feature table"** → Detect chromatographic peaks, align retention times across samples, group corresponding peaks, and fill missing values to produce a sample-by-feature intensity matrix. ```r library(xcms) library(MSnbase) # Read mzML/mzXML files raw_files <- list.files('raw_data', pattern = '\\.(mzML|mzXML)$', full.names = TRUE) # Create OnDiskMSnExp object raw_data <- readMSData(raw_files, mode = 'onDisk') # Check data raw_data table(msLevel(r

What's inside
Steps it walks through
  1. Version Compatibility
  2. Load Raw Data
  3. Define Sample Groups
  4. Peak Detection (Centroided)
  5. Peak Detection (Profile Data)
  6. Retention Time Alignment
  7. Peak Correspondence (Grouping)
  8. Gap Filling
  9. Extract Feature Table
  10. Quality Control
  11. CAMERA Annotation (Isotopes/Adducts)
  12. Export for MetaboAnalyst
  13. Related Skills
Ships with 2 files
  • examples/xcms_workflow.R
  • usage-guide.md
More from OpenClaw-Medical-Skills
All skills →
About this skill
What does the bio-metabolomics-xcms-preprocessing skill do?

XCMS3 workflow for LC-MS/MS metabolomics preprocessing. Covers peak detection, retention time alignment, correspondence (grouping), and gap filling. Use when processing raw LC-MS data into a feature table for untargeted metabolomics.

How do I install it?

Run `npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill bio-metabolomics-xcms-preprocessing --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From FreedomIntelligence/OpenClaw-Medical-Skills, a repository with 2,909 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going