AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified Apache-2.0 Self-run

Correcting Proteomics Batch Effects

skill-mannlabs-proteomics-agent-skills-correcting-proteomics-batch-effects · by MannLabs

Evaluate and correct batch effects in proteomics data. Use when (1) assessing if batch effect, technical variation, plate effects, or instrument drift in proteomics context is present and batch correction is needed, (2) applying batch correction algorithms, (3) validating batch correction results.

No reviews yet
0 installs
10 views
0.0% view→install

Install

$ agentstack add skill-mannlabs-proteomics-agent-skills-correcting-proteomics-batch-effects

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-mannlabs-proteomics-agent-skills-correcting-proteomics-batch-effects)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
9d ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Correcting Proteomics Batch Effects? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Batch Correction for Proteomics Data

Batch effects are systematic technical biases from sample preparation, instruments, or time points that obscure biological signals. Correction should only be applied on the protein level when diagnostics indicate necessity.

Commonly used batch effect correction algorithms include:

| Priority | Algorithm | Description | When to Use | | -------- | ---------------- | ------------------------------------ | ------------------------------------------ | | 1 | ComBat | Empirical Bayes shift+scale model | Default choice, handles small batches well | | 2 | Median centering | Equalizes batch-wise feature medians | Simple cases, interpretable | | 3 | Harmony | Iterative mixing in PCA space | Large datasets, many batches |

Workflow

Copy this checklist and track progress:

Analysis step progress:
- [ ] **Assess batch effects**
- [ ] **Prepare dataset**
- [ ] **Apply correction** - Use appropriate algorithm at protein level
- [ ] **Validate results** - Confirm improvement with same metrics
      If successful: Proceed with statistical analysis
      If unsuccessful: Try another batch effect correction

Workflow

1. Assess Batch Effects

Qualitative: Principal Component Analysis (PCA) Visualization

Compute PCA and color samples by technical factors (e.g. processing plate, instrument, timepoint, processing date). Compare separation by technical vs biological factors. Strong batch effects show samples clustering by technical factors more than biological conditions.

Quantitative Metrics

| Metric | Description | Interpretation | | ------------------------------------ | --------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | | Principal Component Regression (PCR) | Weighted correlation of batch covariate with PCs | 0 - +1, lower is better | | Average Silhouette Width | Batch clustering in feature/PCA space | -1 - +1, closer to 0 indicates lower batch effects, closer to 1 for biological factors indicates stronger separation by biology | | Technical Replicate Correlation | Pairwise feature correlation of replicates across batches | -1 - +1, higher is better |

Decision: Proceed with batch correction if metrics indicate substantial batch effects

  • Batch explains < 5% cumulative explained variance in PCR
  • Average Silhouette Width of biological conditions is smaller than Average Silhouette Width of batch
  • Pearson correlation of technical replicates is r < 0.9

2. Prepare data

Ensure that

  • [ ] Data is log transformed and normalized
  • [ ] Batch must not be confounded with biological conditions of interest
  • [ ] Missing values are handled (impute or use NaN-tolerant batch correction method)

3. Apply Batch Correction

Apply batch correction algorithms according to their indicated priorities in the table.

4. Validate Correction

Re-compute the same metrics used in assessment:

  • PCR score should decrease
  • Silhouette width should approach 0
  • Technical replicate correlation should increase

If metrics do not improve, repeat step 3 with a different algorithm and investigate which variable confounds the measurement (step 1).

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.