Skip to main content
NIHPA Author Manuscripts logoLink to NIHPA Author Manuscripts
. Author manuscript; available in PMC: 2026 Oct 13.
Published in final edited form as: Sci China Math. 2025 Dec 2;69(8):2181–2194. doi: 10.1007/s11425-024-2435-2

Network-based hierarchical heterogeneity analysis and applications to cancer omics data

Ruiyue Wang 1,2, Sanguo Zhang 1, Shuangge Ma 2,*
PMCID: PMC13655714  NIHMSID: NIHMS2214634  PMID: 42865749

Abstract

In the study of complex diseases, heterogeneity analysis has been routinely conducted. A series of recent studies have suggested that network (graph)-based heterogeneity analysis can take a system perspective and be more informative than that based on simpler statistics such as mean and variance. In this article, we conduct Gaussian graphical model (GGM)-based heterogeneity analysis. Significantly advancing from the existing literature, we consider the scenario, where measurements can be decomposed into two parts, with the first and second parts for a rough grouping and a refined subgrouping, respectively. Additionally, the groups and subgroups have a nested structure, which enhances interpretability. A penalization approach is developed for simultaneous sparse estimation, grouping and subgrouping, and achieving the hierarchical structure. Its theoretical properties are rigorously established, and an effective computational algorithm is developed. Simulation demonstrates its competitive empirical performance. The analysis of data from the Pan-Cancer Analysis of Whole Genomes (PCAWG) further demonstrates its practical utility and leads to sensible findings.

Keywords: heterogeneity analysis, network analysis, Gaussian graphical model, hierarchy, cancer omics data

MSC(2020): 62H30, 62F12, 62J07

1. Introduction

Heterogeneity is a hallmark of many complex diseases. Heterogeneity analysis can help better understand disease biology, make more accurate prediction of disease paths, and design customized treatment strategies. It can be broadly classified as unsupervised and supervised heterogeneity analysis, both of which have been extensively conducted. In this study, we conduct unsupervised heterogeneity analysis, under which a set of variables has different distributional properties in different sample groups. Early heterogeneity analyses have been mostly based on low-dimensional variables, such as demographic and clinical measurements. More recent analyses have been based on high-dimensional variables, such as those from sequencing and imaging studies, and are notably more challenging. Analysis can be based on “simpler” statistics such as mean and variance. In a series of recent studies, network (graph)-based analysis has been conducted [3, 6, 12]. Such analysis can incorporate mean and variance (and possibly other statistics), define sample differences based on the interconnections among variables, and provide a deeper/more comprehensive view.

In network(graph)-based heterogeneity analysis, the most commonly adopted technique is the Gaussian graphical model (GGM). In some studies [5, 7], the GGM-based finite mixture modeling is conducted, and the number of sample groups is pre-fixed or determined using criteria such as Bayesian information criterion (BIC). To more “automatedly” determine the number of groups and provide a more solid statistical ground, studies such as [11, 18] adopt the penalized fusion technique.

In the aforementioned and some other studies, a single level of grouping is conducted, and samples are classified into mutually exclusive groups only once. In “classic” clustering analysis, hierarchical clustering has been popular, under which sample groups can be further divided into subgroups that are nested within the groups. This process can be further repeated. Compared with partitional clustering, hierarchical clustering, by looking at sample grouping at multiple levels/resolutions, can sometimes be more informative. The scheme of the proposed analysis is shown in Figure 1. Motivated by the success of GGM-based heterogeneity analysis and the lack of hierarchical structure in such analysis, our goal is to identify sample groups and subgroups, with subgroups nested in groups, and different groups/subgroups are defined by their unique network structures. To simplify notation, we consider two levels in this article and note that the proposed analysis can be potentially extended to more levels.

Figure 1.

Figure 1

(Color online) Scheme of analysis. Left: subjects are divided into two groups. Group-A is further divided into three subgroups (A1, A2, and A3); the two subgroups of Group-B are omitted to simplify the presentation. Middle: the group-level networks, the subgroup-level networks, and the networks combining the two levels. Right: the observed networks without distinguishing the two levels

Some intuition can be inferred from Figure 1. For the samples in each subgroup, their overall network structure (“Combined” in Figure 1) is jointly determined by the network structures of the subgroup and the corresponding upper-level group. The “intertwinement” of networks can be complex, meaning that it is possible that the observed networks (“Observed” in Figure 1) can be dense even though the corresponding networks at different levels are sparse. There is no definitive evidence in published data analyses regarding the relative sparsity of networks at different levels. In genetic data analysis, the group-level analysis may correspond to gene pathways, and the subgroup-level analysis may correspond to more refined functional units. It has been indicated that the subgroup-level networks may be sparser than their group-level counterparts. However, this is not necessarily true for other data scenarios.

To achieve two (or more) levels of grouping, one possibility is to analyze the same measurements with different resolutions, as in, for example, classic hierarchical clustering. Our preliminary exploration suggests that, with GGM, it is challenging to conduct this type of analysis, simultaneously achieve multiple levels of grouping, and establish consistency properties. Another possibility is to use different data/information for different levels. For example, pathological imaging data are used for grouping, and omics data are used for subgrouping1). This type of analysis demands two or more types of data. Moreover, [9] considers a direct decomposition of precision matrices into common parts and subgroup-specific parts for different subgroups, requiring that the network of a group be the common structure of the subgroup networks it contains. In this study, we take a different strategy that complements the existing ones. In particular, it is assumed that the observed measurements can be decomposed into two parts, with the first providing rough information and forming grouping and the second providing more subtle information and forming subgrouping. Intuitively, when we take a rough look at data, a rough grouping can be obtained. Subsequently, when we take a closer look at data, more subtle information, which is not reflected in rough grouping, is obtained and leads to more refined subgrouping. As subgrouping is meant to improve over grouping as opposed to voiding it, a nested structure is desirable. Similar data decomposition strategies have been considered in [17,22,25] under different contexts, and note that they are all based on single-level grouping with known subgroups.

