The SOCR 2D/3D Brain Data AI Generator (RShiny App) provide interactive AI service for synethic generaiton of realistic 2D brain images and 3D Brain volumes.
See the DSPA2 GAIM Documentaiton.
SOCR Team including Ivo D. Dinov, Achu Shankar, Simeone Marino, Ryan Kwon, and others.
The code is organized as follows:
ui.R
andserver.R
are the main files for the RShiny app.global.R
contains the global variables and functions.dataset.R
contains the initialization and pre-processing of the dataset.- ...
Other files are mostly for testing and debugging and less important.
- Download the model weights from Gdrive and copy to the
models
directory - To run the app open the root folder in Rsutdion and click on run app button
- Using RStudio is the easiest way to develop and the app almost out-of-box. However, if you want to use other IDEs like VSCode, use
renv
to manage the packages. Therenv.lock
file is already included in the repo. To install the packages, runrenv::restore()
in the R console. You may need to install other dependencies manually to install the packages, if there's error message saying so.
This work is supported in part by NIH grants P20 NR015331, UL1TR002240, P30 DK089503, UL1TR002240, and NSF grants 1916425, 1734853, 1636840, 1416953, 0716055 and 1023115. Students, trainees, scholars, and researchers from SOCR, BDDS, MIDAS, MICHR, and the broad R-statistical computing community have contributed ideas, code, and support.