Skip to main content
BMC Genomics logoLink to BMC Genomics
. 2026 Apr 10;27:478. doi: 10.1186/s12864-026-12823-7

New approaches to discovering epigenetic rules of homeostasis in diverse mammal species

Jorge Gonzalez 1,2,✉, Diane P Genereux 3, Kristin Crouse 4, Bradley Frishman 5, Allyson G Hindle 6, Elinor Karlsson 3,7, Carla B Madelaire 8, Lucas Moreira 3,9, Valery Forbes 1
PMCID: PMC13181949  PMID: 41957700

Abstract

Background

While the cells of some mammals, such as humans, maintain their internal temperature within tightly controlled ranges, the cells of others, such as dromedary camels, experience wide ranges of temperature variation. In order to understand these differences, it is critical to identify differentially expressed genes (DEGs) and their interactions; however, the data available are often insufficient to obtain statistically significant results.

Results

We develop an explanatory model to understand the mechanisms of response of mammalian species to environmental perturbation on the basis of empirical gene expression data. Our approach is motivated by the novel idea that approximately preserved or reduced inter-individual variability of expression levels upon environmental change is an indicator that a given gene contributes to a homeostasis-preserving mechanism for the species. To identify such genes, we use a simple non-statistical criterion that is suitable even when the number of replicates is limited. We then identify four extreme subgroups of the DEGs, and from these construct an intuitive neural network architecture that best interpolates the data and describes the principal response rules of the considered species. Finally, we propose measures of the robustness of homeostasis (well-being) from these networks based on perturbation analysis and entropy computations. The data used to develop the model were collected from homogeneous cell cultures of skin fibroblasts.

Conclusions

Even with data available for just a few individuals, our model identifies extreme response sets of genes, using inter-individual variability to provide a faithful representation of the response of the species to environmental perturbations. Sets of genes identified as relevant in individual species are useful for comparing responses across species. All the measures of cellular well-being introduced in this work rank camels higher than humans for both the 32° and 41° treatments.

Supplementary Information

The online version contains supplementary material available at 10.1186/s12864-026-12823-7.

Keywords: Inter-individual variability of genes, Differential expression, Stress response model

Background

A central goal of genomics is to identify genes differentially expressed between tissues or treatment conditions. Most existing approaches, such as those implemented by De Anoy et al 2024 [7] and Huang et al. 2019 [10], achieve this by calculating mean fold change—the ratio of gene expression values between two states for each of several biological replicates— and then asking whether the change observed for a given gene is larger than expected under the null assumption that the expression level for that gene does not differ between the two conditions.

While such statistical approaches can be highly effective for identifying genes whose expression levels differ between cell types or are altered in disease states [13], they may be less powerful for identifying genes whose expression changes are essential to a species’ response to environmental change. Consider, for example, a case in which three individuals of the same species have expression levels for a given gene that differ greatly under baseline conditions but are nearly identical under some biological stressor. The change in expression of this gene might well meet the threshold for detecting a statistically significant difference between the two conditions. However, methods focused on the magnitude of change could fail to capture an even more impressive feature of the data: the shift from high to minimal variation among individuals under the altered conditions.

We argue that the extent of change in expression variance among individuals has large—and underutilized—power for identifying genes essential to a species’ response to environmental change. The underlying premise is rooted in evolution: if, for a given species, some level of expression of a given gene is essential for survival under a given environmental condition, then purifying selection should tend to reduce its variation among individuals.

Here, we develop a new mathematical approach that uses changes in expression variance, rather than changes in expression magnitude, to identify genes that are essential to how a species responds to environmental change. Our approach can distinguish, for example, genes for which inter-individual variability is small both before and after the treatment, suggesting essentiality under both conditions, from genes that have relatively large inter-individual variability before treatment but small inter-individual variability after treatment, suggesting that their expression level is essential specifically, and perhaps exclusively, under the altered conditions. We can also identify genes that have small inter-individual variability before the treatment and very large inter-individual variability after treatment, possibly indicating cellular stress and a breakdown in cellular function. Finally, we identify genes that have relatively large inter-individual variability both before and after treatment, but that are also very-well-regulated suggesting that they may be involved in individual-specific responses to the treatment. Another possibility is that these genes are related to the so called house-keeping genes [22].

Our approach was developed from transcriptome data collected from cultured fibroblasts in five mammalian species exposed to increased or decreased temperature. Central to our approach is the biological concept of homeostasis, which describes the state of the internal dynamics of a biological entity changing in such a way that its function remains stable. Our variance-focused approach for classifying DEGs according to their response to environmental perturbations is focused on addressing a fundamental biological question: What are the genome-response mechanisms responsible for maintaining homeostasis in cells exposed to environmental change? We broadly refer to these mechanisms as the rules of homeostasis.

We first develop a robust criterion for identifying differentially expressed genes (DEGs) that does not rely on statistical significance tests. Our DEGs are selected based on a simple inequality in terms of the inter-individual variability at baseline. Then, from all DEGs, we define four groups of extreme response genes taking into account their inter-individual variability after treatment. This second filter ensures that we are modeling the genes responsible for the characteristic response of the species.

The rules of homeostasis are modeled using neural networks that capture the interactions among the most important genes. These networks are required to satisfy conditions to optimize their reliability as biological models. We use the neural networks to model the species response to a change in temperature, however, the method is general and can be applied to any perturbation of a stable system whose dynamics are unknown.

In what follows, we develop a definition of cellular homeostasis that is based on gene transcription dynamics. The underlying assumption is that differential gene expression is the direct result of a regulatory response. Specifically, upon environmental change, the “activity level” of the genes related to a response mechanism will change in a quantitatively measurable manner that can be detected numerically (See [15] for recent work on analyzing gene expression). We assume the cell is at homeostasis if the transcript dynamics are constrained to an attracting set, meaning that a “small” perturbation will cause the system to return to the previous state after some time. This assumption also reflects the stability over long periods of time in the absence of abrupt perturbations.

In The model section we describe the architecture of the model, which reduces the number of possible models to a finite number. This is important in order to validate the model with experimental data. In Differentially expressed genes (DEGs) section we propose a method to rank the activity of the genes, which is then used to define the DEGs. The fundamental idea that a species mechanism should not significantly increase inter-individual variability in transcript counts is also introduced in this section as Proposition 2.4. Our definition of very-well-regulated genes is extended to a metric of cellular well-being. In (Common very-well-regulated genes section) we explore which very-well-regulated genes are common to all five of the studied species. We are particularly interested in two distinct very-well-regulated DEG groups; those for which the inter-individual variabilities are comparable before and after treatment, and those for which the inter-individual variability after treatment is considerably smaller than before treatment. We introduce four unique extreme response sets according to their inter-individual variability before and after treatment. Of these four subsets, the Support set of genes, defined as those DEGs that are very-well-regulated but have large inter-individual variability before and after treatment, contain the least amount of information about the species response; while the Noisy set of genes - those having low inter-individual variability before treatment, but high variability after - reflect a decline in cell well-being. In Species comparison section we introduce a measure of well-being after treatment that is based upon the entropy in the system and suitable for comparison across species. In Network model section we discuss the network model in more detail, and in Network predictions section we present the predictions and errors for the network models. Finally, in Strength of interactions section we compute a measure of the strength of the interactions among the genes in the model, which can be used to validate our approach. In Extreme response genes enrichment analysis. Brief comparison with model based on limma selected genes for humans section we provide a brief comparison of our model using the extreme response genes with a network constructed using the same script but based on DEGs identified by the commonly used limma software [16]. We also provide enrichment analysis using the publicly available database https://string-db.org/ and https://www.proteinatlas.org/.

Methods

Cell culture and experimental treatment

Dermal fibroblasts were established from skin biopsies as previously described (Madelaire et al. 2022) from 13-lined ground squirrel (Ictidomys tridecemlineatus, “squirrel”), Sprague Dawley rat (Rattus norvegicus, “rat”) and little brown bat (Myotis lucifugus, “bat”) under IACUC and biosafety authorizations from the University of Nevada Las Vegas. Cells from dromedary camel (Camelus dromedarius, “camel”) and southern white rhinoceros (Ceratotherium simum simum, “rhino”) were provided under MTA from the San Diego Frozen Zoo. Human fibroblasts were acquired from Lifeline Cell Technology.

Cells were proliferated under baseline conditions (37°C, 5% CO2) in a humidified incubator to establish a common garden framework. We exposed fibroblasts from n=5 individuals per species to either baseline (37°C), a high temperature stressor (41°C) or a low temperature stressor (32°C).

Following 24 h exposure at each culture condition, cells were washed twice in ice-cold PBS, and RNA was extracted using a Trizol-chloroform protocol. Prior to sequencing, RNA was treated to eliminate any genomic DNA contamination and other impurities using a column-based method (Zymo RNA Clean & Concentrator-5). Samples were sent Azenta Biosciences for 150bp paired-end sequencing of polyA-enriched libraries, yielding an average of 20 million reads per sample.

Transcript alignment and quantification

