[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EF180BBHKW6XTEBD3HRSTZ":3,"skill-same:01M7EF180BBHKW6XTEBD3HRSTZ":68},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":30,"commitSha":31,"skillDirectory":32,"forksCount":14,"repositoryHtmlUrl":33,"repositoryHomepageUrl":33,"ownerHtmlUrl":34,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":35,"install":36,"resources":49},"01M7EF180BBHKW6XTEBD3HRSTZ","bio-proteomics-differential-abundance",null,"Tests for differentially abundant proteins between conditions with limma\u002FDEqMS empirical-Bayes moderation, proDA\u002Fmsqrob2\u002FMSstats missingness modeling, and Python Welch+BH alternatives. Frames missing values as left-censored MNAR (model, do not impute), makes variance moderation the load-bearing step at n=3-5, and prefers feature\u002Fpeptide-level testing. Use when identifying proteins with significant abundance changes between experimental groups. Summarization and normalization mechanics are proteomics\u002Fquantification; volcano and MA plots are data-visualization\u002Fvolcano-and-ma-plots; pathway enrichment of the hit list is pathway-analysis\u002Fgo-enrichment.","Mr-Nobody-Anonymous\u002FAll-skills","Mr-Nobody-Anonymous","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F184253119?v=4","01M7AEXFJHKTYQW5R0ZCQQTWFV","anonymous","01M7C00M3GQR4QKP9GZA42GFAK",0,"MIT","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fbiology\u002Fbio-proteomics-differential-abundance\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: bio-proteomics-differential-abundance\ndescription: Tests for differentially abundant proteins between conditions with limma\u002FDEqMS empirical-Bayes moderation, proDA\u002Fmsqrob2\u002FMSstats missingness modeling, and Python Welch+BH alternatives. Frames missing values as left-censored MNAR (model, do not impute), makes variance moderation the load-bearing step at n=3-5, and prefers feature\u002Fpeptide-level testing. Use when identifying proteins with significant abundance changes between experimental groups. Summarization and normalization mechanics are proteomics\u002Fquantification; volcano and MA plots are data-visualization\u002Fvolcano-and-ma-plots; pathway enrichment of the hit list is pathway-analysis\u002Fgo-enrichment.\ntool_type: mixed\nprimary_tool: limma\nsource: \"https:\u002F\u002Fgithub.com\u002FGPTomics\u002FbioSkills\"\nsource_repository: \"GPTomics\u002FbioSkills\"\nsource_path: \"proteomics\u002Fdifferential-abundance\u002FSKILL.md\"\nlicense: \"MIT\"\nimported_at: \"2026-09-20\"\n---\n\n## Version Compatibility\n\nReference examples tested with: limma 3.58+, DEqMS 1.20+, proDA 1.20+, ashr 2.2+, pandas 2.2+, scipy 1.12+, statsmodels 0.14+\n\nBefore using code patterns, verify installed versions match. If versions differ:\n- Python: `pip show \u003Cpackage>` then `help(module.function)` to check signatures\n- R: `packageVersion('\u003Cpkg>')` then `?function_name` to verify parameters\n\nIf code throws ImportError, AttributeError, or TypeError, introspect the installed\npackage and adapt the example to match the actual API rather than retrying.\n\n# Differential Protein Abundance -- Moderated Testing on a Log-Intensity Matrix with Honest Missingness\n\n**\"Find differentially abundant proteins between my conditions\"** -> Moderated statistical testing on a normalized log-intensity matrix, carrying missingness in the likelihood instead of filling it in -- because the missing values are low BECAUSE the protein is low, and imputing them manufactures false positives.\n- R: `limma::eBayes(fit, trend=TRUE, robust=TRUE)` for empirical-Bayes moderated t-tests (the protein-level workhorse)\n- R: `DEqMS::spectraCounteBayes()` when PSM\u002Fpeptide counts are available (preferred over limma-trend when quant depth varies)\n- R: `proDA::test_diff()` \u002F `msqrob2` \u002F `MSstats` when missing values are extensive (model the dropout, no imputation)\n- Python: `scipy.stats.ttest_ind(equal_var=False)` + `statsmodels` BH (large n only; no moderation)\n\nScope: this skill owns the statistical TEST -- design\u002Fcontrast construction, variance moderation, missingness handling, multiple-testing correction, minimum-fold-change testing, and fold-change shrinkage. Peptide-to-protein summarization and normalization mechanics -> proteomics\u002Fquantification. Volcano\u002FMA plots -> data-visualization\u002Fvolcano-and-ma-plots. Enrichment of the hit list -> pathway-analysis\u002Fgo-enrichment. OUT OF SCOPE: how MaxLFQ\u002FTMP\u002FIRS produce the matrix (quantification); how to draw a volcano (data-visualization).\n\n## The Single Most Important Modern Insight -- Model the Missingness, Moderate the Variance, Test at the Feature Level\n\n1. **Missing values in label-free MS are left-censored MNAR -- missing BECAUSE the intensity is low -- and imputing them (especially Perseus\u002FMaxQuant downshift) manufactures SYSTEMATIC false positives.** Downshift draws each missing value from a narrow Gaussian (mean = mu - 1.8*sigma, SD = 0.3*sigma). For an on\u002Foff protein (seen in all of group A, missing in all of B) the t-statistic numerator is inflated by construction (mean_B fixed ~1.8 sigma below observed, deterministic) and the denominator is artificially deflated (all imputed B values from one 0.3-sigma Gaussian -> collapsed within-group SD) -> enormous t -> tiny p. Because every on\u002Foff protein is treated identically, the false positives are systematic: the volcano-plot \"anchor\u002Fwing\" artifact (rigid near-vertical streaks of pinned points far out on both x-axis sides). The honest statement is \"undetected in group B\", not \"20x lower, p=1e-6\". The correct approach is to MODEL the dropout in the likelihood -- proDA (probabilistic dropout), msqrob2, MSstats-AFT -- NOT fill it (Lazar 2016; Ahlmann-Eltze & Anders 2019).\n2. **At the n=3-5 replicates proteomics actually uses, per-protein variance has only 2-4 residual df and is unusable raw -- variance moderation is the load-bearing element, not optional.** limma borrows a prior d0 across all proteins so a 4-replicate design tests on ~10 df instead of 6; `trend=TRUE` makes the prior a function of mean intensity (effectively mandatory for label-free, where a single global prior mis-calibrates FDR across the abundance range); `robust=TRUE` Winsorizes outlier variances (Phipson 2016). DEqMS makes the prior a function of PSM\u002Fpeptide count and generally outperforms limma-trend when quantification depth varies across proteins (Zhu 2020).\n3. **Feature\u002Fpeptide-level modeling beats summarize-then-test.** Summarizing first (one number per protein per run) discards the within-protein between-peptide variance and the correct degrees of freedom: 12 consistent peptides deserve a smaller SE than 12 disagreeing ones, but after summarization both look equally certain, and a protein with 30 observations looks as informative as one with 3. msqrob2\u002FMSstats keep every peptide as a degree of freedom; this is why the same data gives different answers (Goeminne 2016; Sticker 2020; Choi 2014).\n\n## Tool Taxonomy\n\n| Tool \u002F method | Citation | Mechanism \u002F role | When |\n|---------------|----------|------------------|------|\n| limma | Ritchie 2015; Phipson 2016 | EB moderated t; posterior variance blends a prior d0 with the per-protein estimate; `trend` ties the prior to mean intensity, `robust` Winsorizes outliers | protein-level summaries, small n, the default workhorse |\n| DEqMS | Zhu 2020 | prior variance = loess of log-variance vs log2(count); precision follows quantification DEPTH not just intensity | TMT (count=PSM) and label-free DDA (count=peptide); quant depth varies; preferred over limma-trend |\n| proDA | Ahlmann-Eltze & Anders 2019 (preprint) | probabilistic dropout: missing = left-censored, integrated under a per-sample sigmoid dropout curve; EB on location and variance; no imputation | label-free DDA with many MNAR missing values, small n, proteins absent in one group |\n| msqrob2 | Sticker 2020; Goeminne 2016 | peptide-level robust ridge: Huber M-estimation downweights outlier peptides, ridge shrinks effects from few observations, EB variance moderation | label-free DDA, outlier-peptide \u002F unbalanced-coverage risk; best FDR in hard spike-in regimes |\n| MSstats | Choi 2014 | feature-level linear mixed model (group fixed + feature + run\u002Fsubject random); AFT censored handling for missing | SRM\u002FPRM\u002FDIA, technical replicates, nested\u002Frepeated-measures, labeled designs |\n| Welch t-test + BH | -- | per-protein two-sample t with `equal_var=False` + Benjamini-Hochberg | large n (>10\u002Fgroup), Python-only; no moderation, unusable at n=3-5 |\n| ashr | Stephens 2017 | mixture prior with a point mass at zero; posterior means shrink uncertain effects toward zero | recovering \"which proteins truly changed and by how much\" (not for GSEA ranking) |\n| volcano \u002F MA plot | -- | (route OUT) | visualization -> data-visualization\u002Fvolcano-and-ma-plots |\n| enrichment of hits | -- | (route OUT) | functional interpretation -> pathway-analysis\u002Fgo-enrichment |\n\n## Decision Tree by Scenario\n\n| Scenario | Recommended | Why |\n|----------|-------------|-----|\n| Small n (3-5\u002Fgroup), protein-level summary matrix | limma `eBayes(trend=TRUE, robust=TRUE)` | EB borrows variance across proteins; the trend calibrates FDR across abundance |\n| PSM\u002Fpeptide counts available (TMT or label-free DDA) | DEqMS `spectraCounteBayes` | prior keyed on quant depth removes single-PSM false positives limma admits |\n| Label-free with many MNAR missing values, on\u002Foff proteins | proDA `test_diff` | models the censored dropout; never imputes; correct verdict for \"undetected in one group\" |\n| Outlier-peptide risk, unbalanced peptide coverage | msqrob2 (peptide-level robust ridge) | keeps feature df; Huber downweights bad peptides; best FDR in spike-in benchmarks |\n| Technical replicates, nested\u002Frepeated-measures, labeled (SRM\u002FPRM\u002FDIA) | MSstats (feature-level mixed model) | random effects capture run\u002Fsubject structure summarize-then-test discards |\n| Batch present | batch as a covariate in the design (`~ batch + condition`) | `removeBatchEffect` is visualization-only; never feed its output to `lmFit` |\n| Minimum biologically meaningful fold change | `treat()` + `topTreat()` (or SAM s0) | tests |log2FC|>c against the moderated null; a post-hoc FC+significance double filter inflates FDR |\n| Large n (>10\u002Fgroup), Python-only | Welch t-test + BH | variance estimates reliable; no moderation needed at large n |\n\nDefault when uncertain: protein-level summary matrix at n=3-5 -> limma `eBayes(trend=TRUE, robust=TRUE)`; if PSM\u002Fpeptide counts exist, escalate to DEqMS; if missingness is extensive and intensity-dependent, escalate to proDA.\n\n## limma Workflow (R)\n\n**Goal:** Identify differentially abundant proteins using moderated statistics that borrow information across all proteins.\n\n**Approach:** Build the design (batch as a covariate when present), fit the linear model and contrast, apply EB moderation with the intensity trend and robust fitting, then extract BH-corrected results. Never feed `removeBatchEffect` output to `lmFit`.\n\n```r\nlibrary(limma)\n\ndesign \u003C- model.matrix(~0 + condition + batch, data = sample_info)  # batch in the model, not removed first\ncolnames(design)[1:2] \u003C- levels(factor(sample_info$condition))\n\nfit \u003C- lmFit(protein_matrix, design)\ncontrast_matrix \u003C- makeContrasts(Treatment - Control, levels = design)\nfit2 \u003C- contrasts.fit(fit, contrast_matrix)\nfit2 \u003C- eBayes(fit2, trend = TRUE, robust = TRUE)  # trend mandatory for label-free; robust Winsorizes outliers\n\nresults \u003C- topTable(fit2, coef = 1, number = Inf, adjust.method = 'BH')\n# columns: logFC, AveExpr, t, P.Value, adj.P.Val, B  (adj.P.Val is the BH p; there is no $FDR)\n```\n\n### Minimum-fold-change testing\n\n**Goal:** Call proteins whose effect exceeds a biologically meaningful threshold, not merely differ from zero.\n\n**Approach:** Use `treat()` against the moderated null and read `topTreat()`. NEVER `topTable(lfc=...)` nor a post-hoc volcano double filter (`abs(logFC) > 1 & adj.P.Val \u003C 0.05`); conditioning on both the FC and the p-value selects for high-variance nulls (a collider effect) and inflates realized FDR above 50% (Ebrahimpoor & Goeman 2021).\n\n```r\nLFC_THRESHOLD \u003C- log2(1.2)  # 1.2-fold floor; treat tests against this null, no double-filter FDR inflation\nfit2 \u003C- treat(fit2, lfc = LFC_THRESHOLD)\nresults \u003C- topTreat(fit2, coef = 1, number = Inf)  # topTreat omits the B column\n```\n\n## DEqMS Workflow (R)\n\n**Goal:** Improve on limma by tying each protein's prior variance to its quantification depth -- proteins measured by more PSMs\u002Fpeptides are more precise.\n\n**Approach:** Run limma through `eBayes`, attach the count vector, then apply DEqMS's count-aware EB. Use PSM count for TMT (quant at MS2) and peptide count for label-free DDA; for multi-batch TMT use the MINIMUM count across batches (the bottleneck batch sets precision).\n\n```r\nlibrary(DEqMS)\n\n# fit2 is the limma fit through eBayes (above)\nfit2$count \u003C- psm_count_per_protein[rownames(fit2$coefficients)]  # PSM for TMT, peptide for LFQ; min across batches\nfit3 \u003C- spectraCounteBayes(fit2)\n\nresults \u003C- outputResult(fit3, coef_col = 1)\n# adds sca.t, sca.P.Value, sca.adj.pval (the count-adjusted statistics; use these, not the limma columns)\n```\n\n## proDA Workflow (R)\n\n**Goal:** Test proteins with extensive MNAR missingness, including on\u002Foff proteins, without imputing a single value.\n\n**Approach:** Fit the probabilistic-dropout model directly on the log-intensity matrix; missing values contribute as left-censored observations under a per-sample dropout curve. Then test the contrast against zero.\n\n```r\nlibrary(proDA)\n\nfit \u003C- proDA(protein_matrix, design = ~condition, col_data = sample_info,\n             reference_level = 'Control')\nresult_names(fit)  # list testable coefficients first\nresults \u003C- test_diff(fit, conditionTreatment - conditionControl)\n# columns: name, pval, adj_pval, diff (log2FC), t_statistic, se\n```\n\n## Python Workflow\n\n**Goal:** Run the full pipeline in Python when no R is available and n is large enough that moderation is unnecessary.\n\n**Approach:** Log2-transform, median-normalize, run per-protein Welch t-tests, apply Benjamini-Hochberg. This has NO variance moderation and should not be used at n=3-5 -- escalate to limma\u002FDEqMS for small n.\n\n```python\nimport numpy as np\nimport pandas as pd\nfrom scipy import stats\nfrom statsmodels.stats.multitest import multipletests\n\ndef preprocess(intensities):\n    log2_data = np.log2(intensities.replace(0, np.nan))  # zeros -> NaN to avoid -inf\n    sample_medians = log2_data.median(axis=0)\n    return log2_data - sample_medians + sample_medians.median()\n\ndef differential_abundance(normalized, case_cols, ctrl_cols):\n    rows = []\n    for protein in normalized.index:\n        case, ctrl = normalized.loc[protein, case_cols].dropna(), normalized.loc[protein, ctrl_cols].dropna()\n        if len(case) >= 2 and len(ctrl) >= 2:\n            _, pval = stats.ttest_ind(case, ctrl, equal_var=False)  # Welch; scipy defaults to Student's True\n            rows.append({'protein': protein, 'log2fc': case.mean() - ctrl.mean(), 'pvalue': pval})\n    df = pd.DataFrame(rows)\n    df['padj'] = multipletests(df['pvalue'], method='fdr_bh')[1]  # default is Holm-Sidak; pass fdr_bh explicitly\n    return df\n```\n\n## Fold-Change Reporting\n\n**Goal:** Hand the right effect estimate to the right consumer.\n\n**Approach:** Report the RAW fold change (the best unbiased point estimate) for GSEA\u002Fpathway ranking and meta-analysis -- those need the full continuous distribution or FC+SE pairs. Apply shrinkage (ashr) only when recovering \"which proteins truly changed and by how much\"; it fits a mixture prior with a point mass at zero and shrinks uncertain effects smoothly toward zero. This is preferred over hard-thresholding (zeroing FCs at padj 0.05), which creates an arbitrary step function. No mature Python ashr equivalent exists.\n\n```r\nlibrary(ashr)\n\nse \u003C- sqrt(fit2$s2.post) * fit2$stdev.unscaled[, 1]\nshrunk \u003C- ash(fit2$coefficients[, 1], se, mixcompdist = 'normal')\nshrunken_fc \u003C- shrunk$result$PosteriorMean  # report alongside raw logFC, not as a replacement for GSEA\nlfsr \u003C- shrunk$result$lfsr\n```\n\n## Per-Method Failure Modes\n\n### Downshift \u002F any imputation feeding a variance-based test\n**Trigger:** Perseus\u002FMaxQuant downshift (or MinDet\u002FMinProb\u002FQRILC) fills NAs, then limma\u002Ft-test runs on the filled matrix.\n**Mechanism:** Imputed values come from one narrow Gaussian -> fabricated low within-group variance + deterministic mean offset -> inflated t.\n**Symptom:** Volcano \"anchor\u002Fwing\" -- rigid near-vertical streaks of pinned on\u002Foff proteins at high significance; realized FDR far above nominal.\n**Fix:** Model the missingness instead (proDA \u002F msqrob2 \u002F MSstats-AFT); report on\u002Foff proteins as \"undetected in group X\".\n\n### kNN imputation on left-censored data\n**Trigger:** kNN\u002Fmean imputation applied to label-free data with MNAR dropout.\n**Mechanism:** Mean-reverting -- pulls a truly-low (missing because low) value UP toward the mean.\n**Symptom:** Real down-regulation is compressed; down hits weakened or lost.\n**Fix:** Only valid under MCAR\u002FMAR; for MNAR model the dropout. Under uncertainty Lazar 2016 shows the milder MCAR error beats MNAR-imputers slamming random highs to the floor.\n\n### removeBatchEffect before testing\n**Trigger:** `removeBatchEffect()` output fed to `lmFit`.\n**Mechanism:** Subtracts the fitted batch component with no uncertainty propagation -> understated residual variance, inflated EB df; if batch is confounded with biology it deletes real signal.\n**Symptom:** Anticonservative p-values; lost true effects when cases\u002Fcontrols split by batch.\n**Fix:** Include batch as a covariate in the SAME model (`~ batch + condition`); use `removeBatchEffect` only for PCA\u002Fvisualization.\n\n### eBayes(trend=FALSE) on intensity data\n**Trigger:** Plain `eBayes` (trend off) on a log-intensity matrix.\n**Mechanism:** A single global prior over-shrinks high-abundance and under-shrinks low-abundance proteins.\n**Symptom:** Mis-calibrated FDR across the abundance range.\n**Fix:** `eBayes(trend = TRUE, robust = TRUE)`; escalate to DEqMS when quant depth varies.\n\n### Wrong DEqMS count column\n**Trigger:** Razor+unique counts vs MS2-level PSMs, or total-across-batches vs minimum-across-batches.\n**Mechanism:** The variance-vs-count prior is fit on the wrong precision proxy.\n**Symptom:** Mis-ranked proteins; the count moderation helps the wrong ones.\n**Fix:** PSM count for TMT, peptide count for label-free; minimum count across batches for multi-batch TMT.\n\n### proDA on MCAR missingness\n**Trigger:** proDA applied where dropout is random (e.g. a TMT channel lost at random), not detection-limited.\n**Mechanism:** The left-censored dropout model is mis-specified.\n**Symptom:** Biased estimates; the model fits a dropout curve that does not exist.\n**Fix:** proDA needs intensity-dependent missingness; for MCAR use limma\u002FDEqMS on the observed values.\n\n### FC + significance double filter\n**Trigger:** `abs(logFC) > 1 & adj.P.Val \u003C 0.05` applied after the test.\n**Mechanism:** |logFC| is large for a true effect OR a large SE; filtering on both the FC and the p (both depend on SE) selects high-variance nulls (collider effect).\n**Symptom:** Realized FDR above 50% at nominal 5% (Ebrahimpoor & Goeman 2021).\n**Fix:** `treat()`+`topTreat()` or SAM s0, which sit inside the statistic before selection.\n\n## Quantitative Thresholds\n\n| Threshold | Source | Rationale |\n|-----------|--------|-----------|\n| n=3-5 replicates -> 2-4 residual df | -- | raw per-protein variance unusable; moderation is mandatory, not optional |\n| limma adds prior d0 (~4) df | Ritchie 2015 | a 4-replicate design tests on ~10 df vs 6; the borrowed df is the benefit |\n| downshift mean = mu - 1.8*sigma, SD = 0.3*sigma | Perseus default | 1.8 places imputed mass ~3.6th percentile; 0.3 gives only 30% of real spread -> manufactured false positives |\n| `trend=TRUE` effectively mandatory for label-free | Ritchie 2015 | a single global prior mis-calibrates FDR across abundance |\n| min-FC floor log2(1.2) (1.2-fold) via treat() | -- | example floor; common alternatives 1.5-fold (~0.58) or 2-fold (1.0); set by biology, tested against the moderated null |\n| BH adjusted p \u003C 0.05 | Benjamini-Hochberg | controls FDR over the WHOLE rejection set, not subsets carved out afterward |\n| DEqMS multi-batch TMT: minimum count across batches | Zhu 2020 | the bottleneck batch sets the realized precision |\n| realized FDR > 50% from FC+significance double filter | Ebrahimpoor & Goeman 2021 | top-100 at n=12 exceeded 50% FDR at nominal 5% |\n\n## Common Errors\n\n| Error \u002F symptom | Cause | Solution |\n|-----------------|-------|----------|\n| `results$FDR` is NULL | limma `topTable`\u002F`topTreat` have no `$FDR` column | use `adj.P.Val` (BH-adjusted p) |\n| `topTreat` row has no `B` | `topTreat` omits `B` (a `topTable` column) | read `logFC, AveExpr, t, P.Value, adj.P.Val` |\n| FDR mis-calibrated across abundance | `eBayes` with `trend=FALSE` on intensity data | `eBayes(fit, trend = TRUE, robust = TRUE)` |\n| min-FC test inflates FDR | `topTable(lfc=...)` or post-hoc volcano double filter | `treat(fit, lfc=log2(1.2))` then `topTreat()` |\n| anticonservative p after batch correction | `removeBatchEffect` output fed to `lmFit` | put batch in the design: `~ batch + condition` |\n| DEqMS columns missing | forgot `fit$count` or read limma columns | set `fit$count`, run `spectraCounteBayes`, read `sca.adj.pval` from `outputResult` |\n| Student's t instead of Welch | `scipy.stats.ttest_ind` defaults `equal_var=True` | pass `equal_var=False` |\n| p-values look like Holm-Sidak | `statsmodels` `multipletests` defaults to `'hs'` | pass `method='fdr_bh'` |\n| volcano \"anchor\u002Fwing\" streaks | downshift\u002Fimputation feeding the test | model dropout (proDA\u002Fmsqrob2\u002FMSstats-AFT); report on\u002Foff proteins as undetected |\n\n## References\n\n- Ritchie ME, Phipson B, Wu D, Hu Y, Law CW, Shi W, Smyth GK. 2015. limma powers differential expression analyses for RNA-sequencing and microarray studies. *Nucleic Acids Res* 43(7):e47.\n- Phipson B, Lee S, Majewski IJ, Alexander WS, Smyth GK. 2016. Robust hyperparameter estimation protects against hypervariable genes and improves power to detect differential expression. *Ann Appl Stat* 10(2):946-963.\n- Zhu Y, Orre LM, Zhou Tran Y, et al. 2020. DEqMS: a method for accurate variance estimation in differential protein expression analysis. *Mol Cell Proteomics* 19(6):1047-1057.\n- Ahlmann-Eltze C, Anders S. 2019. proDA: probabilistic dropout analysis for identifying differentially abundant proteins in label-free mass spectrometry. *bioRxiv* 661496 (preprint; cite `citation(\"proDA\")`, never a journal).\n- Choi M, Chang CY, Clough T, Broudy D, Killeen T, MacLean B, Vitek O. 2014. MSstats: an R package for statistical analysis of quantitative mass spectrometry-based proteomic experiments. *Bioinformatics* 30(17):2524-2526.\n- Goeminne LJE, Gevaert K, Clement L. 2016. Peptide-level robust ridge regression improves estimation, sensitivity, and specificity in data-dependent quantitative label-free shotgun proteomics. *Mol Cell Proteomics* 15(2):657-668.\n- Sticker A, Goeminne L, Martens L, Clement L. 2020. Robust summarization and inference in proteome-wide label-free quantification. *Mol Cell Proteomics* 19(7):1209-1219.\n- Lazar C, Gatto L, Ferro M, Bruley C, Burger T. 2016. Accounting for the multiple natures of missing values in label-free quantitative proteomics data sets to compare imputation strategies. *J Proteome Res* 15(4):1116-1125.\n- Stephens M. 2017. False discovery rates: a new deal. *Biostatistics* 18(2):275-294.\n- Ebrahimpoor M, Goeman JJ. 2021. Inflated false discovery rate due to volcano plots: problem and solutions. *Brief Bioinform* 22(5):bbab053.\n\n## Related Skills\n\n- quantification - peptide-to-protein summarization, normalization, and IRS that produce the matrix this skill tests\n- proteomics-qc - quality control and batch-effect assessment before testing\n- protein-inference - razor\u002Fshared-peptide ambiguity that drives which protein group gets the quantity\n- ptm-analysis - site-level differential testing for modified peptides\n- differential-expression\u002Fde-results - analogous empirical-Bayes interpretation for RNA-seq DE\n- data-visualization\u002Fvolcano-and-ma-plots - volcano and MA plots of the result table\n- pathway-analysis\u002Fgo-enrichment - functional enrichment of the significant protein hit list\n- machine-learning\u002Fbiomarker-discovery - building predictive panels from differential proteins\n- workflows\u002Fproteomics-pipeline - end-to-end pipeline that calls this skill as the testing stage\n","## Version Compatibility\n\nReference examples tested with: limma 3.58+, DEqMS 1.20+, proDA 1.20+, ashr 2.2+, pandas 2.2+, scipy 1.12+, statsmodels 0.14+\n\nBefore using code patterns, verify installed versions match. If versions differ:\n- Python: `pip show \u003Cpackage>` then `help(module.function)` to check signatures\n- R: `packageVersion('\u003Cpkg>')` then `?function_name` to verify parameters\n\nIf code throws ImportError, AttributeError, or TypeError, introspect the installed\npackage and adapt the example to match the actual API rather than retrying.\n\n# Differential Protein Abundance -- Moderated Testing on a Log-Intensity Matrix with Honest Missingness\n\n**\"Find differentially abundant proteins between my conditions\"** -> Moderated statistical testing on a normalized log-intensity matrix, carrying missingness in the likelihood instead of filling it in -- because the missing values are low BECAUSE the protein is low, and imputing them manufactures false positives.\n- R: `limma::eBayes(fit, trend=TRUE, robust=TRUE)` for empirical-Bayes moderated t-tests (the protein-level workhorse)\n- R: `DEqMS::spectraCounteBayes()` when PSM\u002Fpeptide counts are available (preferred over limma-trend when quant depth varies)\n- R: `proDA::test_diff()` \u002F `msqrob2` \u002F `MSstats` when missing values are extensive (model the dropout, no imputation)\n- Python: `scipy.stats.ttest_ind(equal_var=False)` + `statsmodels` BH (large n only; no moderation)\n\nScope: this skill owns the statistical TEST -- design\u002Fcontrast construction, variance moderation, missingness handling, multiple-testing correction, minimum-fold-change testing, and fold-change shrinkage. Peptide-to-protein summarization and normalization mechanics -> proteomics\u002Fquantification. Volcano\u002FMA plots -> data-visualization\u002Fvolcano-and-ma-plots. Enrichment of the hit list -> pathway-analysis\u002Fgo-enrichment. OUT OF SCOPE: how MaxLFQ\u002FTMP\u002FIRS produce the matrix (quantification); how to draw a volcano (data-visualization).\n\n## The Single Most Important Modern Insight -- Model the Missingness, Moderate the Variance, Test at the Feature Level\n\n1. **Missing values in label-free MS are left-censored MNAR -- missing BECAUSE the intensity is low -- and imputing them (especially Perseus\u002FMaxQuant downshift) manufactures SYSTEMATIC false positives.** Downshift draws each missing value from a narrow Gaussian (mean = mu - 1.8*sigma, SD = 0.3*sigma). For an on\u002Foff protein (seen in all of group A, missing in all of B) the t-statistic numerator is inflated by construction (mean_B fixed ~1.8 sigma below observed, deterministic) and the denominator is artificially deflated (all imputed B values from one 0.3-sigma Gaussian -> collapsed within-group SD) -> enormous t -> tiny p. Because every on\u002Foff protein is treated identically, the false positives are systematic: the volcano-plot \"anchor\u002Fwing\" artifact (rigid near-vertical streaks of pinned points far out on both x-axis sides). The honest statement is \"undetected in group B\", not \"20x lower, p=1e-6\". The correct approach is to MODEL the dropout in the likelihood -- proDA (probabilistic dropout), msqrob2, MSstats-AFT -- NOT fill it (Lazar 2016; Ahlmann-Eltze & Anders 2019).\n2. **At the n=3-5 replicates proteomics actually uses, per-protein variance has only 2-4 residual df and is unusable raw -- variance moderation is the load-bearing element, not optional.** limma borrows a prior d0 across all proteins so a 4-replicate design tests on ~10 df instead of 6; `trend=TRUE` makes the prior a function of mean intensity (effectively mandatory for label-free, where a single global prior mis-calibrates FDR across the abundance range); `robust=TRUE` Winsorizes outlier variances (Phipson 2016). DEqMS makes the prior a function of PSM\u002Fpeptide count and generally outperforms limma-trend when quantification depth varies across proteins (Zhu 2020).\n3. **Feature\u002Fpeptide-level modeling beats summarize-then-test.** Summarizing first (one number per protein per run) discards the within-protein between-peptide variance and the correct degrees of freedom: 12 consistent peptides deserve a smaller SE than 12 disagreeing ones, but after summarization both look equally certain, and a protein with 30 observations looks as informative as one with 3. msqrob2\u002FMSstats keep every peptide as a degree of freedom; this is why the same data gives different answers (Goeminne 2016; Sticker 2020; Choi 2014).\n\n## Tool Taxonomy\n\n| Tool \u002F method | Citation | Mechanism \u002F role | When |\n|---------------|----------|------------------|------|\n| limma | Ritchie 2015; Phipson 2016 | EB moderated t; posterior variance blends a prior d0 with the per-protein estimate; `trend` ties the prior to mean intensity, `robust` Winsorizes outliers | protein-level summaries, small n, the default workhorse |\n| DEqMS | Zhu 2020 | prior variance = loess of log-variance vs log2(count); precision follows quantification DEPTH not just intensity | TMT (count=PSM) and label-free DDA (count=peptide); quant depth varies; preferred over limma-trend |\n| proDA | Ahlmann-Eltze & Anders 2019 (preprint) | probabilistic dropout: missing = left-censored, integrated under a per-sample sigmoid dropout curve; EB on location and variance; no imputation | label-free DDA with many MNAR missing values, small n, proteins absent in one group |\n| msqrob2 | Sticker 2020; Goeminne 2016 | peptide-level robust ridge: Huber M-estimation downweights outlier peptides, ridge shrinks effects from few observations, EB variance moderation | label-free DDA, outlier-peptide \u002F unbalanced-coverage risk; best FDR in hard spike-in regimes |\n| MSstats | Choi 2014 | feature-level linear mixed model (group fixed + feature + run\u002Fsubject random); AFT censored handling for missing | SRM\u002FPRM\u002FDIA, technical replicates, nested\u002Frepeated-measures, labeled designs |\n| Welch t-test + BH | -- | per-protein two-sample t with `equal_var=False` + Benjamini-Hochberg | large n (>10\u002Fgroup), Python-only; no moderation, unusable at n=3-5 |\n| ashr | Stephens 2017 | mixture prior with a point mass at zero; posterior means shrink uncertain effects toward zero | recovering \"which proteins truly changed and by how much\" (not for GSEA ranking) |\n| volcano \u002F MA plot | -- | (route OUT) | visualization -> data-visualization\u002Fvolcano-and-ma-plots |\n| enrichment of hits | -- | (route OUT) | functional interpretation -> pathway-analysis\u002Fgo-enrichment |\n\n## Decision Tree by Scenario\n\n| Scenario | Recommended | Why |\n|----------|-------------|-----|\n| Small n (3-5\u002Fgroup), protein-level summary matrix | limma `eBayes(trend=TRUE, robust=TRUE)` | EB borrows variance across proteins; the trend calibrates FDR across abundance |\n| PSM\u002Fpeptide counts available (TMT or label-free DDA) | DEqMS `spectraCounteBayes` | prior keyed on quant depth removes single-PSM false positives limma admits |\n| Label-free with many MNAR missing values, on\u002Foff proteins | proDA `test_diff` | models the censored dropout; never imputes; correct verdict for \"undetected in one group\" |\n| Outlier-peptide risk, unbalanced peptide coverage | msqrob2 (peptide-level robust ridge) | keeps feature df; Huber downweights bad peptides; best FDR in spike-in benchmarks |\n| Technical replicates, nested\u002Frepeated-measures, labeled (SRM\u002FPRM\u002FDIA) | MSstats (feature-level mixed model) | random effects capture run\u002Fsubject structure summarize-then-test discards |\n| Batch present | batch as a covariate in the design (`~ batch + condition`) | `removeBatchEffect` is visualization-only; never feed its output to `lmFit` |\n| Minimum biologically meaningful fold change | `treat()` + `topTreat()` (or SAM s0) | tests |log2FC|>c against the moderated null; a post-hoc FC+significance double filter inflates FDR |\n| Large n (>10\u002Fgroup), Python-only | Welch t-test + BH | variance estimates reliable; no moderation needed at large n |\n\nDefault when uncertain: protein-level summary matrix at n=3-5 -> limma `eBayes(trend=TRUE, robust=TRUE)`; if PSM\u002Fpeptide counts exist, escalate to DEqMS; if missingness is extensive and intensity-dependent, escalate to proDA.\n\n## limma Workflow (R)\n\n**Goal:** Identify differentially abundant proteins using moderated statistics that borrow information across all proteins.\n\n**Approach:** Build the design (batch as a covariate when present), fit the linear model and contrast, apply EB moderation with the intensity trend and robust fitting, then extract BH-corrected results. Never feed `removeBatchEffect` output to `lmFit`.\n\n```r\nlibrary(limma)\n\ndesign \u003C- model.matrix(~0 + condition + batch, data = sample_info)  # batch in the model, not removed first\ncolnames(design)[1:2] \u003C- levels(factor(sample_info$condition))\n\nfit \u003C- lmFit(protein_matrix, design)\ncontrast_matrix \u003C- makeContrasts(Treatment - Control, levels = design)\nfit2 \u003C- contrasts.fit(fit, contrast_matrix)\nfit2 \u003C- eBayes(fit2, trend = TRUE, robust = TRUE)  # trend mandatory for label-free; robust Winsorizes outliers\n\nresults \u003C- topTable(fit2, coef = 1, number = Inf, adjust.method = 'BH')\n# columns: logFC, AveExpr, t, P.Value, adj.P.Val, B  (adj.P.Val is the BH p; there is no $FDR)\n```\n\n### Minimum-fold-change testing\n\n**Goal:** Call proteins whose effect exceeds a biologically meaningful threshold, not merely differ from zero.\n\n**Approach:** Use `treat()` against the moderated null and read `topTreat()`. NEVER `topTable(lfc=...)` nor a post-hoc volcano double filter (`abs(logFC) > 1 & adj.P.Val \u003C 0.05`); conditioning on both the FC and the p-value selects for high-variance nulls (a collider effect) and inflates realized FDR above 50% (Ebrahimpoor & Goeman 2021).\n\n```r\nLFC_THRESHOLD \u003C- log2(1.2)  # 1.2-fold floor; treat tests against this null, no double-filter FDR inflation\nfit2 \u003C- treat(fit2, lfc = LFC_THRESHOLD)\nresults \u003C- topTreat(fit2, coef = 1, number = Inf)  # topTreat omits the B column\n```\n\n## DEqMS Workflow (R)\n\n**Goal:** Improve on limma by tying each protein's prior variance to its quantification depth -- proteins measured by more PSMs\u002Fpeptides are more precise.\n\n**Approach:** Run limma through `eBayes`, attach the count vector, then apply DEqMS's count-aware EB. Use PSM count for TMT (quant at MS2) and peptide count for label-free DDA; for multi-batch TMT use the MINIMUM count across batches (the bottleneck batch sets precision).\n\n```r\nlibrary(DEqMS)\n\n# fit2 is the limma fit through eBayes (above)\nfit2$count \u003C- psm_count_per_protein[rownames(fit2$coefficients)]  # PSM for TMT, peptide for LFQ; min across batches\nfit3 \u003C- spectraCounteBayes(fit2)\n\nresults \u003C- outputResult(fit3, coef_col = 1)\n# adds sca.t, sca.P.Value, sca.adj.pval (the count-adjusted statistics; use these, not the limma columns)\n```\n\n## proDA Workflow (R)\n\n**Goal:** Test proteins with extensive MNAR missingness, including on\u002Foff proteins, without imputing a single value.\n\n**Approach:** Fit the probabilistic-dropout model directly on the log-intensity matrix; missing values contribute as left-censored observations under a per-sample dropout curve. Then test the contrast against zero.\n\n```r\nlibrary(proDA)\n\nfit \u003C- proDA(protein_matrix, design = ~condition, col_data = sample_info,\n             reference_level = 'Control')\nresult_names(fit)  # list testable coefficients first\nresults \u003C- test_diff(fit, conditionTreatment - conditionControl)\n# columns: name, pval, adj_pval, diff (log2FC), t_statistic, se\n```\n\n## Python Workflow\n\n**Goal:** Run the full pipeline in Python when no R is available and n is large enough that moderation is unnecessary.\n\n**Approach:** Log2-transform, median-normalize, run per-protein Welch t-tests, apply Benjamini-Hochberg. This has NO variance moderation and should not be used at n=3-5 -- escalate to limma\u002FDEqMS for small n.\n\n```python\nimport numpy as np\nimport pandas as pd\nfrom scipy import stats\nfrom statsmodels.stats.multitest import multipletests\n\ndef preprocess(intensities):\n    log2_data = np.log2(intensities.replace(0, np.nan))  # zeros -> NaN to avoid -inf\n    sample_medians = log2_data.median(axis=0)\n    return log2_data - sample_medians + sample_medians.median()\n\ndef differential_abundance(normalized, case_cols, ctrl_cols):\n    rows = []\n    for protein in normalized.index:\n        case, ctrl = normalized.loc[protein, case_cols].dropna(), normalized.loc[protein, ctrl_cols].dropna()\n        if len(case) >= 2 and len(ctrl) >= 2:\n            _, pval = stats.ttest_ind(case, ctrl, equal_var=False)  # Welch; scipy defaults to Student's True\n            rows.append({'protein': protein, 'log2fc': case.mean() - ctrl.mean(), 'pvalue': pval})\n    df = pd.DataFrame(rows)\n    df['padj'] = multipletests(df['pvalue'], method='fdr_bh')[1]  # default is Holm-Sidak; pass fdr_bh explicitly\n    return df\n```\n\n## Fold-Change Reporting\n\n**Goal:** Hand the right effect estimate to the right consumer.\n\n**Approach:** Report the RAW fold change (the best unbiased point estimate) for GSEA\u002Fpathway ranking and meta-analysis -- those need the full continuous distribution or FC+SE pairs. Apply shrinkage (ashr) only when recovering \"which proteins truly changed and by how much\"; it fits a mixture prior with a point mass at zero and shrinks uncertain effects smoothly toward zero. This is preferred over hard-thresholding (zeroing FCs at padj 0.05), which creates an arbitrary step function. No mature Python ashr equivalent exists.\n\n```r\nlibrary(ashr)\n\nse \u003C- sqrt(fit2$s2.post) * fit2$stdev.unscaled[, 1]\nshrunk \u003C- ash(fit2$coefficients[, 1], se, mixcompdist = 'normal')\nshrunken_fc \u003C- shrunk$result$PosteriorMean  # report alongside raw logFC, not as a replacement for GSEA\nlfsr \u003C- shrunk$result$lfsr\n```\n\n## Per-Method Failure Modes\n\n### Downshift \u002F any imputation feeding a variance-based test\n**Trigger:** Perseus\u002FMaxQuant downshift (or MinDet\u002FMinProb\u002FQRILC) fills NAs, then limma\u002Ft-test runs on the filled matrix.\n**Mechanism:** Imputed values come from one narrow Gaussian -> fabricated low within-group variance + deterministic mean offset -> inflated t.\n**Symptom:** Volcano \"anchor\u002Fwing\" -- rigid near-vertical streaks of pinned on\u002Foff proteins at high significance; realized FDR far above nominal.\n**Fix:** Model the missingness instead (proDA \u002F msqrob2 \u002F MSstats-AFT); report on\u002Foff proteins as \"undetected in group X\".\n\n### kNN imputation on left-censored data\n**Trigger:** kNN\u002Fmean imputation applied to label-free data with MNAR dropout.\n**Mechanism:** Mean-reverting -- pulls a truly-low (missing because low) value UP toward the mean.\n**Symptom:** Real down-regulation is compressed; down hits weakened or lost.\n**Fix:** Only valid under MCAR\u002FMAR; for MNAR model the dropout. Under uncertainty Lazar 2016 shows the milder MCAR error beats MNAR-imputers slamming random highs to the floor.\n\n### removeBatchEffect before testing\n**Trigger:** `removeBatchEffect()` output fed to `lmFit`.\n**Mechanism:** Subtracts the fitted batch component with no uncertainty propagation -> understated residual variance, inflated EB df; if batch is confounded with biology it deletes real signal.\n**Symptom:** Anticonservative p-values; lost true effects when cases\u002Fcontrols split by batch.\n**Fix:** Include batch as a covariate in the SAME model (`~ batch + condition`); use `removeBatchEffect` only for PCA\u002Fvisualization.\n\n### eBayes(trend=FALSE) on intensity data\n**Trigger:** Plain `eBayes` (trend off) on a log-intensity matrix.\n**Mechanism:** A single global prior over-shrinks high-abundance and under-shrinks low-abundance proteins.\n**Symptom:** Mis-calibrated FDR across the abundance range.\n**Fix:** `eBayes(trend = TRUE, robust = TRUE)`; escalate to DEqMS when quant depth varies.\n\n### Wrong DEqMS count column\n**Trigger:** Razor+unique counts vs MS2-level PSMs, or total-across-batches vs minimum-across-batches.\n**Mechanism:** The variance-vs-count prior is fit on the wrong precision proxy.\n**Symptom:** Mis-ranked proteins; the count moderation helps the wrong ones.\n**Fix:** PSM count for TMT, peptide count for label-free; minimum count across batches for multi-batch TMT.\n\n### proDA on MCAR missingness\n**Trigger:** proDA applied where dropout is random (e.g. a TMT channel lost at random), not detection-limited.\n**Mechanism:** The left-censored dropout model is mis-specified.\n**Symptom:** Biased estimates; the model fits a dropout curve that does not exist.\n**Fix:** proDA needs intensity-dependent missingness; for MCAR use limma\u002FDEqMS on the observed values.\n\n### FC + significance double filter\n**Trigger:** `abs(logFC) > 1 & adj.P.Val \u003C 0.05` applied after the test.\n**Mechanism:** |logFC| is large for a true effect OR a large SE; filtering on both the FC and the p (both depend on SE) selects high-variance nulls (collider effect).\n**Symptom:** Realized FDR above 50% at nominal 5% (Ebrahimpoor & Goeman 2021).\n**Fix:** `treat()`+`topTreat()` or SAM s0, which sit inside the statistic before selection.\n\n## Quantitative Thresholds\n\n| Threshold | Source | Rationale |\n|-----------|--------|-----------|\n| n=3-5 replicates -> 2-4 residual df | -- | raw per-protein variance unusable; moderation is mandatory, not optional |\n| limma adds prior d0 (~4) df | Ritchie 2015 | a 4-replicate design tests on ~10 df vs 6; the borrowed df is the benefit |\n| downshift mean = mu - 1.8*sigma, SD = 0.3*sigma | Perseus default | 1.8 places imputed mass ~3.6th percentile; 0.3 gives only 30% of real spread -> manufactured false positives |\n| `trend=TRUE` effectively mandatory for label-free | Ritchie 2015 | a single global prior mis-calibrates FDR across abundance |\n| min-FC floor log2(1.2) (1.2-fold) via treat() | -- | example floor; common alternatives 1.5-fold (~0.58) or 2-fold (1.0); set by biology, tested against the moderated null |\n| BH adjusted p \u003C 0.05 | Benjamini-Hochberg | controls FDR over the WHOLE rejection set, not subsets carved out afterward |\n| DEqMS multi-batch TMT: minimum count across batches | Zhu 2020 | the bottleneck batch sets the realized precision |\n| realized FDR > 50% from FC+significance double filter | Ebrahimpoor & Goeman 2021 | top-100 at n=12 exceeded 50% FDR at nominal 5% |\n\n## Common Errors\n\n| Error \u002F symptom | Cause | Solution |\n|-----------------|-------|----------|\n| `results$FDR` is NULL | limma `topTable`\u002F`topTreat` have no `$FDR` column | use `adj.P.Val` (BH-adjusted p) |\n| `topTreat` row has no `B` | `topTreat` omits `B` (a `topTable` column) | read `logFC, AveExpr, t, P.Value, adj.P.Val` |\n| FDR mis-calibrated across abundance | `eBayes` with `trend=FALSE` on intensity data | `eBayes(fit, trend = TRUE, robust = TRUE)` |\n| min-FC test inflates FDR | `topTable(lfc=...)` or post-hoc volcano double filter | `treat(fit, lfc=log2(1.2))` then `topTreat()` |\n| anticonservative p after batch correction | `removeBatchEffect` output fed to `lmFit` | put batch in the design: `~ batch + condition` |\n| DEqMS columns missing | forgot `fit$count` or read limma columns | set `fit$count`, run `spectraCounteBayes`, read `sca.adj.pval` from `outputResult` |\n| Student's t instead of Welch | `scipy.stats.ttest_ind` defaults `equal_var=True` | pass `equal_var=False` |\n| p-values look like Holm-Sidak | `statsmodels` `multipletests` defaults to `'hs'` | pass `method='fdr_bh'` |\n| volcano \"anchor\u002Fwing\" streaks | downshift\u002Fimputation feeding the test | model dropout (proDA\u002Fmsqrob2\u002FMSstats-AFT); report on\u002Foff proteins as undetected |\n\n## References\n\n- Ritchie ME, Phipson B, Wu D, Hu Y, Law CW, Shi W, Smyth GK. 2015. limma powers differential expression analyses for RNA-sequencing and microarray studies. *Nucleic Acids Res* 43(7):e47.\n- Phipson B, Lee S, Majewski IJ, Alexander WS, Smyth GK. 2016. Robust hyperparameter estimation protects against hypervariable genes and improves power to detect differential expression. *Ann Appl Stat* 10(2):946-963.\n- Zhu Y, Orre LM, Zhou Tran Y, et al. 2020. DEqMS: a method for accurate variance estimation in differential protein expression analysis. *Mol Cell Proteomics* 19(6):1047-1057.\n- Ahlmann-Eltze C, Anders S. 2019. proDA: probabilistic dropout analysis for identifying differentially abundant proteins in label-free mass spectrometry. *bioRxiv* 661496 (preprint; cite `citation(\"proDA\")`, never a journal).\n- Choi M, Chang CY, Clough T, Broudy D, Killeen T, MacLean B, Vitek O. 2014. MSstats: an R package for statistical analysis of quantitative mass spectrometry-based proteomic experiments. *Bioinformatics* 30(17):2524-2526.\n- Goeminne LJE, Gevaert K, Clement L. 2016. Peptide-level robust ridge regression improves estimation, sensitivity, and specificity in data-dependent quantitative label-free shotgun proteomics. *Mol Cell Proteomics* 15(2):657-668.\n- Sticker A, Goeminne L, Martens L, Clement L. 2020. Robust summarization and inference in proteome-wide label-free quantification. *Mol Cell Proteomics* 19(7):1209-1219.\n- Lazar C, Gatto L, Ferro M, Bruley C, Burger T. 2016. Accounting for the multiple natures of missing values in label-free quantitative proteomics data sets to compare imputation strategies. *J Proteome Res* 15(4):1116-1125.\n- Stephens M. 2017. False discovery rates: a new deal. *Biostatistics* 18(2):275-294.\n- Ebrahimpoor M, Goeman JJ. 2021. Inflated false discovery rate due to volcano plots: problem and solutions. *Brief Bioinform* 22(5):bbab053.\n\n## Related Skills\n\n- quantification - peptide-to-protein summarization, normalization, and IRS that produce the matrix this skill tests\n- proteomics-qc - quality control and batch-effect assessment before testing\n- protein-inference - razor\u002Fshared-peptide ambiguity that drives which protein group gets the quantity\n- ptm-analysis - site-level differential testing for modified peptides\n- differential-expression\u002Fde-results - analogous empirical-Bayes interpretation for RNA-seq DE\n- data-visualization\u002Fvolcano-and-ma-plots - volcano and MA plots of the result table\n- pathway-analysis\u002Fgo-enrichment - functional enrichment of the significant protein hit list\n- machine-learning\u002Fbiomarker-discovery - building predictive panels from differential proteins\n- workflows\u002Fproteomics-pipeline - end-to-end pipeline that calls this skill as the testing stage\n",{"name":5,"source":24,"license":15,"tool_type":25,"description":7,"imported_at":26,"source_path":27,"primary_tool":28,"source_repository":29},"https:\u002F\u002Fgithub.com\u002FGPTomics\u002FbioSkills","mixed","2026-09-20","proteomics\u002Fdifferential-abundance\u002FSKILL.md","limma","GPTomics\u002FbioSkills","main","2d1750717747097b602acf30bd09a7cbd4b4c6ea","awesome_skills\u002Fbiology\u002Fbio-proteomics-differential-abundance","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous","2026-11-09 11:45:36",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill bio-proteomics-differential-abundance",{"tool":42,"command":43},"bunx","bunx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill bio-proteomics-differential-abundance",{"tool":45,"command":46},"pnpm","pnpm dlx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill bio-proteomics-differential-abundance","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fbiology\u002Fbio-proteomics-differential-abundance\u002FSKILL.md",true,[50,56,62],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"examples\u002Fdifferential_abundance.py","SCRIPT","脚本",2580,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fbiology\u002Fbio-proteomics-differential-abundance\u002Fexamples\u002Fdifferential_abundance.py",{"path":57,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":60,"sourceHtmlUrl":61},"examples\u002Flimma_analysis.R","OTHER","其他",2785,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fbiology\u002Fbio-proteomics-differential-abundance\u002Fexamples\u002Flimma_analysis.R",{"path":63,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":66,"sourceHtmlUrl":67},"usage-guide.md","REFERENCE","参考文档",6994,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fbiology\u002Fbio-proteomics-differential-abundance\u002Fusage-guide.md",[69,77,84,91,98,105],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":76},"01M7FFFZPC2025JQQHPHDX154J","dei-assessment","Assess diversity, equity, and inclusion with metrics. TRIGGERS - Use when user needs help with dei-assessment related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-assessment\u002FSKILL.md",[],[],"2026-11-16 10:05:34",{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":76},"01M7FFFWN8H4WA7A6Y398QKB6J","dei-action-plan","Create DEI action plans with goals and initiatives. TRIGGERS - Use when user needs help with dei-action-plan related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-action-plan\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":76},"01M7FFFSHTM0QZRVZ2NRJTJ0PY","culture-fit-assessment","Design culture add assessment processes. TRIGGERS - Use when user needs help with culture-fit-assessment related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fculture-fit-assessment\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":76},"01M7FFFMA12RKEQA38KHJSXXPS","cowork-to-code-bridge","Use an already-installed, independently verified cowork-to-code bridge to run narrowly approved actions on the user's own macOS, Linux, or WSL2 machine through a local file queue.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcowork-to-code-bridge\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":76},"01M7FFFH1F6M8YRGW5V487GH1K","counter-offer-response","Draft counter-offer responses for retention. TRIGGERS - Use when user needs help with counter-offer-response related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcounter-offer-response\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":76},"01M7FFFDGEHV8Y7J9N40HZXW52","continuous-feedback-system","Design continuous feedback systems. TRIGGERS - Use when user needs help with continuous-feedback-system related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcontinuous-feedback-system\u002FSKILL.md",[],[]]