ABSTRACT
Advancements in single‐cell RNA‐sequencing (scRNA‐seq) technologies generate a wealth of gene expression data that provide exciting opportunities for studying gene‐gene interactions systematically at individual cell resolution. Genetic interactions within a cell are tightly regulated and often highly dynamic in response to internal cellular signals and external stimuli. Evidence of these dynamic interactions can often be observed in scRNA‐seq data by examining conditional co‐expression changes. Existing approaches for studying these dynamic interaction changes in scRNA‐seq data do not address the multi‐subject hierarchical design commonly considered in single‐cell experiments. In this paper, we propose a Mixed‐effects framework for differential Coexpression and transcriptional interaction modeling in Single‐Cell RNA‐seq (scCOSMiX) to account for the cell‐cell correlation from the same individual. The proposed copula‐based approach allows the zero‐inflation, marginal, and association parameters to be modeled as functions of covariates with subject‐level random effects, to enable analyses to be tailored to the data under consideration. A series of simulation analyses were conducted to evaluate and compare the performance of scCOSMiX to other existing approaches. We applied the proposed method to both droplet and plate‐based scRNA‐seq data sets GSE266919 and GSE108989 to illustrate its applicability across distinct scRNA‐seq experimental protocols.
Keywords: Differential co‐expression, hierarchical study design, mixed effects, single‐cell RNA‐seq, zero‐inflated copula model
1. Introduction
The genetic system responsible for cellular development and function is regulated by intricate networks of thousands of genetic molecules [1]. Understanding how these genetic molecules interact with each other in biological systems is an ongoing focus in many biomedical studies [2, 3, 4]. Popular approaches for studying genetic interactions using gene expression measurements such as WGCNA [5], scLink [6], and graphical LASSO [7] assume static interactions between genes and do not seek to determine the dynamics of changes in genetic interactions in living cells. However, interactions between cellular molecules are likely to be tightly regulated and highly dynamic, varying across cell types, over cell age, or in response to perturbations such as drug treatment [8, 9]. The advent of single‐cell RNA sequencing (scRNA‐seq) has provided new opportunities to study these dynamic interaction changes with single‐cell resolution. To study such variation in gene‐gene interactions, researchers use differential co‐expression analysis, a framework for characterizing how gene‐gene relationships vary across different biological states or experimental conditions.
Effective estimation of differential co‐expression requires careful attention to the distributional properties of the gene expression data being modeled. In scRNA‐seq, gene expression measurements are often generated using one of two main experimental protocols: droplet‐based and plate‐based methods. Although both protocols produce non‐negative integer counts, the statistical distribution of these counts differs substantially between the two [10]. Specifically, droplet‐based methods, such as 10× Genomics Chromium [11], Drop‐seq [12], and inDrop [13], produce gene expression measurements characterized by high sparsity, shallow sequencing depth per cell, and lower amplification bias [10, 14]. In contrast, plate‐based methods, such as SMART‐seq2 [15], yield gene expression measurements with broader dynamic range, deeper sequencing depth per cell, and a greater prevalence of technical zeros arising from inefficient transcript capture and amplification biases [10, 14]. Extensive efforts have been made to identify flexible distributions for modeling the gene expression data generated by various protocols, with particular attention to whether zero‐inflated distributions are required [16]. Using real scRNA‐seq data sets, researchers applied AIC comparisons [17], Bayes factor comparisons [18], likelihood ratio tests [19], and zeros in excess of a negative binomial fit [20] to assess whether the additional complexity of a zero‐inflated model is warranted. Across these studies, support for zero‐inflated models was observed for of genes in droplet‐based data sets and of genes in plate‐based data sets [17, 18, 19, 20].
Beyond the choice of an appropriate modeling distribution, another major challenge in scRNA‐seq analysis is the proper handling of data sets containing cells from multiple patients. Such multipatient studies are becoming increasingly common, reflecting a shift toward designs intended to improve biomarker discovery and facilitate broader characterization of disease and treatment‐related effects [21, 22]. However, the hierarchical structure inherent in the resulting data presents unique statistical challenges. In particular, when multiple cells are sampled from the same individual, their expression profiles can be considered statistically dependent, as cells from the same subject tend to be more similar to each other than to cells from different individuals [23, 24]. Failure to account for this dependence can lead to inflated type I error rates and spurious discoveries, since treating dependent observations as independent exaggerates the effective sample size and undermines the validity of statistical inference [25, 26, 27]. Researchers have utilized GLMM [25], GEE [26], and pseudobulk approaches [23, 28] to address this within‐patient correlation in the context of differential expression, but such approaches have not yet been extended to differential coexpression. Most existing differential coexpression methods assume independence between all observations, making them unsuitable for multipatient studies [8, 29, 30, 31, 32, 33].
Together, these characteristics of scRNA‐seq data give rise to a distinct set of challenges for differential coexpression analysis in multipatient settings. Methods must address the dependence of gene‐gene coexpression on covariates, the within‐subject correlation among cells, and the count‐based nature of gene expression measurements, including the potential for excess zeros. Existing approaches differ in how fully they account for these challenges. The Liquid Association (LA) framework introduced by Li [8, 29] provided one of the first formal approaches to modeling dynamic changes in gene‐gene relationships, but its normality assumptions and permutation‐based inference make it poorly suited to the count‐based characteristics and hierarchical structure of scRNA‐seq data. Ho et al. (2010) [30] proposed a likelihood‐based extension of LA called CNM, which modeled the expression of two genes as conditionally bivariate Gaussian. Tu et al. (2022) [31] employed a similar bivariate Gaussian model, named CoCoA, with estimation carried out using restricted maximum likelihood. While both models boast fast computation times and enjoy the computational advantages of the Gaussian family, they do not accommodate the count nature of the data or the within‐subject correlation.
To address the restrictive normality assumptions of earlier frameworks, Yang and Ho [32] introduced a model called ZENCO, which models coexpression in count data using a zero‐inflated Poisson‐Gamma mixture with Gaussian copula dependence. Building on this work, Ma et al. [34] proposed a flexible copula model accommodating a range of marginal distributions and allowing for covariate effects in the zero‐inflation parameters. These approaches, implemented in the R package scDECO [35], adopt a Bayesian framework with Markov chain Monte Carlo (MCMC) estimation, enabling robust uncertainty quantification. However, they do not account for the hierarchical structure of multipatient data, and their reliance on MCMC introduces substantial computational costs, limiting scalability to larger datasets.
Motivated by the need for faster and more scalable inference, Su et al. [33] proposed CS‐CORE, a model‐based approach capable of efficiently estimating co‐expression structures for potentially thousands of genes. However, the method does not allow for covariates in the mean or in the dependence structure, and it relies on permutation‐based strategies to assess differential co‐expression between conditions. As a result, CS‐CORE is not readily extendable to settings in which co‐expression evolves smoothly with continuous covariates such as pseudotime, treatment dosage, or patient characteristics, and it also does not account for within‐subject correlation.
Thus far, none of the methods discussed simultaneously account for all three of the core challenges described above. Seeking a unified solution, we build upon the flexible bivariate copula regression framework introduced by Marra and Radice (2017) [36] and extended by van der Wurp et al. (2020) [37]. The methods by Marra and van der Wurp, implemented in popular R package GJRM [38], link the marginal parameters as well as the copula association parameter to additive predictors through one‐to‐one transformations and estimate all model components jointly through penalized maximum likelihood. To adapt this framework for differential co‐expression analysis of multi‐patient scRNA‐seq data, we incorporate joint‐level covariate‐dependent zero‐inflation, introduce patient‐specific random effects through the additive predictor structure, and include offsets in the marginal means to adjust for sequencing depth variation.
The structure of the paper is as follows. First, we introduce the droplet‐based and plate‐based data sets which motivate the design of our simulation studies and serve as the focus of our real data analyses. Second, we formally define the scCOSMiX model and outline the nested optimization approach used for penalized maximum likelihood estimation. Next, through a series of simulation studies, we assess the statistical power, coverage, robustness, FDR control, precision‐recall, and computation time of our method alongside existing methods. Finally, we present the results of our real data analyses, where we apply scCOSMiX to the aforementioned data sets and identify significant differentially co‐expressed gene pairs.
2. Materials and Methods
2.1. Data Sets
To demonstrate the flexibility of scCOSMiX across different scRNA‐seq protocols, we conduct all analyses using a droplet‐based and a plate‐based data set. The droplet‐based data set comes from a triple‐negative breast cancer (TNBC) study by Zhang et al. [39] (GEO accession GSE266919). In this study, tumor biopsies were collected from patients before and after treatment with paclitaxel, nab‐paclitaxel, or their combinations with the anti‐PD‐L1 antibody atezolizumab. Single‐cell RNA sequencing was performed using the 10× Genomics Chromium platform. Immune cell dynamics were profiled across treatment regimens, revealing treatment‐associated shifts in the abundance and transcriptional states of T cells, B cells, myeloid cells, and natural killer cells. Myeloid cells were found to undergo transcriptional reprogramming in response to treatment with nab‐paclitaxel, and this finding serves as the motivation for our real data analysis of this data set.
We investigate changes in gene‐gene co‐expression between pre‐treatment and post‐treatment myeloid cells from patients classified as responders to paclitaxel‐based therapies. The data set includes pre‐ and post‐treatment samples from 44 patients, annotated with treatment regime, cell type, and responder/non‐responder status. For our analysis, we filter the data set to include the myeloid cells of patients who had their biopsies taken from breast tissue; had at least 30 myeloid cells in both their pre‐ and post‐treatment samples; were treated with nab‐paclitaxel or nab‐paclitaxel plus atezolizumab, and were classified as responders. This resulted in a final set of 8 patients and 5018 cells (2215 cells pre‐treatment and 2803 cells post‐treatment).
The plate‐based data set comes from a colorectal cancer (CRC) study by Zhang et al. [40] (GEO accession GSE108989). In this study, samples from tumor tissue, adjacent normal tissue, and peripheral blood were collected from 12 CRC patients who had not received chemotherapy or radiation therapy. T cells were isolated and profiled using the Smart‐seq2 protocol, and clonal expansion and transcriptional diversity across the T cell compartment were profiled, with particular focus given to the CD4 and CD8 subsets. The CD4 subset was found to be characterized by transcriptional profiles associated with immune regulation and helper function, while the CD8 subset showed evidence of clonal expansion and expressed genes linked to cytotoxicity and exhaustion. In our real data analysis of this dataset, we examine how these subset‐specific characteristics are differentially reflected in patterns of gene‐gene co‐expression. To this end, we filter the data to just CD4 and CD8 T cells derived from tumor tissue, and we retain only patients with at least one cell from each lineage. This results in a final analysis set of 11 patients and 4032 cells (2466 CD4 cells and 1566 CD8 cells).
2.2. Model
We start by considering the expression measurements for a gene pair. Let , represent the expression levels of two genes in cells. Thus, represents the expression level in gene in cell , where , . Let and be design matrices for fixed effects and random effects, respectively. In the scCOSMiX framework, the joint expression of is modeled using a zero‐inflated bivariate copula. Every parameter in the model can be modeled as a linear combination of relevant fixed and random effects via an appropriate one‐to‐one transformation. We first outline the joint pmf of in a single cell, before expanding it to the joint pmf of .
The flexibility of the copula model allows arbitrary marginals to be considered in the scCOSMiX framework. In this paper, we apply the negative binomial marginal distributions for scRNA‐seq count data. Let be the negative binomial cdf under the NBII parameterization from Greene [41]. This distribution has two parameters: a mean parameter and an over‐dispersion parameter and has expectation and variance . The is referred to as the over‐dispersion parameter because it controls how much larger the variance is than the mean. As moves toward 0, the variance becomes equal to the mean and the distribution becomes a Poisson distribution, but as moves away from 0, the variance becomes increasingly larger than the mean.
Dependence between and is imparted through a bivariate copula. While various copulas, including the Clayton [42], Joe [43], Gumbel [44], and Frank [45], are compatible with our proposed framework, in this paper we focus on the Gaussian copula. The Gaussian copula is a popular choice in the literature for analyzing scRNA‐seq data [34, 46, 47, 48], and its association parameter , being the correlation coefficient of a multivariate Gaussian distribution, is readily interpretable. The cdf of a bivariate Gaussian copula with negative binomial marginals takes the form:
where denotes the cdf of the bivariate standard normal distribution with correlation , and is the quantile function of the standard normal distribution. Similarly, the joint pmf of and , before accounting for zero‐inflation, is given by:
| (1) |
To incorporate zero‐inflation into this model, we introduce parameters and , which represent the probabilities of a dropout event affecting gene 1 and gene 2, respectively, in cell . The scCOSMiX joint pmf for is then defined as a mixture model, where these dropout probabilities act as weights:
| (2) |
The marginal distributions of this joint pmf are given by:
which are zero‐inflated negative binomial pmfs.
The parameters can be covariate‐dependent in the following way:
| (3) |
where the and transformations on the left‐hand side ensure that each parameter remains within its valid parameter space. and are submatrices of the full design matrices and , containing only the columns relevant to parameter . Following the approach taken by Su et al. [33] and Mallick et al. [16], the term is an offset equal to the logarithm of the total sequencing depth of cell . The random effects design matrix is structured such that each row is a standard basis vector indicating the category of the grouping factor for that observation. For example, if we are fitting a patient‐level random intercept for in a 4‐patient data set, and cell belongs to patient 2, then [49]. The random effects follow a normal distribution , where is a diagonal covariance matrix whose entries share a common value for components of that with the same variance component, and distinct values for components associated with different variance components. So in the 4‐patient random intercept example, the covariance matrix could be .
This random effects structure falls within the class of mixed models laid out by Wood [50], which can be fit using penalized log‐likelihood. Rather than incorporating the distribution of the random effects into the likelihood, they are instead treated as parameters and shrunk toward 0 by a penalty. Gathering all fixed effects coefficients into one vector , and all random effects coefficients into one vector , we arrive at the penalized log‐likelihood for the full data set :
| (4) |
The penalty vector is structured to align with , such that all components of corresponding to the same variance group receive the same penalty. Note that the normal distribution of the random effects does not appear in the above log‐likelihood. The from Equation (3) are treated as parameters just like the , except that the are subject to the ridge penalty while the are not [51].
2.3. Estimation
The estimation of the penalized log‐likelihood Equation (4) is carried out using the nested optimization approach from Marra et al. [52]. In the outer iteration of this procedure, the smoothing parameters are estimated by minimizing an expression analogous to the Akaike information criterion but with effective degrees of freedom used instead of number of parameters. In the inner iteration, the smoothing parameters are kept constant, and Equation (4) is maximized over .
Maximizing the log‐likelihood in the inner iteration is achieved using trust region optimization [53]. In trust region optimization, a quadratic approximation of the objective function, centered at the current iterate, is formed using the gradient and Hessian of the objective function (derivations of the gradient and Hessian are provided in Appendix 3). Then, a candidate step is chosen as the step that maximizes the quadratic surface within a previously defined trust region around the current iterate. The increase in the actual objective function that results from taking that candidate step is compared to the increase predicted by the quadratic approximation. If the actual increase is significantly smaller than was predicted, then we reject the candidate step, decrease the trust region radius, and try again. Otherwise, the candidate step is taken, and if the step is sufficiently large and the quadratic approximation sufficiently accurate, then the trust region radius is increased. The algorithm terminates when a step is taken that increases either the objective function or the quadratic approximation to the objective function by less than .
The benefit of iteratively expanding and shrinking the trust region radius is that small steps are taken in locations where the quadratic model is a poor approximation to the true objective function, and large steps are taken in locations where it is a good approximation. This allows the algorithm to search carefully in difficult regions and to stride confidently in straightforward ones. Consider an example objective function that has a long flat ridge: while a line‐search algorithm would potentially take a very long step along the ridge, thus bypassing potentially important features and reducing efficiency, the trust region algorithm's step sizes are limited by the trust region radius. Another advantage of trust region optimization is that the quadratic model it uses to approximate the objective function protects against potentially non‐definite evaluations of the actual objective function. This is because steps that lead to non‐definite evaluations of the approximate objective function are never taken and thus the actual objective function is never exposed to such inputs. A comprehensive discussion of trust region optimization can be found in [53].
Note that trust region optimization requires starting values to be provided for each parameter. Starting values for the zero‐inflation parameters are obtained by fitting and using logistic regression from R package mgcv [49], with weights of 0.5 assigned to observations and weights of 1 assigned to observations. Starting values for the remaining parameters are obtained using the methods from Marra and Radice [36], again following the same weighting scheme as outlined above.
Once the algorithm has converged, we use the observed Hessian of the penalized log‐likelihood, along with the point estimates, to obtain confidence intervals and carry out hypothesis tests about the different parameters as laid out in [51].
3. Simulation Studies
To assess the performance of scCOSMiX and compare it with existing methods, we conduct six simulation studies: power, coverage, robustness, FDR control, precision‐recall, and computation time. Each study is carried out under a droplet‐based and a plate‐based setup, as described in Section 2.1. To evaluate the performance of scCOSMiX in terms of power, coverage, and robustness, we simulate data from our proposed model using the following procedure:
Simulate random effect realizations from . Then for ,
Calculate as defined in Equation (3), given specified coefficients, random effects, and offsets.
Simulate from ; the standard bivariate Gaussian distribution with correlation coefficient .
For , set .
Simulate , where indicates that is dropped due to zero‐inflation.
Set .
The parameters utilized in the power, coverage, and robustness simulation scenarios are chosen based on the analyses in Sections 4.1 and 4.2. We use gene pair (GPNMB, SGK1) from Table 4 for the droplet case, and gene pair (BATF, GLRX) from Table S5 for the plate case. These parameter values are:
| (5) |
and
| (6) |
for the droplet and plate cases, respectively. Offsets are set to for the droplet case and for the plate case, reflecting the mean sequencing depth in cells from their respective data sets.
TABLE 4.
Droplet scenario: Top table of co‐expression differences between pre‐treatment and post‐treatment cells from droplet‐based TNBC dataset GSE266919.
| # | Gene 1 | Gene 2 |
|
|
|
|||
|---|---|---|---|---|---|---|---|---|
| 1 | GPNMB | SRGN | −0.001 | −0.279 | 0.277 | |||
| 2 | CDKN1A | SRGN | 0.045 | 0.251 | 0.205 | |||
| 3 | HSPA1A | C1QB | 0.093 | −0.112 | 0.205 | |||
| 4 | GPNMB | KLF6 | −0.034 | −0.236 | 0.203 | |||
| 5 | GPNMB | SGK1 | 0.063 | −0.137 | 0.200 | |||
| 6 | IFI27 | PILRA | 0.148 | −0.050 | 0.198 | |||
| 7 | APOE | SRGN | 0.021 | −0.177 | 0.197 | |||
| 8 | SLC16A3 | SH3BGRL3 | 0.013 | 0.209 | 0.196 | |||
| 9 | RNF213 | NFKBIA | −0.065 | 0.127 | 0.193 | |||
| 10 | SRGN | PPP1R15A | 0.068 | 0.260 | 0.192 | |||
| 11 | ISG15 | NR4A2 | −0.150 | 0.037 | 0.187 | |||
| 12 | LITAF | SCPEP1 | 0.155 | −0.026 | 0.181 | |||
| 13 | GM2A | SRGN | 0.045 | −0.134 | 0.178 | |||
| 14 | LIPA | SRGN | 0.002 | −0.173 | 0.175 | |||
| 15 | CTSS | SGK1 | 0.027 | −0.144 | 0.171 | |||
| 16 | CCL4 | FABP5 | −0.059 | −0.226 | 0.167 | |||
| 17 | LAIR1 | C1QB | 0.234 | 0.067 | 0.167 | |||
| 18 | NFKBIA | CCL4 | 0.549 | 0.383 | 0.166 | |||
| 19 | CMTM6 | CTSS | 0.078 | −0.086 | 0.164 | |||
| 20 | CD53 | FCGRT | 0.143 | −0.021 | 0.164 | |||
| 21 | IFI6 | NR4A2 | −0.311 | −0.148 | 0.164 | |||
| 22 | CTSL | PILRA | 0.125 | −0.037 | 0.161 | |||
| 23 | NR4A2 | RAB31 | −0.066 | 0.095 | 0.161 | |||
| 24 | APOC1 | MCL1 | −0.131 | −0.292 | 0.161 | |||
| 25 | PRNP | FOSB | −0.007 | 0.154 | 0.161 |
For the FDR, precision‐recall, and computation time evaluations, we use the statistical simulator named scDesign3 [54] to generate synthetic data sets that mirror the gene expression distributions, sequencing depth, and metadata structure of our template datasets. We then assess the ability of our method, along with competing approaches, to recover the true gene‐gene co‐expression signals. Because these data are simulated from a third‐party mechanism distinct from scCOSMiX, they provide an opportunity to assess the methods' robustness to model misspecification.
For scenarios involving comparisons to existing approaches, we consider CS‐CORE [33], the R package GJRM [38], CoCoA [31], scDECO [34], CNM [30], and sctransform‐rho [33, 55] as competing methods. Both CS‐CORE and sctransform‐rho rely on permutation testing for assessing significance, which requires specifying the number of permutations. We adopt the authors' recommended default of 100 permutations [33]. Similarly, as a Bayesian method estimated via MCMC, scDECO requires specifying the number of burn‐in and sampling iterations. To balance computational cost and estimation accuracy, we set the burn‐in to 1000 and retain 5000 post‐burn‐in samples. Special accommodations must be made for some of these methods to ensure their compatibility with the simulation scenarios being evaluated. Most notably, since none of the approaches other than GJRM account for patient‐level variability while still producing population‐level parameter estimates, we pool the data from different subjects together before applying them. Additionally, because CoCoA and CNM model their response variables as Gaussian, we pre‐process their input data using the probability integral transform as recommended by Tu et al. [31].
Scenario 1: Power. In the scCOSMiX model specification from Equations (5) and (6), the parameter encodes differential co‐expression between the two groups. So to evaluate power to detect differential co‐expression, we simulate data according to the specifications in Equations (5) and (6) with the value of set at 0, and we vary the value of . At each value, we simulate datasets, with number of cells per patient fixed at 250, and we track the proportion of simulations in which the null hypothesis of no differential co‐expression is rejected. For scCOSMiX, this corresponds to testing , while the competing methods are evaluated under their own respective null hypotheses.
The first test evaluates the power of scCOSMiX to detect differential co‐expression in data sets containing patients. The results are displayed in Figures 1 and S1.
FIGURE 1.

