for within-host infections
2026-07-17
Wu et al 2019 Nature Communications.
\[ \begin{aligned} \textrm{virus:} & \qquad \dot V = rV-kVT^*, \qquad \qquad \textrm{pMHC:} \qquad \dot P = fV - dP \\ \textrm{naive T-cell:} & \qquad \dot T = -aPT, \qquad \qquad \textrm{activated T-cell:} \qquad \dot T^* = aPT + gT^* \end{aligned} \]
Handel & Antia 2008 J Vir
Ideally, you want to have both in your ‘toolbox’.
Using a TB model to explore/predict cytokine-based interventions (Wigginton and Kirschner, 2001 J Imm).
Targeted antiviral prophylaxis against an influenza pandemic (Germann et al 2006 PNAS).
| Within-host/individual level | Between-host/population level |
|---|---|
| Spread inside a host (virology, microbiology, immunology) | Spread on the population level (ecology, epidemiology) |
| Populations of pathogens & immune response components | Populations of hosts (humans, animals) |
| Acute/Persistent (e.g. Flu/TB) | Epidemic/Endemic (e.g. Flu/TB) |
| Usually (but not always) explicit modeling of pathogen | Often, but not always, no explicit modeling of pathogen |
The same types of simulation models are often used on both scales.
\[ P_{t+dt} = P_t + dt ( g P_t - d_P P_t ) \]
\[ P_{t+dt} = P_t + dt ( g P_t - d_P P_t ) \]
Original:
\[ P_{t+dt} = P_t + dt ( g P_t - d_P P_t ) \] Alternative:
\[ P_{t+dt} = P_t + dt ( g - d_P P_t ) \] What’s the difference? Is this a good (biologically potentially reasonable) model?
Original:
\[ P_{t+dt} = P_t + dt ( g P_t - d_P P_t ) \] Alternative:
\[ P_{t+dt} = P_t + dt ( g P_t - d_P) \]
What’s the difference? Is this a good (biologically potentially reasonable) model?
\[ P_{t+dt} = P_t + dt ( g P_t - d_P P_t ) \]
Discrete:
\[ P_{t+dt} = P_t + dt ( g P_t - d_P P_t ) \] Re-write:
\[ \frac{P_{t+dt} - P_t}{dt} = g P_t - d_P P_t \]
Continuous (dt -> 0): \[ \frac{dP}{dt} = gP - d_P P \]
The following are 3 equivalent ways of writing the differential equation:
\[ \begin{aligned} \frac{dP(t)}{dt} &= gP(t) - d_P P(t) \\ \frac{dP}{dt} &= gP - d_P P \\ \dot{P} &= gP - d_P P \\ \end{aligned} \] We will use the ‘dot notation’.
\[ \dot{P} = gP - d_P P \]
\[ \dot{P} = gP - d_P P \]
For different values of the parameters g and \(d_P\), what broad types of dynamics/outcomes can we get from this model?
\[ \dot{P} = gP - d_P P \]
How can we extend the model to get growth that levels off as we reach some high level of \(P\)?
\[ \dot{P} = gP(1-\frac{P}{P_{max}}) - d_P P \]
\[ \begin{aligned} \dot{P} & = gP(1-\frac{P}{P_{max}}) - d_P P \ \pm \ ?\\ \dot{H} & = ? \end{aligned} \]
\[ \begin{aligned} \dot{P} & = gP(1-\frac{P}{P_{max}}) - d_P P - kPH\\ \dot{H} & = ? \end{aligned} \]
The model we just built is a version of the well-studied predator-prey model from ecology. \[ \begin{aligned} \dot{P} & = g_P P(1-\frac{P}{P_{max}}) - d_P P - kPH\\ \dot{H} & = g_H P H - d_H H \end{aligned} \]
The discrete-time version of the model is: \[ \begin{aligned} P_{t+dt} & = P_t + dt(g_P P_t(1-\frac{P_t}{P_{max}}) - d_P P_t - kP_tH_t)\\ H_{t+dt} & = H_t + dt( g_H P_t H_t - d_H H_t) \end{aligned} \]
The names of the variables and parameters are arbitrary. If we think of bacteria and the immune response, we might name them B and I instead.
\[ \begin{aligned} \dot{B} & = g B(1-\frac{B}{B_{max}}) - d_B B - kBI\\ \dot{I} & = r BI - d_I I \end{aligned} \] \[ \begin{aligned} B_{t+dt} & = B_t + dt(g B_t(1-\frac{B_t}{B_{max}}) - d_B B_t - k B_t I_t)\\ I_{t+dt} & = I_t + dt( r B_t I_t - d_I I_t) \end{aligned} \]