Overall, this study aims to develop a novel alternative heterogeneity analysis tool based on GGM. Similar to the other GGM-based heterogeneity analysis studies, it can be more informative than those based on simpler statistics. Advancing from the existing GGM-based heterogeneity analyses such as [3, 14, 15], it conducts a multi-level analysis, with lower-level subgroups nested in higher-level groups. As discussed above, our strategy of utilizing information for multi-level grouping differs from and complements some of the existing literature. Also, it is noted that, although the concept of hierarchical clustering is classic, conducting such analysis in a single step (as opposed to multiple steps) based on GGM is highly nontrivial. This study also differs from and complements, for example, the supervised regression-based hierarchical heterogeneity analysis [8]. The rigorous theoretical and computational developments can also broadly shed insights on GGM, hierarchical clustering, high-dimensional penalized fusion, and other areas. Last but not least, as demonstrated in data analysis, this study can deliver a practically useful tool and advance cancer omics and other research.

2. Model

2.1. Data and modeling framework

Consider the scenario described above, where measurements are available on p variables for n independent samples. Assume that the samples can be divided into a total of K0 subgroups as well as a total of K1 groups. The subgroups are nested within the groups, i.e., there is a hierarchical structure. There is no constraint on the number of subgroups within each group.

Let Xk,i be the vector of measurements for subject i in the k-th subgroup. Assume Xk,i=Ym(k),i+Zk,i, where Zk,i is the random vector corresponding to the k-th subgroup-specific effect, and Ym(k),i is the random vector corresponding to the m(k)-th group-specific effect, which is identically distributed across the subgroups with the same m(k) value. Assume that Ym(k),i and Zk,i(i=1,…,n;k=1,…,K0;m(k)=1,…,K1<K0) are p-dimensional Gaussian random vectors with covariance matrices 𝚺Ym(k) and 𝚺Zk, respectively. Let 𝚽k=𝚺Zk−1 and 𝚯k=𝚺Ym(k)−1, with 𝚯k1=𝚯k2 if mk1=mk2 (i.e., k1-th and k2-th subgroups belong to the same group). Additionally, assume that Ym(k),i and Zk,i are independent.

The goal of the analysis is to identify the hierarchical structure and estimate the group- and subgroup-specific precision matrices 𝚯k’s and 𝚽k’s based on the observed xi’s. Here, we consider the challenging scenario, where K0 and K1 are unknown. yi and zi, the i-th realization of Y and Z, are the latent variables. Drawn from independent samples, yi’s and zi’s are independent for different i’s. Under the assumed setting, the k-th subgroup has distribution 𝒩μk,𝚯k𝚯k+𝚽k−1𝚽k−1 and density fkx;μk,𝚯k−1,𝚽k−1, where the mean vector and covariance matrices are unknown. Note that this density is determined by both the subgroup- and group-level parameters. As each subgroup corresponds to one specific group, once the subgroup index is set, both the corresponding subgroup and group parameters are determined. Then, xi, the i-th realization of X, has density f(x)=∑k=1K0πk*fkx;μk,𝚯k−1,𝚽k−1, where the mixture probabilities πk*’s are unknown. Here, to accommodate heterogeneity, a GGM-based mixture modeling is adopted. It is assumed that an observed measurement vector can be decomposed into a higher group-level component and a lower subgroup-level component. For both components, the Gaussian distributions are assumed. The numbers of subgroups and groups are not assumed to be known, making the proposed model more flexible. The hierarchical grouping structure includes the single-level heterogeneity analysis as a special case.

2.2. Hierarchical penalty estimation

To estimate the model parameters and identify the hierarchical grouping-subgrouping structure, we consider the penalized objective function

ℒ(𝛀,π∣X)=1n∑i=1nlog∑k=1Kπkfkxi;μk,𝚯k−1,𝚽k−1−𝒫(𝛀), (2.1)

where X denotes the collection of the observed data, K is a user-set “upper bound” of the number of subgroups, 𝛀=𝛀1⊤,…,𝛀K⊤⊤,𝛀k=vecμk,𝚯k,𝚽k=μk1,…,μkp,θk11,…,θkp1,…,θk1p,…,θkpp,ϕk11,…,ϕkp1,…,ϕk1p,…,ϕkpp∈R2p2+p,𝚽k is the precision matrix of the k-th subgroup with the ij-th entry ϕkij, and 𝚯k is the precision matrix of the k-th group with the ij-th entry θkij. In addition, π=π1,…,πK⊤. Furthermore, define 𝛀ku=vec𝚯k and 𝛀kl=vecμk,𝚽k. For the penalty we have,

𝒫(𝛀)=∑k=1K∑j=1ppμkj,λ1+∑k=1K∑i≠jpθkij,λ2+∑i≠jpϕkij,λ2+∑k<k′p𝛀ku−𝛀k′u22+𝛀kl−𝛀k′l221/2,λ3+∑k<k′p𝛀ku−𝛀k′u2,λ4, (2.2)

where p(⋅,λ) is a concave penalty function with a tuning parameter λ(λ>0), and λ1,λ2,λ3, and λ4 are tuning parameters. In our numerical study, we adopt the minimax concave penalty (MCP) [26] and note that some other penalties such as smoothly clipped absolute deviation (SCAD) are also applicable. In most if not all scenarios, although it is hard to know K0 a priori, its “upper bound” K can be easily specified, and K can be set as a relatively large number, as shown in our numerical analysis. Consider the estimate

(𝛀^,π^)=argmax𝛀,πℒ(𝛀,π∣X).

Let 𝚼^1,…,𝚼^K^0 be the distinct values of 𝛀^ and 𝚪^1,…,𝚪^K^1 be the distinct values of 𝚯^.

𝒯^ll=1,…,K^0=k:𝛀^k≡𝚼^l,k=1,…,Kl=1,…,K^0

and

ℐ^ll=1,…,K^1=k:Θ^k≡𝚪^l,k=1,…,Kl=1,…,K^1

both constitute partitions of {1,…,K} which is a more relaxed division, corresponding to the last two penalty terms shrinking to zero (or less than a given threshold).