Droplet scenario: Power of scCOSMiX to detect differential co‐expression in data sets with patients. Data is simulated using parameter values specified in Equation (5) based on the droplet‐based data set GSE266919. The null hypothesis being tested is that there is no differential co‐expression (). The number of patients is set to , is set to , and is varied between and . For each combination of and , data sets are simulated, and power is calculated as the proportion of times in which the null hypothesis is rejected.
As shown in Figures 1 and S1, power increases with the number of patients, with a substantial gain between 5 and 10 patients and a more modest improvement between 10 and 15 patients.
The second analysis evaluates the power of scCOSMiX, alongside competing methods, to detect differential co‐expression in data sets with varying amounts of zero‐inflation. In this setting, the number of patients is fixed at , and the zero‐inflation is varied with . The results are displayed in Figures 2 and 3.
FIGURE 2.

Droplet scenario: Power of scCOSMiX and competing methods to detect differential co‐expression in data sets with zero‐inflation. Data is simulated using parameter values specified in Equation (5) based on the droplet‐based data set GSE266919. The null hypothesis being tested is that there is no differential co‐expression. The number of patients is set at , is set to , is varied between and , and . For each combination of and , data sets are simulated, and power is calculated as the proportion of times in which the null hypothesis is rejected.
FIGURE 3.

