Reconstruction of Transmission Chains from Surveillance Data

Bayesian reconstruction of who infected whom during past outbreaks using routinely-collected surveillance data. Inference of transmission trees using genotype, age specific social contacts, distance between cases and onset dates of the reported cases. (Robert A, Kucharski AJ, Gastanaduy PA, Paul P, Funk S. (2020) ).


Travis-CI Build Status codecov Build status

o2geosocial: Integrating geographical and social contact data to reconstruct transmission chains

o2geosocial was developed to infer probabilistic transmission trees from routinely-collected epidemiological data. It combines the age group, location, onset date and genotype of cases to infer their import status, and their likely infector. o2geosocial is based upon the R package "outbreaker2" (https://github.com/reconhub/outbreaker2), it is designed to study datasets that do not include genetic sequences but genotype of the cases. o2geosocial clusters cases from different genotypes in different trees, without computing the genetic distance between cases.

o2geosocial was originally designed to study measles outbreaks, as the evolution rate of the measles virus is slow and the genetic diversity minimal. It can be also applied to other viruses.

Installation

To install the stable version from CRAN:

install.packages("o2geosocial")

To install the development version from github (requires Rtools on windows and GSL headers on all platforms):

devtools::install_github("alxsrobert/o2geosocial")

To add local copies of the vignettes, you will need to specify:

devtools::install_github("alxsrobert/o2geosocial", build_vignettes = TRUE)

Then, to load the package, use:

library("o2geosocial")

Documentation

The implementation of o2geoscial was described by Robert et al, in a paper published in F1000research. It also contains codes and guidance showing how to use the package, based on simulated data. This paper is currently a preprint (ie it has not yet been peer reviewed).

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("o2geosocial")

1.1.3 by Alexis Robert, 2 years ago


https://github.com/alxsrobert/o2geosocial


Report a bug at https://github.com/alxsrobert/o2geosocial/issues


Browse source code at https://github.com/cran/o2geosocial


Authors: Alexis Robert [aut, cre, cph] , Sebastian Funk [aut] , Adam J Kucharski [aut] , Thibaut Jombart [ctb]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports Rcpp, methods, stats, grDevices, geosphere, ggplot2, visNetwork, data.table, outbreaker2

Suggests testthat, tigris, sf, knitr, socialmixr, rmarkdown

Linking to Rcpp


See at CRAN