Paired-end raw RNA-seq reads for each sample were inspected for quality using FastQC [18], trimmed for Illumina adapters using Trimmomatic [3], and aligned to their respective reference genomes assembly (NCBI Accessions: Camelus dromedarius: GCF000803125.2; Ceratotherium simum: GCF021442165.1; Ictidomys tridecemlineatus: GCF016881025.1; Rattus norvegicus: GCF015227675.2; Homo sapiens: GCA000001405) using the splicing-aware aligner HiSat2 [11]. We used [14] to identify transcript abundances were quantified for the set of one-to-one orthologs across all study species, identified using TOGA’s 488 placental mammals alignment [12].

RNA-seq preprocessing

Our analysis uses the limma-voom framework, which explicitly models the mean–variance trend in log2-CPM data via LOESS smoothing and assigns precision weights to each observation accordingly (Law et al., 2014). These precision weights correct for mean-expression dependence prior to downstream analyses, yielding weighted residuals that are mean-variance stabilized. Therefore, the variability estimates derived from our voom-weighted analysis are not likely confounded by mean expression level.

Conceptual framework

Our aim is to identify the cellular response of a species to an environmental perturbation from information on a few individuals. To do this, we first identify an equivalence relationship for the individuals’ DEGs. Once an equivalence relationship is established we can construct the mechanism of response of the species as a map on the equivalence classes (the equivalence class containing a denoted by [a] is defined as the collection of all individuals related to individual a, i.e Inline graphic).

We propose as an adequate notion of equivalence relation for a species, at a given condition, that of membership to the same minimal attractor. Recall that each individual is represented as a list of RNA counts that changes in time. This concept is borrowed from dynamical systems theory. A minimal attractor is an attractor in which every trajectory is dense (any orbit eventually visits any state in the attractor). This is natural notion in this case because any member of the attractor gives an equally good representation of the minimal attractor (the equivalence class); and we precisely want individuals to be indistinguishable in our model.

Previous epigenetic modeling attempts assume that gene regulation follows a stochastic process that converges toward a single value (Ornstein-Uhlenbeck) [15]. Recent work by Yang and collaborators used gene knockout (KO) experiments to infer the function of genes. Their mathematical model uses a neural network with one hidden layer subject to a rectilin-ear activation function (ReLu) [20]. The DEGs were selected using the Scanpy software. These authors found that different methods with varying model assumptions and thresholds could not converge to a consensus set of DEGs. For this reason, as well as the limited amount of data available for individuals in our study, we develop a robust criterion for selecting DEGs that does not rely on statistical methods.

We assume that the gene transcript counts are subject to deterministic processes in the presence of internal and external noise. We do not formally characterize the type of noise in this paper. It is enough for us to note that the presence of noise results in a random deviation from a deterministic behavior. By the level of noise we refer to the magnitude of this deviation. The level of noise expressed in the system as related to the species mechanism can be detected from the genes acting inconsistently among individuals of the same species. We will denote the solutions of this model by Inline graphic (gene transcript state), where T is a set of parameters (temperature, oxygen level, glucose level, etc), t is the time variable, and Inline graphic is the initial condition of the stochastic differential equation characterizing the gene counts. The parameters at baseline and those after treatment are denoted by Inline graphic and Inline graphic respectively.

Definition 2.1

An individual is at homeostasis under parameters T if its gene transcript counts are different from 0 and would remain constrained to a bounded region in transcript space for all times in the absence of external stress.

We will denote by Inline graphic and Inline graphic the set of all states at homeostasis at baseline and after treatment, respectively. The following maps will help us frame the response to the treatment:

graphic file with name d33e553.gif 1
graphic file with name d33e557.gif 2
graphic file with name d33e561.gif 3

Inline graphic describes the one time change in transcript amounts for all genes at baseline conditions restricted to homeostasis states; similarly Inline graphic denotes the one time change in transcript amounts for all genes after treatment, again restricted to homeostasis states. The map f denotes the transition from homeostasis at Inline graphic to homeostasis at Inline graphic after one unit of time. Hence we have Inline graphic and Inline graphic. We do not assume that Inline graphic but only that Inline graphic, meaning that not all homeostasis states at baseline necessarily reach homeostasis after treatment. In terms of probability distributions, if Inline graphic denotes the distributions of counts for gene 1 through N at baseline for an individual at homeostasis, then:

graphic file with name d33e609.gif

similarly, if Inline graphic denotes the distribution of the counts after treatment and the organism reaches a new homeostasis then:

graphic file with name d33e618.gif

The distributions of the transcript counts are fixed at homeostasis by the corresponding maps Inline graphic and Inline graphic i.e changes in these distributions are correlated to changes in gene expression which are correlated to changes in the environment); in accordance with the assumption that differential gene expression follows from regulating responses [15]. Since homeostasis depends on the environment, we would have a different homeostasis state (or none) for significantly different external conditions. Thus, we expect the distribution of transcript counts at a baseline temperature of 37 °C to be different from the distribution in the 41 °C treatment.

We assume that a system at homeostasis is able to return to the same state if the perturbation is of moderate magnitude. This means that there is a domain of attraction associated with a homeostasis state. We also assume that Inline graphic and Inline graphic are good approximations of the corresponding attractor. The rules of homeostasis are hence encoded by f and our main goal is to approximate and validate our computations.

The conceptual framework is shown in Fig. 1 where the aim is to compute a transition map f that takes as input the transcript counts of the responding genes at baseline to the transcript counts after the treatment as output. We require that the function f not only interpolates the data collected, but also that it maps the intervals containing the transcript counts at baseline (Inline graphic) to those after treatment (Inline graphic) (i.e Inline graphic). This condition treats those intervals as a first pass approximation of Inline graphic and Inline graphic respectively; however, it is possible that some states (i.e., transcript counts) contained within the intervals are not actually in the attractor (i.e., not biologically realizable). In other words, the structure of the attractors in the state space could be very complicated. In practice the image of the intervals is computed by first partitioning all gene intervals into Inline graphic (the number of individuals in the data) sub-intervals centered at each individual counts (except for the minimum and the maximum), then computing the image for each of these sub-intervals and finally taking their union. This method mitigates the wrapping effect which is unavoidable when working with interval arithmetic, and it is easily updated to more accurately cover the attractor. As mentioned above, it is very likely that some count profiles within the intervals are in fact not realizable at homeostasis. For example, an individual with all gene counts equal to the minimum of the intervals may not be at homeostasis. A more accurate cover of the attractor may include gaps in the product of the intervals.

Fig. 1.

Fig. 1

Diagram depicting the relation between the dynamics before and the dynamics after treatment. Inline graphic denotes the transcript counts for all individuals at baseline, Inline graphic is the set of homeostasis states, Inline graphic and Inline graphic are the homeostasis dynamics at the corresponding condition defined in (1) and f is the transition map also defined in (1)

The consequences of the assumptions above are represented in Fig. 1. First Inline graphic is close to Inline graphic since Inline graphic is a good approximation of Inline graphic. It follows that Inline graphic is also close to Inline graphic. On the other hand, Inline graphic is also close to Inline graphic which ultimately implies that Inline graphic. Here Inline graphic denotes the composition function f of g(x), f(g(x)) for any two functions f and g. This relation is important because it validates our assumption that the Inline graphic dynamics can be written as a perturbation of the Inline graphic dynamics, and it clarifies the role of the transition map f. In other words we can represent Inline graphic as:

graphic file with name d33e812.gif 4

where Inline graphic is a parameter and g is a perturbation map. For small values of Inline graphic we expect many stable orbits at baseline to correspond to stable orbits after treatment; however, some may break down. This situation is typical in other applications, such as problems in Celestial Mechanics [4, 5].

The schematic can be made more precise by restricting f to a family of functions and assuming specific bounds on the size of Inline graphic and Inline graphic relative to their corresponding attractors.

The model

We will construct f as a neural network

graphic file with name d33e854.gif 5

where Inline graphic is an Inline graphic real matrix, Inline graphic is a real N vector, Inline graphic is a Inline graphic real matrix, Inline graphic is a real number, and finally Inline graphic is a piece-wise linear function. In this format, the network has an intuitive biological interpretation; for example the weights Inline graphic and Inline graphic can be thought of as encoding the interactions among the genes (gene pathways), and the Inline graphic and Inline graphic biases are additional parameters affecting the pathways. See Fig. 4 for a schematic representation.

Fig. 4.

Fig. 4

Picture representing the architecture of the network encoding the interactions of the genes. Inline graphic represents the input for gene k. The intermediate stage value for gene k, denoted by Inline graphic, is subject to an activation function Inline graphic. Inline graphic represents the output for gene 1. The two cells with value 1 represent the bias parameters collected in the vectors Inline graphic and Inline graphic. The links encode weight values. Inline graphic is computed as follows: Inline graphic and then Inline graphic is computed: Inline graphic. In terms of (10), Inline graphic, Inline graphic, Inline graphic, Inline graphic, and Inline graphic

One constraint of our study is that we only have data for 5 individuals per species, whereas the gene interactions for each species are complex, involving potentially several thousand genes. Nevertheless, it is feasible to compute networks that interpolate a given data point as it is well known by the universal approximation theorem [6] and due to readily available computational power and software. However, we are not merely interested in predicting epigenetic counts after a stress; our main goal is to shed light on the underlying biological mechanisms. It is then necessary to distinguish among a large number of possible networks the ones that indeed best capture the rules of homeostasis for each species.

Following the diagram in Fig. 1, we require that f maps the N-ple of intervals of the available data for each gene before treatment (or best known cover of the attractor containing the data) to the interval containing the data of the considered gene after treatment (or best known cover of the attractor containing the data). We assume that the probability of sampling an individual of the species with gene counts outside of the collected interval is not large.

