Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com http://rfmri.org Research Scientist The Nathan Kline Institute for Psychiatric Research Research Assistant Professor Department of Child and Adolescent Psychiatry / NYU Langone Medical Center Child Study Center, New York University Outline • Overview • Data Preparation • Preprocessing • R-fMRI measures Calculation • Quality Control • Statistical Analysis • Results Viewing 2 DPARSF (Yan and Zang, 2010) 3 Data Processing Assistant for RestingState fMRI (DPARSF) Yan and Zang, 2010. Front Syst Neurosci. http://rfmri.org/DPARSF 4 DPABI: a toolbox for Data Processing & Analysis of Brain Imaging License: GNU GPL Chao-Gan Yan Xin-Di Wang Programmer Initiator Programmer http://rfmri.org/dpabi http://dpabi.org 5 Outline • Overview • Data Preparation • Preprocessing • R-fMRI measures Calculation • Quality Control • Statistical Analysis • Results Viewing 6 Data Organization ProcessingDemoData.zip FunRaw Sub_001 Functional DICOM data Sub_002 Sub_003 T1Raw Sub_001 Structural DICOM data Sub_002 Sub_003 http://rfmri.org/DemoData 7 Data Organization ProcessingDemoData.zip FunImg Sub_001 Functional NIfTI data (.nii.gz., .nii or .img) Sub_002 Sub_003 T1Img Sub_001 Structural NIfTI data (.nii.gz., .nii or .img) Sub_002 Sub_003 8 9 10 Outline • Overview • Data Preparation • Preprocessing • R-fMRI measures Calculation • Quality Control • Statistical Analysis • Results Viewing 11 12 Preprocessing Working Dir where stored Starting Directory (e.g., FunRaw) Detected participants 13 Preprocessing Detected participants 14 Preprocessing Number of time points (if 0, detect automatically) TR (if 0, detect from NIfTI header) Template Parameters 15 Resting State fMRI Data Processing Template Parameters 16 What’s new? 17 Reorient and Quality control 18 19 Automask generation For checking EPI coverage and generating group mask FunImgAR/Sub_001 Masks/AutoMasks/ 20 Brain extraction (Skullstrip) For better coregistration For Linux and Mac: Need to install FSL. For Windows: Thanks to Chris Rorden's compiled version of bet in MRIcroN, our modified version can work on NIfTI images directly. 21 Bet & Coregistration T1ImgCoreg/Sub_001 Segment bet RealignParameter/Sub_001/mean*.nii T1Img/Sub_001 Apply Coregister T1ImgBet/Sub_001 RealignParameter/Sub_001/Bet_mean*.nii 22 Nuisance regression 23 Nuisance Regression Mask based on segmentation or SPM apriori CompCor or mean [note: for CompCor, detrend (demean) and variance normalization will be applied before PCA, according to Behzadi et al., 2007] Global Signal based on Automask 24 Outline • Overview • Data Preparation • Preprocessing • R-fMRI measures Calculation • Quality Control • Statistical Analysis • Results Viewing 25 R-fMRI measures Calculation 26 Outline • Overview • Data Preparation • Preprocessing • R-fMRI measures Calculation • Quality Control • Statistical Analysis • Results Viewing 27 28 Quality Control 29 Quality Control 30 Quality Control 31 Quality Control 32 Quality Control 33 Quality Control 34 Quality Control 35 Quality Control 36 Quality Control 37 Quality Control 38 Quality Control 39 Quality Control 40 Quality Control This mask is very important for group statistical analysis!!! 41 Quality Control 42 Quality Control 43 Quality Control 44 Quality Control Using the visual inspection step within DPARSF, subjects showing severe head motion in the T1 image and subjects showing extremely poor coverage in the functional images, as well as subjects showing bad registration were excluded Subjects with overlap with the group mask (voxels present at least 90% of the participants) less than 2*SD under the group mean overlap (threshold: 92.2%) were excluded Subjects with motion (Mean FD Jenkinson greater than 2*SD above the group mean motion (threshold: 0.192) were excluded Yan et al., 2013, Neuroimage 45 Outline • Overview • Data Preparation • Preprocessing • R-fMRI measures Calculation • Quality Control • Statistical Analysis • Results Viewing 46 47 Statistical Analysis 48 Statistical Analysis {DPABI_Dir}/StatisticalAnalysis/y_GroupAnalysis_Image.m 49 Attention!!! 50 Statistical Analysis {DPABI_Dir}/StatisticalAnalysis/y_GroupAnalysis_Image.m Smoothness estimation based on the 4D residual is built in this function!!! 51 Statistical Analysis http://rfmri.org/DemoData {Download}/ProcessingDemoData/StatisticalDemo/AD_MCI_NC/ ALFF: AD – NC Two Sample T Test: • Applied smooth kernel in preprocessing: [4 4 4] • Smooth kernel estimated on 4D residual: [6.77 6.88 6.71] • Smooth kernel estimated on statistical image (T to Z, as in easythresh): [6.90 7.33 6.94] ReHo: AD – NC Two Sample T Test: • Applied smooth kernel in preprocessing: [4 4 4] • Smooth kernel estimated on 4D residual: [8.10 8.50 7.93] • Smooth kernel estimated on statistical image (T to Z, as in easythresh): [8.33 8.94 8.24] Thus, only using smooth kernel applied in preprocessing is NOT sufficient!!! 52 Outline • Overview • Data Preparation • Preprocessing • R-fMRI measures Calculation • Quality Control • Statistical Analysis • Results Viewing 53 54 55 56 57 58 59 60 Voxel Z > 2.3, Cluster P < 0.05, Two One-Tailed Corrections: equivalent to Voxel P < 0.0214, Cluster P < 0.1, Two Tailed. 61 62 63 64 65 66 67 Further Help Further questions: http://rfmri.org/dpabi http://dpabi.org The R-fMRI Network 68 Further Help 69 70 71 Send emails only to rfmri.org@gmail.com: 1) sending new email means you are posting your personal blogs, 2) replying email means you are posting comments to that topic/blog, 3) then all the other RfMRI nodes will receive email updates of your posts. 72 Xin-Di Wang Yu-Feng Zang Programmer Consultant Acknowledgments Nathan Kline Institute Charles Schroeder Stan Colcombe Gary Linn Mark Klinger NYU Child Study Center F. Xavier Castellanos Adriana Di Martino Clare Kelly Child Mind Institute Michael P. Milham R. Cameron Craddock Zhen Yang Hangzhou Normal University Yu-Feng Zang Beijing Normal University Yong He Fudan University Tian-Ming Qiu Chinese Academy of Sciences Xi-Nian Zuo Princeton University Han Liu Advertisement F. Xavier Castellanos NKI/NYU Charles E. Schroeder NKI/Columbia David A. Leopold NIMH 75 Thanks for your attention! 76