Plate scenario: Power of scCOSMiX and competing methods to detect differential co‐expression in data sets with zero‐inflation. Data is simulated using parameter values specified in Equation (6) based on the plate‐based data set GSE108989. The null hypothesis being tested is that there is no differential co‐expression. The number of patients is set at , is set to , is varied between and , and . For each combination of and , data sets are simulated, and power is calculated as the proportion of times in which the null hypothesis is rejected.
In the zero‐inflation setting from Figures 2 and 3, we observe inflated type I error rates in all methods that do not account for within‐patient variability, especially in droplet‐based data. This is a well‐documented consequence of treating dependent observations as independent in scRNA‐seq data [25, 26, 27]. As zero‐inflation increases, type I error rates fall back toward the nominal level, as the greater degree of model misspecification resulting from not accounting for zero‐inflation leads to fewer rejections overall and thus fewer false positives. Additionally, it can be seen that as the amount of zero‐inflation in the data increases, scCOSMiX becomes increasingly more powerful than competing methods. The trend is less pronounced in the plate‐based data than in the droplet‐based data because the plate‐based data were generated with higher over‐dispersion values. High over‐dispersion values are typically observed in plate‐based data, and they reduce the impact of zero‐inflation, enabling misspecified distributions to capture the overall shape of the data without explicitly modeling excess zeros. A more detailed analysis of this phenomenon is provided in Appendix 2.
Scenario 2: Coverage. To assess the effectiveness of scCOSMiX parameter estimation, we simulate data sets using the parameters specified in (5) and (6) and calculate the average mean squared error (MSE), average mean bias error (MBE), the proportion of times that the true parameter value falls within its confidence interval (coverage), and also the average width of each confidence interval (CI Width). We carry out this study using patients, with the number of cells per patient set at 200, and the number of iterations at . The results are displayed in Tables 1 and S1.
TABLE 1.
Droplet scenario: Estimation performance for scCOSMiX, evaluated on data sets simulated with parameter values specified in Equation (5) based on the droplet‐based data set GSE266919. Number of patients is set to , and for each value of , datasets are simulated, and estimates and confidence intervals are obtained for each parameter.
| 5 Patients | 10 Patients | 15 Patients | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Parameter | Coverage | MSE | MBE | CI Width | Coverage | MSE | MBE | CI Width | Coverage | MSE | MBE | CI Width | |
|
|
0.882 | 0.008 | 0.071 | 0.479 | 0.926 | 0.004 | 0.048 | 0.241 | 0.938 | 0.002 | 0.039 | 0.195 | |
|
|
0.918 | 0.016 | 0.102 | 0.632 | 0.956 | 0.007 | 0.068 | 0.346 | 0.948 | 0.005 | 0.057 | 0.281 | |
|
|
0.894 | 0.008 | 0.071 | 0.602 | 0.922 | 0.004 | 0.049 | 0.239 | 0.934 | 0.003 | 0.041 | 0.202 | |
|
|
0.896 | 0.016 | 0.100 | 0.779 | 0.924 | 0.008 | 0.069 | 0.342 | 0.952 | 0.005 | 0.057 | 0.283 | |
|
|
0.956 | 0.005 | 0.056 | 0.280 | 0.950 | 0.002 | 0.040 | 0.198 | 0.946 | 0.002 | 0.034 | 0.162 | |
|
|
0.968 | 0.010 | 0.078 | 0.411 | 0.950 | 0.005 | 0.058 | 0.292 | 0.940 | 0.004 | 0.051 | 0.239 | |
|
|
0.956 | 0.005 | 0.057 | 0.280 | 0.938 | 0.003 | 0.044 | 0.198 | 0.960 | 0.002 | 0.033 | 0.162 | |
|
|
0.942 | 0.011 | 0.084 | 0.399 | 0.948 | 0.005 | 0.060 | 0.283 | 0.976 | 0.003 | 0.044 | 0.231 | |
|
|
0.946 | 0.003 | 0.045 | 0.325 | 0.932 | 0.001 | 0.030 | 0.154 | 0.934 | 0.001 | 0.026 | 0.125 | |
|
|
0.958 | 0.006 | 0.061 | 0.458 | 0.960 | 0.003 | 0.042 | 0.219 | 0.966 | 0.002 | 0.035 | 0.176 | |
|
|
0.950 | 0.000 | 0.009 | 0.052 | 0.972 | 0.000 | 0.006 | 0.033 | 0.950 | 0.000 | 0.005 | 0.027 | |
|
|
0.928 | 0.000 | 0.006 | 0.167 | 0.938 | 0.000 | 0.005 | 0.085 | 0.942 | 0.000 | 0.004 | 0.041 | |
|
|
0.958 | 0.000 | 0.005 | 0.084 | 0.964 | 0.000 | 0.004 | 0.034 | 0.950 | 0.000 | 0.003 | 0.017 | |
|
|
0.924 | 0.000 | 0.004 | 0.150 | 0.940 | 0.000 | 0.003 | 0.048 | 0.948 | 0.000 | 0.002 | 0.027 | |
As demonstrated in Tables 1 and S1, the parameters are accurately estimated, as reflected by proper coverage rates and low MSE, MBE, and confidence interval widths. Estimation performance improves with the number of patients, with coverage increasing and error metrics decreasing as number of patients increases.
Scenario 3: Robustness. To assess the effectiveness of scCOSMiX parameter estimation in a scenario without zero‐inflation, we simulate samples using the same parameters as in the previous section except this time with zero‐inflation set to zero. Then we calculate the MSE, MBE, coverage, and CI Width as done in Scenario 2. Once again, we use , and 15 patients, with the number of cells per patient set at , and the number of iterations at . The results are displayed in Tables 2 and S2.
TABLE 2.
Droplet scenario: Robustness performance for scCOSMiX, evaluated on datasets simulated with parameter values specified in Equation (5) based on the droplet‐based dataset GSE266919, with . Number of patients is set to , and for each value of , datasets are simulated, and estimates and confidence intervals are obtained for each non‐zero‐inflation parameter.
| 5 Patients | 10 Patients | 15 Patients | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Parameter | Coverage | MSE | MBE | CI Width | Coverage | MSE | MBE | CI Width | Coverage | MSE | MBE | CI Width | |
|
|
0.894 | 0.010 | 0.080 | 0.398 | 0.918 | 0.006 | 0.060 | 0.285 | 0.939 | 0.004 | 0.050 | 0.240 | |
|
|
0.906 | 0.021 | 0.120 | 0.591 | 0.934 | 0.012 | 0.085 | 0.468 | 0.945 | 0.008 | 0.070 | 0.344 | |
|
|
0.898 | 0.011 | 0.086 | 0.400 | 0.942 | 0.005 | 0.057 | 0.372 | 0.947 | 0.004 | 0.048 | 0.243 | |
|
|
0.918 | 0.023 | 0.121 | 0.575 | 0.938 | 0.010 | 0.081 | 0.493 | 0.954 | 0.007 | 0.069 | 0.343 | |
|
|
0.948 | 0.006 | 0.062 | 0.296 | 0.934 | 0.003 | 0.046 | 0.210 | 0.937 | 0.002 | 0.037 | 0.172 | |
|
|
0.956 | 0.013 | 0.090 | 0.446 | 0.952 | 0.007 | 0.064 | 0.316 | 0.952 | 0.004 | 0.051 | 0.259 | |
|
|
0.932 | 0.006 | 0.063 | 0.300 | 0.936 | 0.003 | 0.046 | 0.215 | 0.928 | 0.002 | 0.037 | 0.176 | |
|
|
0.958 | 0.012 | 0.088 | 0.438 | 0.944 | 0.006 | 0.063 | 0.312 | 0.958 | 0.004 | 0.049 | 0.256 | |
|
|
0.950 | 0.003 | 0.040 | 0.224 | 0.962 | 0.001 | 0.028 | 0.150 | 0.954 | 0.001 | 0.023 | 0.119 | |
|
|
0.966 | 0.005 | 0.057 | 0.320 | 0.964 | 0.002 | 0.039 | 0.216 | 0.952 | 0.002 | 0.033 | 0.170 | |
In Tables 2 and S2, we observe that estimation performance remains consistent in the absence of zero inflation. In both droplet‐ and plate‐based settings, coverage is close to nominal, and MSE, MBE, and CI width improve as the number of patients increases. Overall, results are similar to those observed in the zero‐inflated setting, indicating that scCOSMiX is robust even if the data are not zero‐inflated. An additional robustness study is conducted for the case where zero inflation is present in only one marginal. The results of this study, presented in Tables S3 and S4, demonstrate that scCOSMiX maintains robust performance even under asymmetric zero inflation.
Scenario 4: FDR. To evaluate FDR, we use scDesign3 to generate simulated replicates of our template datasets from Section 2.1. These replicates are designed to mirror the characteristics of the original datasets. A subset of 1225 gene pairs is selected and their differential co‐expression is manually set to 0. Then, for each of the datasets, we apply scCOSMiX and competing methods to the 1225 gene pairs and record the resulting 1225 differential co‐expression ‐values for each method. Since the data were simulated under the null hypothesis for those gene pairs, the distribution of ‐values under the null should follow . The resulting Q‐Q plots for each method, averaged over the replicates, are presented in Figures 4 and S2.
FIGURE 4.

