Concepts of SPM data analysis Marieke Schölvinck.

Slides:



Advertisements
Similar presentations
MRI vs. fMRI Functional MRI (fMRI) studies brain function.
Advertisements

FIL SPM Course 2010 Spatial Preprocessing
SPM – introduction & orientation introduction to the SPM software and resources introduction to the SPM software and resources.
Overview of SPM p <0.05 Statistical parametric map (SPM)
VBM Voxel-based morphometry
Overview fMRI time-series Statistical Parametric Map Smoothing kernel
1st level analysis - Design matrix, contrasts & inference
Buttons in SPM5 Carolyn McGettigan & Alice Grogan Methods for Dummies 5 th April 2006.
Realignment – Motion Correction (gif from FMRIB at Oxford)
Computational Neuroanatomy John Ashburner SmoothingSmoothing Motion CorrectionMotion Correction Between Modality Co-registrationBetween.
Gordon Wright & Marie de Guzman 15 December 2010 Co-registration & Spatial Normalisation.
A Cortical Area Selective for Visual Processing of the Human Body by P.E. Downing, Y. Jiang, M. Shuman, N.Kanwisher presented by Ilya Levner.
Introduction to Functional and Anatomical Brain MRI Research Dr. Henk Cremers Dr. Sarah Keedy 1.
Basics of fMRI Preprocessing Douglas N. Greve
OverviewOverview Motion correction Smoothing kernel Spatial normalisation Standard template fMRI time-series Statistical Parametric Map General Linear.
SPM5 Tutorial, Part 1 fMRI preprocessing Tiffany Elliott May
Coregistration and Normalisation By Lieke de Boer & Julie Guerin.
Preprocessing: Coregistration and Spatial Normalisation Cassy Fiford and Demis Kia Methods for Dummies 2014 With thanks to Gabriel Ziegler.
Realigning and Unwarping MfD
JOAQUÍN NAVAJAS SARAH BUCK 2014 fMRI data pre-processing Methods for Dummies Realigning and unwarping.
fMRI data analysis at CCBI
Multiple testing Justin Chumbley Laboratory for Social and Neural Systems Research Institute for Empirical Research in Economics University of Zurich With.
07/01/15 MfD 2014 Xin You Tai & Misun Kim
Multiple comparison correction Methods & models for fMRI data analysis 18 March 2009 Klaas Enno Stephan Laboratory for Social and Neural Systems Research.
Spatial preprocessing of fMRI data Methods & models for fMRI data analysis 25 February 2009 Klaas Enno Stephan Laboratory for Social and Neural Systrems.
Spatial preprocessing of fMRI data
Multiple comparison correction Methods & models for fMRI data analysis 29 October 2008 Klaas Enno Stephan Branco Weiss Laboratory (BWL) Institute for Empirical.
SPM+fMRI. K space K Space Mechanism of BOLD Functional MRI Brain activity Oxygen consumptionCerebral blood flow Oxyhemoglobin Deoxyhemoglobin Magnetic.
Haskins fMRI Workshop Part I: Data Acquisition & Preprocessing.
FMRI Preprocessing John Ashburner. Contents *Preliminaries *Rigid-Body and Affine Transformations *Optimisation and Objective Functions *Transformations.
Voxel Based Morphometry
Co-registration and Spatial Normalisation
2nd Level Analysis Jennifer Marchant & Tessa Dekker
Multiple Comparison Correction in SPMs Will Penny SPM short course, Zurich, Feb 2008 Will Penny SPM short course, Zurich, Feb 2008.
Methods for Dummies Second level analysis
Statistical Parametric Mapping Lecture 9 - Chapter 11 Overview of fMRI analysis Textbook: Functional MRI an introduction to methods, Peter Jezzard, Paul.
Random Field Theory Will Penny SPM short course, London, May 2005 Will Penny SPM short course, London, May 2005 David Carmichael MfD 2006 David Carmichael.
Basics of fMRI Inference Douglas N. Greve. Overview Inference False Positives and False Negatives Problem of Multiple Comparisons Bonferroni Correction.
Preprocessing of FMRI Data fMRI Graduate Course October 23, 2002.
Overview for Dummies Outline Getting started with an experiment Getting started with an experiment Things you need to know for scanning Things you need.
1 Hands-On Data Analysis Kate Pirog Revill and Chris Rorden Data from safety training –9 subjects –Finger-tapping task (12s tapping, 12s rest) –188 scans.
Coregistration and Spatial Normalisation
Coregistration and Spatial Normalization Jan 11th
I. Improving SNR (cont.) II. Preprocessing BIAC Graduate fMRI Course October 12, 2004.
Random Field Theory Will Penny SPM short course, London, May 2005 Will Penny SPM short course, London, May 2005.
Statistical Parametric Mapping Lecture 11 - Chapter 13 Head motion and correction Textbook: Functional MRI an introduction to methods, Peter Jezzard, Paul.
Spatial Smoothing and Multiple Comparisons Correction for Dummies Alexa Morcom, Matthew Brett Acknowledgements.
SPM Pre-Processing Oli Gearing + Jack Kelly Methods for Dummies
Methods for Dummies Second level Analysis (for fMRI) Chris Hardy, Alex Fellows Expert: Guillaume Flandin.
Preprocessing: Realigning and Unwarping Methods for Dummies, 2015/16 Sujatha Krishnan-Barman Filip Gesiarz.
1 st level analysis: Design matrix, contrasts, and inference Stephane De Brito & Fiona McNabe.
The general linear model and Statistical Parametric Mapping II: GLM for fMRI Alexa Morcom and Stefan Kiebel, Rik Henson, Andrew Holmes & J-B Poline.
MfD Co-registration and Normalisation in SPM
Spatial processing of FMRI data And why you may care.
functional magnetic resonance imaging (fMRI)
The general linear model and Statistical Parametric Mapping
Zurich SPM Course 2012 Spatial Preprocessing
The General Linear Model
Spatial Preprocessing John Ashburner
fMRI Preprocessing John Ashburner
Keith Worsley Keith Worsley
Computational Neuroanatomy for Dummies
Image Preprocessing for Idiots
The General Linear Model
From buttons to code Eamonn Walsh & Domenica Bueti
The general linear model and Statistical Parametric Mapping
Preprocessing: Coregistration and Spatial Normalisation
The General Linear Model (GLM)
The General Linear Model
The General Linear Model
Presentation transcript:

Concepts of SPM data analysis Marieke Schölvinck

EPI structural

Basic idea Make sure all images look the same Make model of what you think brain activity in your experiment should look like… And fit this model to the data; see whether this fit is statistically significant … within a single subject, and then over the whole group

SPM user interface Preprocessing Analysis Extra functions ‘spm fmri’

PreprocessingPreprocessing

1. Realignment: align scans to each other 2. Coregistration: align scans to structural scan 3. Slice timing: make up for differences in acquisition time 4. Normalisation: to a standard brain 5. Smoothing 1. Realignment: align scans to each other 2. Coregistration: align scans to structural scan 3. Slice timing: make up for differences in acquisition time 4. Normalisation: to a standard brain 5. Smoothing PreprocessingPreprocessing (making sure that all images look the same)

1. Realignment EPI (functional) images

1. Realignment Subjects will always move in the scanner…Subjects will always move in the scanner… … therefore the same voxel in the first image will be in a different place in the last image!… therefore the same voxel in the first image will be in a different place in the last image! Correct by estimating movement and reorienting images accordinglyCorrect by estimating movement and reorienting images accordingly Subjects will always move in the scanner…Subjects will always move in the scanner… … therefore the same voxel in the first image will be in a different place in the last image!… therefore the same voxel in the first image will be in a different place in the last image! Correct by estimating movement and reorienting images accordinglyCorrect by estimating movement and reorienting images accordingly Realignment involves two stages:Realignment involves two stages: –1. Registration - estimate the 6 movement parameters that describe the transformation between each image and a reference image (usually the first scan) –2. Reslicing - re-sample each image according to the determined transformation parameters Realignment involves two stages:Realignment involves two stages: –1. Registration - estimate the 6 movement parameters that describe the transformation between each image and a reference image (usually the first scan) –2. Reslicing - re-sample each image according to the determined transformation parameters

It’s useful to display functional results (EPI) onto high resolution structural image (T1)…It’s useful to display functional results (EPI) onto high resolution structural image (T1)… Therefore ‘warp’ functional images into the shape of the structural image.Therefore ‘warp’ functional images into the shape of the structural image. It’s useful to display functional results (EPI) onto high resolution structural image (T1)…It’s useful to display functional results (EPI) onto high resolution structural image (T1)… Therefore ‘warp’ functional images into the shape of the structural image.Therefore ‘warp’ functional images into the shape of the structural image. 2. Coregistration

