## Code for the paper "The ADNEX risk model for ovarian cancer diagnosis: A systematic review and meta-analysis of external validation studies" ##
The raw data from extractions is on the data folder https://osf.io/74qrz/.
In this directory you will find 3 scripts. All the data needed for running the scripts is in the `/data_code` folder. The scripts are prepared to execute just by downloading all the folder and running the scripts.
Just Another Gibbs Sampler (JAGS) must be installed beforehand to run the code. It is freely available at this [link][1] (consulted 31/05/2023)
The script `/ADNEX_SR.R` is the main script and contains the code to excecute all the meta-analysis included in the paper. It makes use of the data extracted (`data_code/full_extractions_public.xlsx`) and performs the different meta-analysis in the selected studies. Each analysis generates a forest plot that is created in `/images`.
The script `/ADNEX_SR_reproduce_figures.R` reads the data and reproduces all the figures included in the paper and in supplementary material. The images are generated in the `/images_paper` folder.
Finally `/functions_meta.R` contains all formulas that are used in the other 2 scripts.
**Important note**: The code does not yield the same results as the ones published in the paper because the data obtained upon request to authors is not made public.
[1]: https://mcmc-jags.sourceforge.io/
[2]: https://github.com/LasaiBarrenada/code_paper