Tutorials › Statistical Methods for Single-Cell RNA Sequencing › Worked Multiome Analysis From Peaks to Regulatory Links

CITE-seq, ATAC and Multiome Data · Tutorial 625 of 700

Worked Multiome Analysis From Peaks to Regulatory Links

Work through a hypothetical multiome analysis and learn how to move from accessible peaks to carefully qualified regulatory-link hypotheses.

Advanced 12 min read

What You'll Learn

  • Construct and interpret a simple peak-aggregated gene activity score.
  • Match RNA and ATAC measurements by cell, then choose an appropriate unit for inference.
  • Test a candidate peak–gene association across independent donors and interpret its uncertainty.
  • Apply the Benjamini–Hochberg procedure to a defined set of candidate links.
  • Combine association results with genomic and motif evidence without claiming causality.
  • Recognize diagnostics, limitations, and common sources of false confidence in multiome analyses.

From Matched Modalities to a Regulatory Hypothesis

A multiome experiment measures RNA and chromatin accessibility in the same cells. Matching modalities cell by cell is useful, but it does not by itself establish that an accessible peak regulates a particular gene. A defensible analysis has several distinct steps: summarize accessibility near genes, define candidate peak–gene pairs, estimate associations using an appropriate independent unit, account for testing many pairs, and weigh statistical evidence alongside biological context.

The earlier material on constructing gene activity scores and linking accessible peaks to gene expression establishes the basic quantities used below. This worked analysis emphasizes how to connect those quantities into a reproducible chain of evidence. All data and results here are hypothetical.

Definition: A gene activity score is a summary of accessibility measurements in a genomic region assigned to a gene, such as its promoter and gene body. It is an accessibility-derived proxy, not an observed RNA count. A candidate peak–gene link is a tested association between accessibility at a particular peak and expression of a specified gene; an association alone does not demonstrate a causal regulatory effect.

Build the Analysis Around the Experimental Design

Begin by checking that RNA and ATAC barcodes refer to the same cells, that genomic coordinates use the same reference assembly, and that the peak-to-gene assignment rule is specified before testing. Restricting analysis to a relevant cell type or state can make an association easier to interpret, but the restriction should be chosen for scientific reasons rather than because it gives a smaller p-value. Record donors, batches, cell types, and any other design variables that could affect both modalities.

For a simple activity score, let \(A_{ij}\) be the accessibility measurement for cell \(i\) at peak \(j\). Let \(\mathcal{P}_g\) be the selected set of peaks overlapping the promoter or gene body of gene \(g\). An unweighted score is the sum of those measurements. In practice, normalization for library depth and transformation may be needed before comparing cells. The exact genomic window, peak inclusion rule, and normalization are part of the score’s definition and should be reported.

$$ G_{ig}=\sum_{j\in\mathcal{P}_g} A_{ij} $$

Worked Example: Summing Accessibility Into a Gene Activity Score

Suppose a hypothetical gene has four selected peaks: two in its promoter and two in its gene body. In one cell, their accessibility measurements are 6, 3, 4, and 1 fragments. Using the simple unweighted raw-count definition, the score is

$$ G_{ig}=6+3+4+1=14 $$

For a second cell with measurements 2, 0, 5, and 1, the score is \(2+0+5+1=8\). If a natural-log transform is used, the transformed scores are \(\log(1+14)=\log(15)\approx2.708\) and \(\log(1+8)=\log(9)\approx2.197\).

These calculations define a convenient summary, not a calibrated estimate of transcript abundance. In particular, the raw sums can be larger in cells with more ATAC fragments overall. Before comparing cells, use a stated depth-normalization strategy and inspect whether results are driven by sequencing depth. A score based only on promoter peaks would be a different, also possible, definition and could give different values.

For a candidate regulatory link, it is often clearer to test accessibility at one peak against expression of one gene than to test a broad activity score alone. Define the candidate set in advance using genomic proximity, prior biological knowledge, or another stated rule. A peak near a gene is a plausible candidate, not necessarily its target; distal peaks may act on more distant genes, and proximity can misassign targets.

Paired measurements mean the ATAC and RNA values belong to the same cell. They do not mean that thousands of cells from a few donors are thousands of independent biological replicates. If the target of inference is a population of donors, a practical strategy is to aggregate within donor and a prespecified cell type, then model the resulting donor-level values. This reduces cell-level pseudoreplication. When there are enough donors and the design warrants it, a model can instead account explicitly for donor-level clustering and relevant covariates.

Estimate a Candidate Association Across Donors

Consider a simple linear model for one candidate peak and one gene. Let \(X_d\) be normalized peak accessibility and \(Y_d\) be normalized expression for donor \(d\), each summarized within the same prespecified cell type. The model is \(Y_d=\beta_0+\beta_1X_d+\varepsilon_d\). The slope \(\beta_1\) is the expected change in the chosen expression scale for a one-unit increase in accessibility, under this model. It describes association, not a causal effect.

