SlideShare a Scribd company logo
fNIRS data analysis 
• Biophysics 
• Donders Center for Neuroscience 
• Donders Institute for Brain, Cognition and Behavior 
• Science Faculty, Radboud University 
• Otorhinolaryngology 
• Medical Faculty, RadboudUMC 
• Donders Hearing and Implants 
• Radboud Research Facilities 
• Cochlear 
• Advanced Bionics 
Marc van Wanrooij, Luuk van de Rijt, Anja Roye, Guus van Bentum, Ad Snik, Emmanuel 
Mylanus, John van Opstal
Analysis pipeline 
• Recording fNIRS 
• Artifact rejection and correction (scalp coupling, motion artifact, physiological noise) 
• Filtering 
• Computing average 
• Quantification of amplitudes and latencies 
• Statistical analysis
• Recording fNIRS 
• Artifact rejection and correction (scalp coupling, motion artifact, physiological noise) 
• Filtering 
• Computing average 
• Quantification of amplitudes and latencies 
• Statistical analysis
Recording NIRS 
• Oxymon
Recording fNIRS - Raw data 
• Data needs to be read into Matlab workspace 
Raw 
20 25 30 
Time (sec) 
Amplitude (au) 
765 nm 
858 nm [OD,xmlInfo]=oxy3read_function();  
% propietary Matlab file from Artinis 
% quite cumbersome as we need to manually enter  
% filename.  
% Also, AD board signals are not extracted
• Recording fNIRS 
• Artifact rejection and correction (scalp coupling, motion artifact, physiological noise) 
• Filtering 
• Computing average 
• Quantification of amplitudes and latencies 
• Statistical analysis
Artifact rejection and correction - Cardiac oscillation 
• Strong cardiac oscillation in fNIRS raw signals is undesirable for measuring evoked cortical 
hemodynamic responses 
out = prctile(OD(1,:),[2.5 97.5]); % outliers 
sel1 = OD(1,:)out(2)  OD(1,:)out(1); % selection 
pa_getpower(OD(ii,sel1)-mean(OD(ii,sel1)),250,'display',1); % power spectrum 
 
1 
0.8 
0.6 
0.4 
0.2 
0 
Power Spectrum 
0.1 1 10 
Frequency (kHz) 
Amplitude (au)
Artifact rejection and correction - Scalp coupling 
• Strong cardiac oscillation in fNIRS raw signals indicates a good contact between the optical 
probe and the scalp 
20 25 30 
 
0 
ï 
SCI = 0.99 
Time (sec) 
Amplitude (au) 
765 nm 
858 nm 
Odcardiac(ii,:)= resample(OD(ii,:),10,Fs);  
% we resample the data: this is better than  
% downsample because it deals with anti-aliasing,  
% but there is a discussion about this 
ODcardiac(ii,:)= pa_bandpass(ODcardiac(ii,:),[0.5 2.5],5);  
% we band-pass between 0.5 and 2.5 Hz to keep cardiac  
% component only. 
 