Under these assumptions and a few additional technical constraints, we compute a network that interpolates the data points and sends the intervals at baseline to good approximations of the intervals after treatment. We can not ensure that the network map is unique but with a fixed network topology we can at least reduce the search to a finite number of networks. To reiterate, we focus on obtaining coarse rules at the level of intervals for the species.

Differentially expressed genes (DEGs)

We exclude from our model genes that do not considerably respond to the treatment and focus only on modeling the most relevant genes for the treatment response. We will not rely on statistical tests to find these genes as mentioned in the Introduction.

In accordance with our goals of modeling species rules, two natural sets of genes to consider are the set of genes for which all individuals respond in the same direction (increase/decrease) after treatment with respect to a chosen tolerance.

This criterion is not convenient in the presence of noisy and limited data. For this reason we adopt a slightly different ranking to capture the DEGs which is more viable than the above when working with intervals. First we consider a measure of activity with respect to the treatment. We denote by Inline graphic the total number of individuals available (in this case Inline graphic). If Inline graphic represents the count for the ith gene for the kth individual at baseline and Inline graphic the count for the ith gene for the kth individual after treatment, then we define the activity of the ith gene denoted by Inline graphic as:

graphic file with name d33e983.gif 6

More generally Inline graphic could be defined in terms of a distance in Inline graphic.

We rank the genes according to the following ratio:

graphic file with name d33e999.gif 7

where Inline graphic is the approximation of the attractor containing the counts for the ith gene at baseline; respectively, Inline graphic is the approximation of the attractor containing the counts after treatment, and Inline graphic is a small tolerance number to avoid dividing by 0. The notation Inline graphic stands for the diameter of S. When S is just one interval containing the data, then Inline graphic is simply the length of the interval (or the inter-individual variability).

Definition 2.2

The ith gene is considered to be a differentially expressed gene (DEG) if:

graphic file with name d33e1041.gif

i.e, a gene is active only if its activity norm (Inline graphic) is greater than the maximum net change that can be attributed to the inter-individual variabilities. Notice that this definition is symmetric.

Remark 2.3

In this paper we used the simplified condition:

graphic file with name d33e1053.gif

i.e, the activity is greater than the maximum activity that can be attributed to just the baseline inter-individual variability (Inline graphic), i.e the gene average absolute response is greater than the inter-individual variability at baseline. We also discarded extreme values from the numerator and the denominator to safeguard the computations from typos in the data. Assuming that Inline graphic (the distributions of Inline graphic and Inline graphic respectively) we have results like:

  • Normal marginals:
    graphic file with name d33e1078.gif
  • Log-normal marginals:
    graphic file with name d33e1084.gif
  • Regularly varying heavy tails with index Inline graphic:
    graphic file with name d33e1094.gif
    where Inline graphic as in Definition 2.2

These results estimate the probability of a type I error. See the Tables in Estimating Inline graphic and the Power of the method of selecting DEGs and comparing with Limma modulated t-test section in the SI. In particular, assuming the normal distributions leads to super exponential convergence to 0 w.r.t. Inline graphic.

On the other hand, for Inline graphic and Inline graphic where Inline graphic, and assuming that the range distributions of Inline graphic does not dominate that of Inline graphic, then Inline graphic. For some constants Inline graphic and Inline graphic when Inline graphic with Inline graphic. i.e the convergence rate to 1 is super-exponential.

For Inline graphic regularly varying with unbounded expectation we have: Inline graphic. These results help us understand the power of the DEGs selection. See the Tables in Estimating Inline graphic and the Power of the method of selecting DEGs and comparing with Limma modulated t-test section in the SI for informative Monte-Carlo simulations of the power.

The most common methods for selecting DEGs involve some type of statistical test. For example, the moderated t-statistic compares the groups’ geometric means [21]:

graphic file with name d33e1179.gif

Another popular tool is the limma package in the programming language R which first fits a linear model before running statistical tests [16]. For other applications of statistical methods for determining DEGs see [1, 17]. Also see [13] for a comparative review of the statistical tools for finding DEGs. From now on the term DEG will refer exclusively to those genes obtained by definition 2.2.

We are also interested in those genes that do not increase inter-individual variability after treatment, with the rationale that genes (indexed by i) taking part in a mechanism present in the entire species should not have a large inter-individual variability ratio:

graphic file with name d33e1202.gif 8

An increase in variability for the species is associated with low reliability/low predictability/chaotic behavior. This assumption leads to a proposition that can be tested:

Proposition 2.4

A species is resilient to an environmental perturbation if most DEGs have an inter-individual variability ratio that does not exceed 1 considerably.

Another way to express the proposition is to say that the number of genes for which the inter-individual variability ratio is badly preserved (noisy genes) is inversely related to how well the species as a whole responds to the environmental change. Proposition 2.4 as stated does not take into account the potential influence of noisy genes on the rest of the responding network, meaning that it will not be suitable for comparing the response to treatments on different network topologies. However, it could be useful to compare the response to different treatments in a given species. Specifically, we can validate it with species that are known to be more or less adapted to specific environments.

For example squirrels and bats which hibernate are considered to be better adapted to low temperature than to high temperature. One difficulty of applying Proposition 2.4 is to quantify the notion of “most genes”. It is possible that some genes may have exceptionally high ratios, while the species itself is overall well adapted to the treatment. In other words, we do not know apriori what is a safe ratio for a given species.

Below (Fig. 2) we present quantiles for the distribution of the ratios for squirrels and bats for the 32 °C and 41 °C treatments. The D and W reported in the boxplots refer to the Kolmogorov-Smirnov and Wilcoxon statistics (Mann-Whiteney U test) respectively. These are two widely used nonparametric tests to compare the distributions. We present the median and the 95% percentile of the log distributions of the ratios in order to establish the center and tail of the distributions respectively.

Fig. 2.

Fig. 2

Top: Boxplots of log ratios of inter-individual variability before and after treatment for squirrels under the 32 °C and 41 °C treatments for all DEGs D = 0.0359, p-value = 0.19 W = 1612397, p-value = 0.056 Bottom: Boxplots of log ratios of inter-individual variability before and after treatment for bats under the 32° and 41° treatments for all DEGs D = 0.0492, p-value = 0.002 W = 4284104, p-value = 0.0054

For squirrels, both the median and the 95th percentile for the 32 °C treatment are smaller than for the 41 °C treatment. Specifically, 95% of all DEGs at 32 °C have a log ratio less than 3.16, while at 41 °C, 95% of all DEGs have a ratio less than 3.58. This means that the tail of the former distribution is more shifted to the left than that of the latter distribution, suggesting that inter-individual variability is better preserved at the 32 °C than the 41 °C treatment. However, neither the Kolmogorov-Smirnov nor the Wilcoxon statistic is significant with respect to the 0.05 p-value standard. In the following sections we develop methods to compare the well-being of the species after treatment that do not rely on statistics.

The situation with bats is slightly different. In this case, the 50th percentile of the ratios is lower for the 41 °C treatment, but the 95th percentile of the ratios is lower for the 32° treatment. We also show the computations for camels, humans, rats and rhinos in the SI, Supplementary Material 1.

Extreme response genes: genes modeling the primary cellular response

An important development of this paper is the identification of the extreme response genes in terms of inter-individual variability. In order to motivate the definition of these subsets of the DEGs we should mention that we are assuming that the distributions of inter-individual variability for all DEGs genes with respect to a treatment at baseline and after-treatment, as well as the distributions of the inter-individual variability ratios are right skewed. This assumption is motivated by the fact that these distributions refer to a single species, meaning that gene regulation for individuals will be similar and so the inter-individual variability will tend to be small rather than large. Also, all the individuals are able to reach homeostasis after treatment, so we expect that the ratio of inter-individual variability is maintained or reduced for most genes with the possible exception of a group of genes for which the response is noisy.

Given the right skewness assumption of the distributions, a suitable notion of small is “before the peak of the distributions”; however, due to the lack of a distinctive universal landmark for “large” in the distributions, we considered the 50th, 60th, 70th, 80th, and 90th percentiles but only show the median below for clarity in the presentation. The rest of the data can be found in the SI. It is also important to highlight that the following gene classes do not attempt to classify all the DEGs; but, as suggested by their names, these gene classes serve to focus the study of the response to stress in an efficient manner.

Definition 2.5

A gene is called very-well-regulated under a given stress if its inter-individual variability after treatment is below the peak in the distribution; or its inter-individual variability ratio is before the peak in the distribution of inter-individual variability ratios for the species; i.e, its ratio is less than Inline graphic for some relatively small number Inline graphic (can be positive or negative) that depends on the species and the stress.

The following classification is in terms of the distributions of inter-individual variability before and after treatment.

Definition 2.6

