R package and an easy to use interface-based shiny application.
devtools
package. To install it, type the following commands in R:install.packages("devtools")
devtools::install_github("alsolanes/mripredict")
install.packages("path/to/mripredict_1.01.tar.gz", repos = NULL, type="source")
.
The software is fully functional and may be already used within R. Currently, it has the following limitations, which will be addressed promptly. To run the software:
Methodological details
The software is currently optimized for predicting binary or continuous variables, and conducting cox risk estimation survival analysis from VBM data, which must be registered to the MNI space (we also recommend smoothing). For each fold of the cross-validation as well as for the final fitting, the software creates a mask of the voxels with variance > 0, applies ComBat if the data is multisite and performs multiple imputation if there are missing values. Voxelwise applies a linear model to remove the effects of covariates, and includes the residuals into a lasso regression using the lambda that gives the minimum error in a cross-validation. The intercept of the lasso regression, as well as the MNI coordinates, the covariates coefficients and the lasso coefficient of the voxels with non-null lasso coefficients are saved.
The software is free to use for non-profit organizations. If you use it on your research, please cite the following reference: