Materials for the "Introduction to fMRI" workshop at the MRC CBU
Instructor: Dr Dace Apšvalka
Example scripts for the fMRI analysis steps are available in the code directory. They include:
- Step 1: Discovering what DICOM series there are in your raw data
- Step 2: Converting DICOM to BIDS with HeuDiConv
- Step 3: Filling in events files with trial types, onsets, duration etc.
- Step 4: Removing dummy scans from the functional volumes
- Step 5: and Step 6: Data quality assessment with MRIQC
- Step 7: Pre-processing with fMRIPrep
- Step 8: First-level statistical analysis with Nilearn
You can access the tutorial notebooks in three ways:
MyBinder.org is a service that allows you to run Jupyter notebooks directly online. However, this service comes with a restricted computational environment (1-2GB of RAM). This means, many notebooks might be very slow and some might even crash, due to not enough memory. You can use this approach to run and test most of the notebooks. To access the MyBinder instance, click on the badge below.
You can also download the notebooks from notebooks section and run on your computer. The environment required for that to work is in environment.yml
file.
The example dataset with 2 subjects can be downloaded from Dropbox; or OwnCloud (password: fmri).
You can also view the notebooks with all solutions provided just clicking on them in the notebooks directory.