# False Positive Mitigation Tuning

> Use when after running Paramounter's peak-height optimization on XCMS CentWave-extracted metabolomic features, if the downstream analysis or feature validation reveals an unacceptable rate of false positives, or if the extraction workflow is experiencing software crashes or timeout failures due to.

- Skill: `holobiomicslab/false-positive-mitigation-tuning` (Agent Skill)
- Install (CLI): `npx skillmds@latest add holobiomicslab/false-positive-mitigation-tuning`
- Raw SKILL.md: https://api.skillmd.com/api/skills/holobiomicslab/false-positive-mitigation-tuning/raw
- Safety review: PASS (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Productivity
- License: CC-BY-4.0
- Author: HolobiomicsLab (https://skillmd.com/u/holobiomicslab)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/holobiomicslab/false-positive-mitigation-tuning

---


# False-positive-mitigation-tuning

## Summary

A post-optimization tuning strategy that mitigates the false positive rate and crash likelihood introduced by Paramounter's peak-height optimization in metabolomic feature extraction. By applying a multiplicative threshold adjustment (typically 2×) to the optimized peak-height value, practitioners trade some true positive sensitivity for substantially reduced false positives and improved software stability.

## When to use

After running Paramounter's peak-height optimization on XCMS CentWave-extracted metabolomic features, if the downstream analysis or feature validation reveals an unacceptable rate of false positives, or if the extraction workflow is experiencing software crashes or timeout failures due to the aggressive optimized threshold.

## When NOT to use

- Input feature table is already deduplicated and validated; no re-extraction is needed.
- Analysis goal prioritizes sensitivity over specificity and false positives are already acceptable or lower-priority than missing true signals.
- Raw metabolomic data is unavailable or the original XCMS CentWave run cannot be reproduced with modified parameters.

## Inputs

- Raw metabolomic data (mzML or NetCDF format)
- Paramounter-computed optimized peak-height threshold (numeric scalar)
- XCMS CentWave initial parameter set

## Outputs

- Feature table extracted with mitigated (elevated) peak-height threshold
- Feature table extracted with optimized (non-mitigated) peak-height threshold
- Comparison summary: true positive count, false positive count, extraction stability metrics for both thresholds

## How to apply

Starting from the optimized peak-height threshold computed by Paramounter (which maximizes true positive count), multiply it by a mitigation factor—typically 2×—to obtain an elevated threshold. Re-run feature extraction using XCMS CentWave with this elevated threshold instead of the optimized value. This reduces the computational burden and false positive rate at the cost of missing some marginal true positives. Compare the resulting feature table (elevated threshold) against the non-mitigated result using summary statistics: count of true positives, false positives, and extraction stability (crash rate or runtime). Document both results to enable downstream validation of whether the false positive reduction justifies the true positive loss for your specific biological question.

## Related tools

- **Paramounter** (Computes optimized peak-height threshold that maximizes true positive features; mitigation tuning multiplies this threshold by user-defined factor (e.g., 2×) to reduce false positives and crashes.) — github.com/HuanLab/Paramounter
- **XCMS CentWave** (Performs feature extraction and dereplication on raw metabolomic data using mass tolerance (mzdiff) and peak-height threshold; re-run with mitigated threshold to produce alternative feature set.)

## Evaluation signals

- False positive count in the mitigated (2×-threshold) feature table is strictly lower than in the optimized feature table.
- True positive count in the mitigated feature table is lower than the optimized set but remains above a domain-acceptable minimum (validation against independent standard or literature).
- Extraction stability: mitigated run completes without crashes or timeouts; optimized run may show crash frequency > 0.
- Feature dereplication statistics (mzdiff filtering behavior) remain consistent between runs; only peak-height threshold varies.
- Summary statistics (e.g., feature count, mass range, retention time distribution) for true positives in mitigated set differ by a predictable, quantifiable amount from optimized set.

## Limitations

- The 2× mitigation factor is a heuristic; optimal multiplier varies by dataset, instrument, and biology and must be determined empirically.
- Mitigation trades true positive sensitivity for false positive reduction; there is no guarantee that the lost true positives are not biologically relevant for the research question.
- Dereplication at low mzdiff values (< 0.001 m/z) may still remove true positives even with elevated peak-height thresholds; users can disable dereplication by setting mzdiff to a negative value.
- No automated mechanism to select the optimal mitigation factor; practitioners must manually compare outputs and validate against orthogonal evidence (e.g., standards, MS/MS confirmation).

## Evidence

- [readme] Paramounter tunes an optimized peak height to maximize the number of true positive features. A drawback of that optimized value is the higher rate of false positive features and the likelihood of software crash.: "Paramounter tunes an optimized peak height to maximize the number of true positive features. A drawback of that optimized value is the higher rate of false positive features and the likelihood of"
- [readme] users can try a higher peak height threshold to reduce the number of false positive features (e.g., 2X the optimized peak height threshold).: "users can try a higher peak height threshold to reduce the number of false positive features (e.g., 2X the optimized peak height threshold)"
- [readme] mzdiff is used as the mass tolerance to dereplicate the features (similar m/z values and retention times) extracted by XCMS CentWave.: "mzdiff is used as the mass tolerance to dereplicate the features (similar m/z values and retention times) extracted by XCMS CentWave"
- [readme] some true positive metabolic features with mass differences smaller than that value may be removed by mistake.: "some true positive metabolic features with mass differences smaller than that value may be removed by mistake"

