Giter VIP home page Giter VIP logo

ghurault_eczemapredposcorad's Introduction

Predicting PO-SCORAD severity score using EczemaPred

R-CMD-check

This repository contains the code developed for the article by Hurault et al. (2022), "EczemaPred: A computational framework for personalised prediction of eczema severity dynamics", published in Clinical and Translational Allergy.

The code is written in the R language for statistical computing and the probabilistic programming language Stan for the models.

Reproducibility

This repository is organized as an R package/research compendium, providing functions for our analysis. Nevertheless, this package has been written explicitly for this project and may not yet be suitable for more general purpose use.

The package can be installed with (the dependency argument will make sure to install all the packages required for the analysis):

devtools::install_github("ghurault/EczemaPredPOSCORAD", dependencies = TRUE)`

This project notably depends on three packages:

  • EczemaPred, which contains the different Stan models, including the reference models.
  • HuraultMisc, my personal package containing various data analysis functions.
  • TanakaData, a proprietary package containing loading the datasets used in this study. This package includes the raw files as well as data processing functions.

The analysis was performed with EczemaPred v0.1.0 and HuraultMisc version v1.1.1.

In the code, "Dataset 1" correspond to the "Derexyl" dataset and "Dataset 2" to the "PFDC" datasets. "Dataset 1" is not available due to our data sharing agreement, and "Dataset 2" will be made available shortly. Moreover, fake data similar to the datasets used in this study has been simulated to check the code. The data is generated in data-raw/generate_fakedata.R and can be loaded with EczemaPredPOSCORAD::FakeData, load_dataset("Fake") and used in the analysis by setting the script-level parameter dataset = "Fake".

File structure

Functions specific to this project are located in R/, and can be accessed by loading the package in R:

library(EczemaPredPOSCORAD)
help(package = "EczemaPredPOSCORAD")

The analysis code is located in the analysis/ directory:

In addition, generate_reports.R renders reports from 03_check_fit.Rmd and 05_check_performance.Rmd for all models and severity items/scores. view_reports.R create an HTML document to easily browse these reports.

Finally, data-raw/ contains the code for the exported data available in data/:

  • posterior and prior summary statistics of the EczemaPred models: EczemaPredPOSCORAD::par_POSCORAD
  • fake PO-SCORAD dataset: EczemaPredPOSCORAD::FakeData

License

The open source version of this project is licensed under the GPLv3 license, which can be seen in the LICENSE file.

ghurault_eczemapredposcorad's People

Contributors

ghurault avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.