Skip to content

ID-Modelling-Lab/Covid_withinhost

Repository files navigation

Covid_withinhost

This repository contains the code for the within-host model of SARS-CoV-2 described in 'Differences in virus and immune dynamics for SARS-CoV-2 Delta and Omicron infections by age and vaccination histories'.

We developed a mathematical model describing SARS-CoV-2 infection dynamics, with a simple representation of immunity. The model is fitted to URT viral load measurements from Delta and Omicron cases in Singapore, of whom the majority only had one nasopharyngeal swab measurement. By grouping individuals by age and vaccination history (vaccine brand, number of doses, time since last vaccination), we could recreate similar trends in URT virus dynamics observed in past within-host modelling studies despite the lack of longitudinal patient data.

A basic summary of the files in this repository follows.

Within-host models

There are 4 model types described in the manuscript, of which fitting results of model type 2 were analysed and presented. The codes required to run the models are available in the 'main models' file. Each model comprises two parts:

  1. Stan script
  2. R-script for model fitting

The data used in this analysis is not provided due to confidentiality issues. 'VL_standata.xlsx' is a mock dataset, available in the 'main models' file, with format similar to our processed data that is ready for Stan.

Results of model fitting were saved as RDS files, but could not be uploaded due to large file size. These are available upon email request ([email protected]).

Figures in the manuscript

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published