Then, K^1 groups and K^0 subgroups can be identified, and their estimated precision matrices are obtained. The mixture probabilities of the subgroups and groups, respectively, π^l=π^1l,…,π^K^0l⊤ and π^u=π^1u,…,π^K^1u⊤, can be extracted from π^. To better characterize the nested group-subgroup relationships, we conduct a mutually exclusive partition of 1,…,K^0:ℋ^1,…,ℋ^K^1, satisfying

ℐ^l2=⋃l1∈ℋ^l2𝒯^l1,1<l1⩽K^0,1⩽l2⩽K^1.

This indicates that the subgroups are indexed under (nested within) the groups. Note that a smaller K^1 does not necessarily mean a smaller K^0.

Rationale.

The proposed objective function has an intuitive formulation. The first term is the log-likelihood function under the Gaussian mixture model. The first two terms in the penalty function lead to sparsity and have been commonly adopted in the literature [4,16]. It is noted that under heterogeneity, the means cannot be eliminated via normalization because it is impossible to achieve equal means using centralization. When sparsity in the means is not of interest, the first penalty term can be removed, which can simplify computation.

The most significant advancement is the last two penalty terms. For heterogeneity analysis, we adopt the penalized fusion strategy, which has been popular in recent studies [19]. Its most significant advantage is that it “transforms” the determination of the number of groups (which is usually challenging) to a tuning parameter selection problem, which can be more “automated”. Additionally, the theoretical properties can be easier to establish. Here, it is noted that most of the existing penalized fusion-based heterogeneity analysis has only one level, without considering the hierarchical structure. In data analysis, although the numbers of groups and subgroups are unknown, it is usually not difficult to specify an “upper bound”. Once K subgroups are identified, the penalized fusion encourages smaller subgroups/groups to be merged into bigger ones.

To respect the hierarchy, we adopt a strategy that shares some similar spirit with the hierarchically structured sparsity penalization [1]. With the proposed penalty and the initial K subgroups, the resulting estimates have the following possibilities:

  1. 𝛀ku=𝛀k′u and 𝛀kl=𝛀k′l: the initial subgroups k and k′ are merged into one group and one subgroup, and the density functions for the two subgroups are exactly the same;

  2. 𝛀ku≠𝛀k′u and 𝛀kl≠𝛀k′l: the initial subgroups k and k′ belong to different groups and different subgroups;

  3. 𝛀ku=𝛀k′u and 𝛀kl≠𝛀k′l: the initial subgroups k and k′ belong to different subgroups but the same group.

It is noted that, with the “all in or all out” property of group penalization, the case with 𝛀ku≠𝛀k′u and 𝛀kl=𝛀k′l cannot happen. As such, the hierarchy is respected.

3. Theoretical properties

Denote the true values of the parameters by

𝛀*=𝛀1*⊤,…,𝛀K*⊤⊤,𝛀k*=vecμk*,𝚯k*,𝚽k*∈R2p2+p,1⩽k⩽K0.

Let 𝚼*=𝚼1*,…,𝚼K0* be the distinct values of 𝛀* corresponding to the subgroups. Also let 𝚯*=vec𝚯1*⊤,…,vec𝚯K*⊤⊤ and vec𝚯k*⊤∈Rp2. Let 𝚪*=𝚪1*,…,𝚪K1* be the distinct values of 𝚯* corresponding to the groups. Define the minimum differences of the common parameters between two subgroups and two groups as b1=min1⩽l1≠l2⩽K0𝚼l1*−𝚼l2*2 and b2=min1⩽l1≠l2⩽K1𝚪l1*−𝚪l2*2, respectively. For l1=1,…,K0 and l2=1,…,K1, define 𝒮l1=(i,j):ϕl1ij*≠0,1⩽i≠j⩽p,𝒮l2′=(i,j):θl2ij*≠0,1⩽i≠j⩽p, and 𝒟l1=j:μl1j*≠0,1⩽j⩽p. Denote by |⋅| the cardinality of a set, and define the sparsity parameters s=maxmax𝒮l,l=1,…,K0,max𝒮l′,l=1,…,K0 and d=max𝒟l,l=1,…,K0. In the supporting information, we describe the assumed conditions, which are mild and comparable to those in the literature under simpler contexts. The following consistency properties can be established.

Theorem 3.1. Suppose that Conditions 1–5 (supporting information) hold. Assume

K2K03(s+p)logpn=o(1),K01.5(s+p)logpn=Oλ1=Oλ2,minλ3,λ4≫KK01.5(s+p)logpn,

the minimum signal in the true parameters 𝚼* is larger than (a+0.5)⋅maxλ1,λ2,b1>(a+0.5)λ3, and b2>(a+0.5)λ4, where a is the regularization parameter of the concave penalty defined in Condition 4. Then, there exists a local maximizer of (2.1) that satisfies

  1. (consistency of hierarchical structure identification)
    PK0^=K0,K1^=K1→1,Pπ^l2u=∑l1∈ℋ^l2π^l1l,1<l1⩽K^0,1⩽l2⩽K^1→1;
  2. (estimation consistency)
    ∑k=1K^0𝚼^k−𝚼k*2=OpK01.5(d+s+p)logp/n
  3. (sparsistency) denote the non-zero element (support) sets for parameter estimates by 𝒟^l1=j:μ^l1j≠0,1⩽j⩽p},𝒮^l1=(i,j):ϕ^l1ij≠0,1⩽i≠j⩽p, and 𝒮^l2′=(i,j):θ^l2ij≠0,1⩽i≠j⩽p. Then, with probability tending to 1, 𝒟^l1=𝒟l1 and 𝒮^l1=𝒮l1 for all l1=1,…,K0;𝒮^l2′=𝒮l2′ for all l2=1,…,K1.

The proof is provided in the supporting information. In heterogeneity analysis, the label-switching (“reshuffling” of (sub)groups) problem is commonly encountered and has been well discussed in the literature. It does not affect the estimation consistency of the model parameters. This theorem establishes three much-desired consistency properties. In particular, the mixture structures at the two levels can be consistently estimated. The convergence rate Op((d+s+p)logp/n) (when K is bounded) is the minimax optimal rate under the Frobenius norm [2] and is similar to that in the existing literature. Additionally, the nonzero components in the means and precision matrices can be correctly identified.

