Hostname: page-component-74656f9884-j7cmm Total loading time: 0 Render date: 2026-11-06T06:03:38.109Z Has data issue: false hasContentIssue false

Generating weighted and thresholded gene coexpression networks using signed distance correlation

Published online by Cambridge University Press:  16 June 2022

Javier Pardo-Diaz
Affiliation:
Department of Statistics, University of Oxford, Oxford OX1 3LB, UK
Philip S. Poole
Affiliation:
Department of Plant Sciences, University of Oxford, Oxford OX1 3RB, UK
Mariano Beguerisse-Díaz
Affiliation:
Mathematical Institute, University of Oxford, Oxford OX2 6GG, UK
Charlotte M. Deane
Affiliation:
Department of Statistics, University of Oxford, Oxford OX1 3LB, UK
Gesine Reinert*
Affiliation:
Department of Statistics, University of Oxford, Oxford OX1 3LB, UK
*
*Corresponding author. Email: reinert@stats.ox.ac.uk
Rights & Permissions [Opens in a new window]

Abstract

Even within well-studied organisms, many genes lack useful functional annotations. One way to generate such functional information is to infer biological relationships between genes or proteins, using a network of gene coexpression data that includes functional annotations. Signed distance correlation has proved useful for the construction of unweighted gene coexpression networks. However, transforming correlation values into unweighted networks may lead to a loss of important biological information related to the intensity of the correlation. Here, we introduce a principled method to construct weighted gene coexpression networks using signed distance correlation. These networks contain weighted edges only between those pairs of genes whose correlation value is higher than a given threshold. We analyze data from different organisms and find that networks generated with our method based on signed distance correlation are more stable and capture more biological information compared to networks obtained from Pearson correlation. Moreover, we show that signed distance correlation networks capture more biological information than unweighted networks based on the same metric. While we use biological data sets to illustrate the method, the approach is general and can be used to construct networks in other domains. Code and data are available on https://github.com/javier-pardodiaz/sdcorGCN.

Information

Type
Research Article
Copyright
© The Author(s), 2022. Published by Cambridge University Press
Figure 0

Figure 1. Pipeline to construct networks from gene expression data using signed distance correlation, adapted from Pardo-Diaz et al. (2021). A: We compute the expression distance matrices $\widetilde{Y}^{(i)}$ and $\widetilde{Y}^{(j)}$ for each gene $i,j\in\{1, \dots, m\}$, and we double center them to obtain ${Y}^{(i)}$ and ${Y}^{(j)}$. B: We compute the distance correlation matrix D, whose entries $D_{i,j}$ are the positive root of the Pearson correlation between ${Y}^{(i)}$ and ${Y}^{(j)}$, for every pair of genes. C: We compute the Pearson correlation between each pair of rows in the $M^*$ to obtain the Pearson correlation matrix P. D: To construct the signed distance correlation matrix S, we multiply every distance correlation between the expression of two genes $D_{i,j}$ by the sign of their Pearson correlation $\mathrm{sign}(P_{i,j})$.

Figure 1

Figure 2. Illustration of a COGENT iteration. At each iteration, from the full dataset M with all m samples we generate two subdatasets $M_1$ and $M_2$. Each of the subdatasets contains half of the samples included in M (represented in green with dots in the image). The rest of the samples in M are equally divided between $M_1$ (yellow with waves) and $M_2$ (pink with stripes), resulting in the two datasets having the same number of samples. Afterwards, from each dataset, we construct a gene coexpression network (network $H_1$ from subdataset $M_1$ and network $H_2$ from subdataset $M_2$) using the same network construction method, which might include pre-processing steps. Lastly, we obtain a similarity score based on the overlap between the networks $H_1$ and $H_2$.

Figure 2

Table 1. Metrics and COGENT score for the optimal networks of the studied datasets. “Corr” indicates the correlation matrix employed and “Thr” denotes the optimal threshold

Figure 3

Figure 3. Self-consistency scores for different thresholds and datasets. The blue and red lines show the scores (Equation (4)) of networks obtained using signed distance and Pearson correlations, respectively, to generate weighted and thresholded networks. The dashed vertical and horizontal lines indicate the optimal sums of edge weights and the highest scores, respectively. Scores obtained by signed distance correlation are almost uniformly higher than scores from Pearson correlation.

Figure 4

Table 2. Metrics and STRING scores for the networks from the RL3841 dataset. RE indicates the expected result and its standard deviation. C, $C^\dagger$, and $C^\ddagger$ indicate the scores obtained for each of the different sets of confidence from STRING. For each set of networks, the highest score values are indicated in bold

Figure 5

Table 3. Metrics and STRING scores for the networks from the Yeast dataset. RE indicates the expected result and its standard deviation. C, $C^\dagger,$ and $C^\ddagger$ indicate the scores obtained for each of the different sets of confidence from STRING. For each set of networks, the highest score values are indicated in bold

Figure 6

Table 4. Metrics and STRING scores for the networks from the Human liver dataset. RE indicates the expected result and its standard deviation. C, $C^\dagger,$ and $C^\ddagger$ indicate the scores obtained for each of the different sets of confidence from STRING. For each set of networks, the highest score values are indicated in bold

Figure 7

Figure 4. Scores obtained for the gene coexpression networks obtained from the three datasets using STRING. All panels show the score for the different networks on the y-axis, and the sum of weights on the x-axis. The scores are the result of the dot product of the weights of the edges in the networks and the confidence scores with all evidence (C), only coexpression evidence ($C^\dagger$) and everything excluding coexpression ($C^\ddagger$) from STRING associated with them, divided by the sum of edge weights. The black box plots correspond to the scores obtained by 30 random networks. Blue circles and red triangles represent signed distance correlation and Pearson correlation, respectively.

Figure 8

Figure 5. Distribution of STRING scores using the set of information C and average edge weight of the RL3841 networks. Blue and circles are for signed distance correlation; red and triangles are for Pearson correlation.

Figure 9

Table 5. STRING scores for unweighted and weighted and thresholded networks for the three datasets using signed distance correlation. C, $C^\dagger,$ and $C^\ddagger$ indicate the scores obtained for each of the different sets of confidence from STRING. Types “W” and “U” denote whether the networks are weighted or unweighted, respectively. Each pair of networks have the same edges; for each pair of networks, the highest score values are indicated in bold