Non-parametric mapping tutorial
This tutorial guides you through a voxel-based morphometry. We will compare scans from patients with Temporal Lobe Epilepsy with controls who do not show epilepsy.
- You will want to install a copy of MRIcron – this also includes NPM
- This tutorial requires a sample dataset named npmdata.zip. This will be included on the DVD for members taking our course, for web users please contact Chris Rorden for this dataset.
- Our sample dataset includes images from 30 control participants (c1..c30.nii.gz) and 28 people with temporal lobe epilepsy (e1..e28.nii.gz). These scans are the smoothed normalized segmented gray matter maps (using a toolbox for SPM5 created by Christian Gaser). There is also a mask image (mask50.nii.gz), which is a binary file (black/white) showing brain regions that were more than 50% gray matter in the whole group (combining individuals with and without epilepsy).

Compute results
Next, we we compute our statistical results. You could do this with SPM, but here we will use NPM which can conduct permutation thresholding and the non-parametric Brunner and Munzel test. To conduct these statistics, you need to download and install npm.exe – this only works on the Windows operating system.
- Launch NPM.exe.
- First go to the ‘Options’ menu and set the permutations to None. Permutation thresholding can be useful, but it will take at least 1000 times longer than a normal False-Discovery Rate corrected threshold, and is typically less sensitive. Therfore, for you first glance at your data, turn this feature off.
- Go to ’Option’ menu and click ‘Tests’ – make sure the ‘Brunner Munzel’ is checked and the t-test and Welch test are unchecked. Our data is normally distributed, so the t-test and BM test should give similar results.
- Click the File/ContinuousImagesBinaryGroups(VBM) command you will be asked to select three groups of images:
- “Select Brain Mask” – select mask50.nii.gz
- “Select Positive Group (Z scores positive if this group is brighter)” c1..c30.nii.gz – use the shift or control keys to select multiple images.
- “Select Negative Group (Z scores negative if this group is brighter)” e1..e28.nii.gz – use the shift or control keys to select multiple images.
- You will be asked to name your output files – lets call them “conpos_epineg”.
- NPM will now compute the requested tests. It will create overlap images of all your patients (e.g. conpos_epinegMn.nii.gz) and a statistical map (conpos_epinegttest.nii.gz for the t-test, conpos_epinegBM.nii.gz for the BM test).
Viewing results
We can open up the statistical maps generated and place them on top of an anatomical scan. If your lesion maps were aligned to stereotaxic MNI space, you can open them on top of one of the standard templates (File/OpenTemplates/ch2). Here is a quick guide:
