-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8fd542e
commit 809e5a2
Showing
1 changed file
with
39 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,53 @@ | ||
# SafetySignalDetection.jl | ||
|
||
Bayesian Safety Signal Detection in Julia | ||
This package implements Bayesian safety signal detection as proposed by [Brock et al. (2023)](https://doi.org/10.1002/pst.2278) using the [Turing.jl](https://github.com/TuringLang/Turing.jl) framework. | ||
|
||
## Workflows | ||
## Installation | ||
|
||
Install this package with: | ||
|
||
```julia | ||
using Pkg | ||
Pkg.add("SafetySignalDetection") | ||
``` | ||
|
||
## Getting started | ||
|
||
Please have a look at the [Introduction](https://openpharma.github.io/SafetySignalDetection.jl/dev/introduction/#Introduction) vignette to get started. | ||
|
||
## API | ||
|
||
Please have a look at the [API](https://openpharma.github.io/SafetySignalDetection.jl/dev/#API) documentation. | ||
|
||
## Developer tipps | ||
|
||
### Workflows | ||
|
||
Testing the package: | ||
|
||
``` | ||
julia> ] # Go to the package mode | ||
(v1.10) pkg> activate . | ||
(YourPackageName) pkg> test | ||
(SafetySignalDetection) pkg> test | ||
``` | ||
|
||
Local rendering of the documentation: | ||
|
||
- Install [`LiveServer`](https://github.com/tlienart/LiveServer.jl) in your global environment. | ||
- Install your local package (`pkg> add /path/to/package`) | ||
|
||
Afterwards each time: | ||
|
||
``` | ||
(v1.10) pkg> activate docs # Backspace to come back to julia mode | ||
julia> using SafetySignalDetection, LiveServer | ||
julia> servedocs() | ||
``` | ||
|
||
Then click on the local website link. | ||
When you modify the documentation, the server automatically recompiles the docs and updates the local website. | ||
|
||
## Helpful links | ||
### Helpful links | ||
|
||
- Developing Julia Packages: https://julialang.org/contribute/developing_package/ | ||
- Examples for testing Turing models: https://github.com/TuringLang/Turing.jl/blob/master/test/mcmc/hmc.jl |