Tutorials › High-Dimensional Genomic Data Analysis › Differential Histone Mark Enrichment

Epigenomic and Regulatory Data · Tutorial 788 of 795

Differential Histone Mark Enrichment

Learn to compare histone-mark enrichment between conditions while matching the feature definition and statistical model to the mark’s spatial pattern and the data type.

Intermediate 10 min read

What You'll Learn

  • Define a fixed, comparable set of genomic regions for differential testing.
  • Distinguish count-based inference from analysis of continuous signal summaries.
  • Use a negative-binomial model to estimate a condition effect on region-level counts.
  • Adapt region construction to focal marks and broad chromatin domains.
  • Check replication, dispersion, background, and feature-selection assumptions.
  • Interpret effect estimates and p-values without confusing them with biological function or causation.

Why Differential Histone-Mark Enrichment Needs Its Own Design

A histone-mark assay measures where marked chromatin is enriched, but the genomic pattern can differ greatly by mark. Some marks produce relatively focal peaks; others extend across long domains or gene bodies. A differential analysis must therefore answer two questions together: what genomic features are being compared, and what is the unit of statistical replication? A test that treats adjacent genomic bins as independent biological samples can report impressive significance while providing no valid evidence about condition differences across samples.

The earlier material on chromatin sequencing established that sequencing counts and continuous signal tracks are related but not interchangeable summaries. Here the goal is to estimate and test condition-associated enrichment at a defined set of genomic regions. A significant difference is evidence of a change in measured enrichment under the model; it is not, by itself, proof that the mark caused a change in gene expression or phenotype.

Definition: A region-level differential histone-mark analysis compares the measured enrichment of a specified histone mark between conditions across a pre-defined set of genomic regions, using independent biological samples as replicates. A region may be a focal interval, a fixed-width bin, or a broader domain, but its definition must be comparable across conditions.

Define the Features Before Testing

For a focal mark, such as promoter-associated H3K4me3, a region may be a peak interval or a fixed promoter window. For a broad mark, such as H3K27me3 or gene-body-associated H3K36me3, one peak boundary may not adequately represent the enrichment pattern. Possible choices include fixed-width bins, annotated gene bodies, or broad domains defined using a condition-blind or pooled procedure. The choice changes the biological question: a bin-level test asks about local enrichment, whereas a domain-level summary asks about enrichment over a larger interval.

The features should not be selected only because they look enriched in one condition and then tested on the same evidence as though the selection had been independent. That can bias effect estimates and p-values. A defensible analysis defines candidate regions from external annotations, a pooled set of samples, or another procedure that does not favor either condition; alternatively, selection and testing must be handled by a method that accounts for their dependence. The same region boundaries should then be used to count or summarize signal in every replicate.

The biological sample, not a read, bin, or technical library, is the replicate for inference about a condition. If a broad domain is divided into ten bins, those ten measurements from one sample do not become ten independent biological replicates. They can be combined into a region-level summary or modeled with a method that explicitly represents their dependence.

Count-Based Testing

A common approach is to count aligned fragments overlapping each fixed region in each biological sample. Counts are nonnegative integers and typically show more variability between biological replicates than a simple Poisson model allows. A negative-binomial model accommodates this extra variation. For region \(i\) and sample \(j\), one form is:

$$ Y_{ij}\sim \operatorname{NB}(\mu_{ij},\phi_i),\qquad \operatorname{Var}(Y_{ij})=\mu_{ij}+\phi_i\mu_{ij}^{2} $$

Here \(Y_{ij}\) is the count, \(\mu_{ij}\) its expected value, and \(\phi_i\) the region-specific dispersion. With a log link, a two-condition model can be written:

$$ \log(\mu_{ij})=\log(s_j)+\beta_{0i}+\beta_{1i}C_j $$

The size factor \(s_j\) is a sample-level exposure adjustment, and \(C_j\) indicates condition (for example, 0 for control and 1 for treatment). Covariates such as batch can be added when appropriate and supported by the design. Under this coding, \(\beta_{1i}\) is the estimated log rate ratio for treatment versus control at region \(i\); the estimated fold change is \(\exp(\beta_{1i})\). Testing no condition difference means testing \(H_0:\beta_{1i}=0\), against a specified alternative such as \(H_a:\beta_{1i}\ne 0\).

This model assumes independent biological samples conditional on the modeled covariates, comparable feature definitions, and a suitable mean–variance relationship. Its size-factor adjustment also relies on the normalization strategy being appropriate for the experiment. If a condition causes a genome-wide shift in chromatin signal, ordinary relative library scaling may not identify absolute changes; that issue requires special care rather than an automatic interpretation of the fitted fold changes.