We note that the present data and model settings are much more complicated and include some existing ones as special cases. As can be seen from the supporting information, the theoretical developments are not trivial. Additionally, it is noted that the heterogeneity hierarchy automatically holds by the design of the penalty.

4. Computational algorithm

We develop an effective algorithm that nests the expectation-maximization (EM) algorithm and the alternating direction method of multipliers (ADMM) algorithm. It is noted that some of the computational developments may be specific to MCP, and minor changes are needed for the other penalties. We define the latent membership matrix ω=ωikn×K0, where ωik∈{0,1} is an indicator showing whether the i-th observation comes from the k-th mixing component.

First, we present the EM algorithm, which is popular with mixture models. The complete data penalized log-likelihood function is

1n∑i=1n∑k=1Kωiklogπk+logfkxi;μk,𝚯k−1,𝚽k−1−𝒫(𝛀). (4.1)

In the t-th E-step, the conditional expectation of (4.1) with respect to ω is

EL∣X,𝛀(t−1)[ℒ(𝛀,π∣X)]=1n∑i=1n∑k=1KLik(t)logπk+logfkxi;μk,𝚯k−1,𝚽k−1−𝒫(𝛀), (4.2)

where Lik(t) is the conditional expectation of ωik and can be computed as Lik(t)=πk(t−1)fkxi,𝛀k(t−1)∑k=1K0πk(t−1)fkxi,𝛀k(t−1).

The M-step aims to maximize (4.2) with respect to (π,𝛀). For π, we have

πk(t)=1n∑i=1nLik(t). (4.3)

Maximizing (4.2) with respect to μ is equivalent to solving

μ(t)=argminμ12n∑i=1n∑k=1KLik(t)xi−μk⊤𝚯k𝚯k+𝚽k−1𝚽kxi−μk+𝒫(𝛀), (4.4)

where the local quadratic approximation is adopted, leading to an explicit solution.

Since Y and Z are latent (unobserved) variables, the maximum likelihood estimation method cannot be used directly. We embed another EM algorithm (inner-EM) to estimate the covariance matrices corresponding to the latent variables, and this significantly differs from the existing GGM-based heterogeneity studies. As we treat Y and Z as missing data, the complete log-likelihood function without the penalty can be rewritten as

l(Y,Z∣𝛀)=∑k=1Kn~klogdet𝚯m(k)−trSm(k)u𝚯m(k)+∑k=1Kn~klogdet𝚽k−trSkl𝚽k, (4.5)

where n~k=∑i=1nLik(t), and Sm(k)u and Skl are the covariance matrices corresponding to 𝚯k and 𝚽k, respectively. Each iteration of the inner-EM algorithm also consists of an E-step and an M-step. The inner-E-step calculates 𝒬in(𝛀)=EY,Z∣Xl(Y,Z∣𝛀).

The M-step maximizes the 𝒬in function to obtain the estimated covariances. More details on the inner-EM can be found in the supporting information.

After the inner-EM iterates to convergence, we can obtain the resulting covariance matrices S~m(k)u and S~kl(k=1,…,K). As mentioned in [22], a regularization strategy can be applied to adjust the covariance matrices and obtain improved results. For updating the precision matrices based on S~m(k)u and S~kl, we have

𝚯(t),𝚽(t)=argmax𝚯,𝚽∑k=1Kn~klogdet𝚯m(k)−trS~m(k)u𝚯m(k)+∑k=1Kn~klogdet𝚽k−trS~kl𝚽k−𝒫(𝚯,𝚽). (4.6)

The solution to (4.6) can be effectively obtained using the ADMM technique. Compared with [3] and some other studies, the present optimization faces more challenges with the fusion penalty. To tackle this problem, we resort to the sparse alternating minimization algorithm [23]. More details are provided in the supporting information.

Although complicated, the proposed algorithm is built on well-developed techniques, and its computational complexity has been thoroughly examined in the literature. In each iteration, all samples are involved in the E-step, and the computational complexity is expected to be Onp2. For the p variables in the M-step, the computational cost is expected to be Op3 caused by matrix multiplication, inversion, and eigenvalue decomposition. Without penalization, the computational cost is expected to increase linearly with the number of mixing components. With the pairwise penalization, it is expected to be OK2p2. Convergence is expected with a moderate number of iterations. As such, we expect the overall computational complexity to be OKp3+Knp2+K2p2.

The initialization is implemented using the classic hierarchical clustering method, and some other sensible clustering methods can also generate satisfactory initial values, like K-means (note that this type of Flat clustering approach may require similar subgroups to be synthesized again to initialize groups). To improve accuracy, we advise timely merging after several iterations, which is similar to the refitting step in [18], avoiding the possibility of having too few samples in a subgroup. Additionally, it is noted that a too large K may lead to poor initial values (some initial subgroups may have too few samples, which may negatively affect convergence). Convergence properties of this algorithm can be established following [7]. In all of our numerical studies, convergence is satisfactorily achieved with a moderate number of iterations.

Tuning parameter selection.

We adopt a linear search and optimize an adaptive AIC-type criterion

−1n∑i=1nlog∑k=1K^0πkfkxi;𝛀^k+∑k=1K^0𝒟^k+2𝒮^k+∑k=1K^12𝒮^k′,

where the degrees of freedom of the precision matrices are associated with smaller weights, following [3]. In numerical studies, we follow the published literature and fix the regularization parameter of MCP. The sparsity levels of the precision matrices at different levels may differ attributable to the sample sizes, and we adjust λ2 as in [22] by multiplying ℋl for Φk if k∈ℋl,k=1,…,K^0. In addition, the proposed method focuses more on networks than means, and so we fix λ1 to be a small constant.

5. Simulation studies

