- R
- SAS / Stata
- Matlab
- Python
(note SAS/Stata do not exist in this domain)




https://imgflip.com/memegenerator/Grandma-Finds-The-Internet



Detailed tutorials on how to actually perform an analysis







Multiple pieces of software used


Carp, Joshua. "The secret lives of experiments: methods reporting in the fMRI literature." Neuroimage 63.1 (2012): 289-300.
Lower the bar to entry
Complete pipeline

fslr package - call FSL from R

ANTs: Advanced Normalization Tools
fslr - this built the libraries and could be called using .Call
CMake: 
(more or less)Medical images are big (> 5 mb) compared to code
CRAN doesn't like this
kirby21.t1 and kirby21.fmri, but they have an implicit downloader function in the codesystem.file)Git version control system: stores changes of files 
Distribute packages and install them via devtools::install_github


Check the package for stability

| Capabilities | Packages |
|---|---|
| DICOM Images | oro.dicom, dcm2niir, divest, ANTsR |
| NIfTI Images | oro.nifti, RNifti, ANTsR |
| Image Registration | spm12r, fslr, ANTsR, freesurfer |
| Inhomogeneity Correction | spm12r, fslr, ANTsR |
| Brain Extraction | spm12r, fslr, ANTsR, extrantsr |
| Structure Segmentation | spm12r, fslr, ANTsR, extrantsr, freesurfer |
| Intensity Normalization | WhiteStripe, neurobase, ANTsR |
| 3D Smoothing | ANTsR, spm12r, fslr |
| Temporal Filtering | spm12r, fslr, ANTsR |
| Slice-timing correction | spm12r, fslr |
| DTI models | rcamino, oro.dti, fslr |
Allow imaging to use all R has to offer:
Enabling statisticians to do preprocessing also enables imagers to do advanced statistics.


https://www.coursera.org/learn/neurohacking/
Neuroimaging analysis within R (ISBI, Melbourne, April 2017)
ENAR 2018
dcm2nii by Dr. Chris Rorden
dcm2niir wraps a binary executable of dcm2nii
divest wraps the background C++ code of dcm2nii
spm12_slice_timing, spm12_realignspm12_coregister, spm12_segmentspm12_normalize, spm12_smoothANTsR functions for nifti objects (from oro.nifti)malf function - performs a basic MALF algorithmwithin_visit_registration - performs within-visit registration for structural MRIpreprocess_mri_within - pipeline to process within-visit sMRI
From (Doshi et al. 2013):

Provide an installer to download the current packages:
source("https://neuroconductor.org/neurocLite.R")
neurocLite("kirby21.fmri")
neurocLite("neurobase")
neurocLite("ANTsR")
kirby21.fmri: fMRI data from Kirby21library(kirby21.t1) # load T1 data
library(kirby21.fmri) # load fMRI data
library(kirby21.base) # helper package to download data
library(neurobase) # neuroconductor base package
fnames = get_image_filenames_list(
modalities = c("fMRI", "T1"), id = 113, visit = 1)
print(fnames)
t1_fname = fnames$T1
fmri_fname = fnames$fMRI
fMRI
"library/kirby21.fmri/visit_1/113/113-01-fMRI.nii.gz"
T1
"library/kirby21.t1/visit_1/113/113-01-T1.nii.gz"

http://johnmuschelli.com/imaging_in_r/index.html
Example MPRAGE T1 image can be found at http://bit.ly/pittimg
Download the .R file http://bit.ly/pittscript
fMRI in Shiny http://bit.ly/shinybrain
Papaya Example http://bit.ly/pittpapaya
Doshi, Jimit, Guray Erus, Yangming Ou, Bilwaj Gaonkar, and Christos Davatzikos. 2013. “Multi-Atlas Skull-Stripping.” Academic Radiology 20 (12). Elsevier: 1566–76.