Worked Example: A Focal Mark With Region Counts

Suppose a fixed promoter interval is counted in three hypothetical control samples and three hypothetical treatment samples. The counts are 100, 110, and 90 in control, and 180, 200, and 220 in treatment. Assume the sample size factors are all 1, there are no additional covariates, and a negative-binomial model uses dispersion \(\phi=0.08\) for this illustration.

The group means are \(\bar{Y}_{C}=(100+110+90)/3=100\) and \(\bar{Y}_{T}=(180+200+220)/3=200\). The estimated rate ratio is \(200/100=2.00\), so the estimated log fold change on the base-2 scale is \(\log_2(2.00)=1.00\). In context, the estimated count rate in this interval is twice as high in treatment as in control, under the stated size-factor assumptions.

A first-order approximation for the variance of a log group mean under this negative-binomial model is \((1/\mu+\phi)/n\). Thus the approximate variance of the natural-log difference is:

$$ \frac{1/100+0.08}{3}+\frac{1/200+0.08}{3} =\frac{0.09}{3}+\frac{0.085}{3} =0.05833 $$

The approximate standard error is \(\sqrt{0.05833}=0.2415\). The natural-log rate ratio is \(\log(2)=0.6931\), giving a Wald statistic \(z=0.6931/0.2415=2.870\), with a two-sided normal-approximation p-value of about 0.0041. This is an illustrative approximation, not an exact small-sample test. The assumed dispersion and the small number of replicates matter; in a real multi-region analysis, dispersion estimation and uncertainty should be handled by a suitable count-model procedure. The p-value is not the probability that the null hypothesis is true, and it is not yet an adjustment for testing many regions.

Broad Marks and the Choice of Summary

For a broad mark, deciding how to represent the signal is part of the analysis rather than a cosmetic preprocessing choice. A region spanning a long domain may be divided into consistent bins and then summarized, or a pre-defined domain may be counted as a whole. Whole-domain counts can be easier to interpret as total enrichment over the interval, while bin-level estimates can reveal localized changes that an aggregate would hide. In either case, replicate-level measurements must be retained for inference.

Worked Example: Summarizing a Broad Domain

Consider a hypothetical broad histone-mark domain, pre-defined as three adjacent bins. Counts for one control replicate are 40, 42, and 38 across the bins; for a second control replicate they are 41, 39, and 40; for a third they are 39, 41, and 40. The corresponding treatment replicates have counts 60, 63, and 57; 59, 61, and 60; and 61, 59, and 62. Assume equal sample size factors for this simple comparison.

Summing the three bins within each sample gives domain totals of \(120,120,120\) for control and \(180,180,182\) for treatment. The group means are 120 and \(542/3=180.7\). The estimated treatment-to-control ratio is \(180.7/120=1.506\), and the log-base-2 ratio is \(\log_2(1.506)\approx0.590\). This describes about 1.51 times the counted enrichment over the defined domain, subject to the normalization and background assumptions.

The three bins are not three replicates. The model should use the domain totals for each of the three biological samples per condition, or analyze the bins with an appropriate model that accounts for their within-sample dependence. Treating the nine bin values per condition as independent would inflate the apparent sample size and generally understate uncertainty.

Continuous Signal and Replicate-Level Comparisons

Some analyses use a continuous signal summary rather than raw region counts. For example, a fixed region may be summarized by mean signal, integrated signal, or a replicate-level score from a signal track. A comparison of such summaries can use a linear model if its assumptions are reasonable: independent biological replicates, approximately normal model residuals, and an adequate variance specification. A two-sample pooled t-test additionally assumes equal population variances. If that assumption is not reasonable, a Welch comparison or a suitable regression model with unequal-variance handling is preferable.

Signal tracks can be useful for visualization and for describing shape within a broad region, but values from tracks are often transformed, smoothed, or scaled. Their units and processing must be stated. They should not be treated as raw independent observations just because a track contains many genomic positions. For count-based inference, applying a test to plotted or rounded signal values discards the count model and can produce misleading standard errors.

Worked Example: Comparing Continuous Region Signal

Suppose a fixed interval has hypothetical normalized signal values of 9.2929, 9.2929, 10.7071, and 10.7071 units in four independent control replicates. Four treatment replicates have values 11.7929, 11.7929, 13.2071, and 13.2071 units. Assume the signal summaries are suitable for a pooled two-sample t-test: independent samples, approximately normal residuals, and a common variance.

