
SnPM is an SPM toolbox developed by Andrew Holmes & Tom Nichols
|
This page... introduction example data background design setup computation viewing results SnPM pages... SnPM manual PET example fMRI example FSL users |   |
OverviewThe purpose of this section is to supply the steps necessary to carry out a second level SnPM analysis using the results from an analysis carried out using the FMRIB Software Library (FSL). Specifically, instructions are given that will show the user how to select the contrasts of parameter estimates (copes) from FSL using SnPM. The individual copes can either be obtained from the individual analyses or from a group analyses that used all individuals of interest.If only the single subject analyses have been performed, the copes from all subjects must be registered to the same atlas space before reading into SnPM. If a group analysis has already been performed, then the individual copes have been registered to the same atlas space. FSL 3.0 and 3.1, SPM2, and SPM99 read Analyze format. By default SPM2, though, only allows a single volume per Analyze file, while FSL routinely uses multiple volume files. This becomes a problem only if a SnPM analysis is applied to a 2nd level FEAT directory, as the multiple subject's copes are all stored in a single multivolume image file. If the copes are coming from separate single-subject first level FEAT analyses, then there is no need to read multivolume Analyze files. The details of how to deal with multivolume files are discussed below. Note that FSL3.2beta creates NIFTI files, as does SPM5. Currently SnPM has no support for NIFTI files.
|
featregapply <feat-directory-name> creates a reg_standard directory in the feat directory. In reg_standard is a stat subdirectory that contains copies of the copes and varcopes in the standard atlas space, one for each contrast.

Each cope is located directly in the .gfeat directory and is labeled as cope#.img, where # is the number of the cope. The default settings of SPM are not set to recognize multiple volumes and hence if the cope#.img file is read into SPM without changing the defaults it will mistake the .img file as one subject instead of multiple subjects. The SPM defaults can either be changed for a single session or permanantly so that multivolume analyze volumes are recognized.
You will then be asked which defaults area you are interested in and you want to select 'Miscellaneous Defaults'. Select the first two choices ('Log to file?' and 'Command Line input?') however you like. The third choice is 'Allow multi-volume Analyze files?' and for this you should select 'yes'. There is one more item to select after this and choose whatever value you like.

% File format specific %======================================================================= defaults.analyze.multivol = 0;

You may get an error message similar to the following, which may be ignored.
Warning: Assuming a scalefactor of 1 for "*/GroupRight.gfeat/cope1.img".