---
title: Marker Exclusion Rate (MER) in Transcriptomics
url: https://www.emergentmind.com/topics/marker-exclusion-rate-mer
type: topic
---

# Marker Exclusion Rate (MER) in Transcriptomics

Searching arXiv for recent papers on "Marker Exclusion Rate" and related spatial transcriptomics benchmarking.
Marker Exclusion Rate (MER) is a biologically motivated error metric for clustering in spatial transcriptomics. It was introduced to quantify “how often cells end up in clusters whose marker genes they do not express, or feebly express,” and, more explicitly, “the fraction of cells whose assigned cluster’s marker set they fail to express” [2509.13344]. In the benchmark where it was proposed, MER serves as a complement to geometric clustering scores, because a cluster may appear compact in latent space yet remain biologically inconsistent if its members do not express the canonical markers of that cluster. The metric is therefore intended to capture marker mismatch, estimate the fraction of cells that would be better annotated elsewhere on biological grounds, and function as a direct readout of downstream annotation risk [2509.13344].

## 1. Origin and analytical motivation

MER was introduced in a unified framework for evaluating dimensionality reduction techniques in spatial transcriptomics beyond standard PCA approaches, on a cholangiocarcinoma Xenium dataset [2509.13344]. The benchmark systematically varied latent dimensions \(k=5\text{--}40\) and clustering resolutions \(\rho=0.1\text{--}1.2\), and evaluated configurations with complementary metrics including reconstruction error, explained variance, cluster cohesion, Cluster Marker Coherence (CMC), and MER [2509.13344].

The central motivation for MER is that standard dimensionality-reduction-plus-clustering pipelines can score well by silhouette or Davies–Bouldin Index (DBI) while still producing biologically inconsistent clusters [2509.13344]. In spatial transcriptomics, especially in a tissue such as cholangiocarcinoma, the relevant question is not only whether the embedding separates cells, but whether the resulting clusters correspond to real cell identities and microenvironments. MER operationalizes this concern by measuring whether the cluster assignment inferred from the embedding agrees with the cluster whose marker genes the cell actually expresses most strongly [2509.13344].

This framing places MER on the biological side of the tradeoff against purely geometric or reconstruction-oriented criteria. A plausible implication is that MER is most informative when clustering is intended to support annotation, atlas construction, or interpretation of microenvironmental structure, rather than exploratory geometry alone.

## 2. Formal definition and computation

The paper defines MER using the expression matrix \(X\in\mathbb{R}^{n\times p}\) and cluster-specific marker-gene sets \(\mathcal{M}_c\subset\{1,\dots,p\}\) [2509.13344]. For each cell \(i\), the best-matching cluster is determined by summed marker expression:

$$
\hat c_i \;=\;\arg\max_{c}\;\sum_{g\in\mathcal{M}_c}X_{i,g}.
$$

A cell is then “flagged \(i\) as marker-positive if \(\sum_{g\in\mathcal{M}_{\hat c_i}}X_{i,g}>0\).” The set of marker-positive cells is denoted \(I^+\). MER is defined as

$$
\mathrm{MER} \;=\; \frac{1}{n} \sum_{i\in I^+} \mathbf{1}\bigl(c_i \neq \hat c_i\bigr),
$$

where \(c_i\) is the Leiden-predicted cluster label [2509.13344].

The paper also gives an equivalent interpretation: MER is “the fraction of all cells whose assigned cluster’s marker set they fail to express” [2509.13344]. Cells with no expressed marker are excluded from the numerator by the definition of \(I^+\), and the benchmark separately reports

$$
MZC = n - |I^+|.
$$

Operationally, the implementation is straightforward: compute marker-set sums per cell over all clusters, choose the cluster with the largest sum, and count the cell as excluded if its assigned Leiden cluster differs from that best marker-supported cluster [2509.13344]. The metric is thus determined by a comparison between an embedding-derived label and a marker-supported label.

