|
a |
|
b/README.Rmd |
|
|
1 |
|
|
|
2 |
[](https://travis-ci.org/reconhub/outbreaker2) |
|
|
3 |
[](https://ci.appveyor.com/project/thibautjombart/outbreaker2/branch/master) |
|
|
4 |
[](https://codecov.io/github/reconhub/outbreaker2?branch=master) |
|
|
5 |
[](https://cran.r-project.org/package=outbreaker2) |
|
|
6 |
[](https://www.r-pkg.org:443/pkg/outbreaker2) |
|
|
7 |
[](https://cran.r-project.org/package=outbreaker2) |
|
|
8 |
|
|
|
9 |
*outbreaker2: a framework for reconstructing disease outbreaks* |
|
|
10 |
--------------------------------------------------------------- |
|
|
11 |
|
|
|
12 |
Welcome to the project page of *outbreaker2*, a Bayesian framework |
|
|
13 |
for integrating epidemiological and genetic data to reconstruct transmission |
|
|
14 |
trees of densely sampled outbreaks. It re-implements, generalises and replaces |
|
|
15 |
the model of [*outbreaker*](https://github.com/thibautjombart/outbreaker), and uses |
|
|
16 |
a modular approach which enables fine customisation of priors, likelihoods |
|
|
17 |
and parameter movements (see [customisation |
|
|
18 |
vignette](http://www.repidemicsconsortium.org/outbreaker2/articles/customisation.html)). |
|
|
19 |
|
|
|
20 |
### NOTE: Correction to genetic likelihood |
|
|
21 |
|
|
|
22 |
The genetic likelihood of the [original *outbreaker* paper](https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1003457) was found to contain a minor mistake in accounting for unobserved generations of infection. As of June 7th 2019, *outbreaker2* will use the correct genetic likelihood published [here](https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1006930). |
|
|
23 |
|
|
|
24 |
The original genetic likelihood was: |
|
|
25 |
|
|
|
26 |
$$\mu^{d(s_i,s_{\alpha_i})}(1 - \mu)^{(\kappa_i\times l(s_i, s_{\alpha_i})) - d(s_i,s_{\alpha_i})}$$ |
|
|
27 |
|
|
|
28 |
The corrected genetic likelihood is: |
|
|
29 |
|
|
|
30 |
$$(\kappa_i \mu)^{d(s_i,s_{\alpha_i})}(1 - \mu)^{(\kappa_i\times l(s_i, s_{\alpha_i})) - d(s_i,s_{\alpha_i})}$$ |
|
|
31 |
|
|
|
32 |
<br> |
|
|
33 |
|
|
|
34 |
Installation |
|
|
35 |
------------- |
|
|
36 |
|
|
|
37 |
To install the stable version from CRAN: |
|
|
38 |
```{r, eval = FALSE} |
|
|
39 |
install.packages("outbreaker2") |
|
|
40 |
``` |
|
|
41 |
|
|
|
42 |
To install the development version from github (requires Rtools on windows and |
|
|
43 |
GSL headers on all platforms): |
|
|
44 |
|
|
|
45 |
```{r, eval = FALSE} |
|
|
46 |
devtools::install_github("reconhub/outbreaker2") |
|
|
47 |
``` |
|
|
48 |
|
|
|
49 |
To add local copies of the vignettes, you will need to specify: |
|
|
50 |
```{r, eval = FALSE} |
|
|
51 |
devtools::install_github("reconhub/outbreaker2", build_vignettes = TRUE) |
|
|
52 |
``` |
|
|
53 |
|
|
|
54 |
Then, to load the package, use: |
|
|
55 |
|
|
|
56 |
```{r, eval = FALSE} |
|
|
57 |
library("outbreaker2") |
|
|
58 |
``` |
|
|
59 |
|
|
|
60 |
|
|
|
61 |
|
|
|
62 |
<br> |
|
|
63 |
|
|
|
64 |
Documentation |
|
|
65 |
------------- |
|
|
66 |
|
|
|
67 |
*outbreaker2* is fully documented on a [dedicated |
|
|
68 |
website](http://www.repidemicsconsortium.org/outbreaker2/). |
|
|
69 |
|
|
|
70 |
It also comes with the following vignettes: |
|
|
71 |
|
|
|
72 |
- **`introduction`**: general introduction using a worked example. |
|
|
73 |
- **`overview`**: brief overview of the package's content. |
|
|
74 |
- **`customisation`**: customisation of priors, likelihoods, and movement functions. |
|
|
75 |
- **`Rcpp_API`**: documentation for the Rcpp API. |
|
|
76 |
|
|
|
77 |
|
|
|
78 |
|
|
|
79 |
<br> |
|
|
80 |
|
|
|
81 |
Contributors |
|
|
82 |
------------ |
|
|
83 |
- [Thibaut Jombart](https://github.com/thibautjombart) |
|
|
84 |
- [Finlay Campbell](https://github.com/finlaycampbell) |
|
|
85 |
- [Rich Fitzjohn](https://github.com/richfitz) |
|
|
86 |
- [Gerry Tonkin-Hill](https://github.com/gtonkinhill) |
|
|
87 |
- [Alexis Robert](https://github.com/alxsrobert) |
|
|
88 |
- [Kristjan Eldjarn](https://github.com/kreldjarn) |
|
|
89 |
|
|
|
90 |
|
|
|
91 |
See details of contributions |
|
|
92 |
[here](https://github.com/reconhub/outbreaker2/graphs/contributors). |
|
|
93 |
|
|
|
94 |
Contributions are welcome via **pull requests**. |
|
|
95 |
|
|
|
96 |
Please note that this project is released with a [Contributor Code of |
|
|
97 |
Conduct](https://github.com/reconhub/outbreaker2/blob/master/CONDUCT.md). By |
|
|
98 |
participating in this project you agree to abide by its terms. |
|
|
99 |
|
|
|
100 |
**Maintainer:** Finlay Campbell (finlaycampbell93@gmail.com) |