The usual small-sample t test for a slope assumes independent donor-level errors, a linear mean relationship, constant error variance, and normally distributed errors for exact inference. These assumptions apply to the model residuals, not to the raw single-cell counts. Check a scatterplot for curvature and influential donors, and inspect residuals for unequal spread or extreme deviations. With very few donors, such diagnostics have limited power; uncertainty should be reported rather than concealed.

Inference: For a single predictor in this linear model, test \(H_0:\beta_1=0\) against \(H_a:\beta_1\ne0\). The slope estimate divided by its standard error has a t distribution with \(df=n-2\) under the stated assumptions. The two-sided p-value is the probability, assuming \(H_0\) and the model assumptions, of a statistic at least as extreme in absolute value as the observed statistic.

Worked Example: Testing a Peak–Expression Association

Suppose six hypothetical donors have paired, cell-type-specific summaries for one candidate peak and one gene. Centered accessibility values are \(X=(-5,-3,-1,1,3,5)\). Corresponding centered log-expression values are \(Y=X+e\), where the residual vector is \(e=c(1,-2,1,1,-2,1)\) and \(c=\sqrt{1.335/12}\approx0.3335\). Thus the six expression values, rounded to four decimals, are \(-4.6665,-3.6671,-0.6665,1.3335,2.3329,5.3335\). This constructed example is intentionally very strongly associated.

The residual vector sums to zero and is orthogonal to \(X\), so the fitted intercept is 0 and the fitted slope is 1.000 expression-scale unit per accessibility unit. The sum of squared centered accessibility values is \(S_{XX}=25+9+1+1+9+25=70\). By the choice of \(c\), the residual sum of squares is \(SSE=12c^2=1.335\). Therefore the residual mean square is \(1.335/4=0.33375\), since \(df=6-2=4\).

$$ SE(\hat{\beta}_1)=\sqrt{\frac{0.33375}{70}}=0.06905,\qquad t=\frac{1.000}{0.06905}=14.48 $$

For a two-sided test with 4 degrees of freedom, \(t=14.48\) gives \(p\approx0.000132\), or about \(0.00013\). The result is strong evidence against a zero slope under the model assumptions. It does not imply that the peak causes the expression change, and six donors provide little ability to assess those assumptions or generalize broadly. The very small p-value reflects the unusually strong pattern in this hypothetical data, not a guarantee of replication.

Adjust for Many Candidate Links and Integrate Evidence

A workflow commonly tests many peak–gene pairs. Testing each at level \(\alpha=0.05\) without adjustment increases the chance of false discoveries across the set. The Benjamini–Hochberg procedure controls the false discovery rate under its standard conditions: sort the \(m\) p-values from smallest to largest, find the largest rank \(i\) satisfying \(p_{(i)}\le(i/m)\alpha\), and reject hypotheses at that rank and below. An equivalent reporting practice is to give adjusted p-values, often called q-values in this context, computed as the monotone adjusted values \(\min_{k\ge i}\{m p_{(k)}/k\}\), capped at 1. State the tested universe: changing which pairs enter the family changes the adjustment.

Worked Example: Adjusting Four Candidate-Link Tests

Suppose four prespecified peak–gene pairs have sorted p-values \(0.00013, 0.012, 0.040,\) and \(0.200\). With \(m=4\), their unmonotonized Benjamini–Hochberg adjusted values are \(4(0.00013)/1=0.00052\), \(4(0.012)/2=0.024\), \(4(0.040)/3=0.0533\), and \(4(0.200)/4=0.200\). These are already nondecreasing, so they are also the monotone adjusted values.

At false discovery rate target \(\alpha=0.05\), the first two links pass: their adjusted values are below 0.05. The third does not, since \(0.0533>0.05\). This is a decision about a set of hypotheses under the procedure’s assumptions; it is not a 5% probability that any particular reported link is false.

Statistical evidence is only one component of prioritization. For each retained candidate, consider the direction and size of the association, its uncertainty, consistency across donors, genomic distance, whether the peak contains a relevant motif, and whether expression of the proposed target is measurable in the analyzed cells. Motif presence can support a regulatory hypothesis, but it does not prove that the motif is occupied or that the peak targets the gene. Likewise, proximity and a small adjusted p-value are not independent causal validation.

Evidence componentUseful questionWhat it cannot establish alone
Peak–expression associationDo donor summaries co-vary, and in what direction?That the peak causes expression
Genomic contextIs the peak near a plausible promoter or gene region?That the nearest gene is the true target
Motif evidenceIs a sequence motif compatible with a candidate transcription factor?That the factor binds or regulates this locus in these cells
Cross-donor consistencyIs the pattern supported across independent biological replicates?That unmeasured confounding is absent