The paper’s post-processing also introduces a threshold \(\epsilon\): reassignment occurs only if the alternative cluster improves marker expression by at least \(\epsilon\) and the alternative cluster has at least one expressed marker in that cell [2509.13344]. That threshold belongs to the refinement procedure rather than to the basic MER definition, but it clarifies how the metric is used in practice.

## 3. Relation to Cluster Marker Coherence and other evaluation criteria

MER is tightly linked to Cluster Marker Coherence, but the two quantities capture different aspects of biological validity [2509.13344]. CMC asks how well each cluster captures its own markers; MER asks how often cells are placed in the wrong marker-defined cluster. For cluster \(c\) with marker set \(\mathcal{M}_c\), the benchmark defines

$$
F_c = \frac{1}{n_c}\sum_{i\in c} \frac{1}{|\mathcal{M}_c|}\sum_{g\in\mathcal{M}_c}\mathbf{1}\{x_{i,g}>0\},
$$

with unweighted

$$
\mathrm{CMC} = \frac{1}{C}\sum_{c=1}^C F_c
$$

and size-weighted

$$
\mathrm{CMC}_w = \frac{1}{n}\sum_{c=1}^C n_c\,F_c.
$$

High CMC means that cells assigned to a cluster tend to express that cluster’s marker genes. Low MER means that few cells are assigned to a cluster whose markers they do not best express [2509.13344]. In the benchmarking study, MER is reported to correlate inversely with CMC and enrichment: when CMC and enrichment are high, MER tends to be lower [2509.13344].

The benchmark therefore uses MER alongside CMC and gene-set enrichment analysis as the biological counterpart to silhouette and DBI [2509.13344]. This division is analytically important. A clustering can be geometrically cohesive but biologically misassigned, or biologically coherent but less compact in latent space. MER was introduced specifically to expose that discrepancy.

A common misconception is to treat MER as interchangeable with cluster purity or with within-cluster marker enrichment. The benchmark does not support that equivalence. CMC and enrichment concern how well clusters capture their own markers; MER concerns disagreement between assigned cluster labels and marker-supported cluster identity [2509.13344].

## 4. MER-guided reassignment as post-processing

The paper extends MER from a diagnostic into a refinement procedure called MER-guided reassignment, or MER-guided cell reassignment [2509.13344]. After clustering in latent space, the method revisits the original expression matrix and reassigns a cell to the cluster whose marker genes it expresses most strongly, but only if the improvement exceeds \(\epsilon\) and the target cluster has at least one expressed marker in that cell [2509.13344].

Algorithmically, for each cell the marker-gene sums

$$
s_c=\sum_{g\in\mathcal{I}_c}X_{i,g}
$$

are computed over all clusters, \(\hat c=\arg\max_c s_c\) is found, and the label is updated only if

$$
\Delta = s_{\hat c}-s_{c_i} > \varepsilon
$$

and \(s_{\hat c}>0\) [2509.13344]. The authors describe this as a “lightweight post-processing step” that preserves the geometric cohesion of the original clustering while correcting biologically implausible assignments, and characterize it as marker-guided refinement rather than a new embedding method [2509.13344].

This makes MER unusual among benchmarking metrics in that it functions both as an evaluative criterion and as the basis for label correction. A plausible implication is that MER is not merely descriptive; it encodes an explicit biological preference over cluster assignments when marker annotations are trusted.

## 5. Empirical behavior across dimensionality reduction methods

In benchmarking, MER was used to compare PCA, NMF, AE, VAE, RAW clustering, and hybrid embeddings [2509.13344]. The broad pattern reported in the paper is that PCA gave the strongest geometric clustering but relatively weaker biological agreement; NMF gave the best biological signal recovery; VAE often struck the best balance; AE sat in between; and hybrids could improve tradeoffs [2509.13344].

