I’m hoping to get some feedback on my AFNI fMRI analysis pipeline and confirm whether I’m approaching this correctly.
I’ve been troubleshooting this for the past 5 months because I’m seeing more bilateral activation in several patients who had previously been scanned, compared with their earlier analyses. I’ve spent quite a bit of time trying to identify what could be causing this difference.
I’ve attached my current pipeline/script for review. Could someone please take a look and let me know if there are any issues with the preprocessing, registration, timing, or GLM steps that could potentially contribute to increased bilateral activation?
I would especially appreciate feedback on whether the overall pipeline is appropriate for this type of task-based fMRI analysis and whether there are any steps I should modify or verify. FMRI analysis - Google Docs
By briefly looking at the code there, it looks like most steps are geared around per-subject FMRI analysis, from skullstripping an anatomical to various alignments, slice time adjustment, motion adjustment, and regression modeling. That is precisedly the set of items we would recommend for managing with afni_proc.py, with functionality described here:
Reynolds RC, Glen DR, Chen G, Saad ZS, Cox RW, Taylor PA (2024). Processing, evaluating and understanding FMRI data with afni_proc.py. Imaging Neuroscience 2:1-52. https://doi.org/10.1162/imag_a_00347
We would strongly recommend going that route, rather than trying to manage the programming details yourself. This will be much more extensible and easily shareable, as you manage the major processing steps and add in details. Indeed, it looks like you have perhaps followed some steps/options that afni_proc.py would provide? While that is positive, running afni_proc.py should be far more convenient, and also provide a quality control HTML to help you guide your checks, as described here:
I’ve been troubleshooting this for the past 5 months because I’m seeing more bilateral activation in several patients who had previously been scanned, compared with their earlier analyses. I’ve spent quite a bit of time trying to identify what could be causing this difference.
Just to clarify: are you re-analyzing the same dataset with an updated pipeline, or are these newly acquired scans being compared against an older dataset?
Assuming it’s the same dataset with a revised pipeline:
Pipeline changes: What specific steps or parameters changed between the old and new pipelines (e.g., spatial smoothing/FWHM, alignment cost functions, non-linear warp to template, motion adjustment, modeling strategy)?
Nature of bilateral activation: Is the increased bilateral activation driven by higher BOLD response magnitude (beta/percent signal change), stronger statistical evidence (t-values), or spatial spread due to smoothing/resampling?
Task design: Could you share a few details about the experimental setup (e.g., task conditions, trial duration, number of repetitions, block vs. event-related)?
The new analysis is from newly acquired scans on the United Imaging 3T PET/MRI scanner, while the older scans were acquired on a Philips 3T scanner. same subjects diff time point same tasks .
We noticed the increased bilaterality through the laterality index, with differences in both BOLD response strength and the laterality index.
The task is a block-design paradigm with 20-second ON blocks, preceded by a 14-second OFF period.
You can use our new tool, asymm_report.csh for analysis of the volumes and surface areas over all left and right ROIs. Here's an example for extracting left and right regions for an asymmetry analysis with the MCA marmoset cerebellum atlas.
The
National Institute of Mental Health (NIMH) is part of the National Institutes of
Health (NIH), a component of the U.S. Department of Health and Human
Services.