Tutorials › Multi-Omics Data Integration › Differential Networks Across Phenotypes

Graphical Models for Multi-Omics · Tutorial 313 of 597

Differential Networks Across Phenotypes

Learn to distinguish phenotype-related changes in network edges, edge weights, and global structure, and to interpret each comparison without treating it as a causal claim.

Advanced 12 min read

What You'll Learn

  • Define a differential network using group-specific conditional dependence graphs.
  • Interpret zero and nonzero precision-matrix entries in Gaussian networks.
  • Distinguish edge presence changes from strength changes among shared edges.
  • Compare network-level summaries such as density, degree, and diameter.
  • Identify assumptions, confounding concerns, and estimation-related limitations.
  • Explain why a descriptive network difference does not establish causation.

What Makes a Network Differential?

Suppose patients are divided into phenotype groups, such as a subtype with a particular clinical feature and a subtype without it. A network estimated separately in each group describes conditional relationships among the same molecular features within that group. A differential network is a comparison of those group-specific relationships. The central question is not merely whether the groups have different average measurements: it is whether their network representations differ in edge presence, edge strength, or overall structure.

The comparison is meaningful only when the nodes and their definitions are comparable between groups. For instance, a node must refer to the same gene, protein, or metabolite in both networks, measured on compatible scales and under a consistent preprocessing and modeling scheme. If the groups use different node sets, an apparent difference may reflect feature availability rather than phenotype-related network change.

Definition: Let \(G_g=(V,E_g)\) denote the network for phenotype group \(g\), where \(V\) is a common set of measured features and \(E_g\) is the set of edges in that group. A differential network compares the group-specific edge sets, edge parameters, or structural summaries. An edge-presence difference occurs when an edge belongs to one group’s edge set but not another’s. An edge-strength difference occurs when the edge is present in both groups but its defined strength differs. A structural difference concerns broader properties of the networks, such as degree patterns, density, connected components, or path lengths.

These are distinct targets. An edge may be present in both groups but have a different weight; the number of edges may be unchanged even though the arrangement of edges differs; and a network-level summary may change because of many edge changes rather than one especially strong edge. A useful analysis states which target it is describing instead of using “network difference” as if it had only one meaning.

Conditional Edges in Gaussian Networks

For a multivariate Gaussian model within group \(g\), write the feature vector as \(X\sim N(\mu_g,\Sigma_g)\), where \(\Sigma_g\) is the group-specific covariance matrix and \(\Omega_g=\Sigma_g^{-1}\) is its precision matrix. In a Gaussian graphical model, the nodes represent features and an undirected edge represents conditional dependence given all the other modeled features.

Definition: In a nonsingular multivariate Gaussian model, features \(X_i\) and \(X_j\) have no edge in group \(g\) exactly when \(\Omega_{ij}^{(g)}=0\). Their partial correlation, a measure of conditional association given the remaining features, is \( -\Omega_{ij}^{(g)}/\sqrt{\Omega_{ii}^{(g)}\Omega_{jj}^{(g)}} \). A nonzero entry corresponds to a nonzero partial correlation and hence an edge under this model.

The zero-pattern interpretation is specific to the Gaussian model. In mixed-type, count, or other graphical models, edges are defined through that model’s conditional-independence structure, and an edge parameter’s scale and interpretation depend on the model. Thus, a comparison should name the network model and the edge-strength measure being used. Precision-matrix entries and partial correlations are not interchangeable numerical scales.

Why a Zero Precision Entry Means No Gaussian Edge

The conditional distribution makes the Gaussian interpretation explicit. For a Gaussian vector with precision matrix \(\Omega_g\), the conditional distribution of feature \(X_i\), given all remaining features, has variance \(1/\Omega_{ii}^{(g)}\) and conditional mean \(-\sum_{j\ne i}\Omega_{ij}^{(g)}X_j/\Omega_{ii}^{(g)}\), with the variables centered at their group means. Therefore, the coefficient for \(X_j\) in this conditional mean is zero exactly when \(\Omega_{ij}^{(g)}=0\). In a Gaussian model, a zero coefficient here is equivalent to conditional independence of \(X_i\) and \(X_j\) given the other features.

$$ \operatorname{Var}(X_i\mid X_{-i})=\frac{1}{\Omega_{ii}^{(g)}}, \qquad E(X_i\mid X_{-i})-\mu_i^{(g)} =-\sum_{j\ne i}\frac{\Omega_{ij}^{(g)}}{\Omega_{ii}^{(g)}}(X_j-\mu_j^{(g)}). $$

This result justifies reading an edge from a precision matrix, but it does not make the edge causal. It describes a conditional association under the specified model and conditioning set. Unmeasured common causes, measurement error, or a misspecified model can change the estimated conditional relationships.