Droplet scenario: Q‐Q plots for the distribution of ‐values for differential co‐expression, based on datasets generated using scDesign3 with the droplet‐based dataset GSE266919 as a template. For each of the simulated replicates, 1225 gene pairs are simulated under the null hypothesis. Each method is then applied to each replicate dataset, and ‐values are computed for all 1225 gene pairs. The black curves show the empirical distribution of ‐values, averaged across replicates for each method. The dashed line represents the expected distribution under the null.
In the droplet‐based setting (Figure 4), scCOSMiX produces well‐calibrated ‐values under the null, and GJRM performs similarly, though with slight conservativeness. The remaining methods exhibit an excess of small ‐values indicating anti‐conservative behavior. This behavior matches the inflated type I errors seen in the zero‐inflation droplet‐based power study, and is a well‐studied consequence of ignoring within‐patient variability. In the plate‐based setting (Figure S2), ‐value calibration improves across all methods, matching the proper type I error rates observed in Figure 3.
Scenario 5: Precision‐Recall To evaluate precision‐recall performance, we generate data under the same framework as in the FDR simulation, except we manually set 140 of the 1225 gene pairs to have differential co‐expression of 0.20. The remaining gene pairs have their differential co‐expression parameters kept at 0, and we proceed to simulate the data sets using scDesign3. The precision and recall, averaged over the data sets, are plotted in Figures 4 and S2.
In Figures 5 and S3, scCOSMiX achieves the highest precision across the entire recall range. At a certain level of recall, CS‐CORE and sctransform‐rho both reach a plateau where precision cannot increase further. This is due to their permutation‐based approach, where the granularity of their ‐values is constrained by the number of permutations performed. Mirroring the findings from the power study, precision‐recall performance in all methods is higher in the plate‐based setting than in the droplet‐based setting. CoCoA and CNM show particular improvement between the two settings, as their Gaussian pre‐processing transformation is more effective on the high over‐dispersion, high mean expressions that characterize plate‐based data. GJRM performs well in the droplet‐based setting and moderately well in the plate‐based setting. This mirrors the findings of the power and FDR studies, where accounting for within‐patient variability proved more important in the low over‐dispersion, low mean environment of droplet‐based data.
FIGURE 5.