For the numbers of groups and subgroups and sample sizes, we consider three scenarios: the all-balanced design with K0=4,K1=2, and sample size n=((200,200),(200,200)), the within-group-balanced design with K0=5,K1=2, and n=((200,200,200),(200,200)), and the imbalanced design with K0=5,K1=2, and n=((250,200,150),(250,150)). We set p=100. It is noted that, with the network-based analysis and heterogeneity, the number of unknown parameters is much larger than the total sample size.

The observations are generated as follows. For grouping, the memberships ζi’s are randomly sampled from {1, 2}. Then, yi~𝒩μζi,Σζi. The first 2m components of the group means are set as 0, and the rest p−2m components are set as 2 if ζi=1 and 0 if ζi=2. For subgrouping, if ζi=1, the subgroup-membership ιi is randomly sampled from {1, 2, 3} if K0=5, and zi~𝒩μιi,Σιi. The first 2m components of the subgroup means are set as 0⋅12mIιi=1)+2⋅1m⊤,−1m⊤⊤Iιi=2+2⋅−1m⊤,1m⊤⊤Iιi=3, where 1m is the length-m vector of all ones. The rest p−2m components are set as 0. It is noted that when K0=4, there is no ιi=1, leading to one fewer subgroup. If ζi=2, the subgroup memberships ιi’s are randomly sampled from {4, 5}, and zi~𝒩μιi,Σιi. The first 2m components of the subgroup means are set as 2⋅12mIιi=4−2⋅12mIιi=5. The rest p−2m components are set as 0.m=8 in all of the simulations.

We consider three different types of networks, and each network consists of ten equal-sized disjoint subnetworks (modules) with the same properties. Among the ten subnetworks, each (sub)group has a unique subnetwork, and the rest subnetworks are shared among the (sub)groups for heterogeneity. For example, when K0=4, the i-th subnetwork is unique for the i-th subgroup, and the difference between the networks of the first subgroup and the third subgroup lies in the first and third subnetworks, with the rest subnetworks being the same. For the first type of network, we consider tri-diagonal (TD) precision matrices. Here, the diagonal elements are all equal to 1, and the sub-diagonal elements are 0.3. The sub-diagonal elements of the unique subnetwork for each (sub)group are 0. For each subnetwork, we consider two popular network structures. Power-law (PL) network: the precision matrix for the first subgroup, consisting of ten power-law subnetworks, is generated through an iterative process. Starting with ten blocks, each iteration introduces two new inter-block connections. The initial matrix θ1ijq×q is generated by θ1ij=1 when i=j,θ1ij=0 when i≠j and i≁j, and θ1ij=Unif([−1,−0.5]∪[0.5,1]) when i≠j and i~j, where the adjacency operator i~j indicates the presence of an edge between nodes i and j, and i≁j indicates the absence of connection. We reinforce diagonal dominance and positive-definiteness through θ1jj=∑i≠jθ1ij+0.1. Nearest-neighbor (NN) network: for each subnetwork of the first subgroup, we generate spatial coordinates by randomly distributing p/10 points within a unit square [0,1]2, calculating all p/10×(p/10−1)/2 pairwise Euclidean distances, identifying mutual m-nearest neighbors, and assigning non-zero entries θ1ij=θ1ji for connected pairs (i,j). The sparsity level is controlled by the neighborhood parameter m, and we set m=2. The unique network for each (sub)group is generated similarly and independently.

To make the analysis more challenging, we allow the groups and subgroups to have different types of network structures. Based on the above three network structures, we consider a total of 6 pairing combinations. It is worth noting that, although the networks are separately sparse, the observed networks after summation and inverse transformation may still be dense.

When implementing the proposed approach, we set K=8. To better gauge performance, we consider the following competing alternatives, all of which have been suggested as effective: (a) mixture, which is a two-step Gaussian mixture clustering approach. It assumes that the numbers of groups and subgroups (within groups) are known. It first applies the Gaussian mixture model to all samples and generates K0 groups. Then the same approach is applied within each group. This approach is realized using R package “mclust”; (b) K-means, which is a two-step method that is similar to (a) but uses the silhouette method (Kmeans1) and elbow method (Kmeans2) to identify the numbers of groups and subgroups. This approach is realized using R package “NbClust”; (c) NETI2, which applies the algorithm of [22] to each group/subgroup given the oracle grouping and subgrouping memberships. The programs for this approach are obtained from [22] and its supplementary data file, which are publicly available.

Here, it is noted that, to the best of our knowledge, there is no existing approach that can directly generate the hierarchical heterogeneity structures and conduct estimation similar to the proposed one. It is possible to develop other alternative approaches (for example, by replacing K-means with another clustering technique). However, the above ones can be the most relevant. Comparatively, the proposed approach can much more easily select the numbers of groups and subgroups and estimate networks simultaneously.

To assess performance, we consider the following measures for groups and subgroups. To simplify notation, we take the subgrouping measures as an example (while the grouping measures can be defined similarly): (a) per, which is the percentage of K^0 equal to K0; (b) mean and standard error of K^0; (c) subgrouping error defined by

CE(φ^,φ)≔2n(n−1)(i,j):Iφ^xi=φ^xj≠Iφxi=φxj;i<j,

where φ^ and φ are the estimated and true subgrouping memberships, respectively; (d) mean squared error (MSE) for {μ} and {𝚽}. When K^0=K0, the MSEs are defined as ∑k=1K0μ^k−μk*2/K0 and ∑k=1K0𝚽^k−𝚽k*2/K0. When K^0≠K0, they are defined as

MSE(μ)=1K^0∑k=1K^0∑l′=1K0μ^k−μl′*2⋅Il′=argminlμ^k−μl*22+𝚽^k−𝚽l*F2,MSE(𝚽)=1K^0∑k=1K^0∑l′=1K0𝚽^k−𝚽l′*F⋅Il′=argminlμ^k−μl*22+𝚽^k−𝚽l*F2.

The MSEs for {𝚯} are similarly defined, and we use MSE1 to denote MSE(μ) and MSE2 to denote MSE(𝚽)+MSE(𝚯); (e) true and false positive rates (TPR and FPR) for the off-diagonal elements of the precision matrices. When K^0=K0, they are defined as

