Skip to content

yangepi/DSAIRM

 
 

Repository files navigation

Travis-CI build Status AppVeyor build status Coverage status CRAN status

DSAIRM

Dynamical Systems Approach to Immune Response Modeling

Description

This R package consists of a set of simulations (refered to here as apps) that teach within-host infection dynamics and immune response modeling from a dynamical system perspective. By manipulating the models through a graphical (Shiny) user interface and working through the provided instructions, you can learn about some important concepts of within-host and immmune response modeling.

Installation

I assume you have R installed. I also highly recommend RStudio, though it's not required.

  1. Install the CRAN release in the usual way with install.packages('DSAIRM').
  2. The latest development version (potentially buggy) can be installed from github, using the devtools package. If you don't have it, install the devtools package. Then, install DSAIRM through devtools. The following commands will get you up and running:
install.packages('devtools')
devtools::install_github('ahgroup/DSAIRM')

Basic Use

After install (which you need to do only once), load the package by runing library('DSAIRM'). You should receive a short greeting. Now you can open the DSAIRM main menu by running dsairmmenu(). From the main menu, choose the different apps corresponding to different modeling topics and scenarios. Each app contains information on the model and topic that are covered. Each app also contains a list of recommeded tasks to work through in order to learn about a specific topic. Once done exploring, close the main menu to exit back to the R console.

Advanced Use

You can call the underlying simulation functions directly from the R console. You can also download the code for all functions from the main menu and modify them to your own needs. See the package vignette for more details on the different ways to use the package.

Contributing to the package

The package is on GitHub and you can use the usual GitHub process to contribute updated, bug fixes, etc. If you don't know how to do that or don't have the time, you can also file an issue on GitHub and let me know what should be changed.

The package is built in a way that makes it (hopefully) easy for others to contribute new simulations/apps. To that end, the package contains this Markdown file, documentation.md, which provides further information on the details of the package structure. If you plan to develop new apps, or add other substantial updates, it's best to get in touch with me first via email or GitHub.

Further information

  • The package vignette provides details about the different ways the package can be used. I highly recommend going through it.
  • The documentation.md file described above contains more information about the package structure.
  • For feedback, bug reports, feature requests, etc., file a GitHub issue.
  • A 'companion' package to this one, called Dynamical Systems Approaches for Infectious Disease Epidemiology (DSAIDE), focuses on models for infectious disease epidemiology (the population level). It has the same structure as DSAIRM. See the DSAIDE site for more information.
  • I have solutions (as R Markdown files) to most of the 'What to do' tasks for the different apps. If you are an instructor using this package as part of a class, email me if you are interested in having access to these solutions.

Contributors

This R package is developed and maintained by Andreas Handel. The following individuals have made contributions to this package: Yang Ge, Spencer Hall, Sina Solaimanpour, Henok Woldu.

About

R Package - Dynamical Systems Approach to Immune Response Modeling

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 78.3%
  • R 14.7%
  • TeX 6.7%
  • Other 0.3%