| Method | Representative Pareto-optimal MER values | Reported characterization |
|---|---:|---|
| PCA | \(0.31\text{--}0.72\) | Strongest geometric clustering; biological fidelity lags |
| NMF | \(0.66\text{--}0.74\) | Best biological signal recovery |
| AE | \(0.57\text{--}0.69\) | Middle ground |
| VAE | \(0.48\text{--}0.65\) | Best overall balance among single methods |
| RAW | \(0.34\text{--}0.39\) | Raw clustering baseline |
| PCA+NMF | \(0.16\text{--}0.25\) | Improved tradeoff substantially |
| VAE+NMF | \(0.29\text{--}0.51\) | Combined biological signal with cohesion |

Lower MER means fewer cells whose cluster label disagrees with their marker profile [2509.13344]. The paper gives a representative hybrid configuration for PCA+NMF with silhouette \(0.222\), CMC \(0.846\), and MER \(\approx 0.26\), which is reported as better than PCA alone [2509.13344]. VAE+NMF is described as combining NMF’s biological signal with VAE’s cohesion [2509.13344].

The post-processing results are especially notable. In Table 6, after MER-guided reassignment, PCA, NMF, VAE, AE, PCA+NMF, and VAE+NMF all have \(\mathrm{MER}=0\) [2509.13344]. The authors explicitly note that this comes with some silhouette decrease, which they consider expected because labels are intentionally changed to favor marker coherence over purely geometric proximity. They also report that CMC improves after reassignment, summarizing the effect in the abstract as “CMC scores improving by up to 12% on average” [2509.13344]. Additional qualitative evidence includes marker-gene dot plots where mean expression for some markers increases by more than 20% after reassignment, and a case study in which MER collapses method-specific artifacts and clarifies major epithelial, macrophage, stromal, and lymphoid programs [2509.13344].

## 6. Interpretation, limitations, and acronym ambiguity

The benchmark states several caveats for interpreting MER [2509.13344]. First, MER depends on the marker sets \(\mathcal{M}_c\), so its meaning is only as good as the chosen marker annotation. If marker sets are incomplete, overlapping, or noisy, MER can overstate or understate biological error. Second, MER is computed from summed raw expression over marker genes and uses a simple positive-expression criterion; this makes it intuitive, but also somewhat coarse. It does not account for expression magnitude beyond being positive, except in the reassignment step where summed marker expression matters. Third, MER is not a standalone quality metric: it should be read together with CMC, enrichment, silhouette, DBI, and reconstruction error. A low MER with poor geometric structure may still be undesirable if the embedding is unstable or overfragmented, and a higher MER may be tolerable if the goal is exploratory geometry rather than annotation. Fourth, MER-guided reassignment prioritizes biological coherence over geometric fidelity, so post-processed silhouette scores become less relevant because the cluster labels no longer reflect the original embedding-based partition [2509.13344].

For practical method selection, the paper’s message is that MER is especially useful when the downstream task is cell-type annotation or marker-based atlas construction [2509.13344]. If a method gives low MER and high CMC or enrichment, its clusters are more likely to correspond to real biological identities. PCA may be attractive for speed and cohesion, NMF for interpretable marker recovery, VAE for a balanced compromise, and hybrids when one wants to combine strengths [2509.13344]. In that sense, MER is best used as a diagnostic and refinement criterion: it detects marker-inconsistent clusters, supports comparison of methods on biological faithfulness, and helps determine whether marker-guided label cleanup is warranted [2509.13344].

On arXiv, the acronym “MER” is ambiguous. In the paper “MER 2026: From Discriminative Emotion Recognition to Generative Emotion Understanding,” MER refers to Multimodal Emotion Recognition and to the MER challenge series, not to Marker Exclusion Rate [2604.19417]. The two usages are unrelated: one belongs to multimodal affective computing, while Marker Exclusion Rate is a clustering metric in spatial transcriptomics.

Source: https://www.emergentmind.com/topics/marker-exclusion-rate-mer