FEAT 3 Practical


Practical Overview

This is the third FEAT practical. It leads you through some of the more advanced usage and concepts in both single-session and higher-level FEAT analysis.


Outlier Inference

In the last practical we have run the group analyses with the outlier de-weighting option turned off. In this section we will look at the output that is generated when outlier de-weighting is performed. Note that outlier de-weighting can be performed for any of the mixed effects analyses, but is not applicable to a fixed effects analysis.

In the interest of time, we have provided you with the stripped down results of a group Feat analysis that has been setup and run with outlier de-weighting for you.

The experiment is looking to infer the group mean effect over a group of 18 subjects. The effect of interest is the BOLD response in the feedback phase of a decision making experiment.

Move into the group Feat directory corresponding to this lower-level contrast:

cd ~/fsl_course_data/fmri/decmak/decmak.gfeat/cope1.feat

Inside the stats directory are the results of the higher level run with outlier inference turned on. Take a look at the files in that directory:

ls stats

The prob_outlier1.nii.gz file is a 4D niftii file giving the probability that each subject has outlier data on a voxelwise basis. The global_prob_outlier1.nii.gz file is a 3D niftii file that indicates the proportion of the subjects classified as outliers at each voxel (see the lecture for more details). Note there are versions of these files for each variance group in the analysis. In this case, there was only one variance group.

Load the global_prob_outlier1 file into Fslview.

fslview stats/global_prob_outlier1.nii.gz

Use File > Add Standard to load in the MNI standard brain MNI152_T1_2mm_brain. Use File > Add to load in the prob_outlier1 file, and also load in the filtered_func_data in the ~/fsl_course_data/fmri/decmak/decmak.gfeat directory. Note that the filtered_func_data file is a 4D niftii file of the 18 subjects' first-level effect sizes (COPEs) at each voxel, in other words the "data" that gets used to calculate the group average at each voxel.

Select the prob_outlier image and select Tools->Timeseries. Then de-select the prob_outlier image so that it does not get displayed on the spatial map. Do the same for filtered_func_data.

Navigate around the brain to see where outlier behaviour occurs, and see how this relates to the data in the filtered_func_data timeseries plots and to the probability that each subject has outlier data in the prob_outlier1.nii.gz timeseries plots. Which subject is causing the most outlier behaviour?

Inside the stats directory is the file zstats1_no_outliers. These are the z-stats resulting from the higher level analysis run with the outlier inference turned off (note that this would not normally be available when you have run outlier inference - it is provided for you here to allow you to make comparisons). Use File->Add to load the z-stats into Fslview for the analyses with (~/fsl_course_data/fmri/decmak/decmak.gfeat/stats/zstat1) and without (~/fsl_course_data/fmri/decmak/decmak.gfeat/stats/zstat1_no_outliers). Take a look at how the zstats are changed when there are outliers detected.


Contrasts in Parametric Designs

We can use contrasts in FEAT to investigate different levels of stimulation. In the following simulated-data example we have 3 different stimulation heights: low, medium and high, and we want to know if there is a linear or quadratic trend relating stimulation strength to response strength in different areas of the brain.


Temporal Derivatives

We add temporal derivatives into the model to account for small delays (in either direction) between the model and the data. We can view this delay; it may be physiologically interesting. By applying the following commands you can manipulate the different parameter estimate values to get a delay image. We will use the audio-visual dataset results that we have already obtained in the first FEAT practical session:

cd ~/fsl_course_data/fmri/av/fmri.feat/stats

Now use fslmaths to calculate the delay. Make sure that you mask the delay by the activation - it doesn't make sense to show delay where the signal looks nothing like the model.

Hint

Answer

View the output: this is in units of % of TRs. It seems that there is a fairly consistent shift between the visual model and the data. Reopen the webpage report in a web browser, for example

firefox ~/fsl_course_data/fmri/av/fmri.feat/report_poststats.html

(open ~/fsl_course_data/fmri/av/fmri.feat/report_poststats.html on a Mac)

You can see this lag in the first timeseries plot as a temporal displacement between the data plot and the partial model fit; that partial model fit is the fit due just to EV1 (as COPE1 was [1 0]). Now look at the full model fit curve; because the temporal derivative (EV2) is included in the full model fit, it has done a good job of shifting the complete fit to better match the data.


Interactions

In this section we will look for an interaction effect in the audio-visual dataset:

cd ~/fsl_course_data/fmri/av
Feat &

HRF Basis Functions

This section shows you how basis functions can be setup and used in FEAT. The dataset we will use is a jittered single-event experiment with 200 time points. The stimulus is heat applied for 3 seconds with an average inter-stimulus interval of 70 secs. We will only analyze one slice to allow for quick processing.

cd ~/fsl_course_data/fmri/bf
Feat & 

To start with we will analyze the dataset assuming a fixed Gamma HRF (no basis functions) and then compare the results with a set of the optimal linear basis functions.

We will now process the same data using FMRIB's Linear Optimal Basis Set (FLOBS) and compare the results.


Contrast Masking

One problem with using Basis functions is that we have to use f contrasts to look for a significant effect. These are inherently two-tailed, hence we can not tell the difference between "activation" and "deactivation".

An unsophisticated way to remove "deactivation", for example, is to use Contrast Masking to mask the f test with the t contrast for the largest basis function EV (C1). Rerun the analysis, but this time performing this contrast masking (this is setup from the Post-stats tab on the Feat GUI; you will want to use the Mask using (Z>0) option). How do the results with and without this contrast masking differ, and how do the results compare with the single gamma HRF now?

If you click on the F-stat time course you get the FEAT Time Series Report for the f-statistic. One useful piece of information available here (in the title of the second plot) is how many voxels passed thresholding for the f-test. If you compare the two you will see that there is a (tiny) difference in the numbers.


This is the end of FEAT session 3.