Tutorials › Statistical Methods for Single-Cell RNA Sequencing › Worked Example: Transcriptional Induction and Repression

RNA Velocity · Tutorial 410 of 700

Worked Example: Transcriptional Induction and Repression

Work through piecewise transcription-on and transcription-off dynamics to calculate RNA trajectories, locate a spliced-velocity reversal, and read velocity signs in phase space.

Advanced 12 min read

What You'll Learn

  • State the two-rate RNA-velocity model and its assumptions for a gene with a transcriptional switch.
  • Derive unspliced and spliced trajectories during induction from zero expression.
  • Calculate post-switch trajectories from the expression levels at the switch time.
  • Determine when spliced RNA changes from increasing to decreasing after transcription stops.
  • Interpret velocity signs and trajectory direction in a spliced–unspliced phase portrait.
  • Recognize how noisy measurements and departures from the switch assumptions can distort the ideal path.

Induction and Repression as a Piecewise Kinetic Process

A transcriptional switch creates a useful example of how RNA velocity depends on the gene’s recent history. When transcription turns on, unspliced RNA can rise before spliced RNA accumulates. When transcription turns off, the remaining unspliced molecules can still be spliced, so spliced RNA may continue increasing briefly even as unspliced RNA declines. The signs of the two velocities therefore depend on both the current expression levels and the switch history.

We use the standard two-species kinetic model for one gene. Let \(u(t)\) and \(s(t)\) denote unspliced and spliced RNA abundance at time \(t\), respectively. Abundance is in arbitrary normalized units, and time is in hours. The rates \(\alpha\), \(\beta\), and \(\gamma\) denote transcription, splicing, and spliced-RNA degradation, respectively; each rate is nonnegative and has units per hour, except that \(\alpha\) has abundance units per hour.

Definition: The two-rate RNA-velocity equations are \(\dot u(t)=\alpha(t)-\beta u(t)\) and \(\dot s(t)=\beta u(t)-\gamma s(t)\), where a dot denotes a time derivative. The unspliced velocity is \(\dot u\), and the spliced velocity is \(\dot s\). In a phase portrait with horizontal coordinate \(s\) and vertical coordinate \(u\), the velocity vector is \((\dot s,\dot u)\).

The calculations below assume a homogeneous population trajectory for this gene, constant splicing and degradation rates, and a transcription rate that changes instantaneously between fixed levels. They also assume that \(u\) and \(s\) are on a common abundance scale and that there is no additional source or loss term, such as cell division or transport. These assumptions define an idealized deterministic trajectory; single-cell measurements need not lie exactly on it.

Deriving the Induction Trajectory

Suppose transcription switches on at time zero with constant rate \(\alpha>0\), and the gene begins with \(u(0)=s(0)=0\). During induction, the unspliced equation is a first-order linear differential equation. Multiplying it by the integrating factor \(e^{\beta t}\), integrating, and applying the initial condition gives, for \(\beta>0\), the unspliced trajectory (if \(\beta=0\), direct integration gives \(u(t)=\alpha t\)).

$$ \frac{d}{dt}\left(e^{\beta t}u(t)\right)=\alpha e^{\beta t} \quad\Longrightarrow\quad u(t)=\frac{\alpha}{\beta}\left(1-e^{-\beta t}\right). $$

To obtain the spliced trajectory, solve \(\dot s+\gamma s=\beta u(t)\) using the integrating factor \(e^{\gamma t}\). Substituting the expression for \(u(t)\) and using \(s(0)=0\) yields, when \(\gamma>0\) and \(\beta\ne\gamma\),

$$ s(t)=\alpha\int_0^t e^{-\gamma(t-r)}\left(1-e^{-\beta r}\right)\,dr =\frac{\alpha}{\gamma}\left(1-e^{-\gamma t}\right) -\frac{\alpha}{\gamma-\beta}\left(e^{-\beta t}-e^{-\gamma t}\right). $$

The integral shows the mechanism: each contribution to spliced RNA comes from unspliced RNA present at an earlier time \(r\), then is reduced by degradation between \(r\) and \(t\). If \(\gamma=0\) and \(\beta>0\), the integral instead gives \(s(t)=\alpha\left[t-(1-e^{-\beta t})/\beta\right]\). If \(\beta=\gamma>0\), the expression with denominator \(\gamma-\beta\) is replaced by its limit, \(s(t)=\frac{\alpha}{\gamma}[1-(1+\gamma t)e^{-\gamma t}]\). The velocities follow directly from the model equations, rather than from a visual estimate of the curve.

Worked Example: Following a Gene During Induction

Consider hypothetical rates \(\alpha=4\) abundance units per hour, \(\beta=2\) per hour, and \(\gamma=1\) per hour, with \(u(0)=s(0)=0\). The rates are positive and constant during this induction interval, as required by the assumed model; the initial state is specified. Find the abundances and velocity signs at \(t=1\) hour.