TPR=1K0∑k=1K0∑i<jIϕkij*≠0,ϕ^kij≠0∑i<jIϕkij*≠0,FPR=1K0∑k=1K0∑i<jIϕkij*=0,ϕ^kij≠0∑i<jIϕkij*=0.

When K^0≠K0, their definitions are revised accordingly as for the MSEs.

The proposed analysis has a more complicated objective and formulation than some of its alternatives. Hence, its computational cost is expected to be higher. However, it is still found to be affordable. For the analysis of one replicate, the proposed approach takes about 15 minutes on a laptop with standard configurations. With 100 replicates, the summary results for the unbalanced design with the nearest-neighbor networks for subgroups and the nearest-neighbor and power-law networks for groups are shown in Table 1. The other results are summarized in the supporting information. Similar observations are made across all the simulation settings.

Table 1.

Simulation results for 5 subgroups, the unbalanced design, the nearest-neighbor (NN) networks for subgroups, and the nearest-neighbor (NN)/power-law (PL) networks for groups. For each method, the first/second row corresponds to grouping/subgrouping. In each cell: mean (sd)

Network Method Per K^1/K^0 CE MSE1 MSE2 TPR FPR
NN-group Mixture 1.00 2.000 (0) 0.144 (0.223) 2.785 (2.552)
NN-subgroup 1.00 5.000 (0) 0.284 (0.046) 2.988 (0.485)
Kmeans1 0.94 2.060 (0.239) 0.006 (0.026) 1.286 (0.588)
0 4.000 (0) 0.087 (0.010) 1.036 (0.173)
Kmeans2 1.00 2.000 (0) 0 (0) 0.237 (0.031)
0 4.000 (0) 0.090 (0.013) 1.046 (0.154)
NETI2 1.00 2.000 (0) 0 (0) 0 (0) 7.775 (0.227) 0.806 (0.032) 0.174 (0.004)
1.00 5.000 (0) 0 (0) 0 (0) 5.238 (0.104) 0.696 (0.030) 0.265 (0.005)
Proposed 0.97 1.960 (0.200) 0.019 (0.096) 1.010 (1.410) 7.629 (0.591) 0.862 (0.033) 0.178 (0.020)
0.91 5.080 (0.400) 0.014 (0.016) 0.808 (0.476) 5.114 (0.169) 0.775 (0.023) 0.181 (0.016)
PL-group Mixture 1.00 2.000 (0) 0.058 (0.158) 1.794 (1.810)
NN-subgroup 1.00 5.000 (0) 0.272 (0.049) 2.818 (0.523)
Kmeans1 0.60 2.400 (0.492) 0.046 (0.063) 2.027 (1.144)
0 4.000 (0) 0.086 (0.012) 0.991 (0.153)
Kmeans2 1.00 2.000 (0) 0 (0) 0.231 (0.029)
0 4.000 (0) 0.087 (0.012) 0.974 (0.139)
NETI2 1.00 2.000 (0) 0 (0) 0 (0) 9.270 (0.223) 0.700 (0.031) 0.178 (0.004)
1.00 5.000 (0) 0 (0) 0 (0) 5.218 (0.114) 0.666 (0.039) 0.241 (0.007)
Proposed 1.00 2.000 (0) 0 (0) 0.700 (0.460) 9.122 (0.198) 0.789 (0.023) 0.177 (0.012)
0.87 5.067 (0.365) 0.009 (0.019) 0.748 (0.485) 4.915 (0.173) 0.796 (0.037) 0.180 (0.009)

The classic Gaussian mixture model has trouble identifying the correct memberships, even given the true numbers of groups and subgroups, which is reflected in its (grouping/subgrouping) classification error (CE) being significantly higher than the other methods. The two K-means approaches fail to effectively identify the correct numbers of groups and subgroups. Here, we note that determining the number of groups in unsupervised clustering has been traditionally challenging, and there is a lack of an “optimal” approach, especially under the hierarchical structure. When compared with the NETI2 approach with the true grouping for network estimation, the proposed approach, with fully data-driven (sub)groupings, has superior results. Consider, for example, Table 1, the imbalanced design, the nearest-neighbor networks for groups, and the nearest-neighbor networks for subgroups. For grouping, the proposed approach and NETI2 approach have TPR 0.862 and 0.806, FPR 0.178 and 0.174, respectively. For subgrouping, they have TPR 0.775 and 0.696, FPR 0.181 and 0.265, respectively. The proposed approach also has a small improvement in MSE2.

6. Data analysis

6.1. Analysis of ICGC/TCGA Pan-Cancer data

We analyze data from the Pan-Cancer Analysis of Whole Genomes (PCAWG) Consortium, which provides one of the most authoritative and comprehensive data sources on cancer omics. This dataset encompasses 2658 whole-cancer genomes and their matching normal tissues across 38 tumor types, amalgamated through the collaborative efforts of the International Cancer Genome Consortium (ICGC) and The Cancer Genome Atlas (TCGA) [21]. There have been multiple efforts on analyzing this dataset and its subsets [10, 13,24]. However, the perspectives taken in the existing studies are significantly different from the present one. In particular, heterogeneity analysis has been limited, and there is a lack of GGM-based analysis. Cancer heterogeneity is complicated. Samples with the same cancer can behave differently, while samples with different cancers may behave similarly. As such, it can be of interest to apply the proposed analysis to this dataset.

In principle, the proposed analysis can be conducted with a large number of genes, and this is also supported by the theoretical investigations. However, with the heterogeneity and network structures, the number of unknown parameters can be much larger than, for example, a regular regression analysis. As in the literature, we conduct a more focused analysis on a smaller number of genes. In particular, we consider the p53 signaling pathway, which was among the first to be identified as critical for multiple cancer types [20]. Genes in this pathway are essential for tumor suppression, activating DNA repair mechanisms in response to genomic damage and thus preventing the propagation of genetically compromised cells. They mediate cell cycle arrest and induce apoptosis in cells with irreparable DNA damage, serving as a critical checkpoint that can limit the development and progression of cancers by eliminating potentially cancerous cells. After standard processing, such as removing missingness, the final dataset contains 71 gene expressions measured for 1141 samples. A graphical examination suggests that, although strictly speaking the joint normality assumption may not hold, as most gene expressions have unimodal continuous distributions, the GGM technique can be reasonably applied.