We will refer to the following sets of genes as the extreme response sets:

  1. Key Response genes (K-R-genes or G1): The set of genes that have small inter-individual variability before the treatment and small inter-individual variability after the treatment. We assume that these are the most important genes for the species’ reaction to the treatment. These genes can be captured by comparing the genes in the lower quantiles before treatments to those also in the lower quantiles after treatment. In terms of our adopted convention of small variability, these are genes that are before the peak at baseline and also before the peak after treatment. These genes allude to the central manifold or central direction in dynamical systems theory. These genes are very-well-regulated.

  2. Treatment-specific genes (T-S-genes or G2): The set of genes that have a relatively large inter-individual variability before treatment but have a small inter-individual variability after treatment. These genes are also part of a common response to the treatment and should be included in the model. These genes can be identified by comparing the genes in the upper quantiles before treatment (above 50%, 60%, 70% 80% 90%) to those before the peak after treatment. These genes allude to the stable manifold in dynamical systems theory. These genes are very-well-regulated.

  3. Support genes (S-genes or G3): The set of genes that have high inter-individual variability both before and after treatment; but that are very-well-regulated. These are genes that are in the upper quantiles before and after treatment (from above 50% to above 50%, from above 60% to above 60% etc), but are very-well-regulated according to the definition above. Since neither the baseline nor the after-treatment states are constrained for the species, we claim that these genes carry the least amount of information specific to the response of the species for this treatment. We suspect these are the so called house-keeping genes (see [22]) that are connected to many processes, and so their variability is high but they are still very-well-regulated.

  4. Noisy genes (N-genes or G4): The genes for which variability increases drastically after treatment. These genes respond inconsistently among individuals. These would be genes that are located before the peak at baseline but have inter-individual variability in the upper quantiles after treatment, indicating that the treatment disrupts their regulation. These genes are constrained at baseline and stressed after treatment, in contrast to the Treatment-specific genes. They carry specific information about how regulation breaks down for a species for the given treatment. These genes allude to the unstable manifold in dynamical systems theory.

Notice that the only extreme response set that is not very-well-regulated is the Noisy set of genes. Below we show a typical representation of the extreme response groups in the inter-individual variability at baseline and after treatment coordinate system (Fig. 3).

Fig. 3.

Fig. 3

Diagram representation of the extreme response genes in the before and after treatment inter-individual variability coordinate systems

Species comparison

As noted above, Proposition 2.4 is only viable for comparing the response after treatments for a given species since it does not account for the effect of genes in the Support and Noisy sets on genes in the Key-Response and Treatment-Specific sets (different network topologies for different species). The relevant comparison is: What is the impact on the species response of a small set of genes greatly increasing in inter-individual variability, whose role is important for the response to the stress (Noisy set) vs the impact of many genes increasing in inter-individual variability that are not so important for the survival of the species (uncategorized genes).

A reasonable comparison of the overall stress induced by a treatment on the species can be established by computing a net change in variability for all the DEGs. Using the same notation as in (8), consider the following average net sum of the change in inter-individual variability:

graphic file with name d33e1345.gif 9

The genes in the Key-Response and Support sets are expected to have a small contribution. The contribution of genes in the Treatment-Specific sets will be negative while the contribution of those in the Noisy set will be positive. The sum above is akin to a measure of entropy in the response. i.e the disorder/disinformation caused by the response to the treatment.

Notice that this table is not entirely consistent with our assumptions based on 2.4 (See Table 1). The main limitations of this metric are that it ignores the interactions between genes and weights the noise from each gene equally. In the next sections, we describe a measure of stress that overcomes these problems (Table 2).

Table 1.

Log quantiles for the 32 °C and 41 °C treatments for all DEGs according to (7) for squirrels and bats

Squirrels Bats
Temperature 50% 95% 50% 95%
32° 0.63 3.16 0.57 2.12
41° 0.68 3.58 0.49 2.35

The upper quantiles provide bounds for the ratios of the inter-individual variability of the DEGs

Table 2.

Comparison of average net sum of the change in inter-individual variability across species at 32° and 41°

Species Sum genes 32° 41°
Camels alls DEG 5.5 9.8
Inline graphic −7.3 −3.4
G4 61.1 28.0
Humans alls DEG 7.7 12.2
Inline graphic −14.8 −13.2
G4 22.4 28.4
Rats alls DEG 13.4 6.8
Inline graphic −4.3 −18.5
G4 50.0 62.7
Rhinos alls DEG 7.5 6.8
Inline graphic −11.9 −16.9
G4 35.9 28.7
Squirrels alls DEG 10.4 12.9
Inline graphic −6.5 −6.7
G4 37.4 32.5
Bats alls DEG 13.3 12.4
Inline graphic −1.5 −6.1
G4 31.7 29.9

Network model

We have identified the extreme response genes as subsets of the DEGs that capture important features of the response (inter-individual behavior). In other words, we argue that the most important dynamics associated with the treatment involve these genes.

graphic file with name d33e1620.gif

Out of these four subsets, the Support genes G3 contain the least amount of information common to the species; hence, we focus on understanding the rules of homeostasis on the other 3 extreme response subsets. That is, we only consider:

graphic file with name d33e1628.gif

and build a network model to capture the interactions among these genes in each of these subsets. In mathematical terms, the dynamics are projected to these extreme response subsets.

In the model we will denote by N the number of genes to be considered and Inline graphic the number of individuals available. The data collected are represented as points Inline graphic in Inline graphic for Inline graphic representing the transcript counts for each individual at baseline, and real values Inline graphic for Inline graphic representing the transcript counts of the ith gene after treatment (Fig. 4).

One innovation of the model is that it not only interpolates data points but it also approximates a transition between the attractors; which, along with the restrictions on the network architecture, reduces the number of possible suitable models to a finite number.

The function f describing the model for the output of the ith gene is of the form:

graphic file with name d33e1760.gif 10

representing a neural network with one hidden layer subject to the piece-wise linear Inline graphic (Inline graphic is applied component-wise). See Fig. 4. For the rest of the section we will drop the superscript referring to the network of the ith gene. Notice that we have used subscripts for indexing across genes and superscripts for indexing across individuals throughout the paper except in (10)

The data conditions are

graphic file with name d33e1785.gif

and

graphic file with name d33e1789.gif

where Inline graphic, and Inline graphic denotes:

graphic file with name d33e1801.gif

with

graphic file with name d33e1806.gif

The intervals Inline graphic are such that Inline graphic do not intersect. The notation Inline graphic represents the set:

graphic file with name d33e1823.gif

Notice that the set Inline graphic is a neighborhood of the N-tuple genes collected for the kth individual.

The function:

graphic file with name d33e1837.gif

is the activation function applied to the hidden layer, where Inline graphic is a parameter to be optimized for each gene in the model for each species. Notice that the limit of Inline graphic as alpha approaches 0 from the right exists and is the standard step function (denoted by Inline graphic). For convenience in later sections we also define the so called Inline graphic function as equal to Inline graphic.

The activation function Inline graphic places 2N planes on Inline graphic obtained by restricting each coordinate to 0 or Inline graphic at the hidden layer, and results in at most Inline graphic regions in space. On each of these regions the model is linear.

The networks are optimized using a gradient descent algorithm where a loss function is minimized. For example, for each modeled DEG indexed by i we consider:

graphic file with name d33e1890.gif

Here, Inline graphic denotes the complete set of parameters determining the network (10); that is, Inline graphic for the ith gene.

Remark 2.7

A gradient descent algorithm is a numerical approximation to the ODE:

graphic file with name d33e1913.gif

The simplest algorithm comes from approximating the above ODE with the classical Euler’s method.

Network predictions

After training the network subject to the constraints explained in the previous section, we compute errors for the test set and for the interval predictions. The error for the inter-individual variability intervals is computed using the following metric:

graphic file with name d33e1922.gif 11

In this metric the magnitude of an interval is given by:

graphic file with name d33e1928.gif 12

The error of the trained network on the ith gene is then computed by the following formula:

graphic file with name d33e1934.gif 13

We also compute the error of the output of the observations after treatment from the observations after treatment (Stability Error 2). This quantity captures how representative our intervals are of the corresponding states for the species, and also how well homeostasis is preserved. This is because we assume that:

graphic file with name d33e1940.gif

and the Stability Error measures:

graphic file with name d33e1944.gif 14

where Inline graphic contains all possible states at homeostasis after treatment (the homeostasis attractor after treatment) as defined in Methods section, and Inline graphic is the exact homeostasis preserving response (without noise and approximations) of the species. Recall that Inline graphic approximates Inline graphic and that Inline graphic approximates Inline graphic for the ith gene.

In the tables presented in SI Network predictions section we show the results from training neural networks with the Key-Response group, the Treatment-Specific group, and the Noisy group for humans and camels for the 32° and 41° treatments. Humans and camels are chosen as representatives for the strict and flexible homeostasis mammals respectively, in order to compare their networks. The Response Prediction column shows the intervals containing the output of the trained networks with baseline conditions as input. The Stability Prediction column shows the intervals containing the output of the trained networks with observations after treatment used as the input conditions. The Response Prediction assesses how well the networks represent the response of the species, whereas the Stability Prediction measures how well homeostasis is approximated after treatment. In particular, in the case of the Treatment-Specific group and the Noisy group the Stability Prediction indicates whether the intervals continue to contract, expand, or are stable.

Strength of interactions

The networks computed in the previous section encode information about the strengths of the interactions between the genes in the response mechanism. First, we define the net influence of the kth gene on the jth gene:

graphic file with name d33e1999.gif 15

where the Inline graphic and Inline graphic are the network matrix parameters modeling the output of the jth gene (the jth network Inline graphic).

This is the kth coordinate in the product:

graphic file with name d33e2022.gif