Droplet scenario: Precision‐recall curves for differential co‐expression, evaluated on data simulated based on data sets generated using scDesign3 with the droplet‐based data set GSE266919 as a template. data sets were simulated using scDesign3 based on a subset of 1225 gene pairs from the template data set. of the gene pairs were randomly selected and manually given a differential co‐expression of while the remaining 1085 gene pairs have no differential co‐expression.
Scenario 6: Computation Time We recorded the average computation time (in seconds) required to fit a single gene pair from the data simulated under the scenario from the previous section. To calculate this, we simulate a data set from the droplet‐based and plate‐based settings using scDesign3, and we select 1225 gene pairs to use in the evaluation. We then fit each method, and divide their total computation time by 1225 to obtain the average computation time to fit a single gene pair. Computations are performed on an Intel Xeon E5‐2680 v4 CPU (2.40 GHz, 8 cores) with 128 GB RAM. Results are presented in Table 3.
TABLE 3.
Computation time (in seconds) for fitting a single gene pair. Times are averages over 1225 gene pairs from data simulated using scDesign3 with droplet‐based data set GSE266919 and plate‐based data set GSE108989 as templates. Computations performed on an Intel Xeon E5‐2680 v4 CPU (2.40 GHz, 8 cores) with 128 GB RAM.
| scCOSMiX | CS‐CORE* | sctransform‐rho* | CoCoA | CNM | GJRM | scDECO | |
|---|---|---|---|---|---|---|---|
| Droplet | 163.03 | 0.02 | 0.15 | 0.47 | 0.54 | 140.63 | 477.43 |
| Plate | 271.58 | 0.02 | 0.12 | 0.39 | 0.38 | 329.14 | 348.28 |
Note: * 100 permutations.
The computation time required for CS‐CORE, sctransform‐rho, and scDECO depends on the number of permutation iterations or the number of MCMC iterations. As shown in Table 3, computational time varies considerably across the different methods. The Bayesian method scDECO proves to be the most computationally intensive, followed by the methods that account for within‐patient variability (scCOSMiX and GJRM). Methods that assume normality (CoCoA and CNM) rank next in speed, while methods that do not rely on likelihood‐based estimation (CS‐CORE and sctransform‐rho) seem to be fast with 100 permutation iterations. However, the time required for CS‐CORE and sctransform‐rho depends on the number of permutation iterations specified, and the number of permutation iterations influences the precision of the ‐value calculation. The computational efficiency of these seemingly faster methods comes at the cost of estimation bias and modeling restrictions. The Gaussian transformation used by CoCoA and CNM is ineffective when applied to sparse or over‐dispersed count data, while the assumption of identically distributed cells within each cell type renders CS‐CORE and sctransform‐rho incapable of modeling covariate effects in the mean, over‐dispersion, and co‐expression parameters. Furthermore, none of the fast methods can be directly applied to multi‐patient data sets without discarding patient information or aggregating cells across individuals. In contrast, scCOSMiX accommodates covariate effects, patient‐level variation, and potential zero‐inflation in a unified likelihood‐based framework, enabling flexible and interpretable modeling of gene expression and co‐expression across complex experimental designs.
4. Experimental Data Analyses
4.1. Application to the TNBC Dataset
We apply scCOSMiX to the droplet‐based TNBC data set GSE266919 described in Section 2.1, focusing on myeloid cells from 8 TNBC patients who responded to treatment with nab‐paclitaxel or nab‐paclitaxel plus atezolizumab. We investigate the changes in gene‐gene co‐expression patterns in myeloid cells between pre‐ and post‐treatment. This analysis aims to uncover changes in transcriptional interactions associated with the treatments.
To carry out the analysis, we define the fixed‐ and random‐effect structures for each parameter according to the model framework described in Section 2.2. For each , we define the fixed‐effects design matrix to consist of an intercept and an indicator for post‐treatment status, in order to allow systematic shifts between pre‐ and post‐treatment conditions to be modeled for each parameter. We specify the random‐effects design matrix , the associated random intercept vector , and the variance structure as follows. For the dropout probabilities , encodes random intercepts at the patient level, with a shared variance component across the eight patients . For the mean and co‐expression parameters , encodes random intercepts at the patient‐by‐timepoint level, with separate variance components for the pre‐ and post‐treatment groups . For the dispersion parameters , following the rationale in Malfait et al. [26], we set and .
Defining the fixed‐ and random‐effects structures in this way enables systematic modeling of timepoint effects while accounting for subject‐level and longitudinal heterogeneity in the dropout, mean, and co‐expression parameters. Before carrying out the analysis, we filter out mitochondrial, housekeeping (Eisenberg and Levanon [56]), and non‐protein‐coding (Durinck et al. [57]) genes from consideration. We further remove genes if they have more than of their expression counts equal to 0 or if their upper quantile is less than 4. After this pre‐processing, 251 genes (31 375 gene pairs) remain in the analysis. For each pair of genes, we fit the above model and obtain a ‐value for the parameter. The Benjamini‐Hochberg (BH) correction [58] is then applied to those 31 375 ‐values to adjust for multiple testing and control the false discovery rate. After the correction, 61 gene pairs were found to be significant. The top 25 gene pairs in terms of are displayed in Table 4. In Figure 6, we present heatmaps of the pre‐treatment and post‐treatment co‐expression for selected gene pairs, along with a heatmap illustrating the co‐expression changes between the two conditions.
FIGURE 6.

