Giter Club home page Giter Club logo

covid_withinhost's Introduction

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

covid_withinhost's People

Contributors

mwqtan avatar

Stargazers

SH Zhao avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.