on the jth network, and it adds the net contributions of all the interactions for each gene output after treatment. We also define Inline graphic as the sum of all positive terms in Inline graphic and, similarly we define Inline graphic as the absolute value of the sum of all the negative terms in Inline graphic. These quantities will be useful later in order to define a notion of well-being of the species based on a version of network entropy.

The absolute influence of the kth gene on the jth gene can be quantified by:

graphic file with name d33e2057.gif

We can visualize and compare the strengths of the interactions by graphing the directed interaction profile for all the DEGs. Explicitly, we compute the interaction for all genes on a fixed jth gene, order them from smallest to largest, and graph these values as a curve. To demonstrate how DEG interaction strengths vary among treatments and species, we plot curves for Key-Response genes for humans and camels at 32 °C and 41°C. See Strong interactions section for the plots.

Network entropy

A more robust measure of entropy in the response can be defined in terms of the network models computed above. Since our models are signed graphs, we implement a modified Random Walker Shannon Entropy measure that accounts for the direction (sign) of the interactions.

For the kth gene we define the following probability distribution:

graphic file with name d33e2077.gif 16

and define Inline graphic similarly as:

graphic file with name d33e2086.gif 17

The signed Shannon entropy Inline graphic of the model is defined by the following expressions:

graphic file with name d33e2099.gif 18
graphic file with name d33e2103.gif 19

and finally:

graphic file with name d33e2108.gif 20

Notice that in this notion of total entropy we add the contributions of the positive sub-network and the negative sub-network independently. The entropy for each subgraph can range from 0 to 1 as in the classical case; and hence, the total value of Inline graphic will range from 0 to 2. It is not difficult to see that the maximum value of Inline graphic and Inline graphic is Inline graphic, so dividing by Inline graphic in (19) standardizes Inline graphic.

The quantity Inline graphic in the computation of total entropy is the contribution of entropy from node k to node j. With this perspective, we define the entropy departing from the noisy genes, Inline graphic, as:

graphic file with name d33e2158.gif 21

The notation Inline graphic means: the index j for genes in the list Inline graphic; which are genes in G1 together with genes in G2 ranked according to (7).

The computation of Inline graphic (the contribution to entropy coming from the Noisy genes), gives the adequate notion of connectivity of the Noisy genes to the rest of the network and is useful for accessing its influence on the response of the species under the treatment.

Software and data

Results

The data and the scripts used during the project are available at [9].

Extreme response genes: Genes modeling the primary cellular response

Below we present the numbers of genes in each of the extreme sets for Camels, Humans, Rats, Rhinos, and Squirrels. See Supplementary Material 1 (SI) for the corresponding distributions showing the peaks (Tables 3 and 4).

Table 3.

Numbers of active genes belonging to the extreme response sets at 41° for camels, humans, rats, rhinos, and squirrels

Camels Humans Rats Rhinos Squirrels
DEGs 2334 3144 2029 4178 1836
Key-Response 352 412 296 518 245
Treatment-Specific 50% 46 82 55 104 38
Support 50% 298 334 176 333 140
Noisy 50% 69 77 62 112 63

Table 4.

Numbers of active genes belonging to the extreme response sets at 32° for camels, humans, rats, rhinos, and squirrels

Camels Humans Rats Rhinos Squirrels
DEGs 2991 3335 2021 4530 1823
Key-Response 406 426 264 548 149
Treatment-Specific 50% 73 97 42 136 52
Support 50% 234 266 167 330 100
Noisy 50% 98 102 68 129 72

We next argue that:

  1. The principal coherent response that is common to the species and is specific to the treatment is represented by the dynamics of genes in the Key-Response and Treatment-Specific sets.

  2. These two groups interact weakly with genes in the Support and Noisy sets.

Support genes are well regulated in a sense, but their response is independent of the treatment (see [19]). We suspect that these are typically ancient genes that are crucial to the survival of the cells and are hence always active. We reason that old genes are more likely to be related to many other genes for all species in which they are still present, which in turn contributes to their high variability at baseline and after treatment. However, since they are important to the survival of the cells of the species their inter-individual variability is conserved. The Noisy genes encode non-coherent responses and are correlated to the noise level associated with the treatment. The second argument above can be understood intuitively as the separation of uncertainty between different groups of genes, meaning that interpreting inter-individual variability in response to a treatment reflects noise in the response. Thus, the presence of a strong connection between genes in the Key-Response and Treatment-Specific sets with genes in the Support and Noisy sets would result in noise (variability) from the latter genes propagating to the former genes, contrary to observations.

We can support the above claims to some extent by computing the quantiles before and after treatment for genes found in the intersections among species. This will allow us to classify the genes in the intersection (or at least determine to which group they are closest to). For each DEG-by-treatment combination we compute its percentile placement in the distribution of inter-individual variability at baseline and after treatment in order to classify them.

Here are the percentile placements for the 41° treatment for genes in the intersection for all 5 species (Fig. 5).

Fig. 5.

Fig. 5

Percentiles for the inter-individual variability for very-well-regulated DEGs with respect to the 41° that are common for camels, humans, rats, rhinos, and squirrels in Fig. 7. The x axis represents the percentiles at the baseline distributions of the species while the y axis shows the percentiles at the after treatment distributions

Similarly, for the 32° treatment we have the following percentile tables for DEGs common to all species (Fig. 6):

Fig. 6.

Fig. 6

Percentiles for the inter-individual variability for very-well-regulated DEGs with respect to the 32° that are common for camels, humans, rats, rhinos, and squirrels in Fig. 8. The x axis represents the percentiles at the baseline distributions of the species while the y axis shows the percentiles at the after treatment distributions

Notice that the definition of the extreme response genes (Definition 2.6) depends on the treatment and the species.

Common very-well-regulated genes

Another fundamental question we wish to answer about the rules of homeostasis is which of the rules are common to mammals and which are species specific. A starting point is to discover which genes are active for the treatment, very-well-regulated, and common among species. With this information we can then investigate their roles in stress response mechanisms for the different species.

The following diagrams are constructed using the DEGs, according to their rank (7) for humans, that are also very-well-regulated as previously defined above with respect to (8) (Fig. 7).

Fig. 7.

Fig. 7

Diagram constructed from all DEG for which the inter-individual variability ratio (8) is less than Inline graphic, where Inline graphic is a small tolerance for the 41° treatment

Genes in the intersection that are common to all species are listed below. Information on the gene functions was gathered from https://www.proteinatlas.org/:

  • [1] INSIG1 (ENSG00000186480): This gene encodes an endoplasmic reticulum membrane protein that regulates cholesterol metabolism, lipogenesis, and glucose homeostasis. The encoded protein has six transmembrane helices which contain an effector protein binding site.

  • [2] FASN (ENSG00000169710): Fatty acid biosynthesis, Fatty acid metabolism, Lipid biosynthesis, Lipid metabolism.

  • [3] RBM3 (ENSG00000102317): Cold-inducible mRNA binding protein that enhances global protein synthesis at both physiological and mild hypothermic temperatures. Reduces the relative abundance of microRNAs, when overexpressed. Enhances phosphorylation of translation initiation factors and active polysome formation (By similarity).

  • [4] FDPS (ENSG00000160752): Cholesterol biosynthesis, Cholesterol metabolism, Host-virus interaction, Isoprene biosynthesis, Lipid biosynthesis, Lipid metabolism, Steroid biosynthesis, Steroid metabolism, Sterol biosynthesis, Sterol metabolism

  • [5] TCF25 (ENSG00000141002): May play a role in cell death control. Acts as a transcriptional repressor. Has been shown to repress transcription of SRF in vitro and so may play a role in heart development.

  • [6] UQCC2 (ENSG00000137288): Plays a role in the modulation of respiratory chain activities such as oxygen consumption and ATP production and via its modulation of the respiratory chain activity can regulate skeletal muscle differentiation and insulin secretion by pancreatic beta-cells. Involved in cytochrome b translation and/or stability.

  • [7] ACAT2 (ENSG00000120437): Involved in the biosynthetic pathway of cholesterol.

  • [8] MVD (ENSG00000167508): Catalyzes the ATP dependent decarboxylation of (R)−5-diphosphomevalonate to form isopentenyl diphosphate (IPP). Functions in the mevalonate (MVA) pathway leading to isopentenyl diphosphate (IPP), a key precursor for the biosynthesis of isoprenoids and sterol synthesis.

  • [9] SREBF2 (ENSG00000198911): This gene encodes a member of the a ubiquitously expressed transcription factor that controls cholesterol homeostasis by regulating transcription of sterol-regulated genes.

As in the case of 41°, the number DEGs that are very-well-regulated and found in the intersection is small (coincidentally also 9) (Fig. 8).

Fig. 8.

Fig. 8

Diagram constructed from all DEG for which the inter-individual variability ratio (8) is less than Inline graphic, where Inline graphic is a small tolerance for the 32° treatment