When implementing the proposed approach, we set K=8. The initialization is conducted using hierarchical clustering. Two sample groups are identified. Furthermore, the first group contains three subgroups, with sizes 531, 73, and 43. The second group contains two subgroups, with sizes 388 and 106. Detailed grouping information is available from the authors. The network structures for the groups and subgroups are shown in Figures 2 and 3, respectively. The networks for the two groups have 580 and 473 edges, those for the subgroups of the first group have 529, 340, and 193 edges, and those for the subgroups of the second group have 501 and 333 edges. Examining the numbers of edges and network structures suggests significant differences. For example, the networks for the two groups have only 118 common edges.

Figure 2.

Figure 2

(Color online) Network structures for the two identified groups. (a) Group-1; (b) Group-2

Figure 3.

Figure 3

(Color online) Network structures for the five identified subgroups. (a) Group-1–1; (b) Group-1–2; (c) Group-1–3; (d) Group-2–1; (e) Group-2–2

A closer examination of the networks suggests more differences. For example, the properties of many individual nodes are significantly different across the networks. For example, in the networks for the two groups, genes TNFRSF10A and TNFRSF10B are important for Group-2 and Group-1, respectively, but are connected to much fewer nodes in the other networks. Compared with the other members of the TNFRSF family, TNFRSF10A and TNFRSF10B have unique sequences (p53-responsive elements) in their promoter regions that are directly regulated by p53. This means they can respond directly to p53 activation and thus play a key role in p53-mediated apoptosis signaling. TNFRSF10A is also significantly differentially expressed between the two groups of samples. This may reveal the propensity of the two groups for different apoptotic signals, reflecting the potential responsiveness of different samples to treatment. In the networks for the subgroups, PERP, which is an important gene downstream of the p53 pathway involved in the regulation of apoptosis, is an isolated node in Group-1–3 but a key hub node in the Group-1–1-1 and Group-2–1 networks, connecting with fewer nodes in Group-1–2 and Group-2–1. SERPINB5, a prognostic biomarker also known as Maspin, can be directly or indirectly up-regulated by p53, thus participating in the inhibition of tumor growth and metastasis. It is an isolated node in Group-1–2, Group-1–3, and Group-2–2, but is a key hub node in the Group-1–1 and Group-2–1 networks. Similarly, their expressions vary across the subgroups, and this differential expression may indicate the pathological characteristics and developmental stages of different types of cancers or subgroups of cancers. Information on the degrees of the identified networks is provided in Figures 1–3 in the supporting information.

A challenge faced by most if not all unsupervised heterogeneity analyses is to examine the biomedical implications of the grouping results. To this end, we compare clinical outcomes and phenotypes across the identified groups/subgroups. This approach has been commonly taken in the literature and may provide indirect support to the validity of heterogeneity analysis. We compare the survival curves, diagnosis age, and gene expressions. The results are presented in the supporting information. It is observed that the subgroups of Group-1 have significantly different survival; however, those of Group-2 do not have such a difference (see Figures 4 and 5 in the supporting information). Similar patterns are also observed for age. It may be worth mentioning that Group-1–3 has a younger age but a relatively poorer prognosis (see Figures 6 and 7 in the supporting information). The distributions of cancer types are also observed to differ significantly across the groups/subgroups (see Figures 8 and 9 in the supporting information). Additionally, for multiple genes, significant differences in expression are observed across the groups/subgroups (see Figures 10–12 in the supporting information). Such biomedically meaningful differences can suggest the practical usefulness of the proposed analysis.

6.2. Analysis with alternative methods

Data is also analyzed using the alternatives considered in the simulation. It is observed that different methods lead to significantly different results. In particular, the Gaussian mixture model leads to two groups with sizes 856 and 285, respectively, and five subgroups with sizes 719, 158, 106, 77, and 81, respectively. The Kmeans approach leads to two groups with sizes 655 and 486, respectively, and five subgroups with sizes 93, 481, 348, 103, and 116, respectively. The Kmeans + elbow approach (Kmeans2) generates fewer subgroups, while the Kmeans + silhouette approach (Kmeans1) leads to more groups and subgroups. With the NETI2 method, the identified networks have 730 and 540 edges for the two groups. For the first group, the networks of the subgroups have 426, 318, and 40 edges. In addition, for the second group, the networks of the subgroups have 228 and 22 edges. More detailed results on grouping and network structures are omitted and available from the authors. It is noted that, as in other unsupervised heterogeneity analyses, it is challenging to conclude which set of analysis results is more sensible.

7. Discussion

The significance of heterogeneity analysis for cancer omics and many other data has been fully established in the literature. In this article, building on and also significantly advancing from the existing literature, we have developed and implemented a new unsupervised heterogeneity analysis approach. The building blocks of the proposed approach, in particular the decomposition of observed data, network-based analysis, and heterogeneity analysis with a nested structure, have been more or less considered in the literature. However, the proposed “combination” is novel, and the methodological, theoretical, and computational developments are highly nontrivial. The extensive simulation and data analysis results have suggested that the proposed approach can provide a practically useful tool for cancer omics (and many other) data.

This study can be potentially extended in multiple ways. The proposed approach has been presented at two levels. Conceptually, it is almost straightforward to extend to multiple levels. The GGM makes the joint normality assumption, which can be relaxed following the existing literature. With the proposed approach, it is assumed that there are two or more levels. When it is observed that the number of subgroups is similar to that of groups or that the subgroups have similar network structures, a warning sign should be raised. It can be of interest to develop testing of multi-level grouping. Last but not least, more data analyses and comparisons of single versus multi-level heterogeneity analyses are desired.

Supplementary Material

Supplementary material