Substitution into the induction formulas gives

$$ u(1)=\frac{4}{2}(1-e^{-2})=2(1-0.1353353)=1.7293, $$

and

$$ s(1)=4(1-e^{-1})+4(e^{-2}-e^{-1}) =4+4e^{-2}-8e^{-1} =1.5983. $$

The simplification uses \(\gamma-\beta=-1\); the resulting expression is positive and is zero at \(t=0\), as it must be. The velocity components at this time are

$$ \dot u(1)=4-2(1.7293)=0.5413, \qquad \dot s(1)=2(1.7293)-1(1.5983)=1.8604. $$

Both abundances are increasing at one hour. The positive unspliced velocity indicates transcription still exceeds removal of unspliced RNA, while the positive spliced velocity indicates that splicing supplies spliced RNA faster than degradation removes it.

After Transcription Turns Off

Now suppose transcription turns off at time \(T\), so that \(\alpha=0\) after the switch. Write \(\tau=t-T\) for elapsed time since shutdown, and let \(u_T=u(T)\) and \(s_T=s(T)\) be the abundances at the switch. These are initial conditions for the off phase. With constant \(\beta\) and \(\gamma\), solving the unspliced equation gives \(u(T+\tau)=u_Te^{-\beta\tau}\). Substituting this into the spliced equation gives, if \(\beta\ne\gamma\),

$$ s(T+\tau)=s_Te^{-\gamma\tau} +\frac{\beta u_T}{\gamma-\beta} \left(e^{-\beta\tau}-e^{-\gamma\tau}\right). $$

This solution separates the spliced RNA already present at shutdown, \(s_Te^{-\gamma\tau}\), from the contribution of unspliced RNA that is spliced after shutdown. In particular, the fact that \(\alpha=0\) does not imply that \(s\) immediately declines: its direction is determined by \(\dot s=\beta u-\gamma s\). Spliced abundance is momentarily stationary when \(\beta u=\gamma s\), increasing when \(\beta u>\gamma s\), and decreasing when \(\beta u<\gamma s\).

Worked Example: A Spliced-RNA Peak After Shutdown

Continue the hypothetical induction example and turn transcription off at \(T=1\) hour. Thus \(u_T=1.7293294\) and \(s_T=1.5983056\) abundance units. The rates remain \(\beta=2\) and \(\gamma=1\) per hour, and the off-phase assumption is \(\alpha=0\). At shutdown, \(\dot u=-\beta u_T=-3.4587\) units per hour, whereas \(\dot s=2u_T-s_T=1.8604\) units per hour. Unspliced RNA is already declining, but spliced RNA is still increasing.

For these rates, the off-phase trajectories reduce to

$$ u(T+\tau)=u_Te^{-2\tau}, \qquad s(T+\tau)=(s_T+2u_T)e^{-\tau}-2u_Te^{-2\tau}. $$

The spliced velocity is

$$ \dot s(T+\tau)=-(s_T+2u_T)e^{-\tau}+4u_Te^{-2\tau}. $$

Setting this equal to zero and dividing by the positive quantity \(e^{-\tau}\) gives

$$ e^{-\tau}=\frac{s_T+2u_T}{4u_T} =\frac{5.0569645}{6.9173177} =0.7310586, \qquad \tau=-\log(0.7310586)=0.3133\ \text{hours}. $$

The ratio is retained at full precision in the logarithm; using the unrounded ratio gives \(\tau\approx0.313262\) hours. The factor in this root equation is \(e^{-\tau}\), so the solution is \(-\log\) of the ratio, not \(-2\log\) of it. Before this time, \(\dot s>0\); afterward, \(\dot s<0\). At the peak, \(\dot s=0\) and \(u=s/2\), as also follows from \(\dot s=2u-s\).

For a check at \(\tau=0.5\) hour, \(u=1.7293294e^{-1}=0.6362\) units and \(s=5.0569645e^{-0.5}-3.4586589e^{-1}=1.7948\) units. Hence \(\dot s=2(0.6362)-1.7948\approx-0.5224\) units per hour: spliced abundance has passed its peak and is now decreasing.

Reading the Phase Portrait

A phase portrait plots expression levels rather than time: here, \(s\) is horizontal and \(u\) is vertical. At each point, \(\dot s\) determines horizontal motion and \(\dot u\) determines vertical motion. During induction, \(\dot u=\alpha-\beta u\) is positive whenever \(u<\alpha/\beta\), and \(\dot s=\beta u-\gamma s\) is positive whenever \(s<\beta u/\gamma\). For the example’s rates, the induction equilibrium is \((s,u)=(4,2)\), where both velocities are zero. Starting from zero, the trajectory initially moves upward with no initial horizontal change because \(\dot s(0)=0\); after unspliced RNA accumulates, the spliced component becomes positive too.