Droplet scenario: Heatmaps of gene‐gene correlation estimates for selected genes in pre‐treatment and post‐treatment cells from droplet‐based TNBC data set GSE266919, with an additional heatmap showing co‐expression changes between the two conditions.
The heatmaps in Figure 6 illustrate some of the co‐expression changes induced within myeloid cells by treatment with nab‐paclitaxel. Co‐expression changes in gene pairs such as SRGN‐RAB31 and CXCL16‐HEXB reflect the underlying reprogramming of myeloid regulatory networks described in the original study of this data set [39]. In prior research, SRGN has been shown to regulate the packaging and secretion of inflammatory cytokines such as TNF‐ [59], while RAB31 has been identified as a contributor to early‐stage immune signaling and intracellular transport of signaling molecules [60]. The increased co‐expression of these two genes following treatment is consistent with the original study's findings that nab‐paclitaxel promotes inflammatory macrophage states with elevated immune activity. In contrast, CXCL16, which promotes monocyte recruitment and supports stromal activation in triple‐negative breast cancer [61], and HEXB, a marker of metabolically active tumor‐associated macrophages involved in glycolytic signaling [62], show decreased co‐expression – reflecting the disruption of suppressive myeloid states and the shift toward inflammatory reprogramming reported in the original study.
4.2. Application to the CRC Data Set
We apply the scCOSMiX model to the plate‐based CRC data set GSE108989 described in Section 2.1, focusing on tumor‐derived CD4 and CD8 T cells from 11 colorectal cancer patients. In their original study, Zhang et al. [40] reported that tumor‐infiltrating lymphocytes are highly heterogeneous with respect to gene expression profiles and clonal expansion patterns, with CD4 and CD8 T cells exhibiting markedly different transcriptional programs. We use scCOSMiX to examine whether these lineage‐specific transcriptional differences are reflected in distinct patterns of gene‐gene co‐expression between CD4 and CD8 T cells.
To this end, we apply the same fixed‐effect, random‐effect, and offset specification as in Section 4.1, but with the factor of interest changed from timepoint to cell type. The gene‐filtering process also remains the same, except this time we include an additional filter on the variance of the gene expression counts. We remove a gene if its normalized gene expression in either of the CD4 or CD8 cell types has standard deviation less than 0.4 or if the absolute difference between the CD4 and CD8 standard deviations is less than 0.1. The normalization is carried out using the methods from Hafemeister et al. [55] and is used to ensure the variance calculated is not due to sequencing depth effects. After filtering, 276 genes (37 950 gene pairs) remain for analysis. For each pair of genes, we fit the scCOSMiX model and obtain a ‐value for the parameter. The BH correction is then applied to those 37 950 ‐values to adjust for multiple testing and control the false discovery rate. After the correction, 548 gene pairs were found to be significant. The top 25 gene pairs in terms of are displayed in Table S5. In Figure S4, we present heatmaps of the CD4 and CD8 co‐expression for selected gene pairs, along with a heatmap illustrating the co‐expression changes between the two lineages.
The heatmaps in Figure S4 illustrate some of the co‐expression differences found between CD4 and CD8 T cells in our analysis. Decreased co‐expression in gene pairs such as CD28‐RHOG and MAP2K3‐TFRC reflects the transcriptional disorganization and functional exhaustion of CD8 cells described in the original study of the data set [40]. In prior research, CD28 has been found to be a key co‐stimulatory receptor for T cell activation, particularly active in CD4 subsets [63], while RHOG has been identified as a modulator of T cell activation by dampening TCR signaling in later stages of the response [64]. Similarly, MAP2K3 contributes to stress and survival signaling in colorectal cancer [65], and TFRC supports iron uptake and metabolic activity required for proliferation and effector function [66]. The reduced co‐expression of these two gene pairs in CD8 cells indicates impaired coordination of activation, signaling, and metabolic programs, consistent with the original study's finding that tumor‐infiltrating CD8 T cells are more exhausted, dysfunctional, and transcriptionally fragmented than CD4 T cells.
5. Discussion
In recent years, the proliferation of multi‐patient scRNA‐seq studies has created rich opportunities to analyze dynamic gene‐gene interaction changes across cell types, developmental stages, treatment conditions, and other biological contexts. However, such analyses involve substantial methodological challenges, including the hierarchical structure inherent in sampling multiple cells from each patient, the count‐based nature of gene expression measurements with protocol‐dependent distributional properties, and the need to model covariate‐dependent changes in both the marginal expression levels and the gene‐gene dependence structure. To address these challenges, in this paper we proposed scCOSMiX, a flexible zero‐inflated bivariate copula mixed‐effects model for analyzing differential co‐expression in multi‐patient scRNA‐seq data appropriate for both plate‐based and droplet‐based protocols.
We carried out simulation studies based on scenarios from both droplet‐ and plate‐based data sets, evaluating coverage, robustness, power, FDR control, precision‐recall, and computation time. As demonstrated by our simulations and experimental data analyses, the algorithm can flexibly estimate parameter values generated by various experimental protocols. In the coverage and robustness studies, scCOSMiX maintained proper coverage rate and low MSE for all parameters, even when fit to data generated without zero inflation. It performed similarly well in the power studies, where it showed high power on data simulated with and zero‐inflation. In the computation time study (Table 3), we found the mixed effects framework of scCOSMiX incurred a greater computational burden compared to methods treating all cells as independent, but this additional computational burden was offset by superior performance in the FDR control, precision‐recall, and power studies.
The scCOSMiX framework provides flexibility for researchers to specify both the marginal distributions and the copula to accommodate a wide range of data types. In this paper, we used a Gaussian copula with negative binomial marginals to capture gene co‐expression in scRNA‐seq data, but the model can be tailored to suit data from contexts beyond gene expression, including multi‐omics and microbiome studies. For example, by setting the first marginal as log‐normal and the second marginal as negative binomial, scientists could analyze whether the correlation between protein abundance and chromatin accessibility is in some way modulated by the cell type. Alternatively, to analyze microbial relative abundances, which often exhibit non‐elliptical dependence structures [67], the user could specify a Frank copula in place of a Gaussian copula. To ensure that these user‐specified marginal and copula choices provide a good fit to the data, model fit can be evaluated using randomized quantile residuals [68, 69] and corrected conditional AIC [70].
For a typical scRNA‐seq data set, there are several search heuristics that can be applied using scCOSMiX to identify differential co‐expression gene pairs: (i) candidate gene sets or pathways (ii) genome‐wide screening. Depending on the number of genes in the data set and the computing resources available, one may employ pre‐screening measures such as , introduced by Yu (2018) [71], fastLA, proposed by Gunderson and Ho (2014) [72], or CS‐CORE, developed by Su et al. (2023) [33].
Although the simulation studies and real data analyses in this paper involved only a two‐level categorical covariate (pre‐ vs. post‐treatment in the droplet case and CD4 vs. CD8 in the plate case), the scCOSMiX framework can be used for modeling scenarios involving continuous covariates, categorical covariates with multiple levels, and interactions of covariates. The model‐based nature of scCOSMiX enables testing of complex hypotheses, such as whether the co‐expression of two genes changes with the expression level of a third gene, and whether that change is different in one cell type versus another. This flexibility sets it apart from existing methods such as CS‐CORE, which does not permit continuous covariates or categorical covariates with more than two levels; CoCoA, which does not incorporate covariate effects in the marginal parameters, and CNM, which does not allow more than one covariate in the model.
We conducted two real data analyses: the first on droplet‐based TNBC data set GSE266919, and the second on plate‐based CRC data set GSE108989. In the TNBC data set, we investigated co‐expression changes from pre‐ to post‐treatment in myeloid cells from 8 patients treated with nab‐paclitaxel or nab‐paclitaxel plus atezolizumab. In the CRC data set, we analyzed co‐expression differences between CD4 and CD8 T cells in tumor tissue from 11 CRC patients. For both analyses, we presented top tables featuring the 25 gene pairs with the largest differential co‐expression, and we plotted heat maps for a select number of genes to illustrate the phenomenon of co‐expression visually. The results of these analyses suggested plausible biological hypotheses that matched prior research on the data sets.
Conflicts of Interest
D.T. contributed to this article as an employee of the University of Pennsylvania and the views expressed do not necessarily represent the views of Regeneron Pharmaceuticals Inc.
Supporting information
Data S1. Additional supporting information, including additional plots and tables referenced in the text, a Kullback‐Leibler divergence study, and derivations of the gradient and hessian may be found in the online version of the article at the publisher's website.
Acknowledgments
This research was supported by NIH grant 1R21CA264353.
Bussing A., Marra G., Fan D., Shinohara R., Tu D., and Ho Y.‐Y., “scCOSMIX: A Mixed‐Effects Framework for Differential Coexpression and Transcriptional Interactions Modeling in Single‐Cell RNA‐Seq,” Statistics in Medicine 44, no. 18‐19 (2025): e70213, 10.1002/sim.70213.
Funding: This work was supported by NIH grant 1R21CA264353.
Data Availability Statement
Data for the real data analyses may be accessed at https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE266919 and https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE108989. Data pre‐processing code as well as the processed data method may be found at https://github.com/YenYiHo‐Lab/scCOSMiX.
References
- 1. Barabási A. L. and Oltvai Z. N., “Network Biology: Understanding the Cell's Functional Organization,” Nature Reviews Genetics 5, no. 2 (2004): 101–113, 10.1038/nrg1272. [DOI] [PubMed] [Google Scholar]
- 2. Gilbert‐Diamond D. and Moore J. H., “Analysis of Gene‐Gene Interactions,” Current Protocols in Human Genetics 70, no. 1 (2011): 1.14.1–1.14.12, 10.1002/0471142905.hg0114s70. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 3. Leeuw d C A., Stringer S., Dekkers I. A., Heskes T., and Posthuma D., “Conditional and Interaction Gene‐Set Analysis Reveals Novel Functional Pathways for Blood Pressure,” Nature Communications 9, no. 1 (2018): 3768, 10.1038/s41467-018-06022-6. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 4. Chari S. and Dworkin I., “The Conditional Nature of Genetic Interactions: The Consequences of Wild‐Type Backgrounds on Mutational Interactions in a Genome‐Wide Modifier Screen,” PLoS Genetics 9, no. 8 (2013): e1003661, 10.1371/journal.pgen.1003661. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 5. Langfelder P. and Horvath S., “WGCNA: An R Package for Weighted Correlation Network Analysis,” BMC Bioinformatics 9, no. 1 (2008): 559, 10.1186/1471-2105-9-559. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 6. Li W. V. and Li Y., “scLink: Inferring Sparse Gene co‐Expression Networks From Single‐Cell Expression Data,” Genomics, Proteomics & Bioinformatics 19, no. 3 (2021): 475–492, 10.1016/j.gpb.2020.11.006. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 7. Friedman J., Hastie T., and Tibshirani R., “Sparse Inverse Covariance Estimation With the Graphical Lasso,” Biostatistics 9, no. 3 (2007): 432–441, 10.1093/biostatistics/kxm045. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 8. Li K. C., “Genome‐Wide Coexpression Dynamics: Theory and Application,” Proceedings of the National Academy of Sciences of the United States of America 99, no. 26 (2002): 16875–16880, 10.1073/pnas.252466999. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 9. Ideker T. and Krogan N. J., “Differential Network Biology,” Molecular Systems Biology 8, no. 1 (2012): 565, 10.1038/msb.2011.99. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10. Cao Y., Kitanovski S., Küppers R., and Hoffmann D., “UMI or Not UMI, That Is the Question for scRNA‐Seq Zero‐Inflation,” Nature Biotechnology 39, no. 2 (2021): 158–159, 10.1038/s41587-020-00810-6. [DOI] [PubMed] [Google Scholar]
- 11. Zheng G. X. Y., Terry J. M., Belgrader P., et al., “Massively Parallel Digital Transcriptional Profiling of Single Cells,” Nature Communications 8, no. 1 (2017): 14049, 10.1038/ncomms14049. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12. Alles J., Karaiskos N., Praktiknjo S. D., et al., “Cell Fixation and Preservation for Droplet‐Based Single‐Cell Transcriptomics,” BMC Biology 15, no. 1 (2017): 44, 10.1186/s12915-017-0383-5. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 13. Klein A. M., Mazutis L., Akartuna I., et al., “Droplet Barcoding for Single‐Cell Transcriptomics Applied to Embryonic Stem Cells,” Cell 161, no. 5 (2015): 1187–1201, 10.1016/j.cell.2015.04.044. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 14. Wang X., He Y., Zhang Q., Ren X., and Zhang Z., “Direct Comparative Analyses of 10× Genomics Chromium and Smart‐Seq2,” Genomics, Proteomics & Bioinformatics 19, no. 2 (2021): 253–266, 10.1016/j.gpb.2020.02.005. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15. Picelli S., Faridani O. R., Björklund K., Winberg G., Sagasser S., and Sandberg R., “Full‐Length RNA‐Seq From Single Cells Using Smart‐seq2,” Nature Protocols 9, no. 1 (2014): 171–181, 10.1038/nprot.2014.006. [DOI] [PubMed] [Google Scholar]
- 16. Mallick H., Chatterjee S., Chowdhury S., Chatterjee S., Rahnavard A., and Hicks S. C., “Differential Expression of Single‐Cell RNA‐Seq Data Using Tweedie Models,” Statistics in Medicine 41, no. 18 (2022): 3492–3510, 10.1002/sim.9430. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17. Vieth B., Ziegenhain C., Parekh S., Enard W., and Hellmann I., “powsimR: Power Analysis for Bulk and Single Cell RNA‐Seq Experiments,” Bioinformatics 33, no. 21 (2017): 3486–3488, 10.1093/bioinformatics/btx435. [DOI] [PubMed] [Google Scholar]
- 18. Choi K., Chen Y., Skelly D. A., and Churchill G. A., “Bayesian Model Selection Reveals Biological Origins of Zero Inflation in Single‐Cell Transcriptomics,” Genome Biology 21, no. 1 (2020): 183, 10.1186/s13059-020-02103-2. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 19. Jiang R., Sun T., Song D., and Li J. J., “Statistics or Biology: The Zero‐Inflation Controversy About scRNA‐Seq Data,” Genome Biology 23, no. 1 (2022): 31, 10.1186/s13059-022-02601-5. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 20. Svensson V., “Droplet scRNA‐Seq Is Not Zero‐Inflated,” Nature Biotechnology 38, no. 2 (2020): 147–150, 10.1038/s41587-019-0379-5. [DOI] [PubMed] [Google Scholar]
- 21. Lin Y., Cao Y., Willie E., Patrick E., and Yang J. Y. H., “Atlas‐scale single‐cell multi‐sample multi‐condition data integration using scMerge2,” Nature Communications 14, no. 1 (2023): 4272, 10.1038/s41467-023-39923-2. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 22. Lähnemann D., Köster J., Szczurek E., et al., “Eleven Grand Challenges in Single‐Cell Data Science,” Genome Biology 21, no. 1 (2020): 31, 10.1186/s13059-020-1926-6. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 23. Crowell H. L., Soneson C., Germain P. L., et al., “Muscat Detects Subpopulation‐Specific State Transitions From Multi‐Sample Multi‐Condition Single‐Cell Transcriptomics Data,” Nature Communications 11, no. 1 (2020): 6077, 10.1038/s41467-020-19894-4. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 24. Lun A. T. L. and Marioni J. C., “Overcoming Confounding Plate Effects in Differential Expression Analyses of Single‐Cell RNA‐Seq Data,” Biostatistics 18, no. 3 (2017): 451–464, 10.1093/biostatistics/kxw055. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25. Zimmerman K. D., Espeland M. A., and Langefeld C. D., “A Practical Solution to Pseudoreplication Bias in Single‐Cell Studies,” Nature Communications 12, no. 1 (2021): 738, 10.1038/s41467-021-21038-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 26. Malfait M., Gilis J., vander Berge K., Assefa A. T., Verbist B., and Clement L., “Strategies for Addressing Pseudoreplication in Multi‐Patient scRNA‐Seq Data,” (2024), 10.1101/2024.06.15.599144. [DOI]
- 27. Squair J. W., Gautier M., Kathe C., et al., “Confronting False Discoveries in Single‐Cell Differential Expression,” Nature Communications 12, no. 1 (2021): 5692, 10.1038/s41467-021-25960-2. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 28. Murphy A. E. and Skene N. G., “A Balanced Measure Shows Superior Performance of Pseudobulk Methods in Single‐Cell RNA‐Sequencing Analysis,” Nature Communications 13, no. 1 (2022): 7851, 10.1038/s41467-022-35519-4. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 29. Li K. C., Palotie A., Yuan S., et al., “Finding Disease Candidate Genes by Liquid Association,” Genome Biology 8, no. 10 (2007): R205, 10.1186/gb-2007-8-10-r205. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 30. Ho Y. Y., Parmigiani G., Louis T. A., and Cope L. M., “Modeling Liquid Association,” Biometrics 67, no. 1 (2010): 133–141, 10.1111/j.1541-0420.2010.01440.x. [DOI] [PubMed] [Google Scholar]
- 31. Tu D., Mahony B., Moore T. M., et al., “CoCoA: Conditional Correlation Models With Association Size,” Biostatistics 25, no. 1 (2022): 154–170, 10.1093/biostatistics/kxac032. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 32. Yang Z. and Ho Y. Y., “Modeling Dynamic Correlation in Zero‐Inflated Bivariate Count Data With Applications to Single‐Cell RNA Sequencing Data,” Biometrics 78, no. 2 (2021): 766–776, 10.1111/biom.13457. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 33. Su C., Xu Z., Shan X., Cai B., Zhao H., and Zhang J., “Cell‐Type‐Specific Co‐Expression Inference From Single Cell RNA‐Sequencing Data,” Nature Communications 14, no. 1 (2023): 4846, 10.1038/s41467-023-40503-7. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 34. Ma Z., Davis S. W., and Ho Y. Y., “Flexible Copula Model for Integrating Correlated Multi‐Omics Data From Single‐Cell Experiments,” Biometrics 79, no. 2 (2022): 1559–1572, 10.1111/biom.13701. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 35. Bussing A., Ho Y. Y., Ma Z., and Yang Z., “scDECO: Estimating Dynamic Correlation,” (2025). R Package Version 0.1.1.
- 36. Marra G. and Radice R., “Bivariate Copula Additive Models for Location, Scale and Shape,” Computational Statistics & Data Analysis 112 (2017): 99–113, 10.1016/j.csda.2017.03.004. [DOI] [Google Scholar]
- 37. vander Wurp H., Groll A., Kneib T., Marra G., and Radice R., “Generalised Joint Regression for Count Data: A Penalty Extension for Competitive Settings,” Statistics and Computing 30, no. 5 (2020): 1419–1432, 10.1007/s11222-020-09953-7. [DOI] [Google Scholar]
- 38. Marra G. and Radice R., “GJRM: Generalised Joint Regression Modelling,” (2023).
- 39. Zhang Y., Chen H., Mo H., et al., “Distinct Cellular Mechanisms Underlie Chemotherapies and PD‐L1 Blockade Combinations in Triple‐Negative Breast Cancer,” Cancer Cell 43, no. 3 (2025): 446–463.e7, 10.1016/j.ccell.2025.01.007. [DOI] [PubMed] [Google Scholar]
- 40. Zhang L., Yu X., Zheng L., et al., “Lineage Tracking Reveals Dynamic Relationships of T Cells in Colorectal Cancer,” Nature 564, no. 7735 (2018): 268–272, 10.1038/s41586-018-0694-x. [DOI] [PubMed] [Google Scholar]
- 41. Greene W., “Functional Forms for the Negative Binomial Model for Count Data,” Economics Letters 99, no. 3 (2008): 585–590, 10.1016/j.econlet.2007.10.015. [DOI] [Google Scholar]
- 42. Clayton D. G., “A Model for Association in Bivariate Life Tables and Its Application in Epidemiological Studies of Familial Tendency in Chronic Disease Incidence,” Biometrika 65, no. 1 (1978): 141–151, 10.1093/biomet/65.1.141. [DOI] [Google Scholar]
- 43. Joe H., Multivariate Models and Multivariate Dependence Concepts (Chapman and Hall/CRC, 1997). [Google Scholar]
- 44. Nelsen R. B., An Introduction to Copulas, 2nd ed. (Springer, 2006). [Google Scholar]
- 45. Frank M. J., “On the Simultaneous Associativity of F(x, y) and x+yF(x, y),” Aequationes Mathematicae 19, no. 1 (1979): 194–226, 10.1007/bf02189866. [DOI] [Google Scholar]
- 46. Ma Z., Hanson T. E., and Ho Y. Y., “Flexible Bivariate Correlated Count Data Regression,” Statistics in Medicine 39, no. 25 (2020): 3476–3490, 10.1002/sim.8676. [DOI] [PubMed] [Google Scholar]
- 47. Wu N., Yin F., Ou‐Yang L., Zhu Z., and Xie W., “Joint Learning of Multiple Gene Networks From Single‐Cell Gene Expression Data,” Computational and Structural Biotechnology Journal 18 (2020): 2583–2595, 10.1016/j.csbj.2020.09.004. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 48. Sun T., Song D., Li W. V., and Li J. J., “scDesign2: A Transparent Simulator That Generates High‐Fidelity Single‐Cell Gene Expression Count Data With Gene Correlations Captured,” Genome Biology 22, no. 1 (2021): 163, 10.1186/s13059-021-02367-2. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 49. Wood S. N., mgcv: Mixed GAM Computation Vehicle with Automatic Smoothness Estimation (2023). R Package Version 1.8–42.
- 50. Wood S. N., “Fast Stable Direct Fitting and Smoothness Selection for Generalized Additive Models,” Journal of the Royal Statistical Society, Series B: Statistical Methodology 70, no. 3 (2008): 495–518, 10.1111/j.1467-9868.2007.00646.x. [DOI] [Google Scholar]
- 51. Wood S. N., Generalized Additive Models: An Introduction With R (Chapman and Hall/CRC, 2017). [Google Scholar]
- 52. Marra G., Radice R., Bärnighausen T., Wood S. N., and McGovern M. E., “A Simultaneous Equation Approach to Estimating HIV Prevalence With Nonignorable Missing Responses,” Journal of the American Statistical Association 112, no. 518 (2017): 484–496, 10.1080/01621459.2016.1224713. [DOI] [Google Scholar]
- 53. Nocedal J. and Wright S., Numerical Optimization, Springer Series in Operations Research and Financial Engineering, 2nd ed. (Springer, 2006). [Google Scholar]
- 54. Song D., Wang Q., Yan G., Liu T., Sun T., and Li J. J., “scDesign3 Generates Realistic in Silico Data for Multimodal Single‐Cell and Spatial Omics,” Nature Biotechnology 42, no. 2 (2024): 247–252, 10.1038/s41587-023-01772-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 55. Hafemeister C. and Satija R., “Normalization and Variance Stabilization of Single‐Cell RNA‐Seq Data Using Regularized Negative Binomial Regression,” Genome Biology 20, no. 1 (2019): 296, 10.1186/s13059-019-1874-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 56. Eisenberg E. and Levanon E. Y., “Human Housekeeping Genes, Revisited,” Trends in Genetics 29, no. 10 (2013): 569–574, 10.1016/j.tig.2013.05.010. [DOI] [PubMed] [Google Scholar]
- 57. Durinck S., Spellman P. T., Birney E., and Huber W., “Mapping Identifiers for the Integration of Genomic Datasets With the R/Bioconductor Package biomaRt,” Nature Protocols 4, no. 8 (2009): 1184–1191, 10.1038/nprot.2009.97. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 58. Benjamini Y. and Hochberg Y., “Controlling the False Discovery Rate: A Practical and Powerful Approach to Multiple Testing,” Journal of the Royal Statistical Society, Series B: Statistical Methodology 57, no. 1 (1995): 289–300, 10.1111/j.2517-6161.1995.tb02031.x. [DOI] [Google Scholar]
- 59. Zernichow L., Åbrink M., Hallgren J., Grujic M., Pejler G., and Kolset S. O., “Serglycin Is the Major Secreted Proteoglycan in Macrophages and Has a Role in the Regulation of Macrophage Tumor Necrosis Factor‐ Secretion in Response to Lipopolysaccharide,” Journal of Biological Chemistry 281, no. 37 (2006): 26792–26801, 10.1074/jbc.m512889200. [DOI] [PubMed] [Google Scholar]
- 60. Yeo J. C., Wall A. A., Luo L., and Stow J. L., “Rab31 and APPL2 Enhance FcγR‐Mediated Phagocytosis Through PI3K/Akt Signaling in Macrophages,” Molecular Biology of the Cell 26, no. 5 (2015): 952–965, 10.1091/mbc.e14-10-1457. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 61. Allaoui R., Bergenfelz C., Mohlin S., et al., “Cancer‐Associated Fibroblast‐Secreted CXCL16 Attracts Monocytes to Promote Stroma Activation in Triple‐Negative Breast Cancers,” Nature Communications 7, no. 1 (2016): 13050, 10.1038/ncomms13050. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 62. Zhu C., Chen X., Liu T. Q., et al., “Hexosaminidase B‐Driven Cancer Cell‐Macrophage Co‐Dependency Promotes Glycolysis Addiction and Tumorigenesis in Glioblastoma,” Nature Communications 15, no. 1 (2024): 8506, 10.1038/s41467-024-52888-0. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 63. Zheng Z., Wieder T., Mauerer B., Schäfer L., Kesselring R., and Braumüller H., “T Cells in Colorectal Cancer: Unravelling the Function of Different T Cell Subsets in the Tumor Microenvironment,” International Journal of Molecular Sciences 24, no. 14 (2023): 11673, 10.3390/ijms241411673. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 64. Ahmad Mokhtar A. M., Salikin N. H., Haron A. S., et al., “Rhog's Role in T Cell Activation and Function,” Frontiers in Immunology 13 (2022): 13, 10.3389/fimmu.2022.845064. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 65. Stramucci L., Pranteda A., Stravato A., et al., “MKK3 Sustains Cell Proliferation and Survival Through p38DELTA MAPK Activation in Colorectal Cancer,” Cell Death & Disease 10, no. 11 (2019): 842, 10.1038/s41419-019-2083-2. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 66. Kim H., Villareal L. B., Liu Z., et al., “Transferrin Receptor‐Mediated Iron Uptake Promotes Colon Tumorigenesis,” Advanced Science 10, no. 10 (2023): e2207693, 10.1002/advs.202207693. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 67. Deek R. A. and Li H., “Inference of Microbial Covariation Networks Using Copula Models With Mixture Margins,” Bioinformatics 39, no. 7 (2023): btad413, 10.1093/bioinformatics/btad413. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 68. Dunn P. K. and Smyth G. K., “Randomized Quantile Residuals,” Journal of Computational and Graphical Statistics 5 (1996): 236–244. [Google Scholar]
- 69. Bai W., Dong M., Li L., Feng C., and Xu W., “Randomized Quantile Residuals for Diagnosing Zero‐Inflated Generalized Linear Mixed Models With Applications to Microbiome Count Data,” BMC Bioinformatics 22, no. 1 (2021): 564, 10.1186/s12859-021-04371-6. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 70. Wood S. N., Pya N., and Säfken B., “Smoothing Parameter and Model Selection for General Smooth Models,” Journal of the American Statistical Association 111, no. 516 (2016): 1548–1563, 10.1080/01621459.2016.1180986. [DOI] [Google Scholar]
- 71. Yu T., “A New Dynamic Correlation Algorithm Reveals Novel Functional Aspects in Single Cell and Bulk RNA‐Seq Data,” PLoS Computational Biology 14, no. 8 (2018): e1006391, 10.1371/journal.pcbi.1006391. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 72. Gunderson T. and Ho Y. Y., “An Efficient Algorithm to Explore Liquid Association on a Genome‐Wide Scale,” BMC Bioinformatics 15, no. 1 (2014): 371, 10.1186/s12859-014-0371-5. [DOI] [PMC free article] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data S1. Additional supporting information, including additional plots and tables referenced in the text, a Kullback‐Leibler divergence study, and derivations of the gradient and hessian may be found in the online version of the article at the publisher's website.
Data Availability Statement
Data for the real data analyses may be accessed at https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE266919 and https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE108989. Data pre‐processing code as well as the processed data method may be found at https://github.com/YenYiHo‐Lab/scCOSMiX.