Worked Example: Same Edge, Different Strength

Worked Example: Same Edge, Different Strength

Consider two hypothetical phenotype groups measured on the same two features, \(A\) and \(B\). In each group, suppose the feature vector follows a centered Gaussian model, and the within-group covariance matrices are \(\Sigma_1=\begin{pmatrix}1&0.40\\0.40&1\end{pmatrix}\) and \(\Sigma_2=\begin{pmatrix}1&0.10\\0.10&1\end{pmatrix}\). The unit diagonal entries mean each feature has variance 1 in each group.

For a two-feature covariance matrix with correlation \(r\), the precision matrix is its inverse: \(\Omega=(1-r^2)^{-1}\begin{pmatrix}1&-r\\-r&1\end{pmatrix}\). For group 1, substituting \(r=0.40\) gives \(\Omega_1=(1/0.84)\begin{pmatrix}1&-0.40\\-0.40&1\end{pmatrix} =\begin{pmatrix}1.1905&-0.4762\\-0.4762&1.1905\end{pmatrix}\). For group 2, substituting \(r=0.10\) gives \(\Omega_2=(1/0.99)\begin{pmatrix}1&-0.10\\-0.10&1\end{pmatrix} =\begin{pmatrix}1.0101&-0.1010\\-0.1010&1.0101\end{pmatrix}\).

Both off-diagonal entries are nonzero, so the \(A\)—\(B\) edge is present in both groups. With just two features, the partial correlation equals the ordinary correlation: it is \(0.40\) in group 1 and \(0.10\) in group 2. The edge is therefore shared but weaker in group 2 by \(0.40-0.10=0.30\) partial-correlation units. This is a strength difference, not an edge-presence difference. The calculation assumes the stated Gaussian models and covariance matrices; it does not establish that the phenotype caused the change.

This example also illustrates why the chosen weight matters. The precision off-diagonal entries differ by \( -0.4762-(-0.1010)=-0.3752\), whereas the partial correlations differ by \(0.30\). Both are valid descriptions of a parameter difference, but they are on different scales. Comparisons should use a consistent, explicitly named scale across groups.

Worked Example: An Edge Appears or Disappears

Worked Example: An Edge Appears or Disappears

Consider three features \(A,B,C\), measured on the same scale in two hypothetical groups. Suppose their estimated Gaussian precision matrices are \(\Omega_1=\begin{pmatrix}1&-0.40&0\\-0.40&1&-0.30\\0&-0.30&1\end{pmatrix}\) and \(\Omega_2=\begin{pmatrix}1&-0.40&0\\-0.40&1&0\\0&0&1\end{pmatrix}\). The matrices are positive definite: for \(\Omega_1\), the leading principal minors are \(1\), \(1-0.40^2=0.84\), and determinant \(1-0.40^2-0.30^2=0.75\), all positive. For \(\Omega_2\), the corresponding minors are \(1\), \(0.84\), and determinant \(0.84\), also positive.

In group 1, the nonzero off-diagonal entries give edges \(A\)—\(B\) and \(B\)—\(C\); \(A\)—\(C\) is absent. Because the diagonal entries are 1, the partial correlations are \(0.40\) for \(A\)—\(B\) and \(0.30\) for \(B\)—\(C\). In group 2, only \(A\)—\(B\) is present, with partial correlation \(0.40\). Thus, \(B\)—\(C\) is present in group 1 and absent in group 2, while \(A\)—\(B\) has the same presence and strength in both.

The graph-level edge count changes from 2 to 1. The matrices are illustrative valid precision matrices, but in an applied analysis the estimated zero and nonzero entries must be interpreted in light of the estimator and its regularization. A numerical zero produced by a sparsity penalty is not automatically proof that the population conditional association is exactly zero.

Worked Example: Different Topology With the Same Edge Count

Worked Example: Different Topology With the Same Edge Count

Consider two hypothetical undirected networks on four common features \(A,B,C,D\). In group 1 the edges are \(A\)—\(B\), \(B\)—\(C\), and \(C\)—\(D\), forming a path. In group 2 the edges are \(A\)—\(B\), \(A\)—\(C\), and \(A\)—\(D\), forming a star. Suppose all listed edges are assigned weight 1 for this topology comparison.

There are \(p(p-1)/2=4(3)/2=6\) possible undirected edges. Each network has \(m=3\) edges, so each has density \(m/6=3/6=0.50\). Their degree sequences differ: group 1 has degrees \(1,2,2,1\), while group 2 has degrees \(3,1,1,1\). Both networks are connected and have no triangles, but their diameters differ: the longest shortest path has length 3 in the path and length 2 in the star.

