The serojump
package provides tools for fitting serological models to antibody kinetics data using reversible-jump Markov Chain Monte Carlo (RJ-MCMC). It enables researchers to model the dynamics of antibody levels in response to infections, incorporating both observational and antibody kinetics models. The package supports the inclusion of priors and various exposure scenarios, making it highly flexible for serological data analysis.
This package is ideal for researchers looking to:
- Model antibody kinetics over time
- Estimate infection rates and antibody waning using serological data
- Perform MCMC inference on serological models
The best place to get started with serojump is our preprint (coming soon). In this repo, ceveral model templates are provided to simplify usage, while also allowing users to customize models for specific research questions.
To install the serojump
package, follow these steps:
Make sure you have R installed on your system. You can download R from https://cran.r-project.org/.
You can install the development version of serojump
from GitHub using the devtools
package. If you don't already have devtools
installed, you can install it with:
install.packages("devtools")
devtools::install_github("seroanalytics/serojump")
After installation, you can load the serojump package into your R session with:
library(serojump)
For detailed usage instructions, please refer to the package vignettes and examples. These vignettes explain:
- The format of the data require for serojump to work, click here.
- How to define observational models and antibody kinetics models and run the serojump sampler, click here.
- Specify priors for your models and integrate empirical data [coming soon]
In addition we have several worked examples of serojump
on:
- Simulated data click here.
We welcome contributions and suggestions! If you'd like to contribute to the serojump
package or report issues, please feel free to:
- Submit a pull request on GitHub.
- Open an issue on the repository.
If you have any questions or feedback, or would like more informative vignettes, you can contact the package maintainer at:
David Hodgson
Email: david.hodgson@lshtm.ac.uk
This package is actively maintained and in a stable, usable state. New features and improvements are continually being developed.