After shutdown, \(\dot u=-\beta u<0\) whenever \(u>0\), so the phase-point moves downward. The sign of \(\dot s\), however, can be positive first and negative later. In the worked example, the trajectory initially moves down and right, reaches its spliced peak where \(\dot s=0\), and then moves down and left. Eventually both species approach zero. These directions describe the ideal continuous-time model, not a guarantee that every measured cell follows that exact path.

Worked Example: Inferring Direction From a Phase-Plane Point

Suppose a hypothetical cell state during the off phase has \(u=0.60\) and \(s=1.50\) normalized abundance units, with \(\beta=2\) and \(\gamma=1\) per hour. The off-phase assumption sets \(\alpha=0\), and both RNA abundances are nonnegative. The velocity components are

$$ \dot u=-2(0.60)=-1.20, \qquad \dot s=2(0.60)-1.50=-0.30 $$

in abundance units per hour. Thus the phase point moves down and left: both species are declining at this state. By contrast, if \(u=0.90\) and \(s=1.50\), then \(\dot u=-1.80\) and \(\dot s=1.80-1.50=0.30\), so it moves down and right. These signs follow from the equations and the stated rates; the second state need not represent a later time on the first state’s trajectory unless the model and history support that ordering.

Assumptions, Diagnostics, and Common Pitfalls

A sharp switch is an idealization. Real transcription may change gradually, and rate constants may vary among cells or over time. The derivations also treat observed unspliced and spliced abundances as comparable to the model quantities. In single-cell data, sampling noise, sparse counts, scaling, isoform effects, and cell-cycle-associated changes can alter the apparent positions and directions. A phase portrait is therefore a way to interpret model-implied dynamics, not proof of a transcriptional switch or of causal regulation.

Several checks help identify when the ideal trajectory is a poor description. Under induction from zero, \(u(t)\) and \(s(t)\) must be nonnegative, and their velocities at any proposed state must agree with \(\alpha-\beta u\) and \(\beta u-\gamma s\). Under shutdown, unspliced RNA must decline when \(u>0\), but spliced RNA can rise only while \(\beta u>\gamma s\). If a fitted or plotted path repeatedly contradicts these implications, possible explanations include measurement noise, a non-instantaneous switch, incorrect rate assumptions, or a trajectory that is not adequately represented by this two-species model. Such checks diagnose tension; they do not identify its cause on their own.

The main contrast is between a time-dependent switch trajectory and a steady-state interpretation. At steady state with constant transcription, both derivatives are zero, so \(\alpha=\beta u\) and \(\beta u=\gamma s\); when \(\beta>0\) and \(\gamma>0\) this gives \(u=\alpha/\beta\) and \(s=\alpha/\gamma\), while zero-rate cases must be handled separately. A switch trajectory is generally not at that equilibrium: its position depends on elapsed time and on the previous state. Treating every point as steady state can therefore miss the delayed splicing contribution after induction or shutdown. Conversely, a visually plausible induction–repression loop does not establish that the switch model is correct; different histories or rate changes can produce similar observed paths.

Common pitfall: “Transcription is off, so spliced RNA must immediately decrease.” This reasoning ignores the remaining unspliced pool. The correct check is \(\dot s=\beta u-\gamma s\): spliced RNA continues to increase whenever splicing of the remaining unspliced RNA exceeds degradation of spliced RNA. It declines only after that inequality reverses.

The useful interpretation is local and conditional: given the model, rates, and state, the velocity signs specify the instantaneous direction of change. They do not give a probability that a cell will reach a particular fate, and they do not establish that transcription caused an observed cell-state transition. The example is most informative when the switch time, rate assumptions, and abundance scale are plausible and when the observed data show no systematic contradiction with the implied trajectories.

Check Your Understanding

Answer each question using the model and assumptions stated above. Brief solutions follow the questions.

  1. During induction from zero, what is \(u(t)\) when \(\alpha=6\) abundance units per hour and \(\beta=3\) per hour? What is its limiting value?
  2. After shutdown, \(\beta=2\), \(\gamma=1\), \(u=0.8\), and \(s=1.0\). Give the signs of both velocities and interpret them.
  3. Why can spliced RNA increase after transcription has been switched off?
  4. In the phase portrait with \(s\) horizontal and \(u\) vertical, what direction corresponds to \(\dot s<0\) and \(\dot u>0\)?

Solutions. (1) \(u(t)=\frac{6}{3}(1-e^{-3t})=2(1-e^{-3t})\) abundance units, which approaches \(2\) units as \(t\) grows. (2) \(\dot u=-2(0.8)=-1.6\) and \(\dot s=2(0.8)-1.0=0.6\) abundance units per hour. Unspliced RNA decreases while spliced RNA increases, so the phase point moves down and right. (3) The unspliced pool can remain large enough that \(\beta u>\gamma s\); splicing then supplies spliced RNA faster than degradation removes it. (4) Left and upward: the horizontal component is negative and the vertical component is positive.

Clinical Biostats