r  = corrcoef(ODcardiac(ii,sel),ODcardiac(ii+1,sel)); 
r  = r(2)^2; % Scalp coupling index 
Pollonini, L., Olds, C., Abaya, H., Bortfeld, H., Beauchamp, M. S.,  Oghalai, J. S. (2014). Auditory cortex 
activation to natural speech and simulated cochlear implant speech measured with functional near-infrared 
spectroscopy. Hearing Research, 309, 84–93. doi:10.1016/j.heares.2013.11.007
Artifact rejection and correction - Scalp coupling 
Rejection 1 
• Reject channels with poor scalp coupling (SCI0.75)
Sidenote - from optical densities to concentration changes 
http://en.wikipedia.org/wiki/Near-infrared_spectroscopy 
• Basically, you can do it yourself with matrix multiplication: 
e  = [eHbR1*d eHbO1*d; eHbR2*d eHbO2*d]; % absorption coefficients 
dOD  = [dOD1;dOD2]; % optical densities 
dX  = eM^-1*dOD; % concentration changes 
• Artinis has some Matlab code available 
[t,O2Hb,HHb]=single_ch(OD,xmlInfo,2,1,[3,4]);
Artifact rejection and correction - motion artifact 
• Usually we throw away data that is contaminated by motion artifacts. Example here shows 
some onset artefacts, that are selected by an automatic artifact removal. 
ODz(ii,:) = zscore(OD(ii,:); % ztransform the data 
% remove some outliers   
out  = prctile(ODz(ii,:),[2.5 97.5]); 
sel  = ODz(ii,:)out(2)  ODz(ii,:)out(1); 
OD(ii,sel) = NaN; 
0 5 10 15 20 
30 
25 
20 
15 
10 
5 
0 
−5 
−10 
−15 
−20 
−25 
−30 
Raw 
Time (sec) 
Amplitude (au) 
OHb 
HHb
Artifact rejection and correction – physiological/scalp noise 
• For a simple fNIRS measurement, reference channel subtraction can improve data 
%% Reference channel subtraction 
b  = regstats(chanSig,chanRef,'linear','r'); 
chanSig = b.r; % residuals 
Main 
channel Reference 
channel Clear 
↓ 
signal 
-­‐ =
Analysis pipeline 
• Recording fNIRS 
• Artifact rejection and correction (scalp coupling, motion artifact, physiological noise) 
• Filtering 
• Computing average 
• Quantification of amplitudes and latencies 
• Statistical analysis
Filtering 
• If (physiological) noise (e.g. variations that you are not interested in) is not removed or 
corrected, one typically filters the data.
Analysis pipeline 
• Recording fNIRS 
• Artifact rejection and correction (scalp coupling, motion artifact, physiological noise) 
• Filtering 
• Computing average 
• Quantification of amplitudes and latencies 
• Statistical analysis
Computing averages 
• Average over events / subjects 
function MU = getblock(nirs,chanSig,sensmod) 
fs   = nirs.fsample; 
fd   = nirs.fsdown; 
onSample = ceil([nirs.event.sample]*fd/fs); % onset and offset of stimulus 
offSample = onSample(2:2:end); % offset 
onSample = onSample(1:2:end); % onset 
stim  = {nirs.event.stim};  
 
selOn  = strcmp(stim,sensmod); 
selOff  = selOn(2:2:end); 
selOn  = selOn(1:2:end); 
Aon   = onSample(selOn); 
Aoff  = offSample(selOff); 
mx   = min((Aoff - Aon)+1)+150; 
nStim  = numel(Aon); 
MU = NaN(nStim,mx); 
for stmIdx = 1:nStim 
idx    = Aon(stmIdx)-100:Aoff(stmIdx)+50; % extra 100 samples before and 
after 
idx    = idx(1:mx); 
MU(stmIdx,:) = chanSig(idx); 
end 
MU = bsxfun(@minus,MU,mean(MU(:,1:100),2)); % remove the 100th sample, to set y-origin to 
stimulus onset
Computing averages 
• Single CI patient / different events
Analysis pipeline 
• Recording fNIRS 
• Artifact rejection and correction (scalp coupling, motion artifact, physiological noise) 
• Filtering 
• Computing average 
• Quantification of amplitudes and latencies 
• Statistical analysis
−0.5 −0.4 −0.3 −0.2 −0.1 0 0.1 0.2 0.3 0.4 0.5 
0.5 
0.4 
0.3 
0.2 
0.1 
0 
−0.1 
−0.2 
−0.3 
−0.4 
−0.5 
`audio 
6[XHb] (μM) 
6[XHb] (μM) 
`video 
−0.5 −0.4 −0.3 −0.2 −0.1 0 0.1 0.2 0.3 0.4 0.5 
0.5 
0.4 
0.3 
0.2 
0.1 
0 
−0.1 
−0.2 
−0.3 
−0.4 
−0.5 
`audio+video 
6[XHb] (μM) 
6[XHb] (μM) 
`av 
O 
2 
Hb 
HHb 
Quantification of amplitudes and latencies 
• Maximum amplitude in average trace / Generalized linear model
Analysis pipeline 
• Recording fNIRS 
• Artifact rejection and correction (scalp coupling, motion artifact, physiological noise) 
• Filtering 
• Computing average 
• Quantification of amplitudes and latencies 
• Statistical analysis: see Guus van Bentum
Analysis pipeline 
• Recording fNIRS 
• Artifact rejection and correction (scalp coupling, motion artifact, physiological noise) 
• Filtering 
• Computing average 
• Quantification of amplitudes and latencies 
• Statistical analysis 
Note similarity to FieldTrip EEG analysis 
http://fieldtrip.fcdonders.nl/tutorial/introduction
Analysis packages 
• Statistical analysis of fNIRS Tak, S.,  Ye, J. C. (2014). Statistical analysis of fNIRS data: A comprehensive review. 
NeuroImage, 85 Pt 1(null), 72–91. doi:10.1016/j.neuroimage.2013.06.016 
• HOMER Huppert, T. J., Diamond, S. G., Franceschini, M. A.,  Boas, D. A. (2009). HomER: a review of time-series analysis 
methods for near-infrared spectroscopy of the brain. Applied Optics, 48(10), D280–98. Retrieved from 
http://www.pubmedcentral.nih.gov/articlerender.fcgi?artid=2761652tool=pmcentrezrendertype=abstract 
• Motion artifact correction Cooper, R. J., Selb, J., Gagnon, L., Phillip, D., Schytz, H. W., Iversen, H. K., … Boas, D. A. 
(2012). A systematic comparison of motion artifact correction techniques for functional near-infrared spectroscopy. Frontiers in 
Neuroscience, 6, 147. doi:10.3389/fnins.2012.00147 
• NIRS Analysis package Fekete, T., Rubin, D., Carlson, J. M.,  Mujica-Parodi, L. R. (2011). The NIRS Analysis Package: 
noise reduction and statistical inference. PloS One, 6(9), e24322. doi:10.1371/journal.pone.0024322

More Related Content

What's hot

Electrocorticography
ElectrocorticographyElectrocorticography
fMRI Presentation
fMRI PresentationfMRI Presentation
fMRI Presentation
ricksw78
 
Auditory processing disorders 2
Auditory processing disorders 2Auditory processing disorders 2
Auditory processing disorders 2Karl Daniel, M.D.
 
Artifacts in EEG.pptx
Artifacts in EEG.pptxArtifacts in EEG.pptx
Artifacts in EEG.pptx
Pramod Krishnan
 
Normal EEG patterns, frequencies, as well as patterns that may simulate disease
Normal EEG patterns, frequencies, as well as patterns that may simulate diseaseNormal EEG patterns, frequencies, as well as patterns that may simulate disease
Normal EEG patterns, frequencies, as well as patterns that may simulate disease
Rahul Kumar
 
EEG Signal processing
EEG Signal processing EEG Signal processing
EEG Signal processing
DikshaKalra9
 
Intraoperative Flash Visual Evoked Potentials
Intraoperative Flash Visual Evoked PotentialsIntraoperative Flash Visual Evoked Potentials
Intraoperative Flash Visual Evoked Potentials
Anurag Tewari MD
 
Somatosensory and motor evoked potentials by neelothpala
Somatosensory and motor evoked potentials by neelothpalaSomatosensory and motor evoked potentials by neelothpala
Somatosensory and motor evoked potentials by neelothpala
vrkv2007
 
Long latency responses (Niraj)
Long latency responses (Niraj)Long latency responses (Niraj)
Long latency responses (Niraj)
Niraj Kumar
 
Principles of polarity in eeg
Principles of polarity in eegPrinciples of polarity in eeg
Principles of polarity in eeg
Pramod Krishnan
 
10 and 20 electrode placement
10 and 20 electrode placement10 and 20 electrode placement
10 and 20 electrode placement
Mohibullah Kakar
 
Hearing Instrument Fitting Formulae History and Overview
Hearing Instrument Fitting Formulae History and OverviewHearing Instrument Fitting Formulae History and Overview
Hearing Instrument Fitting Formulae History and Overview
Lynn Royer
 
EEG ppt
EEG pptEEG ppt
EEG ppt
NeurologyKota
 
Artificial Intelligence in Neurology.pptx
Artificial Intelligence in Neurology.pptxArtificial Intelligence in Neurology.pptx
Artificial Intelligence in Neurology.pptx
NeurologyKota
 
Occipital lobe
Occipital lobeOccipital lobe
Occipital lobePS Deb
 
A review of eeg recording techniques
A review of eeg recording techniquesA review of eeg recording techniques
A review of eeg recording techniquesiaemedu
 
ecochG.pptx
ecochG.pptxecochG.pptx
ecochG.pptx
MANJUSINGH948460
 
MagnetoEncephaloGraphy- By Anuj Malik
MagnetoEncephaloGraphy- By Anuj MalikMagnetoEncephaloGraphy- By Anuj Malik
MagnetoEncephaloGraphy- By Anuj Malik
AEC PRIVATE LIMITED.
 
CNIM Questions related to Mathematics and Formulas
CNIM Questions related to Mathematics and Formulas CNIM Questions related to Mathematics and Formulas
CNIM Questions related to Mathematics and Formulas
Anurag Tewari MD
 

What's hot (20)

EEG artifacts
EEG artifactsEEG artifacts
EEG artifacts
 
Electrocorticography
ElectrocorticographyElectrocorticography
Electrocorticography
 
fMRI Presentation
fMRI PresentationfMRI Presentation
fMRI Presentation
 
Auditory processing disorders 2
Auditory processing disorders 2Auditory processing disorders 2
Auditory processing disorders 2
 
Artifacts in EEG.pptx
Artifacts in EEG.pptxArtifacts in EEG.pptx
Artifacts in EEG.pptx
 
Normal EEG patterns, frequencies, as well as patterns that may simulate disease
Normal EEG patterns, frequencies, as well as patterns that may simulate diseaseNormal EEG patterns, frequencies, as well as patterns that may simulate disease
Normal EEG patterns, frequencies, as well as patterns that may simulate disease
 
EEG Signal processing
EEG Signal processing EEG Signal processing
EEG Signal processing
 
Intraoperative Flash Visual Evoked Potentials
Intraoperative Flash Visual Evoked PotentialsIntraoperative Flash Visual Evoked Potentials
Intraoperative Flash Visual Evoked Potentials
 
Somatosensory and motor evoked potentials by neelothpala
Somatosensory and motor evoked potentials by neelothpalaSomatosensory and motor evoked potentials by neelothpala
Somatosensory and motor evoked potentials by neelothpala
 
Long latency responses (Niraj)
Long latency responses (Niraj)Long latency responses (Niraj)
Long latency responses (Niraj)
 
Principles of polarity in eeg
Principles of polarity in eegPrinciples of polarity in eeg
Principles of polarity in eeg
 
10 and 20 electrode placement
10 and 20 electrode placement10 and 20 electrode placement
10 and 20 electrode placement
 
Hearing Instrument Fitting Formulae History and Overview
Hearing Instrument Fitting Formulae History and OverviewHearing Instrument Fitting Formulae History and Overview
Hearing Instrument Fitting Formulae History and Overview
 
EEG ppt
EEG pptEEG ppt
EEG ppt
 
Artificial Intelligence in Neurology.pptx
Artificial Intelligence in Neurology.pptxArtificial Intelligence in Neurology.pptx
Artificial Intelligence in Neurology.pptx
 
Occipital lobe
Occipital lobeOccipital lobe
Occipital lobe
 
A review of eeg recording techniques
A review of eeg recording techniquesA review of eeg recording techniques
A review of eeg recording techniques
 
ecochG.pptx
ecochG.pptxecochG.pptx
ecochG.pptx
 
MagnetoEncephaloGraphy- By Anuj Malik
MagnetoEncephaloGraphy- By Anuj MalikMagnetoEncephaloGraphy- By Anuj Malik
MagnetoEncephaloGraphy- By Anuj Malik
 
CNIM Questions related to Mathematics and Formulas
CNIM Questions related to Mathematics and Formulas CNIM Questions related to Mathematics and Formulas
CNIM Questions related to Mathematics and Formulas
 

Similar to fNIRS data analysis

The painful removal of tiling artefacts in ToF-SIMS data
The painful removal of tiling artefacts in ToF-SIMS dataThe painful removal of tiling artefacts in ToF-SIMS data
The painful removal of tiling artefacts in ToF-SIMS data
CSIRO
 
The painful removal of tiling artefacts in hypersprectral data
The painful removal of tiling artefacts in hypersprectral dataThe painful removal of tiling artefacts in hypersprectral data
The painful removal of tiling artefacts in hypersprectral data
CSIRO
 
Teaching Population Genetics with R
Teaching Population Genetics with RTeaching Population Genetics with R
Teaching Population Genetics with R
Bruce Cochrane
 
Optimal Multisine Probing Signal Design for Power System Electromechanical Mo...
Optimal Multisine Probing Signal Design for Power System Electromechanical Mo...Optimal Multisine Probing Signal Design for Power System Electromechanical Mo...
Optimal Multisine Probing Signal Design for Power System Electromechanical Mo...
Luigi Vanfretti
 
Using R Tool for Probability and Statistics
Using R Tool for Probability and Statistics Using R Tool for Probability and Statistics
Using R Tool for Probability and Statistics
nazlitemu
 
[Research] Detection of MCI using EEG Relative Power + DNN
[Research] Detection of MCI using EEG Relative Power + DNN[Research] Detection of MCI using EEG Relative Power + DNN
[Research] Detection of MCI using EEG Relative Power + DNN
Donghyeon Kim
 
Measuring EEG in vivo for Preclinical Evaluation of Sleep and Alzheimer’s Dis...
Measuring EEG in vivo for Preclinical Evaluation of Sleep and Alzheimer’s Dis...Measuring EEG in vivo for Preclinical Evaluation of Sleep and Alzheimer’s Dis...
Measuring EEG in vivo for Preclinical Evaluation of Sleep and Alzheimer’s Dis...
InsideScientific
 
Getting started with chemometric classification
Getting started with chemometric classificationGetting started with chemometric classification
Getting started with chemometric classification
Alex Henderson
 
PHM2106-Presentation-Hubbard
PHM2106-Presentation-HubbardPHM2106-Presentation-Hubbard
PHM2106-Presentation-HubbardCharles Hubbard
 
PhD Oral Defense of Md Kafiul Islam on "ARTIFACT CHARACTERIZATION, DETECTION ...
PhD Oral Defense of Md Kafiul Islam on "ARTIFACT CHARACTERIZATION, DETECTION ...PhD Oral Defense of Md Kafiul Islam on "ARTIFACT CHARACTERIZATION, DETECTION ...
PhD Oral Defense of Md Kafiul Islam on "ARTIFACT CHARACTERIZATION, DETECTION ...
Md Kafiul Islam
 
Introduction to fMRI
Introduction to fMRIIntroduction to fMRI
Introduction to fMRI
Katharina Seidl-Rathkopf
 
Analysis of RT variability
Analysis of RT variabilityAnalysis of RT variability
Analysis of RT variabilityRaoul
 
6.2 Jamie Zeitzer
6.2 Jamie Zeitzer6.2 Jamie Zeitzer
6.2 Jamie Zeitzer
momentumbrn
 
Compressed learning for time series classification
Compressed learning for time series classificationCompressed learning for time series classification
Compressed learning for time series classification
學翰 施
 
Dynamics of structures with uncertainties
Dynamics of structures with uncertaintiesDynamics of structures with uncertainties
Dynamics of structures with uncertainties
University of Glasgow
 
Data science
Data scienceData science
Data science
Joaquin Vanschoren
 
Development of a low cost pc-based single-channel eeg monitoring system
Development of a low cost pc-based single-channel eeg monitoring systemDevelopment of a low cost pc-based single-channel eeg monitoring system
Development of a low cost pc-based single-channel eeg monitoring system
Md Kafiul Islam
 
A Study on Privacy Level in Publishing Data of Smart Tap Network
A Study on Privacy Level in Publishing Data of Smart Tap NetworkA Study on Privacy Level in Publishing Data of Smart Tap Network
A Study on Privacy Level in Publishing Data of Smart Tap Network
Ha Phuong
 
Artifact Detection and Removal from In-Vivo Neural Signals
Artifact Detection and Removal from In-Vivo Neural SignalsArtifact Detection and Removal from In-Vivo Neural Signals
Artifact Detection and Removal from In-Vivo Neural Signals
Md Kafiul Islam
 

Similar to fNIRS data analysis (20)

The painful removal of tiling artefacts in ToF-SIMS data
The painful removal of tiling artefacts in ToF-SIMS dataThe painful removal of tiling artefacts in ToF-SIMS data
The painful removal of tiling artefacts in ToF-SIMS data
 
The painful removal of tiling artefacts in hypersprectral data
The painful removal of tiling artefacts in hypersprectral dataThe painful removal of tiling artefacts in hypersprectral data
The painful removal of tiling artefacts in hypersprectral data
 
Teaching Population Genetics with R
Teaching Population Genetics with RTeaching Population Genetics with R
Teaching Population Genetics with R
 
Optimal Multisine Probing Signal Design for Power System Electromechanical Mo...
Optimal Multisine Probing Signal Design for Power System Electromechanical Mo...Optimal Multisine Probing Signal Design for Power System Electromechanical Mo...
Optimal Multisine Probing Signal Design for Power System Electromechanical Mo...
 
Using R Tool for Probability and Statistics
Using R Tool for Probability and Statistics Using R Tool for Probability and Statistics
Using R Tool for Probability and Statistics
 
[Research] Detection of MCI using EEG Relative Power + DNN
[Research] Detection of MCI using EEG Relative Power + DNN[Research] Detection of MCI using EEG Relative Power + DNN
[Research] Detection of MCI using EEG Relative Power + DNN
 
Measuring EEG in vivo for Preclinical Evaluation of Sleep and Alzheimer’s Dis...
Measuring EEG in vivo for Preclinical Evaluation of Sleep and Alzheimer’s Dis...Measuring EEG in vivo for Preclinical Evaluation of Sleep and Alzheimer’s Dis...
Measuring EEG in vivo for Preclinical Evaluation of Sleep and Alzheimer’s Dis...
 
Group01_Project3
Group01_Project3Group01_Project3
Group01_Project3
 
Getting started with chemometric classification
Getting started with chemometric classificationGetting started with chemometric classification
Getting started with chemometric classification
 
PHM2106-Presentation-Hubbard
PHM2106-Presentation-HubbardPHM2106-Presentation-Hubbard
PHM2106-Presentation-Hubbard
 
PhD Oral Defense of Md Kafiul Islam on "ARTIFACT CHARACTERIZATION, DETECTION ...
PhD Oral Defense of Md Kafiul Islam on "ARTIFACT CHARACTERIZATION, DETECTION ...PhD Oral Defense of Md Kafiul Islam on "ARTIFACT CHARACTERIZATION, DETECTION ...
PhD Oral Defense of Md Kafiul Islam on "ARTIFACT CHARACTERIZATION, DETECTION ...
 
Introduction to fMRI
Introduction to fMRIIntroduction to fMRI
Introduction to fMRI
 
Analysis of RT variability
Analysis of RT variabilityAnalysis of RT variability
Analysis of RT variability
 
6.2 Jamie Zeitzer
6.2 Jamie Zeitzer6.2 Jamie Zeitzer
6.2 Jamie Zeitzer
 
Compressed learning for time series classification
Compressed learning for time series classificationCompressed learning for time series classification
Compressed learning for time series classification
 
Dynamics of structures with uncertainties
Dynamics of structures with uncertaintiesDynamics of structures with uncertainties
Dynamics of structures with uncertainties
 
Data science
Data scienceData science
Data science
 
Development of a low cost pc-based single-channel eeg monitoring system
Development of a low cost pc-based single-channel eeg monitoring systemDevelopment of a low cost pc-based single-channel eeg monitoring system
Development of a low cost pc-based single-channel eeg monitoring system
 
A Study on Privacy Level in Publishing Data of Smart Tap Network
A Study on Privacy Level in Publishing Data of Smart Tap NetworkA Study on Privacy Level in Publishing Data of Smart Tap Network
A Study on Privacy Level in Publishing Data of Smart Tap Network
 
Artifact Detection and Removal from In-Vivo Neural Signals
Artifact Detection and Removal from In-Vivo Neural SignalsArtifact Detection and Removal from In-Vivo Neural Signals
Artifact Detection and Removal from In-Vivo Neural Signals
 

Recently uploaded

Astronomy Update- Curiosity’s exploration of Mars _ Local Briefs _ leadertele...
Astronomy Update- Curiosity’s exploration of Mars _ Local Briefs _ leadertele...Astronomy Update- Curiosity’s exploration of Mars _ Local Briefs _ leadertele...
Astronomy Update- Curiosity’s exploration of Mars _ Local Briefs _ leadertele...
NathanBaughman3
 
Leaf Initiation, Growth and Differentiation.pdf
Leaf Initiation, Growth and Differentiation.pdfLeaf Initiation, Growth and Differentiation.pdf
Leaf Initiation, Growth and Differentiation.pdf
RenuJangid3
 
general properties of oerganologametal.ppt
general properties of oerganologametal.pptgeneral properties of oerganologametal.ppt
general properties of oerganologametal.ppt
IqrimaNabilatulhusni
 
Citrus Greening Disease and its Management
Citrus Greening Disease and its ManagementCitrus Greening Disease and its Management
Citrus Greening Disease and its Management
subedisuryaofficial
 
Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...
Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...
Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...
University of Maribor
 
extra-chromosomal-inheritance[1].pptx.pdfpdf
extra-chromosomal-inheritance[1].pptx.pdfpdfextra-chromosomal-inheritance[1].pptx.pdfpdf
extra-chromosomal-inheritance[1].pptx.pdfpdf
DiyaBiswas10
 
Multi-source connectivity as the driver of solar wind variability in the heli...
Multi-source connectivity as the driver of solar wind variability in the heli...Multi-source connectivity as the driver of solar wind variability in the heli...
Multi-source connectivity as the driver of solar wind variability in the heli...
Sérgio Sacani
 
Richard's aventures in two entangled wonderlands
Richard's aventures in two entangled wonderlandsRichard's aventures in two entangled wonderlands
Richard's aventures in two entangled wonderlands
Richard Gill
 
RNA INTERFERENCE: UNRAVELING GENETIC SILENCING
RNA INTERFERENCE: UNRAVELING GENETIC SILENCINGRNA INTERFERENCE: UNRAVELING GENETIC SILENCING
RNA INTERFERENCE: UNRAVELING GENETIC SILENCING
AADYARAJPANDEY1
 
Richard's entangled aventures in wonderland
Richard's entangled aventures in wonderlandRichard's entangled aventures in wonderland
Richard's entangled aventures in wonderland
Richard Gill
 
The ASGCT Annual Meeting was packed with exciting progress in the field advan...
The ASGCT Annual Meeting was packed with exciting progress in the field advan...The ASGCT Annual Meeting was packed with exciting progress in the field advan...
The ASGCT Annual Meeting was packed with exciting progress in the field advan...
Health Advances
 
Circulatory system_ Laplace law. Ohms law.reynaults law,baro-chemo-receptors-...
Circulatory system_ Laplace law. Ohms law.reynaults law,baro-chemo-receptors-...Circulatory system_ Laplace law. Ohms law.reynaults law,baro-chemo-receptors-...
Circulatory system_ Laplace law. Ohms law.reynaults law,baro-chemo-receptors-...
muralinath2
 
GBSN - Biochemistry (Unit 5) Chemistry of Lipids
GBSN - Biochemistry (Unit 5) Chemistry of LipidsGBSN - Biochemistry (Unit 5) Chemistry of Lipids
GBSN - Biochemistry (Unit 5) Chemistry of Lipids
Areesha Ahmad
 
Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...
Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...
Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...
Sérgio Sacani
 
(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...
(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...
(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...
Scintica Instrumentation
 
GBSN- Microbiology (Lab 3) Gram Staining
GBSN- Microbiology (Lab 3) Gram StainingGBSN- Microbiology (Lab 3) Gram Staining
GBSN- Microbiology (Lab 3) Gram Staining
Areesha Ahmad
 
Nutraceutical market, scope and growth: Herbal drug technology
Nutraceutical market, scope and growth: Herbal drug technologyNutraceutical market, scope and growth: Herbal drug technology
Nutraceutical market, scope and growth: Herbal drug technology
Lokesh Patil
 
filosofia boliviana introducción jsjdjd.pptx
filosofia boliviana introducción jsjdjd.pptxfilosofia boliviana introducción jsjdjd.pptx
filosofia boliviana introducción jsjdjd.pptx
IvanMallco1
 
What is greenhouse gasses and how many gasses are there to affect the Earth.
What is greenhouse gasses and how many gasses are there to affect the Earth.What is greenhouse gasses and how many gasses are there to affect the Earth.
What is greenhouse gasses and how many gasses are there to affect the Earth.
moosaasad1975
 
Earliest Galaxies in the JADES Origins Field: Luminosity Function and Cosmic ...
Earliest Galaxies in the JADES Origins Field: Luminosity Function and Cosmic ...Earliest Galaxies in the JADES Origins Field: Luminosity Function and Cosmic ...
Earliest Galaxies in the JADES Origins Field: Luminosity Function and Cosmic ...
Sérgio Sacani
 

Recently uploaded (20)

Astronomy Update- Curiosity’s exploration of Mars _ Local Briefs _ leadertele...
Astronomy Update- Curiosity’s exploration of Mars _ Local Briefs _ leadertele...Astronomy Update- Curiosity’s exploration of Mars _ Local Briefs _ leadertele...
Astronomy Update- Curiosity’s exploration of Mars _ Local Briefs _ leadertele...
 
Leaf Initiation, Growth and Differentiation.pdf
Leaf Initiation, Growth and Differentiation.pdfLeaf Initiation, Growth and Differentiation.pdf
Leaf Initiation, Growth and Differentiation.pdf
 
general properties of oerganologametal.ppt
general properties of oerganologametal.pptgeneral properties of oerganologametal.ppt
general properties of oerganologametal.ppt
 
Citrus Greening Disease and its Management
Citrus Greening Disease and its ManagementCitrus Greening Disease and its Management
Citrus Greening Disease and its Management
 
Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...
Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...
Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...
 
extra-chromosomal-inheritance[1].pptx.pdfpdf
extra-chromosomal-inheritance[1].pptx.pdfpdfextra-chromosomal-inheritance[1].pptx.pdfpdf
extra-chromosomal-inheritance[1].pptx.pdfpdf
 
Multi-source connectivity as the driver of solar wind variability in the heli...
Multi-source connectivity as the driver of solar wind variability in the heli...Multi-source connectivity as the driver of solar wind variability in the heli...
Multi-source connectivity as the driver of solar wind variability in the heli...
 
Richard's aventures in two entangled wonderlands
Richard's aventures in two entangled wonderlandsRichard's aventures in two entangled wonderlands
Richard's aventures in two entangled wonderlands
 
RNA INTERFERENCE: UNRAVELING GENETIC SILENCING
RNA INTERFERENCE: UNRAVELING GENETIC SILENCINGRNA INTERFERENCE: UNRAVELING GENETIC SILENCING
RNA INTERFERENCE: UNRAVELING GENETIC SILENCING
 
Richard's entangled aventures in wonderland
Richard's entangled aventures in wonderlandRichard's entangled aventures in wonderland
Richard's entangled aventures in wonderland
 
The ASGCT Annual Meeting was packed with exciting progress in the field advan...
The ASGCT Annual Meeting was packed with exciting progress in the field advan...The ASGCT Annual Meeting was packed with exciting progress in the field advan...
The ASGCT Annual Meeting was packed with exciting progress in the field advan...
 
Circulatory system_ Laplace law. Ohms law.reynaults law,baro-chemo-receptors-...
Circulatory system_ Laplace law. Ohms law.reynaults law,baro-chemo-receptors-...Circulatory system_ Laplace law. Ohms law.reynaults law,baro-chemo-receptors-...
Circulatory system_ Laplace law. Ohms law.reynaults law,baro-chemo-receptors-...
 
GBSN - Biochemistry (Unit 5) Chemistry of Lipids
GBSN - Biochemistry (Unit 5) Chemistry of LipidsGBSN - Biochemistry (Unit 5) Chemistry of Lipids
GBSN - Biochemistry (Unit 5) Chemistry of Lipids
 
Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...
Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...
Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...
 
(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...
(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...
(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...
 
GBSN- Microbiology (Lab 3) Gram Staining
GBSN- Microbiology (Lab 3) Gram StainingGBSN- Microbiology (Lab 3) Gram Staining
GBSN- Microbiology (Lab 3) Gram Staining
 
Nutraceutical market, scope and growth: Herbal drug technology
Nutraceutical market, scope and growth: Herbal drug technologyNutraceutical market, scope and growth: Herbal drug technology
Nutraceutical market, scope and growth: Herbal drug technology
 
filosofia boliviana introducción jsjdjd.pptx
filosofia boliviana introducción jsjdjd.pptxfilosofia boliviana introducción jsjdjd.pptx
filosofia boliviana introducción jsjdjd.pptx
 
What is greenhouse gasses and how many gasses are there to affect the Earth.
What is greenhouse gasses and how many gasses are there to affect the Earth.What is greenhouse gasses and how many gasses are there to affect the Earth.
What is greenhouse gasses and how many gasses are there to affect the Earth.
 
Earliest Galaxies in the JADES Origins Field: Luminosity Function and Cosmic ...
Earliest Galaxies in the JADES Origins Field: Luminosity Function and Cosmic ...Earliest Galaxies in the JADES Origins Field: Luminosity Function and Cosmic ...
Earliest Galaxies in the JADES Origins Field: Luminosity Function and Cosmic ...
 

fNIRS data analysis

  • 1. fNIRS data analysis • Biophysics • Donders Center for Neuroscience • Donders Institute for Brain, Cognition and Behavior • Science Faculty, Radboud University • Otorhinolaryngology • Medical Faculty, RadboudUMC • Donders Hearing and Implants • Radboud Research Facilities • Cochlear • Advanced Bionics Marc van Wanrooij, Luuk van de Rijt, Anja Roye, Guus van Bentum, Ad Snik, Emmanuel Mylanus, John van Opstal
  • 2. Analysis pipeline • Recording fNIRS • Artifact rejection and correction (scalp coupling, motion artifact, physiological noise) • Filtering • Computing average • Quantification of amplitudes and latencies • Statistical analysis
  • 3. • Recording fNIRS • Artifact rejection and correction (scalp coupling, motion artifact, physiological noise) • Filtering • Computing average • Quantification of amplitudes and latencies • Statistical analysis
  • 5. Recording fNIRS - Raw data • Data needs to be read into Matlab workspace Raw 20 25 30 Time (sec) Amplitude (au) 765 nm 858 nm [OD,xmlInfo]=oxy3read_function(); % propietary Matlab file from Artinis % quite cumbersome as we need to manually enter % filename. % Also, AD board signals are not extracted
  • 6. • Recording fNIRS • Artifact rejection and correction (scalp coupling, motion artifact, physiological noise) • Filtering • Computing average • Quantification of amplitudes and latencies • Statistical analysis
  • 7. Artifact rejection and correction - Cardiac oscillation • Strong cardiac oscillation in fNIRS raw signals is undesirable for measuring evoked cortical hemodynamic responses out = prctile(OD(1,:),[2.5 97.5]); % outliers sel1 = OD(1,:)out(2) OD(1,:)out(1); % selection pa_getpower(OD(ii,sel1)-mean(OD(ii,sel1)),250,'display',1); % power spectrum 1 0.8 0.6 0.4 0.2 0 Power Spectrum 0.1 1 10 Frequency (kHz) Amplitude (au)
  • 8. Artifact rejection and correction - Scalp coupling • Strong cardiac oscillation in fNIRS raw signals indicates a good contact between the optical probe and the scalp 20 25 30 0 ï SCI = 0.99 Time (sec) Amplitude (au) 765 nm 858 nm Odcardiac(ii,:)= resample(OD(ii,:),10,Fs); % we resample the data: this is better than % downsample because it deals with anti-aliasing, % but there is a discussion about this ODcardiac(ii,:)= pa_bandpass(ODcardiac(ii,:),[0.5 2.5],5); % we band-pass between 0.5 and 2.5 Hz to keep cardiac % component only. r = corrcoef(ODcardiac(ii,sel),ODcardiac(ii+1,sel)); r = r(2)^2; % Scalp coupling index Pollonini, L., Olds, C., Abaya, H., Bortfeld, H., Beauchamp, M. S., Oghalai, J. S. (2014). Auditory cortex activation to natural speech and simulated cochlear implant speech measured with functional near-infrared spectroscopy. Hearing Research, 309, 84–93. doi:10.1016/j.heares.2013.11.007
  • 9. Artifact rejection and correction - Scalp coupling Rejection 1 • Reject channels with poor scalp coupling (SCI0.75)
  • 10. Sidenote - from optical densities to concentration changes http://en.wikipedia.org/wiki/Near-infrared_spectroscopy • Basically, you can do it yourself with matrix multiplication: e = [eHbR1*d eHbO1*d; eHbR2*d eHbO2*d]; % absorption coefficients dOD = [dOD1;dOD2]; % optical densities dX = eM^-1*dOD; % concentration changes • Artinis has some Matlab code available [t,O2Hb,HHb]=single_ch(OD,xmlInfo,2,1,[3,4]);
  • 11. Artifact rejection and correction - motion artifact • Usually we throw away data that is contaminated by motion artifacts. Example here shows some onset artefacts, that are selected by an automatic artifact removal. ODz(ii,:) = zscore(OD(ii,:); % ztransform the data % remove some outliers out = prctile(ODz(ii,:),[2.5 97.5]); sel = ODz(ii,:)out(2) ODz(ii,:)out(1); OD(ii,sel) = NaN; 0 5 10 15 20 30 25 20 15 10 5 0 −5 −10 −15 −20 −25 −30 Raw Time (sec) Amplitude (au) OHb HHb
  • 12. Artifact rejection and correction – physiological/scalp noise • For a simple fNIRS measurement, reference channel subtraction can improve data %% Reference channel subtraction b = regstats(chanSig,chanRef,'linear','r'); chanSig = b.r; % residuals Main channel Reference channel Clear ↓ signal -­‐ =
  • 13. Analysis pipeline • Recording fNIRS • Artifact rejection and correction (scalp coupling, motion artifact, physiological noise) • Filtering • Computing average • Quantification of amplitudes and latencies • Statistical analysis
  • 14. Filtering • If (physiological) noise (e.g. variations that you are not interested in) is not removed or corrected, one typically filters the data.
  • 15. Analysis pipeline • Recording fNIRS • Artifact rejection and correction (scalp coupling, motion artifact, physiological noise) • Filtering • Computing average • Quantification of amplitudes and latencies • Statistical analysis
  • 16. Computing averages • Average over events / subjects function MU = getblock(nirs,chanSig,sensmod) fs = nirs.fsample; fd = nirs.fsdown; onSample = ceil([nirs.event.sample]*fd/fs); % onset and offset of stimulus offSample = onSample(2:2:end); % offset onSample = onSample(1:2:end); % onset stim = {nirs.event.stim}; selOn = strcmp(stim,sensmod); selOff = selOn(2:2:end); selOn = selOn(1:2:end); Aon = onSample(selOn); Aoff = offSample(selOff); mx = min((Aoff - Aon)+1)+150; nStim = numel(Aon); MU = NaN(nStim,mx); for stmIdx = 1:nStim idx = Aon(stmIdx)-100:Aoff(stmIdx)+50; % extra 100 samples before and after idx = idx(1:mx); MU(stmIdx,:) = chanSig(idx); end MU = bsxfun(@minus,MU,mean(MU(:,1:100),2)); % remove the 100th sample, to set y-origin to stimulus onset
  • 17. Computing averages • Single CI patient / different events
  • 18. Analysis pipeline • Recording fNIRS • Artifact rejection and correction (scalp coupling, motion artifact, physiological noise) • Filtering • Computing average • Quantification of amplitudes and latencies • Statistical analysis
  • 19. −0.5 −0.4 −0.3 −0.2 −0.1 0 0.1 0.2 0.3 0.4 0.5 0.5 0.4 0.3 0.2 0.1 0 −0.1 −0.2 −0.3 −0.4 −0.5 `audio 6[XHb] (μM) 6[XHb] (μM) `video −0.5 −0.4 −0.3 −0.2 −0.1 0 0.1 0.2 0.3 0.4 0.5 0.5 0.4 0.3 0.2 0.1 0 −0.1 −0.2 −0.3 −0.4 −0.5 `audio+video 6[XHb] (μM) 6[XHb] (μM) `av O 2 Hb HHb Quantification of amplitudes and latencies • Maximum amplitude in average trace / Generalized linear model
  • 20. Analysis pipeline • Recording fNIRS • Artifact rejection and correction (scalp coupling, motion artifact, physiological noise) • Filtering • Computing average • Quantification of amplitudes and latencies • Statistical analysis: see Guus van Bentum
  • 21. Analysis pipeline • Recording fNIRS • Artifact rejection and correction (scalp coupling, motion artifact, physiological noise) • Filtering • Computing average • Quantification of amplitudes and latencies • Statistical analysis Note similarity to FieldTrip EEG analysis http://fieldtrip.fcdonders.nl/tutorial/introduction
  • 22. Analysis packages • Statistical analysis of fNIRS Tak, S., Ye, J. C. (2014). Statistical analysis of fNIRS data: A comprehensive review. NeuroImage, 85 Pt 1(null), 72–91. doi:10.1016/j.neuroimage.2013.06.016 • HOMER Huppert, T. J., Diamond, S. G., Franceschini, M. A., Boas, D. A. (2009). HomER: a review of time-series analysis methods for near-infrared spectroscopy of the brain. Applied Optics, 48(10), D280–98. Retrieved from http://www.pubmedcentral.nih.gov/articlerender.fcgi?artid=2761652tool=pmcentrezrendertype=abstract • Motion artifact correction Cooper, R. J., Selb, J., Gagnon, L., Phillip, D., Schytz, H. W., Iversen, H. K., … Boas, D. A. (2012). A systematic comparison of motion artifact correction techniques for functional near-infrared spectroscopy. Frontiers in Neuroscience, 6, 147. doi:10.3389/fnins.2012.00147 • NIRS Analysis package Fekete, T., Rubin, D., Carlson, J. M., Mujica-Parodi, L. R. (2011). The NIRS Analysis Package: noise reduction and statistical inference. PloS One, 6(9), e24322. doi:10.1371/journal.pone.0024322