The supporting information file contains additional theoretical developments (referenced in Section 3), computational details (referenced in Section 4), additional simulation and real data results (referenced in Sections 5 and 6). The R programs are available in the “MHHA” repository at https://github.com/shuanggema/MHHA. The Pan Cancer Analysis of Whole Genomes (PCAWG) data are openly available from the ICGC Data Portal https://dcc.icgc.org/pcawg. The pathway information is openly available from the KEGG database https://www.kegg.jp/entry/hsa04115. The supporting information is available online at math.scichina.com and link.springer.com. The supporting materials are published as submitted, without typesetting or editing. The responsibility for scientific accuracy and content remains entirely with the authors.

Acknowledgements

This work was supported by National Natural Science Foundation of China (Grant No. 12171454), Fundamental Research Funds for the Central Universities, National Institutes of Health (Grant No. CA204120), and U.S. National Science Foundation (Grant No. 2209685). We thank the associate editor and referees for their careful review and insightful comments.

Footnotes

1)

Ren M, Zhang S, Zhang Q, et al. Gaussian graphical model-based hierarchical cancer heterogeneity analysis via integrating pathological imaging and omics data. Working paper, 2024

References

  • 1.Bien J, Taylor J, Tibshirani R. A lasso for hierarchical interactions. Ann Statist, 2013, 41: 1111–1141 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 2.Cai TT, Liu W, Zhou HH. Estimating sparse precision matrix: Optimal rates of convergence and adaptive estimation. Ann Statist, 2016, 44: 455–488 [Google Scholar]
  • 3.Danaher P, Wang P, Witten DM. The joint graphical lasso for inverse covariance estimation across multiple classes. J R Stat Soc Ser B Stat Methodol, 2014, 76: 373–397 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4.Friedman J, Hastie T, Tibshirani R. Sparse inverse covariance estimation with the graphical lasso. Biostatistics, 2008, 9: 432–441 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5.Gao C, Zhu Y, Shen X, et al. Estimation of multiple networks in Gaussian mixture models. Electron J Stat, 2016, 10: 1133–1154 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 6.Guo J, Levina E, Michailidis G, et al. Joint estimation of multiple graphical models. Biometrika, 2011, 98: 1–15 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7.Hao B, Sun WW, Liu Y, et al. Simultaneous clustering and estimation of heterogeneous graphical models. J Mach Learn Res, 2018, 18: 1–58 [PMC free article] [PubMed] [Google Scholar]
  • 8.Im Y, Huang Y, Huang J, et al. Bayesian hierarchical finite mixture of regression for histopathological imaging-based cancer data analysis. Stat Med, 2022, 41: 1009–1022 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9.Lee W, Liu Y. Joint estimation of multiple precision matrices with common structures. J Mach Learn Res, 2015, 16: 1035–1062 [PMC free article] [PubMed] [Google Scholar]
  • 10.Lengerich BJ, Aragam B, Xing EP. Personalized regression enables sample-specific pan-cancer analysis. Bioinformatics, 2018, 34: i178–i186 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11.Li R, Zhang Q, Ma S. Regulation-incorporated gene expression network-based heterogeneity analysis. arXiv:2308.03946, 2023 [Google Scholar]
  • 12.Lin Z, Wang T, Yang C, et al. On joint estimation of Gaussian graphical models for spatial and temporal data. Biometrics, 2017, 73: 769–779 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13.Lock EF, Park JY, Hoadley KA. Bidimensional linked matrix factorization for pan-omics pan-cancer analysis. Ann Appl Stat, 2022, 16: 193–215 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 14.Ma J, Michailidis G. Joint structural estimation of multiple graphical models. J Mach Learn Res, 2016, 17: 5777–5824 [Google Scholar]
  • 15.Majumdar S, Michailidis G. Joint estimation and inference for data integration problems based on multiple multi-layered Gaussian graphical models. J Mach Learn Res, 2022, 23: 1–53 [Google Scholar]
  • 16.Pan W, Shen X. Penalized model-based clustering with application to variable selection. J Mach Learn Res, 2007, 8: 1145–1164 [Google Scholar]
  • 17.Petralia F, Wang L, Peng J, et al. A new method for constructing tumor specific gene co-expression networks based on samples with tumor purity heterogeneity. Bioinformatics, 2018, 34: i528–i536 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 18.Ren M, Zhang S, Zhang Q, et al. Gaussian graphical model-based heterogeneity analysis via penalized fusion. Biometrics, 2022, 78: 524–535 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 19.Stokell BG, Shah RD, Tibshirani RJ. Modelling high-dimensional categorical data using nonconvex fusion penalties. J R Stat Soc Ser B Stat Methodol, 2021, 83: 579–611 [Google Scholar]
  • 20.Stracquadanio G, Wang X, Wallace MD, et al. The importance of p53 pathway genetics in inherited and somatic cancer genomes. Nat Rev Cancer, 2016, 16: 251–265 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 21.The ICGC/TCGA Pan-Cancer Analysis of Whole Genomes Consortium. Pan-cancer analysis of whole genomes. Nature, 2020, 578: 82–93 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 22.Tu JJ, Ou-Yang L, Yan H, et al. Joint reconstruction of multiple gene networks by simultaneously capturing inter-tumor and intra-tumor heterogeneity. Bioinformatics, 2020, 36: 2755–2762 [DOI] [PubMed] [Google Scholar]
  • 23.Wang B, Zhang Y, Sun WW, et al. Sparse convex clustering. J Comput Graph Stat, 2018, 27: 393–403 [Google Scholar]
  • 24.Wang J, Lock EF. Multiple augmented reduced rank regression for pan-cancer analysis. Biometrics, 2024, 80: ujad002. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 25.Xie Y, Liu Y, Valdar W. Joint estimation of multiple dependent Gaussian graphical models with applications to mouse genomics. Biometrika, 2016, 103: 493–511 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 26.Zhang CH. Nearly unbiased variable selection under minimax concave penalty. Ann Statist, 2010, 38: 894–942 [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

Supplementary material

RESOURCES