This project contains the R scripts and the data to reproduce the statistical analysis of the study "Role of Genetic Factors in Characterizing Extra-Intestinal Manifestations in Crohn’s Disease Patients: Are Bayesian Machine-Learning Methods Improving Outcome Predictions?".
Before running the analysis, please install the following R packages:
install.packages(
c("tidyverse", "doParallel", "caret", "glue", "bnlearn",
"bartMachine", "graph"), dependencies = TRUE
)
The project is organized as follows:
-
The file ibd_bmlt.Rproj is the file of the Rstudio project.
-
The folder data contains the following files:
-
sim_data.R, which contains the R script used to simulate the data
-
simulated_db.rda, which is the file that contains the simulated dataset used to reproduce the analyses
-
-
The folder analyses contains the following files:
-
nb_analyses.R, which contains the R script used to run the analyses with Naive-Bayes models
-
bn_analyses.R, which contains the R script used to run the analyses with Bayesian Network models
-
bart_analyses.R, which contains the R script used to run the analyses with BART models
-
misc_functions.R, which contains the R script with various functions used during the analyses
-