FMRI: Difference between revisions

From Brain Mapping Unit
Jump to navigationJump to search
No edit summary
No edit summary
Line 3: Line 3:
==Motion-related artefacts in fMRI==
==Motion-related artefacts in fMRI==


Participant in-scanner motion is one of the prominent sources of artefacts in fMRI data. This was recognized as an issue in fMRI long ago ([https://onlinelibrary.wiley.com/doi/abs/10.1002/mrm.1910310307 Hajnal et al., 1994]; [https://onlinelibrary.wiley.com/doi/abs/10.1002/mrm.1910350312 Friston et al., 1996]). Motion has complex effects on the signal - including increases, decreases or complex waveforms, depending on factors such as the timing, duration and trajectory of motion ([https://www.sciencedirect.com/science/article/pii/S1053811914008702?via%3Dihub Power et al., 2015], [https://www.sciencedirect.com/science/article/pii/S1053811917311060 Byrge and Kennedy 2018]). Crucially, motion can substantially affect estimates of functional connectivity ([https://www.sciencedirect.com/science/article/pii/S1053811911011815 Power et al., 2012]; [https://www.sciencedirect.com/science/article/pii/S1053811911014650 Satterthwaite et al., 2012]). Initial motion-correction approaches involved regression of motion parameters and their derivatives from voxel-wise BOLD time series [https://onlinelibrary.wiley.com/doi/abs/10.1002/mrm.1910350312 (Friston et al., 1996)], or regression of the average or "global" signal ([https://www.sciencedirect.com/science/article/pii/S105381199890369X Aguirre et al., 1998]; for a recent review, see [https://www.sciencedirect.com/science/article/pii/S1053811916306711 Murphy and Fox, 2017]). Later solutions included censoring of motion-affected frames [https://www.sciencedirect.com/science/article/pii/S1053811911011815 (Power et al., 2012)], removal of non-BOLD (artefactual) signal using independent component analysis applied to multi-echo fMRI data, based on the dependence of the BOLD signal on echo time (Kundu et al., [https://www.sciencedirect.com/science/article/pii/S1053811911014303 2012], [http://www.pnas.org/content/110/40/16187 2013]), or "despiking" of motion-related non-stationary events from a wavelet decomposition of the signal [https://www.sciencedirect.com/science/article/pii/S1053811914001578 (Patel et al., 2014)]. The latter method was subsequently extended to provide revised estimates of voxel-wise effective degrees of freedom (df) of the BOLD time series, which due to denoising are lower than the nominal N(df ) = N(time-points), and which affect estimates of edge probability when incorporated into network analysis [https://www.sciencedirect.com/science/article/pii/S1053811915003523 (Patel and Bullmore, 2016)].
Participant in-scanner motion is one of the prominent sources of artefacts in fMRI data. This was recognized as an issue in fMRI long ago ([https://onlinelibrary.wiley.com/doi/abs/10.1002/mrm.1910310307 Hajnal et al., 1994]; [https://onlinelibrary.wiley.com/doi/abs/10.1002/mrm.1910350312 Friston et al., 1996]). Motion has complex effects on the signal - including increases, decreases or complex waveforms, depending on factors such as the timing, duration and trajectory of motion ([https://www.sciencedirect.com/science/article/pii/S1053811914008702?via%3Dihub Power et al., 2015], [https://www.sciencedirect.com/science/article/pii/S1053811917311060 Byrge and Kennedy 2018]). Crucially, motion can substantially affect estimates of functional connectivity ([https://www.sciencedirect.com/science/article/pii/S1053811911011815 Power et al., 2012]; [https://www.sciencedirect.com/science/article/pii/S1053811911014650 Satterthwaite et al., 2012]). Initial motion-correction approaches involved regression of motion parameters and their derivatives from voxel-wise BOLD time series ([https://onlinelibrary.wiley.com/doi/abs/10.1002/mrm.1910350312 Friston et al., 1996]), or regression of the average or "global" signal ([https://www.sciencedirect.com/science/article/pii/S105381199890369X Aguirre et al., 1998]; for a recent review, see [https://www.sciencedirect.com/science/article/pii/S1053811916306711 Murphy and Fox, 2017]). Later solutions included censoring of motion-affected frames ([https://www.sciencedirect.com/science/article/pii/S1053811911011815 Power et al., 2012]), removal of non-BOLD (artefactual) signal using independent component analysis applied to multi-echo fMRI data, based on the dependence of the BOLD signal on echo time (Kundu et al., [https://www.sciencedirect.com/science/article/pii/S1053811911014303 2012], [http://www.pnas.org/content/110/40/16187 2013]), or "despiking" of motion-related non-stationary events from a wavelet decomposition of the signal ([https://www.sciencedirect.com/science/article/pii/S1053811914001578 Patel et al., 2014]). The latter method was subsequently extended to provide revised estimates of voxel-wise effective degrees of freedom (df) of the BOLD time series, which due to denoising are lower than the nominal N(df ) = N(time-points), and which affect estimates of edge probability when incorporated into network analysis ([https://www.sciencedirect.com/science/article/pii/S1053811915003523 Patel and Bullmore, 2016]).


Other prominent artifacts, particularly in fMRI, relate to respiration, vasculature and arousal (e.g.: [https://www.sciencedirect.com/science/article/pii/S1053811913003170 Murphy et al., 2013]; [https://www.sciencedirect.com/science/article/pii/S1053811916307418 Caballero-Gaudes and Reynolds, 2017]).
Other prominent artifacts, particularly in fMRI, relate to respiration, vasculature and arousal (e.g.: [https://www.sciencedirect.com/science/article/pii/S1053811913003170 Murphy et al., 2013]; [https://www.sciencedirect.com/science/article/pii/S1053811916307418 Caballero-Gaudes and Reynolds, 2017]).
Line 19: Line 19:
where d denotes translation distances {x,y,z}, and r denotes rotation angles {α,β,γ}. For each participant, a single (scalar) estimate of overall motion, the mean FD, can be calculated by averaging the FD time series.
where d denotes translation distances {x,y,z}, and r denotes rotation angles {α,β,γ}. For each participant, a single (scalar) estimate of overall motion, the mean FD, can be calculated by averaging the FD time series.


The values of FD should be inspected - both the mean FD, as well as subject-specific distributions of FD over time. The exclusion of a small subset of high-motion participants can substantially improve overall data quality, and decrease the strength of the relationship between motion and functional connectivity across subjects, which can be driven by a few high-motion outliers. There is no universally accepted threshold for movement, but past studies have excluded participants both on the grounds of high average FD, and of a high proportion of motion-contaminated time points. For example, Gu et al. [http://www.pnas.org/content/112/44/13681 (PNAS 2015)] excluded participants with mean FD > 0.2 mm, and those with > 20/124 volumes with FD > 0.25 mm. The thresholds to choose are likely to be study-specific - but should be based on the knowledge that even seemingly very small magnitude of motion (< 0.05 mm) can have artefactual impacts on the data [https://www.sciencedirect.com/science/article/pii/S1053811917311060 (Byrge and Kennedy, NeuroImage 2018)].
The values of FD should be inspected - both the mean FD, as well as subject-specific distributions of FD over time. The exclusion of a small subset of high-motion participants can substantially improve overall data quality, and decrease the strength of the relationship between motion and functional connectivity across subjects, which can be driven by a few high-motion outliers. There is no universally accepted threshold for movement, but past studies have excluded participants both on the grounds of high average FD, and of a high proportion of motion-contaminated time points. For example, Gu et al. [http://www.pnas.org/content/112/44/13681 (PNAS 2015)] excluded participants with mean FD > 0.2 mm, and those with > 20/124 volumes with FD > 0.25 mm. The thresholds to choose are likely to be study-specific - but should be based on the knowledge that even seemingly very small magnitude of motion (< 0.05 mm) can have artefactual impacts on the data ([https://www.sciencedirect.com/science/article/pii/S1053811917311060 Byrge and Kennedy, 2018]).


===Relationship of Framewise Displacement to Functional Connectivity===
===Relationship of Framewise Displacement to Functional Connectivity===
Line 27: Line 27:
- regionally (averaging FC for each node, by calculating the average over rows (or columns) of the correlation matrix)
- regionally (averaging FC for each node, by calculating the average over rows (or columns) of the correlation matrix)
- edge-wise (at each entry of the correlation matrix)
- edge-wise (at each entry of the correlation matrix)
Additionally, the relationship of the matrix of edge-wise correlations between FC and motion (across participants) to the matrix of Euclidean distances between pairs of regional centroids can be studied. In the BMU, this is known as the "Satterthwaite plot", based on the introduction of this diagnostic tool by Satterthwaite et al. (Fig. 1 in [https://www.sciencedirect.com/science/article/pii/S1053811911014650 NeuroImage 2012]).
Additionally, the relationship of the matrix of edge-wise correlations between FC and motion (across participants) to the matrix of Euclidean distances between pairs of regional centroids can be studied. In the BMU, this is known as the "Satterthwaite plot", based on the introduction of this diagnostic tool by Ted Satterthwaite (Fig. 1 in [https://www.sciencedirect.com/science/article/pii/S1053811911014650 Satterhwaite et al. (2012)]).


Ideally, the magnitude of FC should not correlate to FD, at either of the three levels. The ideal outcome of the Satterthwaite plot (with distance on the x-axis, and the across-participant correlation between edge-wise FC and mean FD on the y-axis) is a straight line - indicating that edges spanning different distances are not differentially affected by motion in the processed data, with a y-axis intercept of 0 - indicating that at the edge level, there is no relationship between participant motion and FC.
Ideally, the magnitude of FC should not correlate to FD, at either of the three levels. The ideal outcome of the Satterthwaite plot (with distance on the x-axis, and the across-participant correlation between edge-wise FC and mean FD on the y-axis) is a straight line - indicating that edges spanning different distances are not differentially affected by motion in the processed data, with a y-axis intercept of 0 - indicating that at the edge level, there is no relationship between participant motion and FC.


If residual relationships remain after data processing, these can potentially be regressed out across participants, by regressing FC at each edge against mean participant FD and retaining the residuals as the new FD-corrected FC (ideally, intercepts of this regression should be added back to the residuals, to retain the average variability in FC across edges, and to simplify interpretation of the corrected quantities). This additional step has been applied for example in Gu et al. [http://www.pnas.org/content/112/44/13681 (PNAS 2015)].
If residual relationships remain after data processing, these can potentially be regressed out across participants, by regressing FC at each edge against mean participant FD and retaining the residuals as the new FD-corrected FC (ideally, intercepts of this regression should be added back to the residuals, to retain the average variability in FC across edges, and to simplify interpretation of the corrected quantities). This additional step has been applied for example in [http://www.pnas.org/content/112/44/13681 Gu et al. (2015)].


===Lagged effects of motion on fMRI time-series===
===Lagged effects of motion on fMRI time-series===


An additional quality control plot has been proposed by Byrge and Kennedy [https://www.sciencedirect.com/science/article/pii/S1053811917311060 (NeuroImage 2018)]. The authors investigated whether movements of similar magnitude produce structured artefactual effects on the fMRI time-series. Creating a diagnostic plot of this effects involves binning all time-points (in each participant) according to the magnitude of motion at that time-point, based on the FD time-series. The bins do not have to be of equal size, but should not overlap - for example, Byrge and Kennedy apply the following: bin 1 = motion of 0.00-0.05 mm, bin 2 = motion of 0.05-0.10 mm, ..., bin N = motion of 0.90-1.5 mm. Subsequently, equally long segments of (processed) fMRI time-series (eg: 25 TRs) following each instance of motion are averaged within each bin. This analysis can be conducted using the global signal (across subjects), or regional signal (within subjects). The ideal outcome, when applied to processed fMRI data, should be flat time-series (of average BOLD signal following motion events of similar magnitudes) within each bin of motion magnitude, indicating a lack of structured effects of motion on the BOLD signal.  
An additional quality control plot has been proposed by [https://www.sciencedirect.com/science/article/pii/S1053811917311060 Byrge and Kennedy (2018)]. The authors investigated whether movements of similar magnitude produce structured artefactual effects on the fMRI time-series. Creating a diagnostic plot of this effects involves binning all time-points (in each participant) according to the magnitude of motion at that time-point, based on the FD time-series. The bins do not have to be of equal size, but should not overlap - for example, Byrge and Kennedy apply the following: bin 1 = motion of 0.00-0.05 mm, bin 2 = motion of 0.05-0.10 mm, ..., bin N = motion of 0.90-1.5 mm. Subsequently, equally long segments of (processed) fMRI time-series (eg: 25 TRs) following each instance of motion are averaged within each bin. This analysis can be conducted using the global signal (across subjects), or regional signal (within subjects). The ideal outcome, when applied to processed fMRI data, should be flat time-series (of average BOLD signal following motion events of similar magnitudes) within each bin of motion magnitude, indicating a lack of structured effects of motion on the BOLD signal.  


In practice, following standard processing steps, movement does produce structured effects on the BOLD signal, which extend far in time beyond the displacement (~ up to 40 seconds) and are non-linear (small movements produce an initial undershoot followed by an overshoot, which is progressively reversed as the magnitude of motion increases). In practice, this means that these effects cannot be adequately controlled by removal of motion-related frames (a.k.a. "scrubbing"), or regression of the motion time-series (which only leads to correction of zero-lag effects).  
In practice, following standard processing steps, movement does produce structured effects on the BOLD signal, which extend far in time beyond the displacement (~ up to 40 seconds) and are non-linear (small movements produce an initial undershoot followed by an overshoot, which is progressively reversed as the magnitude of motion increases). In practice, this means that these effects cannot be adequately controlled by removal of motion-related frames (a.k.a. "scrubbing"), or regression of the motion time-series (which only leads to correction of zero-lag effects).  


For details on these diagnostic plots, and a Matlab implementation, see Byrge and Kennedy [https://www.sciencedirect.com/science/article/pii/S1053811917311060 (NeuroImage 2018)].
For details on these diagnostic plots, and a Matlab implementation, see [https://www.sciencedirect.com/science/article/pii/S1053811917311060 Byrge and Kennedy (2018)].


==ME-ICA processing for NSPN and BioDep==
==ME-ICA processing for NSPN and BioDep==

Revision as of 13:51, 10 May 2018

MEICA and Tedana

Motion-related artefacts in fMRI

Participant in-scanner motion is one of the prominent sources of artefacts in fMRI data. This was recognized as an issue in fMRI long ago (Hajnal et al., 1994; Friston et al., 1996). Motion has complex effects on the signal - including increases, decreases or complex waveforms, depending on factors such as the timing, duration and trajectory of motion (Power et al., 2015, Byrge and Kennedy 2018). Crucially, motion can substantially affect estimates of functional connectivity (Power et al., 2012; Satterthwaite et al., 2012). Initial motion-correction approaches involved regression of motion parameters and their derivatives from voxel-wise BOLD time series (Friston et al., 1996), or regression of the average or "global" signal (Aguirre et al., 1998; for a recent review, see Murphy and Fox, 2017). Later solutions included censoring of motion-affected frames (Power et al., 2012), removal of non-BOLD (artefactual) signal using independent component analysis applied to multi-echo fMRI data, based on the dependence of the BOLD signal on echo time (Kundu et al., 2012, 2013), or "despiking" of motion-related non-stationary events from a wavelet decomposition of the signal (Patel et al., 2014). The latter method was subsequently extended to provide revised estimates of voxel-wise effective degrees of freedom (df) of the BOLD time series, which due to denoising are lower than the nominal N(df ) = N(time-points), and which affect estimates of edge probability when incorporated into network analysis (Patel and Bullmore, 2016).

Other prominent artifacts, particularly in fMRI, relate to respiration, vasculature and arousal (e.g.: Murphy et al., 2013; Caballero-Gaudes and Reynolds, 2017).

Quality control

Multiple diagnostic measures can be investigated during quality control of fMRI data, to ensure that the processed data are maximally free of motion-related (or other) artefacts.

Framewise Displacement

One key quantity used for diagnostic purposed is the framewise displacement (FD), a subject-specific time-series indexing an overall estimate of movement over time. During processing, re-alignment of scans is used to estimate 6 motion parameters for each participant (3 translation parameters and 3 rotation parameters). Subsequently, these were used to calculate an overall estimate of motion - the framewise displacement (FD), defined as the sum of the absolute temporal derivatives of the six motion parameters, following conversion of rotational parameters to distances by computing the arc length displacement on the surface of a sphere with radius 50 mm (as in Power et al. (2012) and Patel et al. (2014)):

FD(t) = ∑|d(t−1)−d(t)| +50·(π/180)·∑|r(t−1)−r(t)|

where d denotes translation distances {x,y,z}, and r denotes rotation angles {α,β,γ}. For each participant, a single (scalar) estimate of overall motion, the mean FD, can be calculated by averaging the FD time series.

The values of FD should be inspected - both the mean FD, as well as subject-specific distributions of FD over time. The exclusion of a small subset of high-motion participants can substantially improve overall data quality, and decrease the strength of the relationship between motion and functional connectivity across subjects, which can be driven by a few high-motion outliers. There is no universally accepted threshold for movement, but past studies have excluded participants both on the grounds of high average FD, and of a high proportion of motion-contaminated time points. For example, Gu et al. (PNAS 2015) excluded participants with mean FD > 0.2 mm, and those with > 20/124 volumes with FD > 0.25 mm. The thresholds to choose are likely to be study-specific - but should be based on the knowledge that even seemingly very small magnitude of motion (< 0.05 mm) can have artefactual impacts on the data (Byrge and Kennedy, 2018).

Relationship of Framewise Displacement to Functional Connectivity

The mean FD can be used to detect potential residual relationships between functional connectivity (FC, usually defined as the cross-correlation between processed fMRI time-series between pairs of regions) and movement, across subjects. This can be evaluated at three levels: - globally (averaging FC over the upper triangular part of the correlation matrix) - regionally (averaging FC for each node, by calculating the average over rows (or columns) of the correlation matrix) - edge-wise (at each entry of the correlation matrix) Additionally, the relationship of the matrix of edge-wise correlations between FC and motion (across participants) to the matrix of Euclidean distances between pairs of regional centroids can be studied. In the BMU, this is known as the "Satterthwaite plot", based on the introduction of this diagnostic tool by Ted Satterthwaite (Fig. 1 in Satterhwaite et al. (2012)).

Ideally, the magnitude of FC should not correlate to FD, at either of the three levels. The ideal outcome of the Satterthwaite plot (with distance on the x-axis, and the across-participant correlation between edge-wise FC and mean FD on the y-axis) is a straight line - indicating that edges spanning different distances are not differentially affected by motion in the processed data, with a y-axis intercept of 0 - indicating that at the edge level, there is no relationship between participant motion and FC.

If residual relationships remain after data processing, these can potentially be regressed out across participants, by regressing FC at each edge against mean participant FD and retaining the residuals as the new FD-corrected FC (ideally, intercepts of this regression should be added back to the residuals, to retain the average variability in FC across edges, and to simplify interpretation of the corrected quantities). This additional step has been applied for example in Gu et al. (2015).

Lagged effects of motion on fMRI time-series

An additional quality control plot has been proposed by Byrge and Kennedy (2018). The authors investigated whether movements of similar magnitude produce structured artefactual effects on the fMRI time-series. Creating a diagnostic plot of this effects involves binning all time-points (in each participant) according to the magnitude of motion at that time-point, based on the FD time-series. The bins do not have to be of equal size, but should not overlap - for example, Byrge and Kennedy apply the following: bin 1 = motion of 0.00-0.05 mm, bin 2 = motion of 0.05-0.10 mm, ..., bin N = motion of 0.90-1.5 mm. Subsequently, equally long segments of (processed) fMRI time-series (eg: 25 TRs) following each instance of motion are averaged within each bin. This analysis can be conducted using the global signal (across subjects), or regional signal (within subjects). The ideal outcome, when applied to processed fMRI data, should be flat time-series (of average BOLD signal following motion events of similar magnitudes) within each bin of motion magnitude, indicating a lack of structured effects of motion on the BOLD signal.

In practice, following standard processing steps, movement does produce structured effects on the BOLD signal, which extend far in time beyond the displacement (~ up to 40 seconds) and are non-linear (small movements produce an initial undershoot followed by an overshoot, which is progressively reversed as the magnitude of motion increases). In practice, this means that these effects cannot be adequately controlled by removal of motion-related frames (a.k.a. "scrubbing"), or regression of the motion time-series (which only leads to correction of zero-lag effects).

For details on these diagnostic plots, and a Matlab implementation, see Byrge and Kennedy (2018).

ME-ICA processing for NSPN and BioDep

The following pipeline describes processing steps for multi-echo ICA (ME-ICA) data, as agreed by Manfred, Frantisek and others in May 2018. This is the pipeline applied to NSPN and BioDep projects.

Briefly, the processing pipeline includes the following steps:

...

The specific ME-ICA script to be run is located on the BCNI server at: "/home/rr480/Code/MATLAB/fMRI/MEICA/meica_manfred_2018_05_10/meica.py". This includes the options listed below (some of which are specific to NSPN data). For a detailed description of all processing steps, see MEICA.

 -d 'echo[1,2,3].nii'  
 -a 'brainmask.nii' 
 -e 13.0,30.55,48.1 
 --TR=2.43 
 --tpattern=seq-z 
 -b 15s 
 --fres=2.5 
 --mask_mode='anat' 
 --no_skullstrip 
 --OVERWRITE