The only genes found in the intersection for all 5 species are:

  • [1] IDH1 (ENSG00000138413): Catalyzes the NADP(+)-dependent oxidative decarboxylation of isocitrate (D-threo-isocitrate) to 2-ketoglutarate (2-oxoglutarate), which is required by other enzymes such as the phytanoyl-CoA dioxygenase 1, 2. Plays a critical role in the generation of NADPH, an important cofactor in many biosynthesis pathways.

  • [2] INSIG1 (ENSG00000186480): This gene encodes an endoplasmic reticulum membrane protein that regulates cholesterol metabolism, lipogenesis, and glucose homeostasis.

  • [3] FASN (ENSG00000169710): Fatty acid biosynthesis, Fatty acid metabolism, Lipid biosynthesis, Lipid metabolism

  • [4] CYP51A1 (ENSG00000001630): This endoplasmic reticulum protein participates in the synthesis of cholesterol by catalyzing the removal of the 14alpha-methyl group from lanosterol. Homologous genes are found in all three eukaryotic phyla, fungi, plants, and animals, suggesting that this is one of the oldest cytochrome P450 genes.

  • [5] STX12 (ENSG00000117758): Predicted to enable SNAP receptor activity and SNARE binding activity. Involved in autophagosome assembly; cholesterol efflux; and protein stabilization.

  • [6] VPS25 (ENSG00000131475): Component of the ESCRT-II complex (endosomal sorting complex required for transport II), which is required for multivesicular body (MVB) formation and sorting of endosomal cargo proteins into MVBs. The MVB pathway mediates delivery of transmembrane proteins into the lumen of the lysosome for degradation. The ESCRT-II complex is probably involved in the recruitment of the ESCRT-III complex. Protein transport, Transcription, Transcription regulation, Transport.

  • [7] YIPF3 (ENSG00000137207): Involved in the maintenance of the Golgi structure. May play a role in hematopoiesis.

  • [8] TIMMDC1 (ENSG00000113845): Chaperone protein involved in the assembly of the mitochondrial NADH:ubiquinone oxidoreductase complex (complex I). Participates in constructing the membrane arm of complex I.

  • [9] ANAPC16 (ENSG00000166295): Cell cycle, Cell division, Mitosis, Ubl conjugation pathway.

Several genes found in the intersection are indeed genes known to have been conserved through evolution and to (directly or indirectly) play a role in the well being and survival of the cell.

Network predictions

In the tables below we show the results from training neural networks with the Key-Response group, the Treatment-Specific group, and the Noisy group for humans and camels for the 32° and 41° treatments. Humans and camels are chosen as representatives for the strict and flexible homeostasis mammals respectively, in order to compare their networks. The Response Prediction column shows the intervals containing the output of the trained networks with baseline conditions as input. The Stability Prediction column shows the intervals containing the output of the trained networks with observations after treatment used as the input conditions. The interval arithmetic package IntervalArithmetic.jl is used for the computations involving intervals to guarantee enclosures [2]. Response Prediction assesses how well the networks represent the response of the species, whereas Stability Prediction measures how well homeostasis is approximated after treatment. In particular, in the case of the Treatment-Specific group and the Noisy group Stability Prediction indicates whether the intervals continue to contract, expand, or are stable (Figs. 9 and 10).

Fig. 9.

Fig. 9

Inter-individual variability intervals for the Key-Response genes for Humans at 32° for the top 10 genes ranked with respect to (7). Comparison of observed intervals vs intervals predicted by trained networks. The fractional errors, RE and SE, are computed according to formulas (13) and (14) respectively

Fig. 10.

Fig. 10

Inter-individual variability intervals for the Key-Response genes for Humans at 41° for the top 10 genes ranked with respect to (7). Comparison of observed intervals vs predicted by trained networks. The fractional errors, RE and SE, are computed according to formulas (13) and (14) respectively

Measures of well-being after environmental perturbations

A robust measure of entropy in the response can be defined in terms of the network models computed using the extreme response sets. Since our models are signed graphs, we implement a modified Random Walker Shannon Entropy measure that accounts for the direction (sign) of the interactions.

The neural network is viewed as the superposition of a positive and a negative network. Positive and negative probability distributions are then defined in terms of the weights. The total entropy is calculated as the sum of the negative and positive network entropies. The entropy for each subgraph can range from 0 to 1 as in the classical case; and hence, the total value of Inline graphic will range from 0 to 2.

Below we present the network entropy values for the response of camels and humans at the 32° and 41° treatments. For both treatments the camel is ranked higher (Table 5).

Table 5.

Total entropy of the model for Humans and Camels at the 32° and 41° treatments

Treatment Camels Humans
32° 1.12 1.49
41° 1.16 1.51

The quantity Inline graphic in the computation of total entropy is the contribution of entropy from node k to the jth node. With this perspective, we define the entropy departing from the noisy genes as: Inline graphic

graphic file with name d33e2743.gif 22

The notation Inline graphic means: the index j for genes in the list Inline graphic; which are genes in G1 together with genes in G2 ranked according to (7).

In the following table we present these computations for camels and humans for the 32° and 41° treatments. We see that a small fraction of the entropy is coming from the noisy genes to the rest of the networks. This demonstrates that the noisy group is weakly connected to the rest of the extreme response network in the models (Table 6).

Table 6.

Entropy from the Noisy genes on the model for Humans and Camels at the 32° and 41° treatments

Treatment Camels Humans
32° 0.08 0.11
41° 0.16 0.10

Other measures of stability of the response

We expect that for a system that is able to maintain homeostasis, small perturbations of the counts at baseline are still mapped to counts within the attractor after treatment. We also expect the system to be resilient to small perturbations of the parameters. We construct yet another measure of stability for the models based on quantifying this ideal property in terms of the parameters.

Assessing the effects of perturbing the parameters in terms of ratios of errors in approximating the attractors

To each matrix defining the response model, we apply a random perturbation of 10% of their norm value for a fixed number of times (i.e., 10) and compute the predicted state intervals and errors with respect to the raw data as before (See Eqs. (13) and (14)). We then compute the average error for the 10 trials and calculate a ratio of this average and the original error for each gene. Finally, we compute the average ratio for the Key Response genes (G1) and the Treatment-Specific genes (G2) and report these in Tables 16 and 17 in Supplementary Material 1. In both cases the camels are ranked higher than the humans (Tables 7 and 8).

Table 7.

Average ratio of the response and stability errors after a 10% perturbation of the interaction parameters for the Key Response and the Treatment-Specific groups of genes for the 32° model

Camels Humans
Response Prediction 0.98 4.99
Stability Prediction 2.33 4.60
Table 8.

Average ratio of the response and stability errors after a 10% perturbation of the interaction parameters for the Key Response and the Treatment-Specific groups of genes for the 41° model

Camels Humans
Response Prediction 1.11 6.72
Stability Prediction 1.26 6.03

These tables show a significantly higher error after perturbation for the human models compared to the camel models.

Quantifying the domain of attraction of the model

Another way of quantifying the stability of the model itself as a measure of the stability of the response is by approximating the magnitude of the deviation of the model produced by an infinitesimal perturbation of the model parameters. More precisely, for each gene except for the Noisy genes we apply a very small perturbation and retrain the networks with the same learning rate and measure the deviation from the original parameters. All original networks had converged according to the criteria explained in Methods section). Finally, we compute the average for all the model genes (ignoring the Noisy genes). With respect to this measure of well-being the camels are also ranked higher than the humans (Table 9).

Table 9.

Average deviation of the trained model parameter after a small perturbation

Treatment Camels Humans
32° Inline graphic Inline graphic
41° Inline graphic Inline graphic

Extreme response genes enrichment analysis. Brief comparison with model based on limma selected genes for humans

We compared the key response genes to the same number of genes ranked by limma [16] using the publicly available database https://string-db.org/ and https://www.proteinatlas.org/ (default settings) (Table 10):

Table 10.

STRING-db Results

Treatment Gene Set PPI Enrichment P-Value
32° Model-Selected Genes 6.2e-05
Limma-Selected Genes Inline graphic
41° Model-Selected Genes 1.7e-08
Limma-Selected Genes Inline graphic

Enrichment analysis of the modeled extreme response genes in G1 compared to the same size model of limma genes for the 32° (169 genes) and 41° (191 genes) treatments for humans

In both cases the enrichment p-values are significant. It is worth observing that the p-values associated with the limma selected genes are considerably smaller than those from the extreme response selection possibly due to the fact that limma has been widely used for over a decade and has greatly influenced the direction/focus of the studies further strengthening their association in the databases.

We also compared the largest connected component (LCC) of the set of genes according to their association relation recorded in the database. For details regarding the algorithm see [8]. This again shows that the assumption that the selected genes form part of a mechanism of response to the stress is supported by the literature (Tables 11 and 12).

Table 11.

Comparison of the length of the Largest Connected Component (LCC) by first and second order association for the 32° treatment for the model and limma selected genes

Model-Selected G1 Limma-Selected
Number of genes with Inline graphic 1 known interactions in PA 155 of 169 (91.7%) 162 of 169 (95.9%)
Number of genes in LCC (1st & 2nd order)

117 (75.5%)

P-value Inline graphic

Mean for random: 109.7

Stdev: 4.24

135 (83.3%)

P-value = 0.00001

Mean for random: 130.65

Stdev: 3.26

