Thinking About Viral Evolution
Posted onI have been re-reading Anderson and May. Each time I come back to the book I find gems that are highly salient to what’s going on the world today. The gems that I read yesterday was about viral evolution and virulence1. The question was about pathogens becoming more virulent over time vs less virulent and this role in transmission. They set it out in the following familiar equation for the basic reproduction number:
Where contact rate and recovery time are both some functions of the population density and the virulence of the pathogen. For example a highly virulent pathogen may result in fewer contacts per person and a shorter recovery time (because it kills the host faster).
Simulating What This Means
’ I think it is always good to explore these relationships through simulation just to see the impacts.
First we can define some functions for and . In both cases, we can say that they are monotonically decreasing with virulence (). Thinking here that for the modelled pathogen if the mortality rate increases the period of time that you are infectious decreases at some rate and similarly you are less likely to have many additional contacts. This could be a bad assumption depending on the pathogen, but for exploratory purposes let’s go with it.
{
beta *
}
{
{
1/(1+)
}
recovery_time <- 1/gamma
recovery_time_star <- recovery_time * (.5+)
1/recovery_time_star
}
Now we can create a simulation grid to explore these functions:
p1 <- %>%
%>%
+
+
+
p2<- %>%
%>%
+
+
+
p1+p2
Impact on R0
We can pull all of this together into a function for R0 as described initially by Anderson and May (ignoring the impact of population density, N, in this case):
{
# Beta is Some function of Virulence, alpha
beta_star_in <-
gamma_star_in <-
beta_star_in/(alpha + mu + gamma_star_in)
}
We can then explore the surface generate over a range of virulence and contact rates.
sim_grid <-
pred <-
dat <-
+
+
+
+
+
We can see that there is a transmission advantage for having a high contact rate and a lower virulence, but it exists on a spectrum with local maximums for a given contact rate. This is just a simple simulation using artificially generated functions. This analysis would be better informed with real data, but it is worthwhile endeavor to explore these relationships as we talk about evolution of the SARS-CoV-2 virus.
-
Degree of disease caused by the virus ↩
Citation
BibTex citation:
@online{dewitt2021
author = {Michael E. DeWitt},
title = {Thinking About Viral Evolution},
date = 2021-10-09,
url = {https://michaeldewittjr.com/articles/2021-10-09-thinking-about-viral-evolution},
langid = {en}
}
For attribution, please cite this work as:
Michael E. DeWitt. 2021. "Thinking About Viral Evolution." October 9, 2021. https://michaeldewittjr.com/articles/2021-10-09-thinking-about-viral-evolution