The sample means are 10.00 units for control and 12.50 units for treatment, so the estimated difference is 2.50 units. In each group, the deviations from the mean are two values of approximately \(-0.7071\) and two of \(0.7071\). The sum of squared deviations is approximately \(4(0.7071^2)=2.000\), so each sample variance is \(2/3=0.6667\) square units. The pooled variance is also 0.6667, and the standard error of the mean difference is:

$$ SE=\sqrt{0.6667\left(\frac{1}{4}+\frac{1}{4}\right)} =\sqrt{0.3334}\approx0.5774 $$

The test statistic is \(t=(12.50-10.00)/0.5774\approx4.330\), with \(df=4+4-2=6\). The two-sided p-value is approximately 0.004929. Under the pooled t-test assumptions, the data provide evidence of a difference in mean normalized signal between conditions; the estimated difference is 2.50 signal units. The small hypothetical sample does not establish that the assumptions hold in practice, so residual plots, replicate quality, and the measurement process still require scrutiny.

Multiple Testing, Diagnostics, and Alternatives

A genome-wide analysis tests many regions. Even when every null hypothesis is true, some small p-values will occur by chance. The Benjamini–Hochberg procedure is commonly used to control the false discovery rate under independence or suitable positive dependence among tests: it adjusts the collection of p-values, and results should be reported with adjusted values (often called q-values) alongside effect estimates. Under other dependence structures, use a method with a guarantee appropriate to that structure. A threshold on unadjusted p-values alone does not control the expected proportion of false discoveries among reported regions.

Useful diagnostics include checking replicate-level counts or signal summaries, library quality, dispersion estimates, residual patterns, and whether results are dominated by one sample. Plotting the signal across a broad domain can reveal whether an aggregate difference reflects a coherent shift or a small subregion. Also inspect whether candidate regions were defined without condition-favoring selection and whether the design separates condition from batch. Earlier material on input controls is relevant: background enrichment and assay-specific artifacts can affect the measured signal, and subtracting input counts naively is not a general substitute for a model that handles background appropriately.

The main alternatives answer somewhat different questions. A negative-binomial count model is suited to replicate-level region counts and their extra-Poisson variation. A linear model for transformed counts or continuous signal can be useful when transformation, residual behavior, and variance modeling are justified. A permutation test may be attractive when the sample size and design permit valid label permutations, but it cannot repair confounding or a condition-dependent feature-selection step. Peak calling separately in each condition and comparing the resulting peak lists is another tempting approach, but it can make boundaries and selection depend on the same observed differences being tested. None of these approaches removes the need for biological replication or an appropriate feature definition.

Common Pitfalls and Interpretation

  • Counting bins as replicates. Bins from the same sample are correlated measurements, not independent biological samples. Preserve sample-level replication in the model.
  • Using condition-specific boundaries without accounting for selection. A region present only because one condition was used to call peaks may appear different by construction. Use comparable, defensible intervals.
  • Confusing a large signal with a precise difference. Effect size and uncertainty are distinct. Report the fold change or signal difference, its uncertainty or test result, and any multiple-testing adjustment.
  • Interpreting a p-value as biological importance. A small p-value does not show that the change is large, functional, or causal. Consider magnitude, reproducibility, genomic context, and independent evidence.
  • Assuming relative normalization detects absolute global change. Standard size-factor methods rely on suitable reference behavior. If chromatin changes broadly across the genome, relative comparisons may conceal or distort that shift.
Key takeaway: Differential histone-mark analysis depends on matching the statistical unit and model to the data while defining comparable regions suited to the mark’s spatial scale. Interpret condition effects only in light of replication, background, normalization, feature selection, and multiple testing.

Check Your Understanding

Answer each question, then compare your reasoning with the solutions below.

  1. Why are adjacent bins from one biological sample not independent replicates for a condition comparison?
  2. A broad region has a treatment-to-control mean count ratio of 1.5. What is its log-base-2 fold change to three significant figures?
  3. What does a two-sided p-value of 0.004929 from a region-level test mean, and what does it not mean?
  4. Name one reason to avoid testing only peaks called separately in each condition.

Solutions. (1) The bins share the same biological sample and can be correlated; the biological sample is the replicate for inference about condition. (2) \(\log_2(1.5)\approx0.585\). (3) Under the null model and test assumptions, it is the probability of a test statistic at least as extreme as the observed one in either direction; it is not the probability that the null is true, nor the probability that the finding is false. (4) The boundaries and inclusion of regions can depend on the same condition-specific data later used for testing, creating selection bias and non-comparable features.

Clinical Biostats