Most clinical tumor samples are profiled in bulk: a piece of tissue is ground up and its RNA is sequenced as a single mixture of tumor cells, fibroblasts, immune cells and blood vessels. To ask whether a patient's tumor has switched to "glycolytic" metabolism (burning glucose to lactate even when oxygen is present, a hallmark of many cancers), analysts usually compute a single-sample pathway score. The genes in that one sample are ranked by expression, and the score reflects how high the glycolysis genes sit in the ranking. The trouble is that the ranking describes the mixture, not the tumor cell. A high glycolysis score can mean that the tumor rewired its metabolism, or that the biopsy happened to contain many glycolytic immune cells and few tumor cells. This proposal asks how much of a bulk metabolic pathway score is really about tissue composition, and it builds a per-sample estimator that reports the pathway activity of the tumor cells alone, with honest uncertainty.
The core move is to stop treating "unmix the tissue" and "score the pathway" as two separate steps. We write the bulk RNA counts of one sample as a sum of cell-type reference profiles. The tumor profile is allowed to deviate from its reference only along a small number of pathway directions, one scalar per pathway. Those scalars are the pathway scores, fit directly by a count likelihood on that one sample. We expect this to beat both plain bulk scoring and the obvious "deconvolve, then rank" pipeline, mainly at low tumor purity, where per-gene tumor estimates are too noisy to rank. Paired proteomics serves as an independent check on whether the corrected RNA scores track a molecular layer closer to metabolic function.
Core Claim
Single-sample metabolic pathway scores computed on bulk RNA contain a large share of composition leakage, meaning variation explained by cell-type fractions rather than by tumor-intrinsic activity. A composition-aware estimator that pools evidence across a pathway's genes inside a mixture likelihood recovers tumor-intrinsic metabolic shifts more accurately than either bulk scoring or rank scoring applied to deconvolved profiles. This holds especially in the 5–40% purity range typical of stroma-rich cancers such as pancreatic adenocarcinoma. The estimator needs only the one sample plus a fixed single-cell reference, with no cohort and no matched controls. That keeps it usable in the N-of-1 setting that motivated rank-based scoring in the first place.
The claim is distinct from the closest prior work. Clinically impactful metabolic subtypes of PDAC used DeMixT to isolate the tumor compartment and then clustered 26 individual metabolic genes. That work motivates us: it shows the stromal signal must be removed to see prognostic metabolic subtypes (the M2 subtype had worse survival in CPTAC, p=0.008, and 48% versus 20.4% early progression in COMPASS). However, it never produced a pathway-level score, and it never asked how much of a score leaks from composition. The osteosarcoma glutamine study (Integrative Single-Cell and Machine Learning Analysis…) scored glutamine metabolism with five single-sample methods, including ssGSEA and AUCell. It applied them per cell in scRNA-seq but scored bulk cohorts as unmixed aggregates, which is exactly the confound we quantify.
Research Program
The model works one sample at a time. For a sample with RNA counts $y_g$ for gene $g$, let $\mu_{kg}$ be the reference mean expression of cell type $k$ from a single-cell atlas, $f_k$ the sample's cell-type fractions, $s$ a library-size factor, $w_{pg}$ a weight linking gene $g$ to metabolic pathway $p$, and $a_p$ the tumor-intrinsic activity of pathway $p$. We fit
$$y_g \sim \mathrm{NegBin}\Big(s\big[\textstyle\sum_{k \neq T} f_k \mu_{kg} + f_T\, \mu_{Tg}\, e^{\sum_p a_p w_{pg}}\big],\ \phi_g\Big), \qquad a_p \sim \mathcal{N}(0,\tau^2),$$
where $T$ indexes the tumor cell type and $\phi_g$ is a gene-level dispersion learned from the reference. Each $a_p$ is a log-fold shift of all of a pathway's tumor genes relative to the atlas tumor reference. It is therefore one number per pathway per sample, estimated from that sample alone. Its posterior width is reported, and it widens as tumor purity falls. Fractions are fit jointly with the activities, which matters for the "purity trap": the breast deconvolution benchmark showed that at high purity, normal epithelium is misassigned to cancer. The pathway weights $w_{pg}$ start as flat membership. In an ablation, they are upweighted for rate-limiting enzymes identified from the reaction graph, following the topology argument of XPathway, which scores KEGG metabolic graphs rather than flat gene lists but assumes a homogeneous sample. The ablation would upweight the enzymes the file describes as metabolic valves, such as hexokinase 2 and the pyruvate dehydrogenase kinases.
The count likelihood follows the observation in Count Bridges that treating integer counts as continuous hurts deconvolution. We use a much simpler parametric model than that paper's generative bridge process, because we want one interpretable scalar per pathway, not sampled single-cell profiles.
The second strand of the program is a measurement study of composition leakage. Using single-cell atlases, we build pseudo-bulk mixtures with known truth. For each mixture we record the tumor-intrinsic pathway activity, either injected or measured on the tumor cells alone. We then decompose any score's variance into a part explained by truth and a part explained by fractions after conditioning on truth. This leakage measure is the paper's main diagnostic, and it applies to any existing score.
The multi-omics strand is deliberately a constraint rather than a centerpiece. RNA-to-function decoupling is real: the Huntington's multi-omics study found compounds that shifted glycolysis versus respiration with no transcriptomic signature at all. We therefore do not claim that corrected RNA scores measure flux. We test whether they agree better than raw scores with paired protein abundance of the same pathway's enzymes. Paired proteomics is a layer further downstream that is also a mixture but has different composition sensitivity. As an extension, we fit the protein layer with the same mixture model, using a Gaussian likelihood on log intensity and protein reference profiles where available. We would then ask whether the RNA-derived and protein-derived $a_p$ agree within a sample.
Baselines
The naive reference point is ssGSEA, GSVA and singscore run directly on bulk RNA. This is the standard practice used for bulk cohorts in the osteosarcoma study and for spatial spots in PEaRL. It costs nothing, is single-sample, and is what the field actually does, so any proposal must first show that it fails. We run it on the identical mixtures and gene sets. Beating it means lower composition leakage and higher Spearman correlation with tumor-intrinsic truth at every purity bin.
The strongest competitor is deconvolve-then-score. BayesPrism, which the breast benchmark ranks among the best and most purity-stable methods, produces a sample-specific tumor expression profile, and ssGSEA or singscore is then computed on that profile. A second variant uses DeMixT-style tumor-compartment expression, as in the PDAC study. This is exactly the "obvious" pipeline, and it shares our reference and our single-sample setting, so it isolates whether the joint pathway-constrained likelihood adds anything. Both get the same single-cell reference, the same cell-type labels and the same pathway definitions. Their hyperparameters are left at published defaults, and ours receive no extra tuning on test atlases. The file reports no numeric accuracy for BayesPrism, only rankings, and no reported result was found on Lacuna for BayesPrism or any deconvolution method on tumor-specific metabolic pathway recovery. The comparison is therefore new rather than against a quoted figure. Beating it means a statistically significant gain in Spearman correlation and in detection of injected shifts, paired over mixtures. We expect the gain mostly below 40% purity, with parity at high purity counted as a partial, honest result.
The third baseline is cohort-level residualization: regress bulk scores on estimated fractions across a cohort and keep the residuals. It is strong for cohort analyses, but it is not single-sample. We report it as an upper reference for what composition correction can achieve when a cohort is available.
Ablations remove one ingredient at a time. One variant fixes fractions at BayesPrism estimates instead of fitting them jointly. Another replaces the count likelihood with a Gaussian on log counts. A third uses flat versus topology-weighted pathway weights. A fourth sets $\tau \to \infty$, removing the shrinkage that pools evidence across a pathway's genes. The pooling ablation is the one the core claim depends on.
Why not just…?
Why not just run ssGSEA on the bulk sample? Rank scores are invariant to per-sample scaling but not to mixing. Adding fibroblast or immune RNA reorders genes in proportion to those cells' fractions, so the score partly measures composition. The PDAC study's finding that prognostic metabolic subtypes appeared only after stromal removal (PDAC metabolic subtypes) is indirect evidence. Our leakage measurement makes this concrete. If leakage turns out small at realistic purities, that negative result is itself worth publishing, and the method becomes unnecessary.
Why not just deconvolve with BayesPrism and then rank the tumor profile? This is the real threat, and we treat it as the main comparison rather than arguing it away. Our hypothesis for why it falls short is specific. At low purity, a deconvolved tumor profile is pulled toward the reference atlas gene by gene, so its internal ranking largely reproduces the reference's ranking and under-reports patient-specific shifts. Ranking also discards the per-gene uncertainty that a pooled pathway estimate keeps. The injected-shift experiment tests this directly: if deconvolve-then-rank detects a 1.5-fold glycolysis shift as well as our estimator at 10–20% purity, we would report that the simple pipeline suffices. In that case, our contribution would reduce to the leakage diagnostic and the proteomic check.
Why not just regress out estimated fractions across the cohort? It works when a cohort exists and shares one platform. It cannot serve a single patient profiled at one institution, which is the setting that motivated rank-based scoring in MM2S. It also only removes the linear part of composition effects. We include it as an upper reference, not a competitor.
Why not just measure metabolites or proteins directly? Bulk metabolomics and proteomics are mixtures too, so they inherit the same masking problem. They are also rarely available for archival clinical cohorts. The decoupling evidence (Huntington's multi-omics) cuts against RNA-only claims, which is why we use protein data as the external check. We would also report the outcome if corrected RNA scores fail to track it.
Proposed Experiments
The first experiment uses controlled pseudo-bulk mixtures built from the Wu et al. breast atlas (100,064 cells, 26 patients) used in the deconvolution benchmark. We hold out patients for reference versus mixtures and sweep purity from 5% to 95%. For a random half of mixtures, tumor-cell counts for glycolysis, oxidative phosphorylation, glutaminolysis or hexosamine genes are scaled by a known factor between 1.25 and 2 before mixing, using binomial resampling so counts stay integer. The metrics are Spearman correlation between estimated and injected activity, AUROC for detecting the shift, composition leakage (partial R² of fractions given truth), and calibration of posterior intervals. Cross-atlas transfer, with the reference from Wu and mixtures from Bassez et al. or Pal et al., tests robustness to reference mismatch. Natural variation provides a harder test: true activity is AUCell on each patient's actual tumor cells, and mixtures use that patient's own cells.
The second experiment is a stroma-rich real cohort. In TCGA-PAAD we ask whether composition-aware glycolysis and glycogen-metabolism activities reproduce the M1/M2 separation of the PDAC study better than raw bulk scores. We also ask whether they stay prognostic after adjusting for estimated purity, where raw scores are expected to lose signal. The reference point is the published CPTAC survival split (p=0.008); we compare log-rank statistics and the concordance index in the same cohorts.
The third experiment is the protein-layer check. In CPTAC pancreatic samples with paired RNA and proteomics, we correlate each RNA pathway score with the mean protein abundance of that pathway's enzymes, comparing raw bulk ssGSEA, deconvolve-then-rank and our estimator. We then fit the mixture model to the protein layer and test within-sample agreement of RNA-derived and protein-derived activities.
The decisive checks come from the first two experiments. If our estimator does not cut leakage relative to raw bulk scoring, or does not beat deconvolve-then-rank at low purity on injected shifts, the joint pathway likelihood is not justified. If it wins in simulation but corrected scores agree no better with enzyme protein abundance than raw scores do, we would conclude that the gain is real for transcriptional state but says little about metabolic function. That result would bound what bulk RNA can claim about metabolic reprogramming.
References
- Clinically impactful metabolic subtypes of pancreatic ductal adenocarcinoma (PDAC)
- Integrative Single-Cell and Machine Learning Analysis Develops a Glutamine Metabolism–Based Prognostic Model and Identifies MSMO1 as a Therapeutic Target in Osteosarcoma
- Performance of tumour microenvironment deconvolution methods in breast cancer using single-cell simulated bulk mixtures
- Inferring metabolic pathway activity levels from RNA-Seq data
- Count Bridges enable Modeling and Deconvolving Transcriptomic Data
- A Multi-Omics Interpretable Machine Learning Model Reveals Modes of Action of Small Molecules
- PEaRL: Pathway-Enhanced Representation Learning for Gene and Pathway Expression Prediction from Histology
- MM2S: personalized diagnosis of medulloblastoma patients and model systems