Protein interactions were obtained from the Human Protein Atlas (PA) (https://www.proteinatlas.org/) “Interaction” section, which aggregates data from four major sources: IntAct (high and medium confidence physical associations), BioGRID (multivalidated physical interactions), BioPlex (interactions with >75% probability), and OpenCell (significant physical interactions). We included any known interaction reported in at least one of these four major sources

Table 12.

Comparison of the length of the Largest Connected Component (LCC) by first and second order association for the 41° treatment for the model and limma selected genes

Model-Selected G1 Limma-Selected
Number of genes withInline graphic 1 known interactions in PA 174 of 191 (91.1%) 178 of 191 (93.2%)
Number of genes in LCC (1st & 2nd order)

129 (74.1%)

P-value Inline graphic

Mean for random: 125.6

Stdev: 4.50

134 (75.3%)

P-value = 0.01634

Mean for random: 136.7

Stdev: 5.21

Protein interactions were obtained from the Human Protein Atlas (PA) (https://www.proteinatlas.org/) “Interaction” section, which aggregates data from four major sources: IntAct (high and medium confidence physical associations), BioGRID (multivalidated physical interactions), BioPlex (interactions with >75% probability), and OpenCell (significant physical interactions). We included any known interaction reported in at least one of these four major sources

Finally, we built a neural network with the limma selected genes using the same algorithm as for the model based on the extreme response genes. We compare the response and stability of the response networks of the two models for the 32° and 41° treatments for humans. Our first observation is that the variance of the RE error for the limma model at 41° is considerably higher than the model based on extreme response genes; however, this was not the case for the 32° treatment. The second important observation is that, as expected, the SE for the full model based on the G1, G2, and G4 genes is considerably worse than for the G1 only model and the limma model also for 41°. This shows that the full model can capture the deterioration of the state of the cells after a long period of time exposed to the new conditions. This possible behavior seems to be completely undetected by the limma model. No drastic difference is observed for RE or SE for the models for the 32° treatment. Finally, the well-being measure introduced in Quantifying the domain of attraction of the model section shows that the extreme response models are stable as opposed to the limma models which collapse after a small perturbation. This was the case for both the 32° and 41° treatments (Tables 13 and 14).

Table 13.

Response and Stability interval predictions for the Extreme Response models and the Limmma model for the 41° treatment

Errors Model G1 Model G1G2G3 Model G1G2G4 Model Limma
RE:(mean,variance) (0.88, 0.60) (0.31,0.12) (0.45, 1.12) (0.73, 43.08)
SE:(mean,variance) (1.02, 0.93) (0.47,0.33) (19.10, 57057) (0.25, 0.04)
Stability Quantifying the domain of attraction of the model section 2.9e-4 2.6e-4 1.1e-3 6.0e269

The well-being measure introduced in Quantifying the domain of attraction of the model section is also included. The smaller this number is the more stable the model is to perturbations

Table 14.

Response and Stability interval predictions for the Extreme Response models an the Limmma model for the 32° treatment

Errors Model G1 Model G1G2G3 Model G1G2G4 Model Limma
RE:(mean,variance) (0.84,0.25) (0.49,0.31) (0.63,0.26) (0.26,0.07)
SE:(mean,variance) (0.84,0.23) (0.53,0.61) (0.82,0.49) (0.33,0.09)
Stability Quantifying the domain of attraction of the model section 3.1e-4 2.6e-4 2.3e-4 1.3e237

The well-being notion introduced in Quantifying the domain of attraction of the model section is also included. The smaller this number is the more stable the model is to perturbations

Discussion & conclusions

In this paper, we identify three subsets of genes that, across mammalian species, capture the primary response of homogeneous cell cultures of skin fibroblasts to changes in temperature. These groups of genes act as a robust set of coordinates that separate the dynamics and permit the study of their interactions separately. In mathematical terms, these three classes of genes can be viewed as a coordinate system that diagonalizes the response of the species, in the same sense that diagonalization simplifies the dynamics of a matrix by isolating independent directions of variation.

The Key-Response set contains genes that appear to be most central to the response to our experimental temperature perturbations, as they maintain low inter-individual variability both before and after treatment. The Treatment-Specific genes are those for which the inter-individual variability contracts, suggesting that their regulation becomes tightly constrained in response to the treatment and that they may only become functionally active under the altered conditions. The third highlighted set, the Noisy genes, consists of those genes for which the inter-individual variability expands significantly following treatment. We hypothesize that this group captures aspects of the vulnerability of the species to the perturbation and reflects components of the response that become destabilized under stress.

The network models constructed on these extreme response sets exhibit predictive power and can be used to identify gene–gene interactions that may play important roles in species survival under changing environmental conditions. A key feature of our framework is that the set of possible models satisfying the architecture and constraints outlined in Methods section is finite. This restriction is critical for model validation, as it allows the incorporation of prior biological knowledge—such as known gene functions and regulatory interactions—to identify the most plausible models among the admissible candidates.

Our analysis further demonstrates that even with transcript count data from a relatively small number of individuals per species, it is feasible to identify differentially expressed genes using a criterion based on activity, rather than relying on fold-change statistics or hypothesis-testing frameworks that require larger sample sizes. Activity, as defined here, is a positive quantity that measures the magnitude of transcriptional change regardless of direction. This approach allows the detection of meaningful biological responses even in datasets where classical statistical methods may lack power.

Comparing the inter-individual variability of DEGs before and after treatment provides insight into the regulatory mechanisms underlying the response of a species to a perturbation. In particular, this comparison allows us to distinguish very-well-regulated genes—those that maintain consistent behavior across individuals—from genes that respond in a less coherent or more heterogeneous manner. The Key-Response, Treatment-Specific, and Noisy groups capture the high-order structure of the species’ response to treatment, while the Support genes, although also very-well-regulated, likely participate in many cellular processes and may represent broadly conserved cellular functions.

One of the most significant contributions of this work is the development of biologically plausible network models that can be constructed from a small number of individual replicates. Identifying the extreme response groups is the first step toward constructing these models. The resulting networks must satisfy the relation depicted in Fig. 1, which ensures that the learned mapping semi-conjugates the homeostasis dynamics under baseline and treatment conditions. This constraint provides a natural dynamical interpretation of the response and limits the set of admissible models. Further validation using known gene functions and biological pathways can help ensure that the selected models are biologically meaningful.

We also introduce a measure of species well-being after treatment based on network entropy. The classical Random Walker Shannon Entropy was adapted to our network architecture in order to quantify the disruption of regulatory interactions induced by a perturbation. Because the entropy measure depends on the network structure itself, it provides a standardized metric that is well suited for comparisons across species and treatments. All measures of well-being introduced in this work consistently rank camels higher than humans in terms of resilience to the 32 °C and 41 °C treatments (Tables 5, 7, 8, 9), in agreement with known physiological differences in temperature tolerance.

Although the present work focuses on extreme response genes, many DEGs were intentionally excluded from the network models. Incorporating additional DEGs represents an important direction for future work, as it may reveal finer regulatory interactions associated with different treatments. With larger numbers of replicates, it will also be possible to refine the network architecture, tune activation functions for each species, and improve the approximation of the attractor sets that characterize homeostasis.

In the current study, extreme response networks were constructed for humans and camels as representative examples of species exhibiting relatively strict versus flexible homeostasis. Future work will extend this comparative analysis to additional species in order to better understand how different regulatory architectures support distinct physiological strategies.

Large-scale computational analyses may also clarify the relationships among the different gene groups identified here. While the extreme response sets capture the dominant structure of the response, weaker interactions between genes in different groups likely exist. Experimental validation will be necessary to determine the extent to which such cross-group interactions contribute to the overall regulatory response. More broadly, the framework developed in this paper was intentionally formulated in general terms with applications beyond the specific biological system studied here. The essential requirement for applying the method is the availability of samples from a stable dynamical system consisting of comparable replicates, together with observations before and after a perturbation. Under these conditions, the method can be used to infer the common response mechanism of the system. In this sense, the approach provides a practical framework for inferring the dynamics of complex interacting systems from sparse observational data, a situation that frequently arises in biological experiments where the number of replicates is limited.

A key conceptual contribution of this work is the observation that the extreme response gene groups act as a low-dimensional coordinate system describing the response of the system to perturbation. Rather than modeling the behavior of thousands of variables simultaneously, the dynamics can be expressed in terms of a small number of coordinated directions corresponding to stable, inducible, and destabilized components of the response. In analogy with diagonalization in linear systems, this representation separates the dominant modes of variation and allows the regulatory dynamics to be studied in a structured and interpretable way. This perspective suggests that many biological responses to environmental changes may admit a similarly reduced description in terms of a small number of coordinated regulatory programs.

In cellular biology, for example, the framework could be applied to study the response of specific cell types to pharmacological treatments, such as cancer cells exposed to chemotherapy agents or immune cells responding to infection. More generally, the approach may be applicable to a wide range of cellular perturbation experiments, including nutrient deprivation, hypoxia, hormonal stimulation, or toxin exposure. The method could also be particularly useful in the analysis of single-cell transcriptomic data, where inter-cell variability is intrinsic to the system and distinguishing coherent regulatory programs from stochastic fluctuations remains a major challenge. Because the method does not rely on large sample sizes, it may also be valuable in experimental contexts where biological material is limited, such as rare cell populations or primary clinical samples.

Beyond transcriptomics, the same principles could be applied to other molecular measurements, including chromatin accessibility, DNA methylation, proteomic abundance, or metabolomic profiles. In these settings, the extreme response groups would identify stable regulatory programs, inducible pathways activated by the perturbation, and components of the system that become destabilized under stress. As a result, the framework may provide a unified way of interpreting multi-omics datasets describing how different regulatory layers coordinate responses to environmental change.

The methodology also naturally extends to comparative and evolutionary studies, where the goal is to understand how different organisms respond to environmental challenges. Because the network models provide quantitative measures of stability and entropy, they offer a principled way to compare the resilience of regulatory systems across species, tissues, or environmental conditions. In this context, the approach may help identify conserved regulatory programs underlying adaptation to stress, as well as species-specific mechanisms that support distinct physiological strategies.

Beyond molecular biology, the approach may also be applicable to ecological and population-level systems. In such contexts, genes could be replaced by species, and transcript counts by population abundances. The resulting framework would then describe how ecological communities reorganize in response to environmental perturbations such as climate change, habitat disturbance, or the introduction of invasive species. In this setting, the extreme response groups could reveal stable components of an ecosystem, species that respond specifically to environmental change, and populations that become destabilized during ecological stress.

More generally, the methodology may be relevant for any complex system in which the goal is to understand how the collective behavior of interacting components changes under shifts in external conditions. Examples include microbial community dynamics, neural population activity, and other large-scale biological networks in which a large number of interacting variables respond to environmental or physiological perturbations. In all such systems, identifying a reduced set of coordinates that captures the dominant response modes may provide a powerful strategy for uncovering the underlying mechanisms governing system-level behavior.

Supplementary Information

Acknowledgements

We would like to thank Ines Haberle (Florida Atlantic University) for the insightful discussions and suggestions during the preparation of this manuscript. We thank members of the Hindle lab (Janessa Montenegro, Amy Klink, TJ Crippen, and Sebastiano Cupani) for their essential contributions to the collection of cell culture data that were used in model development.

Appendix

 

  • Inline graphic : number of individuals in the study.

  • Inline graphic : will denote an arbitrary small number in this paper. Usually, introduced to avoid dividing by 0 in practice.

  • Inline graphic : A is a subset of B, i.e every element of A is an element of B.

  • Inline graphic : The set intersection of A and B.

  • Inline graphic : The set union of A and B.

  • Inline graphic : the composition function f of g(x), i.e f(g(x)).

  • Inline graphic : regular matrix multiplication.

  • Inline graphic : approximately equal as sets.

  • Inline graphic : Solution in time t of the general transcript dynamics stochastic governing equation in the presence of noise with parameters T and initial condition Inline graphic.

  • Inline graphic : Homeostasis attractor at baseline conditions Inline graphic.

  • Inline graphic : Homeostasis attractor at treatment conditions Inline graphic.

  • Inline graphic : Intervals of transcripts at baseline conditions Inline graphic.

  • Inline graphic : Intervals of transcripts at treatment conditions Inline graphic.

  • Inline graphic

  • Inline graphic

  • Inline graphic : denotes the diameter of the set S for an arbitrary interval S. When S is an interval then it is simply the length of the interval.

  • Inline graphic : magnitude of f in some sense.

  • Inline graphic : Activity of the ith gene with respect to a given stress.

  • Inline graphic : Rank of the ith gene according to level of activity with respect to a given stress.

  • Inline graphic : Summation in terms of i

Authors’ contributions

Jorge Gonzalez (Conceptualization, Formal analysis, Methodology, Software, Validation, Writing original draft), Diane P. Genereux (Funding acquisition, Conceptualization, Writing - review and editing), Kristin Crouse (Conceptualization, Writing - review and editing), Bradley Frishman (Formal analysis, Methodology, Writing - review and editing), Allyson Hindle (Funding acquisition, Conceptualization, Writing - review and editing), Carla Madelaire (Data acquisition, Writing - review and editing), Elinor Karlsson (Funding acquisition, Conceptualization, Writing - review and editing), Lucas Moreira (Formal analysis, Methodology, Writing - review and editing), Valery Forbes (Funding acquisition, Conceptualization, Project administration, Supervision, Writing - review and editing). All authors read and approved the final manuscript.

Funding

This work was funded by an NSF Understanding the Rules of Life Collaborative Research Grant (Epigenetic pathways to regulate homeostatic resilience: Model-based discovery of rules across diverse mammals) to Valery E. Forbes (#2022050), Diane Genereux (#2022012), Allyson Hindle (#2022046), and Elinor Karlsson (#2022007). Funding for Jorge Gonzalez was provided by Florida Atlantic University.

Data availability

https://github.com/joluigonza/bio_nnets

Declarations

Ethics approval and consent to participate

Not applicable.

Consent for publication

Not applicable.

Competing interests

The authors declare no competing interests.

Footnotes

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

References

  • 1.Bartha Á, Győrffy B. TNMplot.com: a web tool for the comparison of gene expression in normal, tumor and metastatic tissues. Int J Mol Sci. 2021;22(5):2622. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 2.Benet L, Sanders DP. IntervalArithmetic.jl. 2022. https://github.com/JuliaIntervals/IntervalArithmetic.jl. Accessed [August 2023].
  • 3.Bolger AM, Lohse M, Usadel B. Trimmomatic: a flexible trimmer for Illumina sequence data. Bioinformatics. 2014;30(15):2114–20. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4.Bustamante AP, Celletti A, Lhotka C. Breakdown of rotational tori in 2D and 4D conservative and dissipative standard maps. Phys D. 2023;453:133790. [Google Scholar]
  • 5.Celletti A, Chierchia L. KAM tori for N-body problems: a brief history. In: periodic, quasi-periodic and chaotic motions in celestial mechanics: theory and applications: selected papers from the Fourth Meeting on Celestial Mechanics, CELMEC IV San Martino al Cimino (Italy), 11–16 September 2005. Springer Science+Business Media B.V.; 2006. pp. 117–39.
  • 6.Cybenko G. Approximation by superpositions of a sigmoidal function. Math Control Signals Syst. 1989;2(4):303–14. [Google Scholar]
  • 7.Da-Anoy J, Posadas N, Conaco C. Interspecies differences in the transcriptome response of corals to acute heat stress. PeerJ. 2024;12:e18627. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8.Frishman BA, Gonzalez JL, Forbes VE. A context-specific, literature-supported framework for validating stress response models in mammals. bioRxiv (preprint). 2025:2025–12.
  • 9.Gonzalez J. bio_nnets.jl. 2025. https://github.com/joluigonza/bio_nnets. Accessed [August 2025].
  • 10.Huang J, Zhao X, Chory J. The Arabidopsis transcriptome responds specifically and dynamically to high light stress. Cell Rep. 2019;29(12):4186–99. [DOI] [PMC free article] [PubMed]
  • 11.Kim D, Paggi JM, Park C, Bennett C, Salzberg SL. "Graph-based genome alignment and genotyping with HISAT2 and HISAT-genotype." Nat Biotechnol. 2019;37(8):907–15. [DOI] [PMC free article] [PubMed]
  • 12.Kirilenko BM, Munegowda C, Osipova E, Jebb D, Sharma V, Blumer M, et al. Integrating gene annotation with orthology inference at scale. Science. 2023;380(6643):eabn3107. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13.Pan W. A comparative review of statistical methods for discovering differentially expressed genes in replicated microarray experiments. Bioinformatics. 2002;18(4):546–54. [DOI] [PubMed] [Google Scholar]
  • 14.Pertea M, Pertea GM, Antonescu CM, Chang TC, Mendell JT, Salzberg SL. StringTie enables improved reconstruction of a transcriptome from RNA-seq reads. Nat Biotechnol. 2015;33(3):290–5. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15.Price PD, Palmer Droguett DH, Taylor JA, Kim DW, Place ES, Rogers TF, et al. Detecting signatures of selection on gene expression. Nat Ecol Evol. 2022;6(7):1035–45. [DOI] [PubMed] [Google Scholar]
  • 16.Ritchie ME, Phipson B, Wu D, Hu Y, Law CW, Shi W, et al. Limma powers differential expression analyses for RNA-sequencing and microarray studies. Nucleic Acids Res. 2015;43(7):e47. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17.Shaul YD, Yuan B, Thiru P, Nutter-Upham A, McCallum S, Lanzkron C, et al. MERAV: a tool for comparing gene expression across human tissues and cell types. Nucleic Acids Res. 2016;44(D1):D560–6. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 18.Wingett SW, Andrews S. FastQ screen: a tool for multi-genome mapping and quality control. F1000Res. 2018;7:1338. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 19.Yang L, Wang S, Zhou M, Chen X, Zuo Y, Sun D, et al. Comparative analysis of housekeeping and tissue-selective genes in human based on network topologies and biological properties. Mol Genet Genomics. 2016;291:1227–41. [DOI] [PubMed] [Google Scholar]
  • 20.Yang Y, Li G, Zhong Y, Xu Q, Chen BJ, Lin YT, et al. Gene knockout inference with variational graph autoencoder learning single-cell gene regulatory networks. Nucleic Acids Res. 2023;51(13):6578–92. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 21.Yu L, Zhang J, Brock G, Fernandez S. Fully moderated t-statistic in linear modeling of mixed effects for differential expression analysis. BMC Bioinformatics. 2019;20:1–9. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 22.Zhu J, He F, Hu S, Yu J. On the nature of human housekeeping genes. Trends Genet. 2008;24(10):481–4. [DOI] [PubMed] [Google Scholar]

Associated Data

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

Supplementary Materials

Data Availability Statement

https://github.com/joluigonza/bio_nnets


Articles from BMC Genomics are provided here courtesy of BMC

RESOURCES