Skip to content

Outbreak reconstruction with sequence data

Notifications You must be signed in to change notification settings

bastiaanvdroest/phybreak

 
 

Repository files navigation

phybreak

Outbreak reconstruction with sequence data

The package implements the method described in Klinkenberg et al (2016), doi: https://dx.doi.org/10.1101/069195

Workflow:

  • enter data and priors by constructing an object of S3-class 'phybreak', with function 'phybreak'

  • do mcmc-updates with functions 'burnin_phybreak' and 'sample_phybreak'; remove samples with 'thin.phybreak'

  • access the 'phybreak'-object by get_phybreak-functions such as 'get_transtree', 'get_data', 'get_parameters'

  • summarize the mcmc-chain with the functions 'ESS', 'transtree', 'infectorsets', 'phylotree', 'get_mcmc', 'get_phylo'

  • plotting with 'plot', 'plotTrans', and 'plotPhylo'

  • it is possible to simulate data with 'sim_phybreak'

Installation

The package requires some external libraries. Please install them by typing:

sudo apt-get install libblas-dev liblapack-dev

The package can be directly installed from GitHub using the devtools R package.

devtools::install_github("https://github.com/bastiaanvdroest/phybreak/")

About

Outbreak reconstruction with sequence data

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • R 90.6%
  • C++ 9.4%