Learn R Programming

phybreak

Outbreak reconstruction with sequence data

The package implements the method described in Klinkenberg et al (2016), doi: http://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.tree', 'get.seqdata', 'get.parameters'

  • summarize the mcmc-chain with the functions 'transtree', 'infectorsets', 'phylotree', 'get.mcmc', 'get.phylo'

  • it is possible to simulate data with 'sim.phybreak'

Copy Link

Version

Install

install.packages('phybreak')

Monthly Downloads

12

Version

0.2.0

License

GPL (>= 2)

Maintainer

Don Klinkenberg

Last Published

July 30th, 2017

Functions in phybreak (0.2.0)

phybreak

Create a phybreak-object from data and prior distributions.
phybreakdata

Create a phybreakdata-object from raw data.
infectorsets

Sampled infectors for each host in a phybreak-object.
logLik.phybreak

Log-likelihood of a phybreak-object.
FMD_2007

Foot-and-Mouth Disease outbreak (2007)
M_tuberculosis_2013

Mycobacterium tuberculosis outbreak
burnin.phybreak

MCMC updating of a phybreak-object.
get.phybreak

Accessing a phybreak object
AvianFluH7N7_2003

Avian influenza (H7N7) epidemic
FMD_2001

Foot-and-Mouth Disease outbreak (2001)
plotTrans

Plotting a phybreak object transmission tree.
sample.phybreak

Sampling from a phybreak MCMC-chain.
phylotree

Maximum clade credibility tree.
plot.phybreak

Plotting a phybreak object.
sim.phybreak

Outbreak simulation.
thin_phybreak

Remove posterior samples from a phybreak-object.
plot.phybreakdata

Plotting a phybreakdata object.
plotPhylo

Plotting a phybreak object phylogenetic tree.
transtree

Create a consensus transmission tree.