Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 [email protected] ...

76
Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严严严 [email protected] 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

Transcript of Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 [email protected] ...

Page 1: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

Data Processing & Analysis of Resting-State fMRI

Chao-Gan YAN, Ph.D.严超赣

[email protected]://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

Page 2: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

Outline• Overview

• Data Preparation

• Preprocessing

• R-fMRI measures Calculation

• Quality Control

• Statistical Analysis

• Results Viewing2

Page 3: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

DPARSF

(Yan and Zang, 2010) 3

Page 4: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

Data Processing Assistant for Resting-

State fMRI (DPARSF)

Yan and Zang, 2010. Front Syst Neurosci.

4

http://rfmri.org/DPARSF

Page 5: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

DPABI: a toolbox for Data Processing & Analysis of Brain

Imaging

5

http://rfmri.org/dpabi

http://dpabi.org

License: GNU GPL

Chao-Gan Yan Programmer

Initiator

Xin-Di Wang Programmer

Page 6: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

Outline• Overview

• Data Preparation

• Preprocessing

• R-fMRI measures Calculation

• Quality Control

• Statistical Analysis

• Results Viewing6

Page 7: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

Data Organization

ProcessingDemoData.zip

FunRawSub_001

Sub_002

Sub_003

T1RawSub_001

Sub_002

Sub_003

Functional DICOM data

Structural DICOM data

http://rfmri.org/DemoData7

Page 8: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

Data Organization

ProcessingDemoData.zip

FunImgSub_001

Sub_002

Sub_003

T1ImgSub_001

Sub_002

Sub_003

Functional NIfTI data (.nii.gz., .nii or .img)

Structural NIfTI data (.nii.gz., .nii or .img)

8

Page 9: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

9

Page 10: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

10

Page 11: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

Outline• Overview

• Data Preparation

• Preprocessing

• R-fMRI measures Calculation

• Quality Control

• Statistical Analysis

• Results Viewing11

Page 12: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

12

Page 13: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

Preprocessing

Working Dir where stored Starting Directory (e.g.,

FunRaw)Detected participants

13

Page 14: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

Detected participants

14

Preprocessing

Page 15: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

Number of time points(if 0, detect

automatically)TR(if 0, detect from

NIfTI header)

Template Parameters

15

Preprocessing

Page 16: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

Resting State fMRI Data Processing

Template Parameters

16

Page 17: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

17

What’s new?

Page 18: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

Reorient and Quality control

18

Page 19: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

19

Page 20: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

Automask generation

20

For checking EPI coverage and generating group mask

FunImgAR/Sub_001

Masks/AutoMasks/

Page 21: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

Brain extraction(Skullstrip)

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

For better coregistration

Page 22: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

22

T1Img/Sub_001

T1ImgBet/Sub_001

RealignParameter/Sub_001/mean*.nii

RealignParameter/Sub_001/Bet_mean*.nii

bet

Coregister

Apply

T1ImgCoreg/Sub_001

Segment

Bet & Coregistration

Page 23: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

Nuisance regression

23

Page 24: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

Nuisance Regression

24

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

Page 25: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

Outline• Overview

• Data Preparation

• Preprocessing

• R-fMRI measures Calculation

• Quality Control

• Statistical Analysis

• Results Viewing25

Page 26: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

26

R-fMRI measures

Calculation

Page 27: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

Outline• Overview

• Data Preparation

• Preprocessing

• R-fMRI measures Calculation

• Quality Control

• Statistical Analysis

• Results Viewing27

Page 28: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

28

Page 29: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

29

Quality Control

Page 30: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

30

Quality Control

Page 31: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

31

Quality Control

Page 32: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

32

Quality Control

Page 33: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

33

Quality Control

Page 34: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

34

Quality Control

Page 35: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

35

Quality Control

Page 36: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

36

Quality Control

Page 37: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

37

Quality Control

Page 38: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

38

Quality Control

Page 39: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

39

Quality Control

Page 40: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

40

Quality Control

Page 41: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

41

Quality Control

This mask is very important for group statistical analysis!!!

Page 42: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

42

Quality Control

Page 43: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

43

Quality Control

Page 44: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

44

Quality Control

Page 45: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

45

Quality Control

Yan et al., 2013, Neuroimage

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

Page 46: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

Outline• Overview

• Data Preparation

• Preprocessing

• R-fMRI measures Calculation

• Quality Control

• Statistical Analysis

• Results Viewing46

Page 47: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

47

Page 48: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

48

Statistical Analysis

Page 49: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

49

Statistical Analysis

{DPABI_Dir}/StatisticalAnalysis/y_GroupAnalysis_Image.m

Page 50: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

50

Attention!!!

Page 51: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

51

Statistical Analysis

{DPABI_Dir}/StatisticalAnalysis/y_GroupAnalysis_Image.m

Smoothness estimation based on the 4D residual is built in this function!!!

Page 52: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

52

Statistical Analysishttp://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!!!

Page 53: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

Outline• Overview

• Data Preparation

• Preprocessing

• R-fMRI measures Calculation

• Quality Control

• Statistical Analysis

• Results Viewing53

Page 54: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

54

Page 55: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

55

Page 56: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

5656

Page 57: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

57

Page 58: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

5858

Page 59: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

59

Page 60: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

6060

Page 61: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

61

Voxel Z > 2.3, Cluster P < 0.05, Two One-Tailed Corrections:

equivalent to

Voxel P < 0.0214, Cluster P < 0.1, Two Tailed.

Page 62: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

62

Page 63: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

63

Page 64: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

6464

Page 65: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

6565

Page 66: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

6666

Page 67: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

6767

Page 68: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

6868

Further Help

Further questions:

http://rfmri.org/dpabi

http://dpabi.orgThe R-fMRI Network

Page 69: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

6969

Further Help

Page 70: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

7070

Page 71: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

7171

Page 72: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

7272

Send emails only to [email protected]: 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 R-fMRI nodes will receive email updates of your posts.

Page 73: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

Xin-Di Wang Programmer

Yu-Feng Zang Consultant

Page 74: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

Acknowledgments

Nathan Kline Institute

Charles Schroeder

Stan Colcombe

Gary Linn

Mark Klinger

Child Mind Institute

Michael P. Milham

R. Cameron Craddock

Zhen Yang

NYU Child Study Center

F. Xavier Castellanos

Adriana Di Martino

Clare Kelly Chinese Academy of Sciences

Xi-Nian Zuo

Hangzhou Normal University

Yu-Feng Zang

Princeton University

Han Liu

Fudan University

Tian-Ming Qiu

Beijing Normal University

Yong He

Page 75: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

75

Advertisement

F. Xavier CastellanosNKI/NYU

Charles E. SchroederNKI/Columbia

David A. LeopoldNIMH

Page 76: Data Processing & Analysis of Resting-State fMRI Chao-Gan YAN, Ph.D. 严超赣 ycg.yan@gmail.com  Research Scientist The Nathan Kline Institute.

76

Thanks for your attention!