Each slice is typically acquired every 3 mm, requiring ~32 slices to cover cortexEach slice is typically acquired every 3 mm, requiring ~32 slices to cover cortex Each slice takes about ~60ms to acquire…Each slice takes about ~60ms to acquire… …entailing a typical TR for whole volume of 2-3s…entailing a typical TR for whole volume of 2-3s  2-3s between sampling the BOLD response in the first slice and the last slice Each slice is typically acquired every 3 mm, requiring ~32 slices to cover cortexEach slice is typically acquired every 3 mm, requiring ~32 slices to cover cortex Each slice takes about ~60ms to acquire…Each slice takes about ~60ms to acquire… …entailing a typical TR for whole volume of 2-3s…entailing a typical TR for whole volume of 2-3s  2-3s between sampling the BOLD response in the first slice and the last slice 3. Slice timing

MNI template brain 4. Normalisation

Inter-subject averagingInter-subject averaging –extrapolate findings to the population as a whole –increase statistical power Reporting of activations as co-ordinates within a standard stereotactic spaceReporting of activations as co-ordinates within a standard stereotactic space –e.g. Talairach & Tournoux, MNI Inter-subject averagingInter-subject averaging –extrapolate findings to the population as a whole –increase statistical power Reporting of activations as co-ordinates within a standard stereotactic spaceReporting of activations as co-ordinates within a standard stereotactic space –e.g. Talairach & Tournoux, MNI You do it by a 12 parameter transformation:You do it by a 12 parameter transformation: –3 translations –3 rotations –3 zooms –3 shears You do it by a 12 parameter transformation:You do it by a 12 parameter transformation: –3 translations –3 rotations –3 zooms –3 shears Rotation TranslationZoom Shear 4. Normalisation

Potentially increase signal to noisePotentially increase signal to noise Use a ‘kernel’ defined in terms of FWHM (full width at half maximum) - usually ~6-8mmUse a ‘kernel’ defined in terms of FWHM (full width at half maximum) - usually ~6-8mm Potentially increase signal to noisePotentially increase signal to noise Use a ‘kernel’ defined in terms of FWHM (full width at half maximum) - usually ~6-8mmUse a ‘kernel’ defined in terms of FWHM (full width at half maximum) - usually ~6-8mm Gaussian smoothing kernel FWHM 5. Smoothing

1. Realignment: align scans to each other 2. Coregistration: align scans to structural scan 3. Slice timing: make up for differences in acquisition time 4. Normalisation: to a standard brain 5. Smoothing 1. Realignment: align scans to each other 2. Coregistration: align scans to structural scan 3. Slice timing: make up for differences in acquisition time 4. Normalisation: to a standard brain 5. Smoothing Wrapping up: preprocessing MNI template brain

AnalysisAnalysis

AnalysisAnalysis SOME TERMS SPM is a massively univariate approach - meaning that the timecourse for every voxel is analysed separately The experiment is specified in a model called a design matrix. This model is fit to each voxel to see how well it agrees with the data Hypotheses (contrasts) are tested to make statistical statements (p-values), using the General Linear Model SOME TERMS SPM is a massively univariate approach - meaning that the timecourse for every voxel is analysed separately The experiment is specified in a model called a design matrix. This model is fit to each voxel to see how well it agrees with the data Hypotheses (contrasts) are tested to make statistical statements (p-values), using the General Linear Model (fitting model to data and seeing whether this fit is statistically significant)

ModelModel How well does the model fit the data?How well does the model fit the data? voxel timeseries model with 2 conditions

Design Matrix: several models at once 1 > 21 > 22 > 12 > 1other parameters (motion)

ContrastsContrasts T contrast: are the values for condition 1 in this voxel significantly higher than the values during condition 2?T contrast: are the values for condition 1 in this voxel significantly higher than the values during condition 2? F contrast: are the values for both conditions significantly different from baseline?F contrast: are the values for both conditions significantly different from baseline? T contrast: are the values for condition 1 in this voxel significantly higher than the values during condition 2?T contrast: are the values for condition 1 in this voxel significantly higher than the values during condition 2? F contrast: are the values for both conditions significantly different from baseline?F contrast: are the values for both conditions significantly different from baseline?

Test every model for every voxel ‘1 -1’ ‘give me all the voxels for which this model (condition 1 makes the voxel more active than condition 2) fits the data significantly’

A word on multiple comparisons… Because you’re looking at thousands of voxels, some will give a positive result just by chance. You need to correct for this ‘multiple comparison’ problem using one of several options in SPM: FWE (family-wise error), FDR (false discovery rate), or uncorrected (and say which one you used!)

The End