Worked Example: Prioritizing Without Overstating a Link

Suppose the four candidates from the adjustment example have these additional hypothetical properties. Candidate A has the smallest p-value, a positive slope, a promoter-proximal peak, and a compatible motif. Candidate B has an adjusted value of 0.024, a positive slope, a distal peak, and no matching motif. Candidate C has an adjusted value of 0.0533, a modest positive slope, and a promoter-proximal peak. Candidate D has an adjusted value of 0.200 and inconsistent donor-level direction.

At the chosen 0.05 false discovery rate target, A and B are the statistically retained links. A is the stronger regulatory hypothesis because several kinds of evidence agree, but even A is not proven causal. B remains a supported association despite lacking the motif evidence in this example; absence of that motif does not rule out all mechanisms. C may merit follow-up if its biological context is compelling, but it does not pass the stated threshold. D has weaker support. The ranking is therefore a transparent prioritization for validation, not a declaration that A and B are established regulatory interactions.

Diagnostics, Alternatives, and Limitations

Potential warning signs include a relationship driven by one donor, a trend that disappears after accounting for batch, residual curvature, strong heteroskedasticity, and associations that change substantially when cell-type definitions or peak boundaries change. Report donor-level points whenever possible. Also report the number of donors, the number of cells contributing to each summary, the normalization and transformation, the candidate-generation rule, and the multiple-testing family. More cells per donor can improve measurement precision, but do not replace independent donors for population-level inference.

The ordinary linear model is interpretable and convenient when donor-level summaries are reasonably well behaved and its assumptions are plausible. A rank-based association can be less sensitive to outliers and nonlinearity in scale, though it does not solve donor dependence or confounding. A donor-aware mixed model can retain cell-level observations while accounting for within-donor dependence and covariates, but requires an appropriate model and enough independent donors to estimate its structure. These approaches answer related but not identical questions; choose and report the model based on the design rather than selecting whichever produces the smallest p-value.

A gene activity score depends on its chosen windows and normalization, and may miss regulatory elements outside those windows. Association can reflect shared cell state, donor composition, sequencing depth, or other common influences rather than direct regulation. Tests across many candidates require multiplicity control, and sparse measurements can make effects imprecise. Functional perturbation or other independent validation is needed to make a stronger causal claim.

Common pitfall: “The modalities were measured in the same thousands of cells, so a cell-level correlation with a tiny p-value proves the peak regulates the gene.” This reasoning treats correlated cells from the same donor as independent replicates and confuses association with causation. Instead, align modalities within cells, account for donor clustering or analyze donor-level summaries, adjust across the stated candidate family, and describe the result as a prioritized regulatory hypothesis.

A Compact Analysis Sequence

1
Define the objects.
Specify the cell population, donor-level unit, normalization, gene activity windows, candidate peaks, and candidate genes.
2
Summarize and inspect.
Construct the accessibility summaries, match them to RNA summaries, and examine donor-level plots and possible confounding.
3
Estimate and test.
Fit the stated association model, report its effect estimate and uncertainty, and check whether its assumptions are credible.
4
Adjust and prioritize.
Control multiplicity for the declared test family, then weigh statistical results with genomic, motif, and consistency evidence without asserting causality.

Check Your Understanding

Answer each question, then compare with the brief solutions.

  1. A gene activity score sums normalized accessibility values 2.5, 1.0, and 0.5 over selected peaks. What is the score, and what does it not directly measure?
  2. A study has 900 cells from three donors. Why might a regression treating all 900 cells as independent overstate the evidence for a population-level association?
  3. In a six-donor simple regression, what are the residual degrees of freedom for the usual slope test?
  4. Four sorted p-values are 0.002, 0.018, 0.030, and 0.4. What is the Benjamini–Hochberg adjusted value for the second p-value before monotonicity correction?
  5. A peak–gene association is significant after adjustment and the peak contains a compatible motif. What conclusion is justified, and what conclusion is not?

Solutions. (1) \(2.5+1.0+0.5=4.0\); it summarizes accessibility in the selected regions, not observed transcript abundance. (2) Cells from one donor share biological and technical influences, so treating them as independent can underestimate uncertainty; donor clustering or donor-level summaries are appropriate for donor-population inference. (3) \(df=n-2=6-2=4\). (4) With \(m=4\) and rank \(i=2\), the raw adjusted value is \(4(0.018)/2=0.036\); monotonicity correction may change it depending on later ranked values. (5) The results support prioritizing the pair as a regulatory hypothesis. They do not establish that the peak causes expression or that the proposed factor binds and acts at the locus.

Clinical Biostats