Formulas

Some more explanations for the formulas in figure 1a.

Signaling functionality score calculation

The $\omega$ score for each protein $i$ is calculated as a weighted mean over the phosphorylation measurements $z_{js}$ on its neighbors. Starting from a simplified mean calculation we will arrive at the final formula in three steps.

First we take the formula of the mean, then we rewrite it without changing its value. Lastly we can introduce the weights and arrive at the final formula.

Let $n$ be the number of $z_{ij}$, then their mean is $$\omega_i = \frac {\sum_{(c_{ij}, z_{js})} z_{js}} n$$ In this formula all measurements contribute equally to the mean.

We can rewrite this formula into a form that will help us later without changing its value. $$\omega_i = \frac {\sum_{(c_{ij}, z_{js})} 1 \cdot z_{js}} {\sum_{(c_{ij}, z_{js})} 1}$$

We can interpret this way to write the mean as giving every element the weight of $1$. We do however want to give the measurements weights according to the confidences in the interactions $c_{ij}$. By replacing the $1$ with $c_{ij}$ we arrive at the final formula, a weighted mean.

$$\omega_i = \frac {\sum_{(c_{ij}, z_{js})} c_{ij} z_{js}} {\sum_{(c_{ij}, z_{js})} c_{ij}}$$

Empirical $p$-value calculation

$$p^+ = \sum_r I\{\omega < \omega_r\} / r$$

The empirical $p$-value is calculated by comparing the actual score $\omega$ against scores generated from randomizations for the $\omega_1, ..., \omega_r$. The $I\{\omega < \omega_r\}$ function equals $1$ if $\omega < \omega_r$ and equals $0$ otherwise. The function effectively counts how many times the $\omega_r$, generated from randomized data, is higher than the acutal $\omega$. The counts $\sum_r I\{\omega < \omega_r\}$ can reach a value between $0$ and $r$. To normalize these to a range between $0$ and $1$ we just divide by $r$. Scores that are worse that random will have a high count and therefore a $p$-value close to 1.

The same rational is applied to obtain the second $p$-value for low scores. $$p^- = \sum_r I\{\omega \geq \omega_r\} / r = 1 - p^+$$