https://github.com/openpharma/safetysignaldetection.jl
Bayesian Safety Signal Detection in Julia
https://github.com/openpharma/safetysignaldetection.jl
Last synced: 2 months ago
JSON representation
Bayesian Safety Signal Detection in Julia
- Host: GitHub
- URL: https://github.com/openpharma/safetysignaldetection.jl
- Owner: openpharma
- License: mit
- Created: 2023-11-13T20:46:33.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-25T20:26:43.000Z (12 months ago)
- Last Synced: 2025-02-09T02:13:01.535Z (4 months ago)
- Language: HTML
- Homepage: https://openpharma.github.io/SafetySignalDetection.jl/
- Size: 709 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SafetySignalDetection.jl
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.
## 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 .
(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
- 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