Task-Based Functional Magnetic Resonance Imaging
DOI: 10.15154/z563-zd24 (Release 5.0)
List of Instruments
Name of Instrument | Table Name |
Monetary Incentive Delay | |
Task fMRI - MID - Anticipated large loss vs. neutral (Desikan) | mri_y_tfmr_mid_allvn_dsk |
Task fMRI - MID - Anticipated large reward vs. neutral (Desikan) | mri_y_tfmr_mid_alrvn_dsk |
Task fMRI - MID - Anticipated loss vs. neutral (Desikan) | mri_y_tfmr_mid_alvn_dsk |
Task fMRI - MID - Anticipated large vs. small loss (Desikan) | mri_y_tfmr_mid_alvsl_dsk |
Task fMRI - MID - Anticipated large vs. small reward (Desikan) | mri_y_tfmr_mid_alvsr_dsk |
Task fMRI - MID - Anticipated reward vs. neutral (Desikan) | mri_y_tfmr_mid_arvn_dsk |
Task fMRI - MID - Anticipated small loss vs. neutral (Desikan) | mri_y_tfmr_mid_aslvn_dsk |
Task fMRI - MID - Anticipated small reward vs. neutral (Desikan) | mri_y_tfmr_mid_asrvn_dsk |
Task fMRI - MID - Loss positive vs. negative feedback (Desikan) | mri_y_tfmr_mid_lpvnf_dsk |
Task fMRI - MID - Reward positive vs. negative feedback (Desikan) | mri_y_tfmr_mid_rpvnf_dsk |
Task fMRI - MID - Anticipated large loss vs. neutral (Destrieux) | mri_y_tfmr_mid_allvn_dst |
Task fMRI - MID - Anticipated large reward vs. neutral (Destrieux) | mri_y_tfmr_mid_alrvn_dst |
Task fMRI - MID - Anticipated loss vs. neutral (Destrieux) | mri_y_tfmr_mid_alvn_dst |
Task fMRI - MID - Anticipated large vs. small loss (Destrieux) | mri_y_tfmr_mid_alvsl_dst |
Task fMRI - MID - Anticipated large vs. small reward (Destrieux) | mri_y_tfmr_mid_alvsr_dst |
Task fMRI - MID - Anticipated reward vs. neutral (Destrieux) | mri_y_tfmr_mid_arvn_dst |
Task fMRI - MID - Anticipated small loss vs. neutral (Destrieux) | mri_y_tfmr_mid_aslvn_dst |
Task fMRI - MID - Anticipated small reward vs. neutral (Destrieux) | mri_y_tfmr_mid_asrvn_dst |
Task fMRI - MID - Loss positive vs. negative feedback (Destrieux) | mri_y_tfmr_mid_lpvnf_dst |
Task fMRI - MID - Reward positive vs. negative feedback (Destrieux) | mri_y_tfmr_mid_rpvnf_dst |
Task fMRI - MID - Anticipated large loss vs. neutral (Subcortical) | mri_y_tfmr_mid_allvn_aseg |
Task fMRI - MID - Anticipated large reward vs. neutral (Subcortical) | mri_y_tfmr_mid_alrvn_aseg |
Task fMRI - MID - Anticipated loss vs. neutral (Subcortical) | mri_y_tfmr_mid_alvn_aseg |
Task fMRI - MID - Anticipated large vs. small loss (Subcortical) | mri_y_tfmr_mid_alvsl_aseg |
Task fMRI - MID - Anticipated large vs. small reward (Subcortical) | mri_y_tfmr_mid_alvsr_aseg |
Task fMRI - MID - Anticipated reward vs. neutral (Subcortical) | mri_y_tfmr_mid_arvn_aseg |
Task fMRI - MID - Anticipated small loss vs. neutral (Subcortical) | mri_y_tfmr_mid_aslvn_aseg |
Task fMRI - MID - Anticipated small reward vs. neutral (Subcortical) | mri_y_tfmr_mid_asrvn_aseg |
Task fMRI - MID - Loss positive vs. negative feedback (Subcortical) | mri_y_tfmr_mid_lpvnf_aseg |
Task fMRI - MID - Reward positive vs. negative feedback (Subcortical) | mri_y_tfmr_mid_rpvnf_aseg |
Stop Signal Task | |
Task fMRI - SST - any stop vs. correct go (Desikan) | mri_y_tfmr_sst_asvcg_dsk |
Task fMRI - SST - correct go vs. fixation (Desikan) | mri_y_tfmr_sst_cgvfx_dsk |
Task fMRI - SST - correct stop vs. correct go (Desikan) | mri_y_tfmr_sst_csvcg_dsk |
Task fMRI - SST - correct stop vs. incorrect stop (Desikan) | mri_y_tfmr_sst_csvis_dsk |
Task fMRI - SST - incorrect go vs. correct go (Desikan) | mri_y_tfmr_sst_igvcg_dsk |
Task fMRI - SST - incorrect go vs. incorrect stop (Desikan) | mri_y_tfmr_sst_igvis_dsk |
Task fMRI - SST - incorrect stop vs. correct go (Desikan) | mri_y_tfmr_sst_isvcg_dsk |
Task fMRI - SST - any stop vs. correct go (Destrieux) | mri_y_tfmr_sst_asvcg_dst |
Task fMRI - SST - correct go vs. fixation (Destrieux) | mri_y_tfmr_sst_cgvfx_dst |
Task fMRI - SST - correct stop vs. correct go (Destrieux) | mri_y_tfmr_sst_csvcg_dst |
Task fMRI - SST - correct stop vs. incorrect stop (Destrieux) | mri_y_tfmr_sst_csvis_dst |
Task fMRI - SST - incorrect go vs. correct go (Destrieux) | mri_y_tfmr_sst_igvcg_dst |
Task fMRI - SST - incorrect go vs. incorrect stop (Destrieux) | mri_y_tfmr_sst_igvis_dst |
Task fMRI - SST - incorrect stop vs. correct go (Destrieux) | mri_y_tfmr_sst_isvcg_dst |
Task fMRI - SST - any stop vs. correct go (Subcortical) | mri_y_tfmr_sst_asvcg_aseg |
Task fMRI - SST - correct go vs. fixation (Subcortical) | mri_y_tfmr_sst_cgvfx_aseg |
Task fMRI - SST - correct stop vs. correct go (Subcortical) | mri_y_tfmr_sst_csvcg_aseg |
Task fMRI - SST - correct stop vs. incorrect stop (Subcortical) | mri_y_tfmr_sst_csvis_aseg |
Task fMRI - SST - incorrect go vs. correct go (Subcortical) | mri_y_tfmr_sst_igvcg_aseg |
Task fMRI - SST - incorrect go vs. incorrect stop (Subcortical) | mri_y_tfmr_sst_igvis_aseg |
Task fMRI - SST - incorrect stop vs. correct go (Subcortical) | mri_y_tfmr_sst_isvcg_aseg |
Emotional N-Back | |
Task fMRI - N-Back - 0-back (Desikan) | mri_y_tfmr_nback_0b_dsk |
Task fMRI - N-Back - 2-back (Desikan) | mri_y_tfmr_nback_2b_dsk |
Task fMRI - N-Back - 2-back vs. 0-back (Desikan) | mri_y_tfmr_nback_2bv0b_dsk |
Task fMRI - N-Back - emotion (Desikan) | mri_y_tfmr_nback_emo_dsk |
Task fMRI - N-Back - emotion vs. neutral face (Desikan) | mri_y_tfmr_nback_emovntf_dsk |
Task fMRI - N-Back - face vs. place (Desikan) | mri_y_tfmr_nback_fvplc_dsk |
Task fMRI - N-Back - negative face vs. neutral face (Desikan) | mri_y_tfmr_nback_ngfvntf_dsk |
Task fMRI - N-Back - place (Desikan) | mri_y_tfmr_nback_plc_dsk |
Task fMRI - N-Back - positive face vs. neutral face (Desikan) | mri_y_tfmr_nback_psfvntf_dsk |
Task fMRI - N-Back - 0-back (Destrieux) | mri_y_tfmr_nback_0b_dst |
Task fMRI - N-Back - 2-back (Destrieux) | mri_y_tfmr_nback_2b_dst |
Task fMRI - N-Back - 2-back vs. 0-back (Destrieux) | mri_y_tfmr_nback_2bv0b_dst |
Task fMRI - N-Back - emotion (Destrieux) | mri_y_tfmr_nback_emo_dst |
Task fMRI - N-Back - emotion vs. neutral face (Destrieux) | mri_y_tfmr_nback_emovntf_dst |
Task fMRI - N-Back - face vs. place (Destrieux) | mri_y_tfmr_nback_fvplc_dst |
Task fMRI - N-Back - negative face vs. neutral face (Destrieux) | mri_y_tfmr_nback_ngfvntf_dst |
Task fMRI - N-Back - place (Destrieux) | mri_y_tfmr_nback_plc_dst |
Task fMRI - N-Back - positive face vs. neutral face (Destrieux) | mri_y_tfmr_nback_psfvntf_dst |
Task fMRI - N-Back - 0-back (Subcortical) | mri_y_tfmr_nback_0b_aseg |
Task fMRI - N-Back - 2-back (Subcortical) | mri_y_tfmr_nback_2b_aseg |
Task fMRI - N-Back - 2-back vs. 0-back (Subcortical) | mri_y_tfmr_nback_2bv0b_aseg |
Task fMRI - N-Back - emotion (Subcortical) | mri_y_tfmr_nback_emo_aseg |
Task fMRI - N-Back - emotion vs. neutral face (Subcortical) | mri_y_tfmr_nback_emovntf_aseg |
Task fMRI - N-Back - face vs. place (Subcortical) | mri_y_tfmr_nback_fvplc_aseg |
Task fMRI - N-Back - negative face vs. neutral face (Subcortical) | mri_y_tfmr_nback_ngfvntf_aseg |
Task fMRI - N-Back - place (Subcortical) | mri_y_tfmr_nback_plc_aseg |
Task fMRI - N-Back - positive face vs. neutral face (Subcortical) | mri_y_tfmr_nback_psfvntf_aseg |
General Information
An overview of the ABCD Study® can be found at abcdstudy.org and detailed descriptions of the assessment protocols are available at ABCD Protocols. This page describes the contents of various instruments available for download. To understand the context of this information, refer to the release notes Start Page and Imaging Overview.
Overview
- Image types
- field maps: spin echo images with opposite phase encode polarity
- multi-frame, gradient echo, echo-planar imaging
- Image processing (common to all fMRI)
- head motion corrected by registering each frame to the first using AFNI’s
3dvolreg
(Cox, 1996) - B0 distortions were corrected using the reversing gradient method with FSL’s
topup
(Andersson et al., 2003, Smith et al., 2004) - displacement field estimated from spin-echo field map scans
- applied to gradient-echo images after adjustment for between-scan head motion
- corrected for gradient nonlinearity distortions (Jovicich, et al., 2006)
- between scan motion correction across all fMRI scans in imaging event
- registration between T2-weighted, spin-echo B0 calibration scans and T1-weighted structural images performed using mutual information (Wells, et al., 1996)
- head motion corrected by registering each frame to the first using AFNI’s
- task-fMRI specific pre-processing—NOTE: not included in “minimal processing” (minproc)
- removal of initial volumes
- Siemens: 8 TRs
- Philips: 8 TRs
- GE DV25: 5 TRs
- GE DV26: 16 TRs
- normalization and demean
- divide by the mean of each voxel, subtract 1, multiply by 100
- removal of initial volumes
- Estimation of task-related activation strength
- general linear model (GLM) using AFNI’s 3dDeconvolve (Cox, 1996)
- nuisance regressors to model baseline, quadratic trend, and motion (Power, et al., 2014)
- motion estimates, derivatives, and squared estimates and derivatives included
- time points with framewise displacement (FD) > 0.9 mm censored (Siegel, et al., 2014)
- hemodynamic response function
- modelled as gamma functions with temporal derivatives, using AFNI’s SPMG model
- for MID and SST models, events modeled as instantaneous
- for n-back, duration of cues (~3 s) and trial blocks (~24 s) modeled as square waves convolved with SPMG
- GLM coefficients and t-statistics sampled onto cortical surface
- projected 1mm into cortical gray matter along surface normal vector
- Monetary Incentive Delay (MID)
- predictors for anticipation of large, small, and no rewards and feedback for large, small, and no rewards for wins and losses
- linear contrasts computed for anticipation of large and small reward vs. no reward, anticipation of large and small loss vs. no reward, feedback of win vs. no reward, and feedback of loss vs. no reward
- Stop Signal Task (SST)
- predictors for successful go trial, failed go trial, successful stop trial, and failed stop trial
- contrasts computed for successful vs. failed stop trials and successful vs. failed go trials
- Emotional n-back (EN-back)
- predictors for each type of stimulus (i.e. place and emotional face) in each of the n-back conditions (i.e., 0-back and 2-back) plus fixation
- linear contrasts computed for 2-back vs. 0-back across stimulus types, emotional faces vs. places across memory loads, 2-back vs. 0-back for each stimulus type, and each memory load and each stimulus type vs. fixation
- Regions of interest (ROIs)
- subcortical structures labeled with atlas-based segmentation (Fischl, et al., 2002)
- cortical regions labeled with the Desikan atlas-based classification (Desikan, et al., 2006)
- cortical regions labeled with the Destrieux atlas-based classification (Destrieux, et al., 2010)
- ROI average coefficients and t-statistics for each run were averaged across two runs, weighted by degrees of freedom
Known Issues: Task fMRI stimulus timing
We have recently become aware of two issues related to task fMRI stimulus timing affecting task fMRI time series modeling at the individual subject level, particularly for imaging sessions on GE scanners. These issues may increase variation in estimates of task-related brain activations and contribute to between-scanner differences.
Issue 1. Small offset in start time of stimuli relative to end of calibration/dummy volumes.
Brief summary
We have discovered a discrepancy in how stimulus times are modeled relative to the end of the calibration/dummy volumes in the image acquisition that affects GE scanners. The issue is related to how the E-prime tasks were programmed for GE scanners that resulted in an unexpected timing offset of 800 msec or less. This will be corrected in ABCD Release 6.0.
Background information
On GE scanners with SoftwareVersion DV25 (used primarily for baseline data collection), the fMRI scan began with 12 single-band calibration scans, followed by 4 additional “dummy” multi-band volumes, for a total of 16 volumes (TR = 800 msec) to be collected prior to the start of the stimuli. The single-band calibration volumes were reconstructed and combined into a single volume, resulting in what should have been 5 initial volumes (1 combined volume plus 4 regular volumes) that are meant to be discarded, allowing for equilibration of the T1 signal prior to stimulus onset. For GE DV26 and later (introduced very close to the end of baseline data collection), the single-band calibration was done as a separate pre-scan, no longer included with the main scan. The main scan then included 16 regular, multi-band, dummy volumes. This was done so that the same E-prime tasks could continue to be used without modification. The synchronization of scanner and stimulus was achieved by the sending and receiving of trigger pulses from the scanner to the stimulus computer. The E-prime experiment is initiated on the stimulus computer, which then waits for trigger pulses from the scanner. The scanner sends a trigger pulse at the first slice of each image volume. The stimulus computer counts the number of trigger pulses received and then starts the stimulus after receiving the expected number of trigger pulses, which was supposed to be at the beginning of the 17th volume (after 16 dummy volumes).
On Siemens and Philips scanners, the single-band calibration is done separately, and 8 dummy volumes are included at the start of the main scan. After the E-prime experiment is initiated on the stimulus computer, a single trigger pulse is sent by the scanner at the start of the first dummy volume, and the stimulus presentation begins after a 6.4 second delay programmed into the E-prime experiment, such that the stimulus presentation starts at the beginning of the 9th volume (after 8 dummy volumes).
In our implementation of the task fMRI analysis pipeline, we used the onset of the first cue event as the reference time for all subsequent stimulus events and assumed that it coincided with the start of the first non-dummy volume. The dummy volumes were removed (5 for GE DV25, 16 for GE DV26 and later, and 8 for Siemens and Philips) prior to time series analysis.
Description of problem
The E-prime experiment versions for use on GE scanners were supposed to have the stimulus events begin at the start of the 17th imaging volume so that 16 dummy volumes (5 for GE DV25) could be discarded. Instead, the stimuli start at the beginning of the 16th volume, coinciding with the 16th trigger pulse. In addition, for the first run of the nBack task only, an extra 500 msec cue fixation period was mistakenly added before the start of the first stimulus. Because of these offsets, the MID and SST task events began 800 msec earlier than modeled, and the nBack task events began either 300 msec (run 1) or 800 msec (run 2) earlier than modeled.
In addition, for all scanner types, the E-prime generated events have slight variability in the precise onset of stimuli relative to the start of non-dummy volume image acquisition, on the order of 10-100 msec. This has to do with the inherent imprecision of the timing of stimulus presentation to a computer-driven display. Because the timing of the first fixation event was used as the reference time for all subsequent events, the slight variability in the onset of that initial fixation translated into slight inaccuracies in the modeled event time series.
Correction in progress
We have modified our code for extracting event timing information from ABCD E-prime files (https://github.com/ABCD-STUDY/abcd_extract_eprime.git). Rather than rely on the first fixation event (e.g., CueFix.OnsetTime) the modified code now uses the timing data from the initial and or final trigger events (e.g., GetReady.RTTime) to determine the reference time that represents the start of the first non-dummy image volume. We also modified the number of initial volumes discarded prior to task fMRI time series analysis for GE scanners, with 4 volumes removed for GE DV26 and 15 volumes removed for GE DV26 and later.
Re-processing of the task fMRI time series analyses is ongoing, and the updated results will be provided in the upcoming ABCD Release 6.0 (scheduled for late summer / early fall of 2024).
Issue 2. Variation in start of stimuli relative to start of image acquisition
Description of problem
In a relatively small, though substantial, subset of task fMRI acquisitions collected on GE scanners, the time between the 1st and 16th trigger pulse sent from the scanner does not match the expected 12 seconds (15 x 800 msec). Ordinarily, the time between trigger pulses is recorded as precisely 800 msec, but in these outlier timing cases, the time between pulses varies.
In some cases, there is a delay of several seconds between two of the pulses, which may indicate that the early trigger pulses came from a prescan or field map acquisition. In other cases, some of the delays between pulses are 1600 msec or 2400 msec (multiples of the 800 msec TR), which suggests missed triggers. Finally, in some cases, the delay between some of the successive pulses may be ~100-140 msec, which may possibly originate from prescan or field map acquisitions or possibly slice-triggering.
Correction in progress
We have modified our task fMRI analysis pipeline to calculate trigger pulse timing discrepancies to identify E-prime runs for which the delay between the first trigger pulse and last recorded trigger pulse does not match the expectation (12 seconds for GE scanners). In cases where the discrepancy was either 0.8, 1.6, or 2.4 seconds (or within 0.01 seconds of those values), indicating missed (undetected) trigger pulses, we adjusted the start time (used as the reference for subsequent events) by subtracting the discrepancy (1356 out of 41,952 runs on GE scanners; 1054 out of 7296 imaging sessions). We further modified the task fMRI analysis pipeline to exclude from processing any other runs that had a start time discrepancy (absolute difference from expectation relative to initial trigger pulse) larger than 0.5 seconds (2481 out of 41,952 runs on GE scanners; 984 out of 7296 imaging sessions), as such cases reflect irregular trigger timing and make it difficult or impossible to be sure when the stimulus run started relative to the imaging scan. For imaging visits with no valid task fMRI runs due to timing discrepancies, no derived results will be produced, and the imaging inclusion flags for the corresponding task will be set to 0.
We also sought to identify runs for which the delay between the start of the run and the onset of the first fixation does not match the expectation (500 msec for 1st nBack run on GE scanners, 0 msec otherwise). Runs with an onset time delay greater than 5 seconds were excluded from processing (6 out of 41,951 runs on GE scanners; 3 out of 7296 imaging sessions). Smaller discrepancies (i.e., up to 5 seconds) were allowed for this type of delay, because they do not not introduce an error in the time series analysis, like an unknown delay between the start of the scan and the start of the run would. Instead, there is merely a shift in the timing of events relative to the start of the run, which can be correctly modeled.
Updated task fMRI results will be provided in the upcoming ABCD Release 6.0 (scheduled for late summer / early fall of 2024).
Caveat
The variation in timing between first and last trigger pulses may be due in part to accidental protocol violations (e.g., starting E-prime experiment prior to field map or prescan). The version of the experiment used on Siemens and Philips scanners, stimulus presentation is initiated by a single trigger pulse at the start of the scan, after a delay of 6.4 seconds. If similar protocol violations were to occur, they would likely go undetected.Additional Notes
Mismatched E-Prime output files and imaging data
The task fMRI behavioral and stimulus timing files, which are exported from the E-Prime stimulus presentation program, have a date and time stamp recording when the stimulus program was started for a particular task run. E-Prime timing is compared to date and time derived from imaging DICOM metadata to identify events with potentially mismatched E-Prime file and imaging data. In some cases, these mismatches are due to clock offsets on stimulus computers relative to the MRI console computer; e.g., on days of transition to and from Daylight Saving Time (DST), or small, fixed differences in clock time. In other cases, imaging sites uploaded E-Prime files for one participant but assigned them to a different pGUID, which can result in very large timing differences. Participant-events with timing mismatches less than 12.5 minutes are identified by these variables:
iqc_mid_ep_t_series_match
(mri_y_qc_raw_tfmr_mid
): MID E-Prime timing matchiqc_nback_ep_t_series_match
(mri_y_qc_raw_tfmr_nback
): N-Back E-Prime timing matchiqc_sst_ep_t_series_match
(mri_y_qc_raw_tfmr_sst
): SST E-Prime timing match
Participant-events for which timing mismatches can be ignored, e.g., DST transitions or persistent clock offsets, are identified by these variables:
eprime_mismatch_ok_mid
(mri_y_qc_raw_tfmr_mid
): MID ignore E-Prime mismatcheprime_mismatch_ok_nback
(mri_y_qc_raw_tfmr_nback
): N-back ignore E-Prime mismatcheprime_mismatch_ok_sst
(mri_y_qc_raw_tfmr_sst
): SST ignore E-Prime mismatch
These variables have been included in the recommended imaging inclusion criteria and the imaging inclusion flags. Refer to the Imaging Overview release note for more details.
Task fMRI results have not been generated for participants with timing mismatches (e.g., iqc_mid_ep_t_series_match = 0
) unless they can be ignored (i.e., eprime_mismatch_ok_mid = 1
). The ABCD DAIRC continues to work with ABCD imaging sites to recover missing or mismatched E-Prime files to enable the inclusion of these participants’ results in future releases.
Irregular acquisitions
In a small percentage of participant-events (< 2%), the number of scans acquired and the number of task runs documented in E-Prime output files differed, leading to potential ambiguity in the assignment of stimulus runs to imaging scan. To prevent matching a stimulus run to the wrong scan and using an incorrect stimulus event time series in the GLM analysis of the imaging data, the task fMRI GLM analysis is currently skipped for participant-events with an irregular acquisition, resulting in missing derived values in the task fMRI tabulated data and missing minimally processed data. Examples of irregular acquisitions creating potential ambiguity include the collection of 3 scans but only 2 stimulus runs, or 1 scan but 2 stimulus runs. This sometimes occurs because a scan was aborted at the participant’s request. The correct mapping between scan and run can sometimes be ascertained with information about all scans collected and which of those were aborted. However, variation and special cases can make it difficult to fashion general rules that work correctly for all. Future efforts will be devoted to testing a more permissive approach allowing analysis in potentially ambiguous cases when appropriate.
In a very small number of participant-events (< 0.1%), the research assistant or scan operator used the wrong scan protocol for the first of two runs; e.g., using the MID scan protocol while using the SST stimulus. Because the length of the scans differs for the different tasks, mismatched scans and tasks are not analyzed. The second scan of the mismatched pair can be correctly analyzed if assigned to the second stimulus run. These situations were identified as having only one scan of a given task that was immediately preceded by a scan of a different task instead of a field map scan.
For approximately 2.0-2.4% of participant-events, only a single imaging scan was available for analysis for one or more tasks, either because only one scan was acquired for that task, one of two scans was aborted during acquisition, or one of two scans failed raw QC. For the SST, if only the second scan was analyzed, these tfMRI data are currently assigned to run1 variables in the tabulated data releases. For the MID and EN-back, if there were errors with run1 scans, neither scan1 or scan2 task fMRI data were analyzed. If there were no issues with the first scan, these data were analyzed. For future releases, modifications to the task fMRI analysis pipeline will enable the analysis of valid run2 data for all three tasks and correct assignment to run2 variables in the tabulated data.
Task fMRI outliers
Some participants exhibit frequent periods of motion, and depending on when supra-threshold head movements (FD>0.9 mm) occur relative to instances of a given event type, some conditions may be under-represented. In rare cases, this results in extreme values for the beta and SEM estimates, as much as several orders of magnitude different from typical values for a given contrast. The presence of extreme outliers violates standard parametric assumptions, so group-level statistical analyses would produce invalid and nonsensical results. To prevent this, we censor the beta and SEM values if they are identified as having extremely high SEM values and therefore low reliability beta estimates (see Hagler et al., 2019). We censor the beta and SEM values for all ROIs for those contrasts that have RMS of SEM values across the cortical surface greater than 5% signal change. This represents less than 0.5% of all participant-task- contrast-run combinations. The censored values are replaced with empty cells in the tabulated data. Despite this censoring, some outlier beta values (defined as being outside the mean ± 3 * standard deviation) remains in the tabulated data. These cases are more likely to have outliers in a limited number of ROIs, and are possibly related to image quality issues not detected in raw or post-processing manual QC.
Users of the task fMRI tabulated data are advised to examine outliers in the data and choose inclusion criteria that are appropriate for their analyses. We have provided a set of recommended inclusion criteria for each modality that take into account factors such as imaging QC, task performance, etc. (see MRI Quality Control & Recommended Image Inclusion Criteria release note), and for convenience, we provide a data structure with modality-specific imaging inclusion flags based on those criteria (mri_y_qc_incl
). We also now provide, as additional documentation, a table listing participant-events with one or more outlier beta values (fMRI_outliers_ABCD4.0.csv
). The columns exclude_nback
, exclude_sst
, and exclude_mid
indicate whether a given participant-event has an excessive number of outliers for a given task.
As mentioned above, contrast-specific exclusion thresholds for beta values in a single ROI were calculated as the mean ± 3*standard deviations of beta values within the sample for that contrast-ROI. The participant-events marked for potential exclusion had 25% or more of their ROIs detected as outliers, which we consider a reasonable compromise between data quality and loss. The percentage of participants having one or more ROIs with large beta-weights (>5) that remain in the sample after applying these outlier exclusion flags is 0.015% for the SST, 0.5% for the MID, and 0.7% for the n-Back. All of these participant-events have only one or two ROIs across all primary contrasts per task (with the majority having only 1) with large beta-weights.
Methods
Image processing and analysis methods corresponding to ABCD Release 2.0.1 are described in Hagler et al., 2019, NeuroImage. Image processing and analysis methods for the Adolescent Brain Cognitive Development Study (doi: 10.1016/j.neuroimage.2019.116091). Changes to image processing and analysis methods in Release 3.0 and Release 4.0 are documented below. No significant changes were made to the processing pipeline for Release 5.0.
Changes for ABCD 3.0
Philips fMRI data
In Release 2.0.1 and earlier, all task and resting-state fMRI data obtained on Phillips scanners were incorrectly processed. The field map direction for these data was mistakenly flipped, which led to increased distortion in processed fMRI images. 1512 participants were affected by this issue, which is 13% of baseline MRI visits. This has been corrected in Release 3.0.
fMRI B0 distortion correction
As for dMRI, the previously used tool for estimation of B0 distortion (Holland, et al., 2010), was replaced with FSL’s TOPUP (FSL v5.0.2.2) (Andersson, et al., 2003), which was found to provide more accurate B0 distortion correction in the presence of head motion between forward and reverse phase-encode polarity scans.
For fMRI, we also found in some cases that residual distortion was due to poor registration between the spin echo field mapping scans used to estimate B0 distortions and the gradient echo fMRI scans. Inaccurate registration in such cases was caused by the use of a brain mask, derived from log transformed intensities of the the spin echo and gradient echo images, that omitted the center of the brain, due to the strong intensity differences related to distance from the coils. We replaced this method for generating a brain mask for use in registration with FSL’s brain extraction tool (bet
, FSL v5.0.2.2), which robustly estimates a brain mask from T1- or T2- weighted images without interior holes. This change corrected the registration between the field map and fMRI scans, resulting in more accurate B0 distortion correction for those scans.
Task fMRI analysis exclusions
For task fMRI analysis, data collected for some participants should be excluded from the individual participant analysis processing to prevent matching task fMRI imaging data to the wrong event time series derived from stimulus and response timing files exported from E-Prime. For example, in some cases, due to human error, E-Prime files associated with a given participant were actually acquired with a different participant at the same imaging site, leading to large inconsistencies in time stamps in the E-Prime files and associated task fMRI imaging data. In other cases, due to irregularities in data acquisition, such as aborted scans and/or additional scans, it can be difficult to determine the correct matching between E-Prime files and tfMRI scans.
In previous releases, participants with significant timing delays were excluded after processing from the tfMRI tabulated data based on a list of pGUID-events with timing mismatches between E-Prime files and tfMRI scans greater than 12.5 minutes. This list was manually edited to remove pGUID-events for whom timing mismatches could be explained; e.g., consistent clock differences between stimulus laptop and scanner console computers. Note that variable timing offsets (e.g., 1-3 minutes) are common and related to imprecision in the recorded SeriesTime in DICOM files. For Release 3.0, the task fMRI analysis software was modified to automatically exclude events from tfMRI analysis processing if there was a timing mismatch greater than 12.5 minutes (i.e., iqc_mid_ep_t_series_match = 0
) unless the timing mismatch had been marked as acceptable (i.e., eprime_mismatch_ok_mid = 1
). Concerning which pGUID-events for which task fMRI results ended up being included in Release 3.0, this was a change in procedure, but generally not outcome.
In previous releases, participants were also excluded from tfMRI analysis processing if the number of valid scans did not match the number of E-Prime runs. For Release 3.0, this was loosened slightly to allow analysis processing in cases with one of two scans being unavailable, either because the other scan was incomplete (i.e., aborted) or failed raw QC. For the SST task, this single scan analysis was allowed whether it was the first or second run; but for MID and nBack tasks, the single scan analysis was allowed only if it was the first run. This difference reflects the interchangeability of the SST runs and a difference between the first and second runs for the MID and nBack tasks. Analysis processing was still skipped for other cases of non- standard acquisitions (e.g., three scans and two available E-Prime runs). An additional change that allowed analysis in some cases not previously allowed applied to multiple pairs of task fMRI scans, sometimes collected on two different imaging study dates (e.g., a repeat acquisition to correct for problems with first attempt). In those cases, the last valid pair of scans corresponding to the same E-Prime file was used for analysis. Another change related to a rare scenario where the first of two runs for a given task was done with the scan protocol for one of the other tasks. In previous releases, those cases would be excluded from analysis processing because the number of scans labeled correctly did not match the number of E-Prime runs. For Release 3.0, in cases where a single scan was preceded by a scan of one of the other task fMRI types, the valid scan would be allowed for analysis as a single run (SST only), matching to the second E-Prime run.
E-Prime file handling and time delay calculation
Minor changes were made to recover task fMRI derived results for a small number of pGUID- events, for example by handling unusual file naming for E-Prime exported files (e.g., duplicate file extension: .txt.txt
) or irregularities within the E-Prime files (e.g., nback experiments terminated before last run completed).
Changes to E-Prime file handling were made related to how the relative time delay variables were calculated, to match each scan to individual runs within a given E-Prime file and to exclude non-ABCD-compliant (i.e., aborted scans) from time-difference calculations, reducing the maximum delay calculated for some participant-event-tasks.
Changes for ABCD 4.0
fMRI registration to T1w
The procedure for registration of T2-weighted images (including fMRI field map scans) to T1- weighted images involves a pre-registration of the T1w image to a T1w atlas, pre-registration of the T2w image to a T2w atlas (co-registered to the T1w atlas), and then fine registration between the T2w and T1w images using mutual information. In rare cases, the pre-registration of the T1w image to the T1w atlas essentially failed, subsequently resulting in a poor registration between the T2w and T1w images. To reduce the likelihood of registration failure, the T1w atlas was edited by applying a brain mask, preventing non-brain regions of the atlas from influencing the registration.
fMRI processing: between-scan registration
Between-scan registration procedures for fMRI were modified to use a more robust method for generating a brain mask from the fMRI images for use in constraining the registration between scans of the same modality. The previous method generated a brain mask by applying a cumulative probability threshold to log transformed intensities. In some cases with strong intensity differences related to distance from the coils, the center of the brain was omitted from the mask, resulting in inaccurate between-scan registration in those cases. We replaced this method with the use of FSL’s brain extraction tool (bet
, FSL v5.0.2.2), which robustly estimates a brain mask from T1- or T2-weighted images without interior holes. This change generally had very little effect for most participant-events, but prevented bad registration between scans in those rare cases with brain masks that omitted a large portion of the center of the brain. See also above, fMRI registration to T1w.
fMRI processing: field map slice prescription mismatches
In some scanning sessions, participants need to exit and return to the scanner midway through the scan session, leading to differences in the exact slice prescription for scans of the same type. Specifically for the estimation of B0 distortion fields from forward and reverse phase- encode polarity “field map” scans, such differences in slice prescription invalidate assumptions underlying the basic estimation approach. Differences in the slice prescription can also be associated with differences in head position that may lead to differences in the B0 distortion field, again invalidating assumptions and potentially leading to grossly inaccurate B0 distortion corrections. To avoid these potential problems in past versions of the processing pipeline, processing was aborted for those cases where there was a mismatch in the voxel to scanner space transformation (vox2ras
) between the forward and reverse field map scans.
In the current processing pipeline, we have relaxed this requirement, allowing the estimation of B0 distortion fields to proceed despite relatively large slice position offset differences (< 10 mm) of the slice prescription. This is made possible by the use of FSL’s topup, which corrects for head motion between the forward and reverse scans when estimating the B0 distortion field.
Differences in voxel dimensions between forward and reverse scans are still not allowed in the current processing pipeline. A further modification was to pre-select the pairs of forward and reverse field map scans in a scan session with matching voxel dimensions and minimal slice position offsets. This prevents unnecessary processing failures in rare cases in which there were multiple scans with varying slice prescriptions and/or voxel dimensions.
fMRI processing: between scan registration
Between scan registration for fMRI (using AFNI’s 3dvolreg
) sometimes failed (i.e., produced grossly inaccurate registrations) in cases with large differences in the slice position offset relative to scanner coordinates, e.g., due to exiting and re-entering the scanner midway through the scan session. This problem was corrected by replacing the voxel to scanner coordinate transformation (vox2ras
matrix) for a given scan with that of the registration target volume if the difference in slice position offset was greater than 1 mm, as long as there was no rotation of the slice plane. In rare cases with such rotations, the input image was resampled before registration to remove rotations as well as the nominal offset. See also above, fMRI processing: between-scan registration, fMRI processing: field map slice prescription mismatches, and fMRI registration to T1w.
fMRI processing: within-scan motion correction
The procedure for motion correction of fMRI data was modified to use the mean image as the registration target rather than the first frame of each series. The mean image was calculated by averaging over all time points, excluding the initial 16 frames. This change generally had minimal effect on the quality of registration (as assessed by within-series temporal SNR), but was done to avoid poor registration for series with poor image quality in the first frame.
Task fMRI scan to E-Prime file matching and time delay calculation
The task fMRI behavioral and stimulus timing files, which are exported from the E-Prime stimulus presentation program, have a date and time stamp recording when the stimulus program was started for a particular task run. E-Prime timing is compared to date and time derived from imaging DICOM metadata to identify events with potentially mismatched E-Prime file and imaging data (e.g., iqc_mid_ep_t_series_match
). The method for matching tfMRI series to E-Prime files was changed, affecting the calculation of relative time delays between DICOM- derived SeriesTime and E-Prime file-derived time stamps. Previously, each scan was matched to the E-Prime file with minimum relative time delay; i.e., if there were multiple attempted scans. In cases with a small but significant apparent time delay (e.g., 4 minutes), E-Prime files from multiple attempted runs may have similar absolute delays as each other (e.g., -4 minutes and +3 minutes), resulting in ambiguity. To disambiguate such cases, we now match each scan to the individual runs in the E-Prime file and attempt to find a time delay that is more or less constant across runs and tasks in a given scan session, while matching consecutive scans to consecutive runs (rather than allowing one E-Prime run to be match ambiguously to more than one scan). This has the end result of a reduction in the maximum delay calculated for some pGUID-event-tasks and more confident matching of E-Prime runs to each scan.
Task fMRI analysis exclusions
For most participant-events with task fMRI data, the standard acquisition protocol was followed, with two scans for each task and one stimulus and response timing file (exported from E-Prime) containing timing information for two runs. However, in some cases, the standard protocol was not followed, potentially introducing ambiguity in how to correctly match tfMRI scans to their corresponding E-Prime behavioral run. For example, participants sometimes ask to stop a scan early; e.g., too tired, bathroom break. This results in either a single usable scan and two E-Prime runs, or multiple scans and one or more runs in multiple E-Prime files. More scans and/or runs than the standard acquisition can also be related to reacquisition following technical problems, e.g., non-functioning trigger or unrecorded responses. In a very small number of participant- events (< 0.1%), the wrong scan protocol was used for the first run of a given stimulus; e.g., using the MID scan protocol while using the SST stimulus. A final source of uncertainty and ambiguity comes from the possibility that, due to human error with initial data upload, the E-Prime files associated with a given participant were sometimes actually acquired with a different participant-event at the same imaging site, leading to large inconsistencies in time stamps in the E-Prime files and associated task fMRI imaging data.
In ABCD Release 1 and 2, to avoid pairing the wrong stimulus run with the wrong scan, tfMRI analysis processing was only allowed in cases with the standard acquisition of two scans and two behavioral runs from a single E-Prime file or one scan and one behavioral run. Results were also excluded if there was an unexplained timing mismatch; i.e., the difference between SeriesTime extracted from DICOM header and E-Prime session time was greater than 12.5 minutes. Such exclusions would have resulted in missing derived values in the task fMRI tabulated data and missing minimally processed data for those participant-event-tasks.
In ABCD Release 3.0, small changes were made to the rules guiding which data were analyzed, allowing for some additional irregular acquisitions under limited circumstances. For example, in cases with multiple pairs of tfMRI scans, sometimes collected on two different dates, the last valid pair of scans corresponding to the same E-Prime file was used for analysis. Also, single scans corresponding to the second behavioral run (e.g., because of an aborted scan, failed QC, or wrong scan protocol for first run) were allowed for analysis for SST, though not MID or nBack,
because of the interchangeability of the SST runs and differences between the first and second runs for the MID and nBack tasks. Data with a timing mismatch greater than 12.5 minutes (e.g., iqc_mid_ep_t_series_match = 0
) were again excluded, unless the timing mismatch had been marked as acceptable (e.g., eprime_mismatch_ok_mid = 1
).
For Release 4.0, the rules for skipping the analysis of task fMRI data were again updated slightly to broaden the circumstances under which the analysis processing would be run for irregular acquisitions. The changes relied on more precise matching of scans to individual behavioral runs (see Task fMRI scan to E-Prime file matching and time delay calculation) and a check for consistency of timing delays across runs and tasks in a given scan session. In cases with two or more scans, individual scans were first excluded if the timing delay was greater than 12.5 minutes different from the median delay. For cases with multiple pairs of tfMRI scans, the last valid pair of scans corresponding to the same E-Prime file or the last complete scan from the last day of scanning was used for analysis. Handling of run numbers in irregular acquisitions was changed for some cases; cases with two valid scans and two runs from separate E-Prime files are now allowed for analysis. Also now allowed for each task are single scans corresponding to the second behavioral run (e.g., because of an aborted scan, failed QC, or wrong scan protocol for first run), with results now correctly assigned to the run 2 variables. In the case of two runs 1, this was allowed for SST, but not for MID and nBack, for which only the first singleton run was used. Analysis processing was allowed if the minimum delay for the selected scans was less than 12.5, or if there were multiple scans in the scanning session and the range of timing delays for those scans (including scans for other tasks) was less than 4 minutes, or if the timing mismatch had been marked as acceptable (e.g., eprime_mismatch_ok_mid = 1
). Analysis was not allowed for cases with absolute timing delays greater than 720 minutes, regardless of the range of timing delays across runs and tasks. For those participant-event-tasks that had been allowed for analysis despite timing delays greater than 12.5 minutes, the eprime_mismatch_ok_mid
, eprime_mismatch_ok_nback
, and eprime_mismatch_ok_sst
variables were set to 1 so that they would pass the inclusion criteria (see MRI Quality Control & Recommended Image Inclusion Criteria).