Thus, equal edge counts and equal density do not imply equal network structure. The star concentrates connections at one node, while the path distributes them differently. These summaries describe topology, not an inferential test of whether the underlying population networks differ.

Assumptions, Comparisons, and Diagnostics

A phenotype-group comparison needs a defensible basis for treating the estimated networks as comparable. Common assumptions and design requirements include:

  • Comparable nodes and measurements. Features should have consistent identities, definitions, and preprocessing across groups.
  • Appropriate group-specific model. The conditional-dependence interpretation must match the data type and model. For Gaussian precision networks, observations within a group are treated as independent draws from a multivariate Gaussian distribution, with a nonsingular covariance matrix for the exact inverse.
  • Comparable adjustment and conditioning sets. If covariates are adjusted for, the adjustment should be consistent across groups. Otherwise, a difference may reflect a change in what was conditioned on.
  • Adequate estimation for the sample size. When the number of features is large relative to the number of subjects, separate unregularized covariance inversion is unstable or impossible. Sparse estimators can help, but introduce dependence on tuning choices.

Useful diagnostics include checking group sample sizes and feature missingness, comparing preprocessing and covariate handling, and examining whether conclusions change under reasonable tuning choices. If estimated edges appear or disappear abruptly with small tuning changes, describe that instability rather than presenting one selected graph as definitive. Network summaries should also be interpreted relative to the same node set; changing the denominator changes density and can alter degree comparisons.

Separate estimation is conceptually direct: fit one network in each group and compare the results. A pooled network can provide a common reference, but by construction it may obscure group-specific relationships. Joint methods can encourage networks to share edges or have similar parameters, which may improve estimation when that structure is plausible; however, those assumptions can also shrink real group differences. Correlation networks are another alternative, but marginal correlations do not condition on the remaining features, so their edges answer a different question from Gaussian graphical-model edges.

In high-dimensional settings, estimation of the networks and evidence for a difference are separate issues. A visual contrast between two selected graphs is descriptive, and a change in a regularized estimate is not by itself a calibrated test of a population difference. The later inferential question requires methods that account for estimation uncertainty and the fact that many edges may be considered.

Common Pitfalls and Limits

  • Calling every difference an edge change. A shared edge can change in strength without changing presence; an unchanged edge count can conceal substantial rewiring.
  • Equating zero with biological absence. A fitted zero can result from regularization, low power, or model misspecification. It is not automatically evidence of no biological relationship.
  • Comparing incompatible scales. Precision entries depend on scale; partial correlations are often easier to compare, but still require consistent modeling and estimation.
  • Making causal claims from an undirected network. Conditional association does not establish direction or causation. Phenotype stratification can also induce or alter associations, and unmeasured confounding remains possible.
  • Overinterpreting global summaries. Density or degree alone cannot identify which edges changed or explain why. Report the specific summary and its limitations.

A differential network is therefore best treated as a structured description of group-specific conditional relationships under a specified model. It can help formulate hypotheses about phenotype-associated molecular organization, but it does not by itself identify a mechanism or establish that changing the phenotype would change the network.

Key takeaway: Specify whether the comparison concerns edge presence, edge strength, or network topology. Keep nodes, model, conditioning set, and edge scale comparable across groups, and distinguish descriptive network differences from statistical evidence and causal conclusions.

Check Your Understanding

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

  1. In two Gaussian phenotype networks, an edge has partial correlation \(0.25\) in one group and \(0.05\) in the other. Is this a presence difference or a strength difference?
  2. In a three-feature Gaussian model, what does \(\Omega_{AC}=0\) mean, and what assumptions support that interpretation?
  3. Two networks on the same four nodes each have three edges, but one is a path and the other a star. Name one structural feature that differs.
  4. Why is a selected edge in one estimated network and a zero in another not, by itself, proof of a population-level phenotype difference?

Solutions. 1. Both partial correlations are nonzero, so the edge is present in both groups but differs in strength by \(0.25-0.05=0.20\) partial-correlation units. 2. Under a nonsingular multivariate Gaussian model, \(\Omega_{AC}=0\) means \(A\) and \(C\) are conditionally independent given the other modeled feature \(B\); the zero-pattern result relies on that Gaussian model and the specified conditioning set. 3. The degree sequences differ: the path has degrees \(1,2,2,1\), while the star has degrees \(3,1,1,1\); their diameters also differ. 4. Estimated zeros and nonzeros can depend on sample size, regularization, tuning, and model assumptions. A contrast between fitted graphs is descriptive unless uncertainty and the selection process are addressed with appropriate inferential methods.

Clinical Biostats