AFNI Preprocessing & Group Analysis#
Author: Monika Doerig
Date: May 1 2025
License:
Note: If this notebook uses neuroimaging tools from Neurocontainers, those tools retain their original licenses. Please see Neurodesk citation guidelines for details.
Citation:#
Tools included in this workflow#
AFNI
Cox RW (1996). AFNI: software for analysis and visualization of functional magnetic resonance neuroimages. Comput Biomed Res 29(3):162-173. doi:10.1006/cbmr.1996.0014
RW Cox, JS Hyde (1997). Software tools for analysis and visualization of FMRI Data. NMR in Biomedicine, 10: 171-178., https://pubmed.ncbi.nlm.nih.gov/9430344/
Workflows this work is based on#
Educational resources#
Andy’s Brain Book:
This AFNI example is based on the AFNI Tutorial: Statistics and Modeling from Andy’s Brain Book (Jahn, 2022. doi:10.5281/zenodo.5879293)
Dataset#
Flanker Dataset from OpenNeuro:
Kelly AMC and Uddin LQ and Biswal BB and Castellanos FX and Milham MP (2018). Flanker task (event-related). OpenNeuro Dataset ds000102. [Dataset] doi: null
Kelly AM, Uddin LQ, Biswal BB, Castellanos FX, Milham MP. Competition between functional brain networks mediates behavioral variability. Neuroimage. 2008 Jan 1;39(1):527-37. doi: 10.1016/j.neuroimage.2007.08.008. Epub 2007 Aug 23. PMID: 17919929.
Mennes, M., Kelly, C., Zuo, X.N., Di Martino, A., Biswal, B.B., Castellanos, F.X., Milham, M.P. (2010). Inter-individual differences in resting-state functional connectivity predict task-induced BOLD activity. Neuroimage, 50(4):1690-701. doi: 10.1016/j.neuroimage.2010.01.002. Epub 2010 Jan 15. Erratum in: Neuroimage. 2011 Mar 1;55(1):434
Mennes, M., Zuo, X.N., Kelly, C., Di Martino, A., Zang, Y.F., Biswal, B., Castellanos, F.X., Milham, M.P. (2011). Linking inter-individual differences in neural activation and behavior to intrinsic brain dynamics. Neuroimage, 54(4):2950-9. doi: 10.1016/j.neuroimage.2010.10.046ed in your example
Load packages#
import module
await module.load('afni/25.2.03')
await module.list()
['afni/25.2.03']
Import Python Modules#
%%capture
! pip install nibabel numpy nilearn==0.13.1 scipy
import os
from glob import glob
import subprocess
import nibabel as nib
import numpy as np
import matplotlib.pyplot as plt
from nilearn import image, plotting
from ipyniivue import NiiVue
from IPython.display import display, Markdown, Image
from scipy.stats import ttest_1samp
from concurrent.futures import ThreadPoolExecutor, ProcessPoolExecutor, as_completed
from tqdm.notebook import tqdm
1. Download Data#
# 9 subjects from the Flanker Dataset
#PATTERN = "sub-0*"
# 3 subjects from the Flanker Dataset for runtime reasons
PATTERN = "sub-0[1-3]"
!datalad install https://github.com/OpenNeuroDatasets/ds000102.git
!cd ds000102 && datalad get $PATTERN
action summary:
get (notneeded: 3)
The data is structured in BIDS format:
!tree -L 4 ds000102
ds000102
├── CHANGES
├── README
├── T1w.json
├── dataset_description.json
├── derivatives
│ └── mriqc
│ ├── aMRIQC.csv -> ../../.git/annex/objects/Q4/jv/MD5E-s14180--3addf0456b803b7c5ec5147481ecdd62.csv/MD5E-s14180--3addf0456b803b7c5ec5147481ecdd62.csv
│ ├── anatomical_group.pdf -> ../../.git/annex/objects/6m/q9/MD5E-s98927--d11151f65ae061833e7fd4373adfec3f.pdf/MD5E-s98927--d11151f65ae061833e7fd4373adfec3f.pdf
│ ├── anatomical_sub-01.pdf -> ../../.git/annex/objects/K3/7x/MD5E-s2747349--5d40f2a54fb4194ac4a79f0295ff51c0.pdf/MD5E-s2747349--5d40f2a54fb4194ac4a79f0295ff51c0.pdf
│ ├── anatomical_sub-02.pdf -> ../../.git/annex/objects/Kx/Kv/MD5E-s2803965--56f6b768362bd9b7f0ef501b8cb6dde6.pdf/MD5E-s2803965--56f6b768362bd9b7f0ef501b8cb6dde6.pdf
│ ├── anatomical_sub-03.pdf -> ../../.git/annex/objects/kx/g5/MD5E-s2809843--e90d7a4859ed4be986b55e23f93ca89d.pdf/MD5E-s2809843--e90d7a4859ed4be986b55e23f93ca89d.pdf
│ ├── anatomical_sub-04.pdf -> ../../.git/annex/objects/JK/Zm/MD5E-s2846770--4869146771178dbb01ac79b95b35a8a1.pdf/MD5E-s2846770--4869146771178dbb01ac79b95b35a8a1.pdf
│ ├── anatomical_sub-05.pdf -> ../../.git/annex/objects/zm/FG/MD5E-s2824086--fda634d34556c83005a5eb2ca8c498dd.pdf/MD5E-s2824086--fda634d34556c83005a5eb2ca8c498dd.pdf
│ ├── anatomical_sub-06.pdf -> ../../.git/annex/objects/92/q0/MD5E-s2798058--fdddf0aff1eca8f61ed7c8b04ada9735.pdf/MD5E-s2798058--fdddf0aff1eca8f61ed7c8b04ada9735.pdf
│ ├── anatomical_sub-07.pdf -> ../../.git/annex/objects/39/3K/MD5E-s2795270--29ce2e2352596df940e5f3fae45b5a38.pdf/MD5E-s2795270--29ce2e2352596df940e5f3fae45b5a38.pdf
│ ├── anatomical_sub-08.pdf -> ../../.git/annex/objects/Fx/F4/MD5E-s2727492--b55dad8ffe22fc035110ecf4119d2960.pdf/MD5E-s2727492--b55dad8ffe22fc035110ecf4119d2960.pdf
│ ├── anatomical_sub-09.pdf -> ../../.git/annex/objects/4M/pz/MD5E-s2887144--28ea830af2a4d741147d18ea9c7fda84.pdf/MD5E-s2887144--28ea830af2a4d741147d18ea9c7fda84.pdf
│ ├── anatomical_sub-10.pdf -> ../../.git/annex/objects/0z/Vw/MD5E-s2874045--6542a57a9fc58f97f2a03c2384663c62.pdf/MD5E-s2874045--6542a57a9fc58f97f2a03c2384663c62.pdf
│ ├── anatomical_sub-11.pdf -> ../../.git/annex/objects/wm/76/MD5E-s2781221--1071b83e3c1b4532879521c37c3329da.pdf/MD5E-s2781221--1071b83e3c1b4532879521c37c3329da.pdf
│ ├── anatomical_sub-12.pdf -> ../../.git/annex/objects/GF/19/MD5E-s2817233--bfd24ca3274fa5efd654e2afd927f9ef.pdf/MD5E-s2817233--bfd24ca3274fa5efd654e2afd927f9ef.pdf
│ ├── anatomical_sub-13.pdf -> ../../.git/annex/objects/9Q/X2/MD5E-s2796088--ed299ab7e1662cb03aa01299eed2602b.pdf/MD5E-s2796088--ed299ab7e1662cb03aa01299eed2602b.pdf
│ ├── anatomical_sub-14.pdf -> ../../.git/annex/objects/Wg/55/MD5E-s2558074--cadc9bd81856dcd02677de84e7e6ca90.pdf/MD5E-s2558074--cadc9bd81856dcd02677de84e7e6ca90.pdf
│ ├── anatomical_sub-15.pdf -> ../../.git/annex/objects/43/Q3/MD5E-s2847293--0c678a4b309d055ad9ba4ba25b77351b.pdf/MD5E-s2847293--0c678a4b309d055ad9ba4ba25b77351b.pdf
│ ├── anatomical_sub-16.pdf -> ../../.git/annex/objects/xq/qj/MD5E-s2890454--87c62253c1711f30d53c41b3ac38dc66.pdf/MD5E-s2890454--87c62253c1711f30d53c41b3ac38dc66.pdf
│ ├── anatomical_sub-17.pdf -> ../../.git/annex/objects/zK/M1/MD5E-s2825765--0a91015e22836a3076641b963e1ccfc6.pdf/MD5E-s2825765--0a91015e22836a3076641b963e1ccfc6.pdf
│ ├── anatomical_sub-18.pdf -> ../../.git/annex/objects/w2/Vk/MD5E-s2821624--1d9a3f0b21ce1f9a3b490d44d36f1f11.pdf/MD5E-s2821624--1d9a3f0b21ce1f9a3b490d44d36f1f11.pdf
│ ├── anatomical_sub-19.pdf -> ../../.git/annex/objects/J2/Jq/MD5E-s2453814--533411f3353cb3fa0264485e81f3fcf6.pdf/MD5E-s2453814--533411f3353cb3fa0264485e81f3fcf6.pdf
│ ├── anatomical_sub-20.pdf -> ../../.git/annex/objects/MF/9X/MD5E-s2881144--176c560778c55db87e8468b3246d373c.pdf/MD5E-s2881144--176c560778c55db87e8468b3246d373c.pdf
│ ├── anatomical_sub-21.pdf -> ../../.git/annex/objects/XQ/p1/MD5E-s2330589--b7546dfe5fb43a974cd23111b860c493.pdf/MD5E-s2330589--b7546dfe5fb43a974cd23111b860c493.pdf
│ ├── anatomical_sub-22.pdf -> ../../.git/annex/objects/Fx/k8/MD5E-s2505165--55f0661ad209b742c517cc5b5469436a.pdf/MD5E-s2505165--55f0661ad209b742c517cc5b5469436a.pdf
│ ├── anatomical_sub-23.pdf -> ../../.git/annex/objects/qj/8K/MD5E-s2784018--7e8697a7d4601547a899a27af132166d.pdf/MD5E-s2784018--7e8697a7d4601547a899a27af132166d.pdf
│ ├── anatomical_sub-24.pdf -> ../../.git/annex/objects/G8/Kw/MD5E-s2828817--e86be931adef2a7b0297d557d827d629.pdf/MD5E-s2828817--e86be931adef2a7b0297d557d827d629.pdf
│ ├── anatomical_sub-25.pdf -> ../../.git/annex/objects/XG/kg/MD5E-s2447908--3d392b9d27929dc4146d2b47be16e8dc.pdf/MD5E-s2447908--3d392b9d27929dc4146d2b47be16e8dc.pdf
│ ├── anatomical_sub-26.pdf -> ../../.git/annex/objects/8P/42/MD5E-s2850007--6d2f87a305b30d5704aaf4be9b8ff1e6.pdf/MD5E-s2850007--6d2f87a305b30d5704aaf4be9b8ff1e6.pdf
│ ├── fMRIQC.csv -> ../../.git/annex/objects/2Z/Ff/MD5E-s21038--cbe73db3db1beb0a1977583cff2a724b.csv/MD5E-s21038--cbe73db3db1beb0a1977583cff2a724b.csv
│ ├── functional_group.pdf -> ../../.git/annex/objects/Kq/xg/MD5E-s90712--7058c3db328fecb86303bc27a9ef0110.pdf/MD5E-s90712--7058c3db328fecb86303bc27a9ef0110.pdf
│ ├── functional_sub-01.pdf -> ../../.git/annex/objects/k2/vQ/MD5E-s1157925--e055f942b72b9aabad7a5e3d7b25b201.pdf/MD5E-s1157925--e055f942b72b9aabad7a5e3d7b25b201.pdf
│ ├── functional_sub-02.pdf -> ../../.git/annex/objects/X3/X6/MD5E-s1235840--cb32b7f8f1274af250b4f0fc15dacecb.pdf/MD5E-s1235840--cb32b7f8f1274af250b4f0fc15dacecb.pdf
│ ├── functional_sub-03.pdf -> ../../.git/annex/objects/Vp/0x/MD5E-s1228507--73ab1cc4cb27712892fcb10a0853ba7c.pdf/MD5E-s1228507--73ab1cc4cb27712892fcb10a0853ba7c.pdf
│ ├── functional_sub-04.pdf -> ../../.git/annex/objects/xk/jz/MD5E-s1252659--8ae6d1b02767c1ddb72dd7e6afefe696.pdf/MD5E-s1252659--8ae6d1b02767c1ddb72dd7e6afefe696.pdf
│ ├── functional_sub-05.pdf -> ../../.git/annex/objects/Zm/VJ/MD5E-s1258815--dd043691d548a501dd63d1aaf420e43c.pdf/MD5E-s1258815--dd043691d548a501dd63d1aaf420e43c.pdf
│ ├── functional_sub-06.pdf -> ../../.git/annex/objects/M5/gq/MD5E-s1247345--9c06bc69792b812ab8deffb01c6656c2.pdf/MD5E-s1247345--9c06bc69792b812ab8deffb01c6656c2.pdf
│ ├── functional_sub-07.pdf -> ../../.git/annex/objects/25/35/MD5E-s1229731--99cc64e99df0025ccb0341cd0dcf688b.pdf/MD5E-s1229731--99cc64e99df0025ccb0341cd0dcf688b.pdf
│ ├── functional_sub-08.pdf -> ../../.git/annex/objects/MX/vQ/MD5E-s1222308--e13c56f17109d3f142c9c4db60fea674.pdf/MD5E-s1222308--e13c56f17109d3f142c9c4db60fea674.pdf
│ ├── functional_sub-09.pdf -> ../../.git/annex/objects/90/0F/MD5E-s1265097--41a69211a0569413917ce3825eac95d6.pdf/MD5E-s1265097--41a69211a0569413917ce3825eac95d6.pdf
│ ├── functional_sub-10.pdf -> ../../.git/annex/objects/FZ/gq/MD5E-s1299358--12ccfc4a5f52b077b99481fe25aa8ef1.pdf/MD5E-s1299358--12ccfc4a5f52b077b99481fe25aa8ef1.pdf
│ ├── functional_sub-11.pdf -> ../../.git/annex/objects/MJ/mQ/MD5E-s1166014--3465ef6b18514d3cd361c0bffe2b73fc.pdf/MD5E-s1166014--3465ef6b18514d3cd361c0bffe2b73fc.pdf
│ ├── functional_sub-12.pdf -> ../../.git/annex/objects/xp/1f/MD5E-s1177325--6fe4937d5aa567fb5b3c3977362fc9af.pdf/MD5E-s1177325--6fe4937d5aa567fb5b3c3977362fc9af.pdf
│ ├── functional_sub-13.pdf -> ../../.git/annex/objects/4g/vW/MD5E-s1178873--96f341322d21e2bdeb709edc5b047df0.pdf/MD5E-s1178873--96f341322d21e2bdeb709edc5b047df0.pdf
│ ├── functional_sub-14.pdf -> ../../.git/annex/objects/5p/6X/MD5E-s1206987--729f64cf514c9103556c53ccb5430bc4.pdf/MD5E-s1206987--729f64cf514c9103556c53ccb5430bc4.pdf
│ ├── functional_sub-15.pdf -> ../../.git/annex/objects/m1/k9/MD5E-s1223617--9239a1c2d968ed18093b69d28fd9e654.pdf/MD5E-s1223617--9239a1c2d968ed18093b69d28fd9e654.pdf
│ ├── functional_sub-16.pdf -> ../../.git/annex/objects/jq/wP/MD5E-s1294856--5eb7ec97924a22c7e68fd95373694e7e.pdf/MD5E-s1294856--5eb7ec97924a22c7e68fd95373694e7e.pdf
│ ├── functional_sub-17.pdf -> ../../.git/annex/objects/0m/3Q/MD5E-s1238563--129db424a50b7889278024828c08c736.pdf/MD5E-s1238563--129db424a50b7889278024828c08c736.pdf
│ ├── functional_sub-18.pdf -> ../../.git/annex/objects/VF/Fm/MD5E-s1197868--3b23e8d53b11d98d49b1adf62ff559df.pdf/MD5E-s1197868--3b23e8d53b11d98d49b1adf62ff559df.pdf
│ ├── functional_sub-19.pdf -> ../../.git/annex/objects/Jj/m8/MD5E-s1164028--aea7dfa78e9be2e83a9b313f2ebdc4bd.pdf/MD5E-s1164028--aea7dfa78e9be2e83a9b313f2ebdc4bd.pdf
│ ├── functional_sub-20.pdf -> ../../.git/annex/objects/x1/ZQ/MD5E-s1292308--8869b1b640797a2be2aa03be69b89840.pdf/MD5E-s1292308--8869b1b640797a2be2aa03be69b89840.pdf
│ ├── functional_sub-21.pdf -> ../../.git/annex/objects/MG/zW/MD5E-s1216271--3d5c5ca0f8f4ba06b3289e197a40defd.pdf/MD5E-s1216271--3d5c5ca0f8f4ba06b3289e197a40defd.pdf
│ ├── functional_sub-22.pdf -> ../../.git/annex/objects/5m/pj/MD5E-s1142289--4f9e57d8bfe3d39881c43b959189d69f.pdf/MD5E-s1142289--4f9e57d8bfe3d39881c43b959189d69f.pdf
│ ├── functional_sub-23.pdf -> ../../.git/annex/objects/m7/Z2/MD5E-s1233046--7758914aecbf2b5d01cd0825952609be.pdf/MD5E-s1233046--7758914aecbf2b5d01cd0825952609be.pdf
│ ├── functional_sub-24.pdf -> ../../.git/annex/objects/mz/5m/MD5E-s1265224--c188bd88fc1c99308389f528ea4df71e.pdf/MD5E-s1265224--c188bd88fc1c99308389f528ea4df71e.pdf
│ ├── functional_sub-25.pdf -> ../../.git/annex/objects/Mk/G6/MD5E-s1260984--1b16abcbbf55ccc7763f1d704d76628f.pdf/MD5E-s1260984--1b16abcbbf55ccc7763f1d704d76628f.pdf
│ └── functional_sub-26.pdf -> ../../.git/annex/objects/1m/zq/MD5E-s1285726--6838f727d5c4b5593a7b5e0e6b20483a.pdf/MD5E-s1285726--6838f727d5c4b5593a7b5e0e6b20483a.pdf
├── make_Timings.sh
├── participants.tsv
├── sub-01
│ ├── anat
│ │ └── sub-01_T1w.nii.gz -> ../../.git/annex/objects/Pf/6k/MD5E-s10581116--757e697a01eeea5c97a7d6fbc7153373.nii.gz/MD5E-s10581116--757e697a01eeea5c97a7d6fbc7153373.nii.gz
│ └── func
│ ├── congruent.1D
│ ├── congruent_run1.txt
│ ├── congruent_run2.txt
│ ├── incongruent.1D
│ ├── incongruent_run1.txt
│ ├── incongruent_run2.txt
│ ├── sub-01_task-flanker_run-1_bold.nii.gz -> ../../.git/annex/objects/5m/w9/MD5E-s28061534--8e8c44ff53f9b5d46f2caae5916fa4ef.nii.gz/MD5E-s28061534--8e8c44ff53f9b5d46f2caae5916fa4ef.nii.gz
│ ├── sub-01_task-flanker_run-1_events.tsv
│ ├── sub-01_task-flanker_run-2_bold.nii.gz -> ../../.git/annex/objects/2F/58/MD5E-s28143286--f0bcf782c3688e2cf7149b4665949484.nii.gz/MD5E-s28143286--f0bcf782c3688e2cf7149b4665949484.nii.gz
│ └── sub-01_task-flanker_run-2_events.tsv
├── sub-02
│ ├── anat
│ │ └── sub-02_T1w.nii.gz -> ../../.git/annex/objects/3m/FF/MD5E-s10737123--cbd4181ee26559e8ec0a441fa2f834a7.nii.gz/MD5E-s10737123--cbd4181ee26559e8ec0a441fa2f834a7.nii.gz
│ └── func
│ ├── congruent.1D
│ ├── congruent_run1.txt
│ ├── congruent_run2.txt
│ ├── incongruent.1D
│ ├── incongruent_run1.txt
│ ├── incongruent_run2.txt
│ ├── sub-02_task-flanker_run-1_bold.nii.gz -> ../../.git/annex/objects/8v/2j/MD5E-s29188378--80050f0deb13562c24f2fc23f8d095bd.nii.gz/MD5E-s29188378--80050f0deb13562c24f2fc23f8d095bd.nii.gz
│ ├── sub-02_task-flanker_run-1_events.tsv
│ ├── sub-02_task-flanker_run-2_bold.nii.gz -> ../../.git/annex/objects/fM/Kw/MD5E-s29193540--cc013f2d7d148b448edca8aada349d02.nii.gz/MD5E-s29193540--cc013f2d7d148b448edca8aada349d02.nii.gz
│ └── sub-02_task-flanker_run-2_events.tsv
├── sub-03
│ ├── anat
│ │ └── sub-03_T1w.nii.gz -> ../../.git/annex/objects/7W/9z/MD5E-s10707026--8f1858934cc7c7457e3a4a71cc2131fc.nii.gz/MD5E-s10707026--8f1858934cc7c7457e3a4a71cc2131fc.nii.gz
│ └── func
│ ├── congruent.1D
│ ├── congruent_run1.txt
│ ├── congruent_run2.txt
│ ├── incongruent.1D
│ ├── incongruent_run1.txt
│ ├── incongruent_run2.txt
│ ├── sub-03_task-flanker_run-1_bold.nii.gz -> ../../.git/annex/objects/q6/kF/MD5E-s28755729--b19466702eee6b9385bd6e19e362f94c.nii.gz/MD5E-s28755729--b19466702eee6b9385bd6e19e362f94c.nii.gz
│ ├── sub-03_task-flanker_run-1_events.tsv
│ ├── sub-03_task-flanker_run-2_bold.nii.gz -> ../../.git/annex/objects/zV/K1/MD5E-s28782544--8d9700a435d08c90f0c1d534efdc8b69.nii.gz/MD5E-s28782544--8d9700a435d08c90f0c1d534efdc8b69.nii.gz
│ └── sub-03_task-flanker_run-2_events.tsv
├── sub-04
│ ├── anat
│ │ └── sub-04_T1w.nii.gz -> ../../.git/annex/objects/FW/14/MD5E-s10738444--2a9a2ba4ea7d2324c84bf5a2882f196c.nii.gz/MD5E-s10738444--2a9a2ba4ea7d2324c84bf5a2882f196c.nii.gz
│ └── func
│ ├── congruent.1D
│ ├── congruent_run1.txt
│ ├── congruent_run2.txt
│ ├── incongruent.1D
│ ├── incongruent_run1.txt
│ ├── incongruent_run2.txt
│ ├── sub-04_task-flanker_run-1_bold.nii.gz -> ../../.git/annex/objects/9Z/0Q/MD5E-s29062799--27171406951ea275cb5857ea0dc32345.nii.gz/MD5E-s29062799--27171406951ea275cb5857ea0dc32345.nii.gz
│ ├── sub-04_task-flanker_run-1_events.tsv
│ ├── sub-04_task-flanker_run-2_bold.nii.gz -> ../../.git/annex/objects/FW/FZ/MD5E-s29071279--f89b61fe3ebab26df1374f2564bd95c2.nii.gz/MD5E-s29071279--f89b61fe3ebab26df1374f2564bd95c2.nii.gz
│ └── sub-04_task-flanker_run-2_events.tsv
├── sub-05
│ ├── anat
│ │ └── sub-05_T1w.nii.gz -> ../../.git/annex/objects/k2/Kj/MD5E-s10753867--c4b5788da5f4c627f0f5862da5f46c35.nii.gz/MD5E-s10753867--c4b5788da5f4c627f0f5862da5f46c35.nii.gz
│ └── func
│ ├── congruent.1D
│ ├── congruent_run1.txt
│ ├── congruent_run2.txt
│ ├── incongruent.1D
│ ├── incongruent_run1.txt
│ ├── incongruent_run2.txt
│ ├── sub-05_task-flanker_run-1_bold.nii.gz -> ../../.git/annex/objects/VZ/z5/MD5E-s29667270--0ce9ac78b6aa9a77fc94c655a6ff5a06.nii.gz/MD5E-s29667270--0ce9ac78b6aa9a77fc94c655a6ff5a06.nii.gz
│ ├── sub-05_task-flanker_run-1_events.tsv
│ ├── sub-05_task-flanker_run-2_bold.nii.gz -> ../../.git/annex/objects/z7/MP/MD5E-s29660544--752750dabb21e2cf28e87d1d550a71b9.nii.gz/MD5E-s29660544--752750dabb21e2cf28e87d1d550a71b9.nii.gz
│ └── sub-05_task-flanker_run-2_events.tsv
├── sub-06
│ ├── anat
│ │ └── sub-06_T1w.nii.gz -> ../../.git/annex/objects/5w/G0/MD5E-s10620585--1132eab3830fe59b8a10b6582bb49004.nii.gz/MD5E-s10620585--1132eab3830fe59b8a10b6582bb49004.nii.gz
│ └── func
│ ├── congruent.1D
│ ├── congruent_run1.txt
│ ├── congruent_run2.txt
│ ├── incongruent.1D
│ ├── incongruent_run1.txt
│ ├── incongruent_run2.txt
│ ├── sub-06_task-flanker_run-1_bold.nii.gz -> ../../.git/annex/objects/3x/qj/MD5E-s29386982--e671c0c647ce7d0d4596e35b702ee970.nii.gz/MD5E-s29386982--e671c0c647ce7d0d4596e35b702ee970.nii.gz
│ ├── sub-06_task-flanker_run-1_events.tsv
│ ├── sub-06_task-flanker_run-2_bold.nii.gz -> ../../.git/annex/objects/9j/6P/MD5E-s29379265--e513a2746d2b5c603f96044cf48c557c.nii.gz/MD5E-s29379265--e513a2746d2b5c603f96044cf48c557c.nii.gz
│ └── sub-06_task-flanker_run-2_events.tsv
├── sub-07
│ ├── anat
│ │ └── sub-07_T1w.nii.gz -> ../../.git/annex/objects/08/fF/MD5E-s10718092--38481fbc489dfb1ec4b174b57591a074.nii.gz/MD5E-s10718092--38481fbc489dfb1ec4b174b57591a074.nii.gz
│ └── func
│ ├── congruent.1D
│ ├── congruent_run1.txt
│ ├── congruent_run2.txt
│ ├── incongruent.1D
│ ├── incongruent_run1.txt
│ ├── incongruent_run2.txt
│ ├── sub-07_task-flanker_run-1_bold.nii.gz -> ../../.git/annex/objects/z1/7W/MD5E-s28946009--5baf7a314874b280543fc0f91f2731af.nii.gz/MD5E-s28946009--5baf7a314874b280543fc0f91f2731af.nii.gz
│ ├── sub-07_task-flanker_run-1_events.tsv
│ ├── sub-07_task-flanker_run-2_bold.nii.gz -> ../../.git/annex/objects/Jf/W7/MD5E-s28960603--682e13963bfc49cc6ae05e9ba5c62619.nii.gz/MD5E-s28960603--682e13963bfc49cc6ae05e9ba5c62619.nii.gz
│ └── sub-07_task-flanker_run-2_events.tsv
├── sub-08
│ ├── anat
│ │ └── sub-08_T1w.nii.gz -> ../../.git/annex/objects/mw/MM/MD5E-s10561256--b94dddd8dc1c146aa8cd97f8d9994146.nii.gz/MD5E-s10561256--b94dddd8dc1c146aa8cd97f8d9994146.nii.gz
│ └── func
│ ├── congruent.1D
│ ├── congruent_run1.txt
│ ├── congruent_run2.txt
│ ├── incongruent.1D
│ ├── incongruent_run1.txt
│ ├── incongruent_run2.txt
│ ├── sub-08_task-flanker_run-1_bold.nii.gz -> ../../.git/annex/objects/zX/v9/MD5E-s28641609--47314e6d1a14b8545686110b5b67f8b8.nii.gz/MD5E-s28641609--47314e6d1a14b8545686110b5b67f8b8.nii.gz
│ ├── sub-08_task-flanker_run-1_events.tsv
│ ├── sub-08_task-flanker_run-2_bold.nii.gz -> ../../.git/annex/objects/WZ/F0/MD5E-s28636310--4535bf26281e1c5556ad0d3468e7fe4e.nii.gz/MD5E-s28636310--4535bf26281e1c5556ad0d3468e7fe4e.nii.gz
│ └── sub-08_task-flanker_run-2_events.tsv
├── sub-09
│ ├── anat
│ │ └── sub-09_T1w.nii.gz -> ../../.git/annex/objects/QJ/ZZ/MD5E-s10775967--e6a18e64bc0a6b17254a9564cf9b8f82.nii.gz/MD5E-s10775967--e6a18e64bc0a6b17254a9564cf9b8f82.nii.gz
│ └── func
│ ├── congruent.1D
│ ├── congruent_run1.txt
│ ├── congruent_run2.txt
│ ├── incongruent.1D
│ ├── incongruent_run1.txt
│ ├── incongruent_run2.txt
│ ├── sub-09_task-flanker_run-1_bold.nii.gz -> ../../.git/annex/objects/k9/1X/MD5E-s29200533--59e86a903e0ab3d1d320c794ba1f0777.nii.gz/MD5E-s29200533--59e86a903e0ab3d1d320c794ba1f0777.nii.gz
│ ├── sub-09_task-flanker_run-1_events.tsv
│ ├── sub-09_task-flanker_run-2_bold.nii.gz -> ../../.git/annex/objects/W3/94/MD5E-s29223017--7f3fb9e260d3bd28e29b0b586ce4c344.nii.gz/MD5E-s29223017--7f3fb9e260d3bd28e29b0b586ce4c344.nii.gz
│ └── sub-09_task-flanker_run-2_events.tsv
├── sub-10
│ ├── anat
│ │ └── sub-10_T1w.nii.gz -> ../../.git/annex/objects/5F/3f/MD5E-s10750712--bde2309077bffe22cb65e42ebdce5bfa.nii.gz/MD5E-s10750712--bde2309077bffe22cb65e42ebdce5bfa.nii.gz
│ └── func
│ ├── congruent.1D
│ ├── congruent_run1.txt
│ ├── congruent_run2.txt
│ ├── incongruent.1D
│ ├── incongruent_run1.txt
│ ├── incongruent_run2.txt
│ ├── sub-10_task-flanker_run-1_bold.nii.gz -> ../../.git/annex/objects/3p/qp/MD5E-s29732696--339715d5cec387f4d44dfe94f304a429.nii.gz/MD5E-s29732696--339715d5cec387f4d44dfe94f304a429.nii.gz
│ ├── sub-10_task-flanker_run-1_events.tsv
│ ├── sub-10_task-flanker_run-2_bold.nii.gz -> ../../.git/annex/objects/11/Zx/MD5E-s29724034--16f2bf452524a315182f188becc1866d.nii.gz/MD5E-s29724034--16f2bf452524a315182f188becc1866d.nii.gz
│ └── sub-10_task-flanker_run-2_events.tsv
├── sub-11
│ ├── anat
│ │ └── sub-11_T1w.nii.gz -> ../../.git/annex/objects/kj/xX/MD5E-s10534963--9e5bff7ec0b5df2850e1d05b1af281ba.nii.gz/MD5E-s10534963--9e5bff7ec0b5df2850e1d05b1af281ba.nii.gz
│ └── func
│ ├── congruent.1D
│ ├── congruent_run1.txt
│ ├── congruent_run2.txt
│ ├── incongruent.1D
│ ├── incongruent_run1.txt
│ ├── incongruent_run2.txt
│ ├── sub-11_task-flanker_run-1_bold.nii.gz -> ../../.git/annex/objects/35/fk/MD5E-s28226875--d5012074c2c7a0a394861b010bcf9a8f.nii.gz/MD5E-s28226875--d5012074c2c7a0a394861b010bcf9a8f.nii.gz
│ ├── sub-11_task-flanker_run-1_events.tsv
│ ├── sub-11_task-flanker_run-2_bold.nii.gz -> ../../.git/annex/objects/j7/ff/MD5E-s28198976--c0a64e3b549568c44bb40b1588027c9a.nii.gz/MD5E-s28198976--c0a64e3b549568c44bb40b1588027c9a.nii.gz
│ └── sub-11_task-flanker_run-2_events.tsv
├── sub-12
│ ├── anat
│ │ └── sub-12_T1w.nii.gz -> ../../.git/annex/objects/kx/2F/MD5E-s10550168--a7f651adc817b6678148b575654532a4.nii.gz/MD5E-s10550168--a7f651adc817b6678148b575654532a4.nii.gz
│ └── func
│ ├── congruent.1D
│ ├── congruent_run1.txt
│ ├── congruent_run2.txt
│ ├── incongruent.1D
│ ├── incongruent_run1.txt
│ ├── incongruent_run2.txt
│ ├── sub-12_task-flanker_run-1_bold.nii.gz -> ../../.git/annex/objects/M0/fX/MD5E-s28403807--f1c3eb2e519020f4315a696ea845fc01.nii.gz/MD5E-s28403807--f1c3eb2e519020f4315a696ea845fc01.nii.gz
│ ├── sub-12_task-flanker_run-1_events.tsv
│ ├── sub-12_task-flanker_run-2_bold.nii.gz -> ../../.git/annex/objects/vW/V0/MD5E-s28424992--8740628349be3c056a0411bf4a852b25.nii.gz/MD5E-s28424992--8740628349be3c056a0411bf4a852b25.nii.gz
│ └── sub-12_task-flanker_run-2_events.tsv
├── sub-13
│ ├── anat
│ │ └── sub-13_T1w.nii.gz -> ../../.git/annex/objects/wM/Xw/MD5E-s10609761--440413c3251d182086105649164222c6.nii.gz/MD5E-s10609761--440413c3251d182086105649164222c6.nii.gz
│ └── func
│ ├── congruent.1D
│ ├── congruent_run1.txt
│ ├── congruent_run2.txt
│ ├── incongruent.1D
│ ├── incongruent_run1.txt
│ ├── incongruent_run2.txt
│ ├── sub-13_task-flanker_run-1_bold.nii.gz -> ../../.git/annex/objects/mf/M4/MD5E-s28180916--aa35f4ad0cf630d6396a8a2dd1f3dda6.nii.gz/MD5E-s28180916--aa35f4ad0cf630d6396a8a2dd1f3dda6.nii.gz
│ ├── sub-13_task-flanker_run-1_events.tsv
│ ├── sub-13_task-flanker_run-2_bold.nii.gz -> ../../.git/annex/objects/XP/76/MD5E-s28202786--8caf1ac548c87b2b35f85e8ae2bf72c1.nii.gz/MD5E-s28202786--8caf1ac548c87b2b35f85e8ae2bf72c1.nii.gz
│ └── sub-13_task-flanker_run-2_events.tsv
├── sub-14
│ ├── anat
│ │ └── sub-14_T1w.nii.gz -> ../../.git/annex/objects/Zw/0z/MD5E-s9223596--33abfb5da565f3487e3a7aebc15f940c.nii.gz/MD5E-s9223596--33abfb5da565f3487e3a7aebc15f940c.nii.gz
│ └── func
│ ├── congruent.1D
│ ├── congruent_run1.txt
│ ├── congruent_run2.txt
│ ├── incongruent.1D
│ ├── incongruent_run1.txt
│ ├── incongruent_run2.txt
│ ├── sub-14_task-flanker_run-1_bold.nii.gz -> ../../.git/annex/objects/Jp/29/MD5E-s29001492--250f1e4daa9be1d95e06af0d56629cc9.nii.gz/MD5E-s29001492--250f1e4daa9be1d95e06af0d56629cc9.nii.gz
│ ├── sub-14_task-flanker_run-1_events.tsv
│ ├── sub-14_task-flanker_run-2_bold.nii.gz -> ../../.git/annex/objects/PK/V2/MD5E-s29068193--5621a3b0af8132c509420b4ad9aaf8fb.nii.gz/MD5E-s29068193--5621a3b0af8132c509420b4ad9aaf8fb.nii.gz
│ └── sub-14_task-flanker_run-2_events.tsv
├── sub-15
│ ├── anat
│ │ └── sub-15_T1w.nii.gz -> ../../.git/annex/objects/Mz/qq/MD5E-s10752891--ddd2622f115ec0d29a0c7ab2366f6f95.nii.gz/MD5E-s10752891--ddd2622f115ec0d29a0c7ab2366f6f95.nii.gz
│ └── func
│ ├── congruent.1D
│ ├── congruent_run1.txt
│ ├── congruent_run2.txt
│ ├── incongruent.1D
│ ├── incongruent_run1.txt
│ ├── incongruent_run2.txt
│ ├── sub-15_task-flanker_run-1_bold.nii.gz -> ../../.git/annex/objects/08/JJ/MD5E-s28285239--feda22c4526af1910fcee58d4c42f07e.nii.gz/MD5E-s28285239--feda22c4526af1910fcee58d4c42f07e.nii.gz
│ ├── sub-15_task-flanker_run-1_events.tsv
│ ├── sub-15_task-flanker_run-2_bold.nii.gz -> ../../.git/annex/objects/9f/0W/MD5E-s28289760--433000a1def662e72d8433dba151c61b.nii.gz/MD5E-s28289760--433000a1def662e72d8433dba151c61b.nii.gz
│ └── sub-15_task-flanker_run-2_events.tsv
├── sub-16
│ ├── anat
│ │ └── sub-16_T1w.nii.gz -> ../../.git/annex/objects/4g/8k/MD5E-s10927450--a196f7075c793328dd6ff3cebf36ea6b.nii.gz/MD5E-s10927450--a196f7075c793328dd6ff3cebf36ea6b.nii.gz
│ └── func
│ ├── congruent.1D
│ ├── congruent_run1.txt
│ ├── congruent_run2.txt
│ ├── incongruent.1D
│ ├── incongruent_run1.txt
│ ├── incongruent_run2.txt
│ ├── sub-16_task-flanker_run-1_bold.nii.gz -> ../../.git/annex/objects/9z/g2/MD5E-s29757991--1a1648b2fa6cc74e31c94f109d8137ba.nii.gz/MD5E-s29757991--1a1648b2fa6cc74e31c94f109d8137ba.nii.gz
│ ├── sub-16_task-flanker_run-1_events.tsv
│ ├── sub-16_task-flanker_run-2_bold.nii.gz -> ../../.git/annex/objects/k8/4F/MD5E-s29773832--fe08739ea816254395b985ee704aaa99.nii.gz/MD5E-s29773832--fe08739ea816254395b985ee704aaa99.nii.gz
│ └── sub-16_task-flanker_run-2_events.tsv
├── sub-17
│ ├── anat
│ │ └── sub-17_T1w.nii.gz -> ../../.git/annex/objects/jQ/MQ/MD5E-s10826014--8e2a6b062df4d1c4327802f2b905ef36.nii.gz/MD5E-s10826014--8e2a6b062df4d1c4327802f2b905ef36.nii.gz
│ └── func
│ ├── congruent.1D
│ ├── congruent_run1.txt
│ ├── congruent_run2.txt
│ ├── incongruent.1D
│ ├── incongruent_run1.txt
│ ├── incongruent_run2.txt
│ ├── sub-17_task-flanker_run-1_bold.nii.gz -> ../../.git/annex/objects/Wz/2P/MD5E-s28991563--9845f461a017a39d1f6e18baaa0c9c41.nii.gz/MD5E-s28991563--9845f461a017a39d1f6e18baaa0c9c41.nii.gz
│ ├── sub-17_task-flanker_run-1_events.tsv
│ ├── sub-17_task-flanker_run-2_bold.nii.gz -> ../../.git/annex/objects/jF/3m/MD5E-s29057821--84ccc041163bcc5b3a9443951e2a5a78.nii.gz/MD5E-s29057821--84ccc041163bcc5b3a9443951e2a5a78.nii.gz
│ └── sub-17_task-flanker_run-2_events.tsv
├── sub-18
│ ├── anat
│ │ └── sub-18_T1w.nii.gz -> ../../.git/annex/objects/3v/pK/MD5E-s10571510--6fc4b5792bc50ea4d14eb5247676fafe.nii.gz/MD5E-s10571510--6fc4b5792bc50ea4d14eb5247676fafe.nii.gz
│ └── func
│ ├── congruent.1D
│ ├── congruent_run1.txt
│ ├── congruent_run2.txt
│ ├── incongruent.1D
│ ├── incongruent_run1.txt
│ ├── incongruent_run2.txt
│ ├── sub-18_task-flanker_run-1_bold.nii.gz -> ../../.git/annex/objects/94/P2/MD5E-s28185776--5b3879ec6fc4bbe1e48efc64984f88cf.nii.gz/MD5E-s28185776--5b3879ec6fc4bbe1e48efc64984f88cf.nii.gz
│ ├── sub-18_task-flanker_run-1_events.tsv
│ ├── sub-18_task-flanker_run-2_bold.nii.gz -> ../../.git/annex/objects/qp/6K/MD5E-s28234699--58019d798a133e5d7806569374dd8160.nii.gz/MD5E-s28234699--58019d798a133e5d7806569374dd8160.nii.gz
│ └── sub-18_task-flanker_run-2_events.tsv
├── sub-19
│ ├── anat
│ │ └── sub-19_T1w.nii.gz -> ../../.git/annex/objects/Zw/p8/MD5E-s8861893--d338005753d8af3f3d7bd8dc293e2a97.nii.gz/MD5E-s8861893--d338005753d8af3f3d7bd8dc293e2a97.nii.gz
│ └── func
│ ├── congruent.1D
│ ├── congruent_run1.txt
│ ├── congruent_run2.txt
│ ├── incongruent.1D
│ ├── incongruent_run1.txt
│ ├── incongruent_run2.txt
│ ├── sub-19_task-flanker_run-1_bold.nii.gz -> ../../.git/annex/objects/04/k6/MD5E-s28178448--3874e748258cf19aa69a05a7c37ad137.nii.gz/MD5E-s28178448--3874e748258cf19aa69a05a7c37ad137.nii.gz
│ ├── sub-19_task-flanker_run-1_events.tsv
│ ├── sub-19_task-flanker_run-2_bold.nii.gz -> ../../.git/annex/objects/mz/P4/MD5E-s28190932--91e6b3e4318ca28f01de8cb967cf8421.nii.gz/MD5E-s28190932--91e6b3e4318ca28f01de8cb967cf8421.nii.gz
│ └── sub-19_task-flanker_run-2_events.tsv
├── sub-20
│ ├── anat
│ │ └── sub-20_T1w.nii.gz -> ../../.git/annex/objects/g1/FF/MD5E-s11025608--5929806a7aa5720fc755687e1450b06c.nii.gz/MD5E-s11025608--5929806a7aa5720fc755687e1450b06c.nii.gz
│ └── func
│ ├── congruent.1D
│ ├── congruent_run1.txt
│ ├── congruent_run2.txt
│ ├── incongruent.1D
│ ├── incongruent_run1.txt
│ ├── incongruent_run2.txt
│ ├── sub-20_task-flanker_run-1_bold.nii.gz -> ../../.git/annex/objects/v5/ZJ/MD5E-s29931631--bf9abb057367ce66961f0b7913e8e707.nii.gz/MD5E-s29931631--bf9abb057367ce66961f0b7913e8e707.nii.gz
│ ├── sub-20_task-flanker_run-1_events.tsv
│ ├── sub-20_task-flanker_run-2_bold.nii.gz -> ../../.git/annex/objects/J3/KW/MD5E-s29945590--96cfd5b77cd096f6c6a3530015fea32d.nii.gz/MD5E-s29945590--96cfd5b77cd096f6c6a3530015fea32d.nii.gz
│ └── sub-20_task-flanker_run-2_events.tsv
├── sub-21
│ ├── anat
│ │ └── sub-21_T1w.nii.gz -> ../../.git/annex/objects/K6/6K/MD5E-s8662805--77b262ddd929fa08d78591bfbe558ac6.nii.gz/MD5E-s8662805--77b262ddd929fa08d78591bfbe558ac6.nii.gz
│ └── func
│ ├── congruent.1D
│ ├── congruent_run1.txt
│ ├── congruent_run2.txt
│ ├── incongruent.1D
│ ├── incongruent_run1.txt
│ ├── incongruent_run2.txt
│ ├── sub-21_task-flanker_run-1_bold.nii.gz -> ../../.git/annex/objects/Wz/p9/MD5E-s28756041--9ae556d4e3042532d25af5dc4ab31840.nii.gz/MD5E-s28756041--9ae556d4e3042532d25af5dc4ab31840.nii.gz
│ ├── sub-21_task-flanker_run-1_events.tsv
│ ├── sub-21_task-flanker_run-2_bold.nii.gz -> ../../.git/annex/objects/xF/M3/MD5E-s28758438--81866411fc6b6333ec382a20ff0be718.nii.gz/MD5E-s28758438--81866411fc6b6333ec382a20ff0be718.nii.gz
│ └── sub-21_task-flanker_run-2_events.tsv
├── sub-22
│ ├── anat
│ │ └── sub-22_T1w.nii.gz -> ../../.git/annex/objects/JG/ZV/MD5E-s9282392--9e7296a6a5b68df46b77836182b6681a.nii.gz/MD5E-s9282392--9e7296a6a5b68df46b77836182b6681a.nii.gz
│ └── func
│ ├── congruent.1D
│ ├── congruent_run1.txt
│ ├── congruent_run2.txt
│ ├── incongruent.1D
│ ├── incongruent_run1.txt
│ ├── incongruent_run2.txt
│ ├── sub-22_task-flanker_run-1_bold.nii.gz -> ../../.git/annex/objects/qW/Gw/MD5E-s28002098--c6bea10177a38667ceea3261a642b3c6.nii.gz/MD5E-s28002098--c6bea10177a38667ceea3261a642b3c6.nii.gz
│ ├── sub-22_task-flanker_run-1_events.tsv
│ ├── sub-22_task-flanker_run-2_bold.nii.gz -> ../../.git/annex/objects/VX/Zj/MD5E-s28027568--b34d0df9ad62485aba25296939429885.nii.gz/MD5E-s28027568--b34d0df9ad62485aba25296939429885.nii.gz
│ └── sub-22_task-flanker_run-2_events.tsv
├── sub-23
│ ├── anat
│ │ └── sub-23_T1w.nii.gz -> ../../.git/annex/objects/4Z/4x/MD5E-s10626062--db5a6ba6730b319c6425f2e847ce9b14.nii.gz/MD5E-s10626062--db5a6ba6730b319c6425f2e847ce9b14.nii.gz
│ └── func
│ ├── congruent.1D
│ ├── congruent_run1.txt
│ ├── congruent_run2.txt
│ ├── incongruent.1D
│ ├── incongruent_run1.txt
│ ├── incongruent_run2.txt
│ ├── sub-23_task-flanker_run-1_bold.nii.gz -> ../../.git/annex/objects/VK/8F/MD5E-s28965005--4a9a96d9322563510ca14439e7fd6cea.nii.gz/MD5E-s28965005--4a9a96d9322563510ca14439e7fd6cea.nii.gz
│ ├── sub-23_task-flanker_run-1_events.tsv
│ ├── sub-23_task-flanker_run-2_bold.nii.gz -> ../../.git/annex/objects/56/20/MD5E-s29050413--753b0d2c23c4af6592501219c2e2c6bd.nii.gz/MD5E-s29050413--753b0d2c23c4af6592501219c2e2c6bd.nii.gz
│ └── sub-23_task-flanker_run-2_events.tsv
├── sub-24
│ ├── anat
│ │ └── sub-24_T1w.nii.gz -> ../../.git/annex/objects/jQ/fV/MD5E-s10739691--458f0046eff18ee8c43456637766a819.nii.gz/MD5E-s10739691--458f0046eff18ee8c43456637766a819.nii.gz
│ └── func
│ ├── congruent.1D
│ ├── congruent_run1.txt
│ ├── congruent_run2.txt
│ ├── incongruent.1D
│ ├── incongruent_run1.txt
│ ├── incongruent_run2.txt
│ ├── sub-24_task-flanker_run-1_bold.nii.gz -> ../../.git/annex/objects/km/fV/MD5E-s29354610--29ebfa60e52d49f7dac6814cb5fdc2bc.nii.gz/MD5E-s29354610--29ebfa60e52d49f7dac6814cb5fdc2bc.nii.gz
│ ├── sub-24_task-flanker_run-1_events.tsv
│ ├── sub-24_task-flanker_run-2_bold.nii.gz -> ../../.git/annex/objects/Wj/KK/MD5E-s29423307--fedaa1d7c6e34420735bb3bbe5a2fe38.nii.gz/MD5E-s29423307--fedaa1d7c6e34420735bb3bbe5a2fe38.nii.gz
│ └── sub-24_task-flanker_run-2_events.tsv
├── sub-25
│ ├── anat
│ │ └── sub-25_T1w.nii.gz -> ../../.git/annex/objects/Gk/FQ/MD5E-s8998578--f560d832f13e757b485c16d570bf6ebc.nii.gz/MD5E-s8998578--f560d832f13e757b485c16d570bf6ebc.nii.gz
│ └── func
│ ├── congruent.1D
│ ├── congruent_run1.txt
│ ├── congruent_run2.txt
│ ├── incongruent.1D
│ ├── incongruent_run1.txt
│ ├── incongruent_run2.txt
│ ├── sub-25_task-flanker_run-1_bold.nii.gz -> ../../.git/annex/objects/XW/1v/MD5E-s29473003--49b04e7e4b450ec5ef93ff02d4158775.nii.gz/MD5E-s29473003--49b04e7e4b450ec5ef93ff02d4158775.nii.gz
│ ├── sub-25_task-flanker_run-1_events.tsv
│ ├── sub-25_task-flanker_run-2_bold.nii.gz -> ../../.git/annex/objects/Qm/M7/MD5E-s29460132--b0e9039e9f33510631f229c8c2193285.nii.gz/MD5E-s29460132--b0e9039e9f33510631f229c8c2193285.nii.gz
│ └── sub-25_task-flanker_run-2_events.tsv
├── sub-26
│ ├── anat
│ │ └── sub-26_T1w.nii.gz -> ../../.git/annex/objects/kf/9F/MD5E-s10850250--5f103b2660f488e4afa193f9307c1291.nii.gz/MD5E-s10850250--5f103b2660f488e4afa193f9307c1291.nii.gz
│ └── func
│ ├── congruent.1D
│ ├── congruent_run1.txt
│ ├── congruent_run2.txt
│ ├── incongruent.1D
│ ├── incongruent_run1.txt
│ ├── incongruent_run2.txt
│ ├── sub-26_task-flanker_run-1_bold.nii.gz -> ../../.git/annex/objects/QV/10/MD5E-s30127491--8e30aa4bbfcc461bac8598bf621283c5.nii.gz/MD5E-s30127491--8e30aa4bbfcc461bac8598bf621283c5.nii.gz
│ ├── sub-26_task-flanker_run-1_events.tsv
│ ├── sub-26_task-flanker_run-2_bold.nii.gz -> ../../.git/annex/objects/3G/Q6/MD5E-s30162480--80fd132e7cb1600ab248249e78f6f1aa.nii.gz/MD5E-s30162480--80fd132e7cb1600ab248249e78f6f1aa.nii.gz
│ └── sub-26_task-flanker_run-2_events.tsv
├── subjList.txt
└── task-flanker_bold.json
81 directories, 350 files
Creating Timing Files#
Condition-specific timing files are generated using the same approach described in the Preprocessing and GLM notebook. In brief:
Onset times and durations are extracted from each subject’s
events.tsvfile.Trials are categorized into congruent and incongruent conditions.
The
make_Timings.shscript (from Andy’s AFNI_Scripts repository) is used to convert this event information into AFNI-compatible.1Dtiming files.For each subject, two timing files are created (one per condition), spanning both runs, and saved in the subject’s
func/directory.
These .1D timing files will then be used in the first-level GLM to model condition-specific brain responses.
![ -f ds000102/make_Timings.sh ] || wget -O ds000102/make_Timings.sh https://raw.githubusercontent.com/andrewjahn/AFNI_Scripts/master/make_Timings.sh
Running the Timing File Script#
After placing the make_Timings.sh script into the ds000102/ directory, we can execute it from within the notebook:
!cd ds000102 && chmod +x make_Timings.sh && bash make_Timings.sh
Check the output:
!cat ds000102/sub-01/func/incongruent.1D
0 10 40 76 102 150 164 174 208 220 232 260
0 54 64 76 88 130 144 154 196 246 274
2. Running Preprocessing and First-Level Analysis for All Subjects#
All of the preprocessing and regression steps for subject sub-08 were introduced and explained in the example notebooks Preprocessing with AFNI and AFNI Preprocessing and GLM, both of which are highly inspired by Andy’s Brain Book’s tutorial.
These notebooks demonstrate how to use afni_proc.py to generate an automated pipeline and interpret each preprocessing and regression block.
➡️
setup
➡️ tcat
➡️ tshift
➡️ align
➡️ tlrc
➡️ volreg
➡️ blur
➡️ mask
➡️ scale
➡️ regress
➡️ 🧠✅ Outputs: fitted time series, residuals, tSNR maps, beta weights, and statistical maps from the GLM.
To replicate the preprocessing and GLM steps used for sub-08 across multiple participants, we loop over all 3 subjects (sub-01 to sub-03) and generate an individualized AFNI pipeline for each one using afni_proc.py. This automated approach performs several key operations:
Loads each subject’s anatomical image and both functional runs.
Specifies the full processing pipeline: slice timing correction, alignment, linear registration to MNI space, motion correction, blurring, masking, scaling, and regression modeling.
Models two stimulus conditions (congruent and incongruent) using a gamma basis function (GAM).
Specifies two general linear tests (GLTs): incongruent − congruent and congruent − incongruent.
Censors time points with excessive motion (> 0.3 mm) and outlier volumes (> 5% of voxels), and estimates spatial smoothness for later use in group analysis.
Uses separate motion parameter regressors per run and saves the full fitted timeseries.
Runs
3dREMLfitfor improved autocorrelation modeling.
Processing is executed in parallel using a process pool, with up to 3 subjects processed simultaneously. Each subject’s script is saved and executed in a controlled logging environment, which captures terminal output into a log file for transparency and troubleshooting.
This block ensures consistent preprocessing and first-level GLM estimation across all subjects in the dataset.
#The following block automatically configures parallelism based on the available CPUs,
#dividing them evenly across subjects to avoid overloading the system.
n_cpus = os.cpu_count() or 4 # fallback to 4 if undetectable
n_subjects = 3 # sub-01 to sub-03
max_workers = min(n_subjects, n_cpus) # don't spawn more workers than CPUs
jobs_per_subject = max(1, n_cpus // max_workers) # divide CPUs evenly across subjects
print(f"CPUs available: {n_cpus}")
print(f"Parallel subjects: {max_workers}")
print(f"Jobs per subject: {jobs_per_subject}")
CPUs available: 32
Parallel subjects: 3
Jobs per subject: 10
# Create directory for output
os.makedirs("afni_pro_glm", exist_ok=True)
# Main subject processing function
def process_subject(subj_id, jobs=4):
subj = f"sub-{subj_id:02d}"
anat = f"./ds000102/{subj}/anat/{subj}_T1w.nii.gz"
func1 = f"./ds000102/{subj}/func/{subj}_task-flanker_run-1_bold.nii.gz"
func2 = f"./ds000102/{subj}/func/{subj}_task-flanker_run-2_bold.nii.gz"
stim1D_c = f"./ds000102/{subj}/func/congruent.1D"
stim1D_i = f"./ds000102/{subj}/func/incongruent.1D"
out_dir = f"./afni_pro_glm/{subj}.results"
script_name = f"./afni_pro_glm/proc.{subj}.tcsh"
log_file = f"./afni_pro_glm/output.{subj}.log"
# Skip subject if already processed
if os.path.exists(out_dir):
return f"{subj} skipped (already processed)"
cmd = [
"afni_proc.py",
"-subj_id", subj,
"-script", script_name,
"-scr_overwrite",
"-out_dir", out_dir,
# blocks
# NB: there is a tshift block here, but no slice timing info to apply
"-blocks", "tshift", "align", "tlrc", "volreg", "blur", "mask", "scale", "regress",
"-copy_anat", anat,
"-dsets", func1, func2,
# extra QC: radial correlation at tcat and volreg stages
"-radial_correlate_blocks", "tcat", "volreg",
"-tcat_remove_first_trs", "0",
# EPI uniformization before alignment (generally helpful for human fMRI)
"-align_unifize_epi", "local",
# EPI-anatomical alignment options
"-align_opts_aea",
"-cost", "lpc+ZZ", #cost function more in line with standard starting point (and we note EPI-anatomical overlap is quite low initially)
"-giant_move",
"-check_flip",
"-tlrc_base", "MNI152_2009_template_SSW.nii.gz",
# option for anatomical-template alignment: -tlrc_opts_at -init_xform AUTO_CENTER .
# This option is needed because the anatomical volume is very far from center to start with for anatomical-template alignment
# + because the anatomical also has very poor overlap with the EPI dset,
# we might suspect that the T1w dset coordinates are not what they were when acquired.
"-tlrc_opts_at", "-init_xform", "AUTO_CENTER",
"-volreg_align_to", "MIN_OUTLIER",
"-volreg_align_e2a",
"-volreg_tlrc_warp",
# extra QC: compute tSNR
"-volreg_compute_tsnr", "yes",
# set final voxel size (matching voxel grid)
"-volreg_warp_dxyz", "3.0",
# intersection mask of EPI and anat
"-mask_epi_anat", "yes",
# blur 5mm for 3x3x4 voxel data
"-blur_size", "5.0",
"-regress_stim_times", stim1D_c, stim1D_i,
"-regress_stim_labels", "congruent", "incongruent",
"-regress_basis", "GAM",
# FMRI data, analyzing for voxelwise analysis
# Motion and outlier censoring
"-regress_censor_motion", "0.3",
"-regress_censor_outliers", "0.05", # extra censoring security
"-regress_motion_per_run",
"-regress_opts_3dD",
"-jobs", str(jobs),
"-gltsym", "SYM: incongruent -congruent", "-glt_label", "1", "incongruent-congruent",
"-gltsym", "SYM: congruent -incongruent", "-glt_label", "2", "congruent-incongruent",
"-regress_reml_exec",
"-regress_compute_fitts", # save fitted timeseries
"-regress_make_ideal_sum", "sum_ideal.1D",
"-regress_est_blur_epits",
"-regress_est_blur_errts",
"-regress_run_clustsim", "no",
]
try:
# Step 1: Create the AFNI processing script
subprocess.run(cmd, check=True)
# Step 2: Run the AFNI tcsh script, logging output
with open(log_file, "w") as logfile:
proc = subprocess.Popen(
["tcsh", "-xef", script_name],
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT,
text=True
)
for line in proc.stdout:
print(line, end="") # Stream to console
logfile.write(line) # Log to file
proc.wait()
return f"{subj} {'done' if proc.returncode == 0 else 'failed'}"
except subprocess.CalledProcessError as e:
return f"{subj} failed: afni_proc.py error"
except Exception as e:
return f"{subj} failed: unexpected error\n{e}"
# ──────────────────────────────────────────────────────────────────────────────
# Main loop to process multiple subjects in parallel
subject_ids = list(range(1, 4)) # sub-01 to sub-03
results = []
with ThreadPoolExecutor(max_workers=max_workers) as executor:
futures = {
executor.submit(process_subject, sid, jobs_per_subject): sid
for sid in subject_ids
}
for future in tqdm(as_completed(futures), total=len(futures), desc="Subjects processed"):
results.append(future.result())
print("\nSummary of results:")
for r in results:
print(r)
Summary of results:
sub-02 skipped (already processed)
sub-01 skipped (already processed)
sub-03 skipped (already processed)
3. Group - Analysis#
After estimating the first-level general linear model (GLM) for each subject, we will perform a group-level analysis to assess whether the Incongruent - Congruent contrast showed a consistent effect across subjects.
Creating a Group Mask#
First, we’ll create a group-level mask by combining each subject’s individual mask using a logical intersection. This ensures that only voxels present in all subjects’ data are included in the group analysis:
! 3dmask_tool -input afni_pro_glm/sub-*.results/mask_group+tlrc.HEAD -prefix ./afni_pro_glm/group_mask+tlrc -inter
++ processing 3 input dataset(s), NN=2...
++ padding all datasets by 0 (for dilations)
++ have 3 volumes of input to combine
++ frac 1 over 3 volumes gives min count 3
++ voxel limits: 0 clipped, 71053 survived, 240243 were zero
++ writing result group_mask...
** ERROR: output dataset name 'group_mask' conflicts with existing file
** ERROR: dataset NOT written to disk!
3.1 Group-Level Analysis with 3dttest++#
AFNI’s 3dttest++ performs a voxelwise one-sample t-test across subjects. This tests whether the average contrast estimate (e.g., Incongruent - Congruent) is significantly different from zero at each voxel.oxelwise t-scoresariability.
Identifying Contrast Sub-Brick#
Before running the group-level test, we must determine which sub-brick contains the desired contrast. We use 3dinfo to inspect the subject-level stats+tlrc dataset and find the index of the contrast sub-brick corresponding to incongruent minus congruent (e.g., sub-brick #7, depending on how GLTs were defined in afni_proc.py):
! 3dinfo -verb ./afni_pro_glm/sub-01.results/stats.sub-01+tlrc.BRIK
++ 3dinfo: AFNI version=AFNI_25.2.03 (Jul 4 2025) [64-bit]
Dataset File: stats.sub-01+tlrc
Identifier Code: XYZ_Y9xxyZs1gXQn8ZFQ1SMccg Creation Date: Thu Apr 9 08:40:46 2026
Template Space: MNI_2009c_asym
Dataset Type: Func-Bucket (-fbuc)
Byte Order: LSB_FIRST [this CPU native = LSB_FIRST]
Storage Mode: BRIK
Storage Space: 16,187,392 (16 million) bytes
Geometry String: "MATRIX(-3,0,0,94.5,0,-3,0,130.5,0,0,3,-76.5):64,76,64"
Data Axes Tilt: Plumb
Data Axes Orientation:
first (x) = Left-to-Right
second (y) = Posterior-to-Anterior
third (z) = Inferior-to-Superior [-orient LPI]
R-to-L extent: -94.500 [R] -to- 94.500 [L] -step- 3.000 mm [ 64 voxels]
A-to-P extent: -94.500 [A] -to- 130.500 [P] -step- 3.000 mm [ 76 voxels]
I-to-S extent: -76.500 [I] -to- 112.500 [S] -step- 3.000 mm [ 64 voxels]
Number of values stored at each pixel = 13
-- At sub-brick #0 'Full_Fstat' datum type is float: 0 to 57.6257
statcode = fift; statpar = 2 266
-- At sub-brick #1 'congruent#0_Coef' datum type is float: -32.8176 to 17.2739
-- At sub-brick #2 'congruent#0_Tstat' datum type is float: -7.21763 to 6.16751
statcode = fitt; statpar = 266
-- At sub-brick #3 'congruent_Fstat' datum type is float: 0 to 52.0941
statcode = fift; statpar = 1 266
-- At sub-brick #4 'incongruent#0_Coef' datum type is float: -28.5104 to 15.6762
-- At sub-brick #5 'incongruent#0_Tstat' datum type is float: -5.63953 to 10.3149
statcode = fitt; statpar = 266
-- At sub-brick #6 'incongruent_Fstat' datum type is float: 0 to 106.398
statcode = fift; statpar = 1 266
-- At sub-brick #7 'incongruent-congruent_GLT#0_Coef' datum type is float: -22.0622 to 17.8422
-- At sub-brick #8 'incongruent-congruent_GLT#0_Tstat' datum type is float: -4.78922 to 6.65772
statcode = fitt; statpar = 266
-- At sub-brick #9 'incongruent-congruent_GLT_Fstat' datum type is float: 0 to 44.3253
statcode = fift; statpar = 1 266
-- At sub-brick #10 'congruent-incongruent_GLT#0_Coef' datum type is float: -17.8422 to 22.0622
-- At sub-brick #11 'congruent-incongruent_GLT#0_Tstat' datum type is float: -6.65772 to 4.78922
statcode = fitt; statpar = 266
-- At sub-brick #12 'congruent-incongruent_GLT_Fstat' datum type is float: 0 to 44.3253
statcode = fift; statpar = 1 266
----- HISTORY -----
[ubuntu@6c8ba8253917: Thu Apr 9 08:40:46 2026] {AFNI_25.2.03:linux_ubuntu_24_64} 3dDeconvolve -input pb04.sub-01.r01.scale+tlrc.HEAD pb04.sub-01.r02.scale+tlrc.HEAD -censor censor_sub-01_combined_2.1D -ortvec mot_demean.r01.1D mot_demean_r01 -ortvec mot_demean.r02.1D mot_demean_r02 -polort 2 -num_stimts 2 -stim_times 1 stimuli/congruent.1D GAM -stim_label 1 congruent -stim_times 2 stimuli/incongruent.1D GAM -stim_label 2 incongruent -jobs 10 -gltsym 'SYM: incongruent -congruent' -glt_label 1 incongruent-congruent -gltsym 'SYM: congruent -incongruent' -glt_label 2 congruent-incongruent -fout -tout -x1D X.xmat.1D -xjpeg X.jpg -x1D_uncensored X.nocensor.xmat.1D -errts errts.sub-01 -bucket stats.sub-01
[ubuntu@6c8ba8253917: Thu Apr 9 08:40:46 2026] Output prefix: stats.sub-01
This command lists all sub-bricks with their labels, allowing us to find the relevant contrast parameter estimate:
-- At sub-brick #7 'incongruent-congruent_GLT#0_Coef' datum type is float: -22.0622 to 17.8422
Sub-bricks labeled with “Coef” represent contrast (beta) estimates, while “Tstat” or “Fstat” indicate test statistics. For group analysis, we will extract the Coef sub-brick (here: index [7]).
We then automate the 3dttest++ execution with the following steps:
Set the base directory containing all subjects’ AFNI result folders.
Locate sub-brick
[**7]for each subject (the contrast of interest).Verify dataset existence to avoid processing missing subjects.
Construct the
3dttest++command with:An output prefix for group results,
A group brain mask to constrain the analysis,
A label for the subject set (
Inc-Con),Subpaired with their corresponding contrast sub-brick pathssti**mates.
Run the command using
subprocess.run()to capture and log output.
The resulting dataset (Flanker_Inc-Con_ttest+tlrc) contains:
Effect size map: average contrast values across subjects
T-statistic map: voxelwise t-values representing statistical significance
base_dir = os.path.abspath("./afni_pro_glm")
# Get all subject folders
subject_dirs = sorted(glob(os.path.join(base_dir, "sub-*.results")))
# Build paths to sub-brik 7 (e.g. Inc-Con contrast)
set_lines = []
for s in subject_dirs:
sub_id = os.path.basename(s).replace('.results', '')
stats_path = os.path.join(s, f"stats.{sub_id}+tlrc[7]")
if os.path.exists(stats_path.replace('[7]', '.BRIK')) or os.path.exists(stats_path): # extra check
set_lines.append(f"{sub_id} {stats_path}")
else:
print(f"⚠️ Missing file for subject {sub_id}: {stats_path}")
# Build 3dttest++ command
cmd_list = [
"3dttest++",
"-prefix", os.path.join(base_dir, "group_results", "Flanker-Inc-Con_ttest"),
"-mask", os.path.join(base_dir, "group_mask+tlrc"),
"-setA", "Inc-Con"
]
# Add subject lines
for line in set_lines:
cmd_list += line.split()
# Run the command
print("Running 3dttest++...")
print("\n")
print("Command:", " ".join(cmd_list))
result = subprocess.run(cmd_list, capture_output=True, text=True)
# Show output
print(result.stdout)
print(result.stderr)
Running 3dttest++...
Command: 3dttest++ -prefix /home/jovyan/workspace/books/examples/functional_imaging/afni_pro_glm/group_results/Flanker-Inc-Con_ttest -mask /home/jovyan/workspace/books/examples/functional_imaging/afni_pro_glm/group_mask+tlrc -setA Inc-Con sub-01 /home/jovyan/workspace/books/examples/functional_imaging/afni_pro_glm/sub-01.results/stats.sub-01+tlrc[7] sub-02 /home/jovyan/workspace/books/examples/functional_imaging/afni_pro_glm/sub-02.results/stats.sub-02+tlrc[7] sub-03 /home/jovyan/workspace/books/examples/functional_imaging/afni_pro_glm/sub-03.results/stats.sub-03+tlrc[7]
++ 3dttest++: AFNI version=AFNI_25.2.03 (Jul 4 2025) [64-bit]
++ Authored by: Zhark++
++ 71053 voxels in -mask dataset
++ option -setA :: processing as LONG form (label label dset label dset ...)
++ have 3 volumes corresponding to option '-setA'
++ loading -setA datasets
++ t-testing:0123456789.0123456789.0123456789.0123456789.0123456789.!
++ ---------- End of analyses -- freeing workspaces ----------
++ Creating FDR curves in output dataset
*+ WARNING: Smallest FDR q [1 Inc-Con_Tstat] = 0.6916 ==> few true single voxel detections
+ Added 1 FDR curve to dataset
** ERROR: output dataset name 'Flanker-Inc-Con_ttest' conflicts with existing file
** ERROR: dataset NOT written to disk!
++ ----- 3dttest++ says so long, farewell, and happy trails to you :) -----
This code snippet automates running AFNI’s 3dttest++ for a group analysis of the Incongruent - Congruent contrast:
Set the base directory where all subjects’ AFNI results are stored.
Find all subject result folders matching the pattern
sub-*.results.Build a list of dataset paths pointing to the 7th sub-brick
[7](the contrast of interest) in each subject’s stats dataset, verifying file existence and alerting if missing.Construct the
3dttest++command with:Output prefix for group results,
Group mask to restrict the test to voxels common across subjects,
Label for the group set (
Inc-Con),Subject IDs paired with their corresponding contrast sub-brick paths.
Run the command as a subprocess, capturing and printing AFNI’s output and errors for review.
The resulting output (Flanker_Inc-Con_ttest+tlrc) contains:
Effect size map: average contrast across subjects
T-statistic map: voxelwise t-sores
3.2 Performing Group Analysis with 3dMEMA#
To account for both the variability within subjects (parameter estimate differences) and the variability across subjects (contrast estimate precision), we will also perform a group-level analysis using AFNI’s 3dMEMA.
Unlike a simple t-test, 3dMEMA leverages each subject’s contrast estimate and corresponding t-statistic (or standard error), providing a more accurate mixed-effects model.
The steps we will take are:
Build a set list containing each subject’s ID along with the paths to their contrast estimate (
_REML+tlrc[7]) and t-statistic (_REML+tlrc[8]) sub-bricks.Verify that both files exist for each subject to avoid missing data errors.
Construct the
3dMEMAcommand with an output prefix, the group mask, and the full subject set list.Run the command as a subprocess, capturing output for review.
This process will produce a group-level statistical map that balances effect size and reliability, offering a robust inference about the Incongruent - Congruent contrast across subjects.
# Build set list: all subjects in one set block
set_list = ["-set", "IncCon"]
for s in subject_dirs:
sub_id = os.path.basename(s).replace(".results", "")
coef_path = os.path.join(s, f"stats.{sub_id}_REML+tlrc[7]")
tstat_path = os.path.join(s, f"stats.{sub_id}_REML+tlrc[8]")
# Sanity check (optional)
if os.path.exists(coef_path.replace("[7]", ".HEAD")) and os.path.exists(tstat_path.replace("[8]", ".HEAD")):
set_list += [sub_id, coef_path, tstat_path]
else:
print(f"⚠️ Missing for {sub_id}:\n {coef_path}\n {tstat_path}")
# Full 3dMEMA command
cmd_list = [
"3dMEMA",
"-prefix", os.path.join(base_dir, "group_results", "Flanker_Inc-Con_MEMA"),
"-mask", os.path.join(base_dir, "group_mask+tlrc"),
] + set_list
# Print and run
print("Running 3dMEMA...\n")
print("Command:", " ".join(cmd_list), "\n")
result = subprocess.run(cmd_list, capture_output=True, text=True)
print(result.stdout)
print(result.stderr)
Running 3dMEMA...
Command: 3dMEMA -prefix /home/jovyan/workspace/books/examples/functional_imaging/afni_pro_glm/group_results/Flanker_Inc-Con_MEMA -mask /home/jovyan/workspace/books/examples/functional_imaging/afni_pro_glm/group_mask+tlrc -set IncCon sub-01 /home/jovyan/workspace/books/examples/functional_imaging/afni_pro_glm/sub-01.results/stats.sub-01_REML+tlrc[7] /home/jovyan/workspace/books/examples/functional_imaging/afni_pro_glm/sub-01.results/stats.sub-01_REML+tlrc[8] sub-02 /home/jovyan/workspace/books/examples/functional_imaging/afni_pro_glm/sub-02.results/stats.sub-02_REML+tlrc[7] /home/jovyan/workspace/books/examples/functional_imaging/afni_pro_glm/sub-02.results/stats.sub-02_REML+tlrc[8] sub-03 /home/jovyan/workspace/books/examples/functional_imaging/afni_pro_glm/sub-03.results/stats.sub-03_REML+tlrc[7] /home/jovyan/workspace/books/examples/functional_imaging/afni_pro_glm/sub-03.results/stats.sub-03_REML+tlrc[8]
** Error:
File /home/jovyan/workspace/books/examples/functional_imaging/afni_pro_glm/group_results/Flanker_Inc-Con_MEMAexists! Try a different name.
3.3 Visualizing Group-Level Results#
Now that we have completed both group analyses — one with 3dttest++ and one with 3dMEMA — let’s visualize the resulting voxelwise t-statistic maps.
Steps:#
Convert AFNI datasets to NIfTI format using
3dcopy, to ensure compatibility with Python neuroimaging tools likenilearn.
Extract the t-statistic sub-brick (sub-brick index
[1]) using3dTcat. This gives us:Inc-Con_Tstatfrom the3dttest++resultIncCon_Tstatfrom the3dMEMAresult
Load the statistical maps into Python using
nilearn.image.load_img().
Plot using transparent thresholding via
nilearn.plotting.plot_stat_map()withtransparency_range=[1, 3.3]. Rather than hard thresholding, this approach fades out low t-values and makes voxels above T > 3.3 (≈ p < 0.001) fully opaque, giving a more complete and informative view of the data.
Note on Multiple Comparison Correction:
Cluster-size correction using3dClustSimrequires stable estimates of spatial smoothness, which generally requires at least 14 subjects.
Since our analysis includes only 3 subjects, we do not apply3dClustSimor other parametric corrections.
This approach is intended for exploratory visualization only and should not be used for formal statistical inference.
This allows us to visually inspect and compare the sensitivity and spatial extent of effects revealed by the simple one-sample t-test (3dttest++) and the mixed-effects model (3dMEMA) for the Incongruent - Congruent contrast.
! 3dcopy ./afni_pro_glm/group_results/Flanker-Inc-Con_ttest+tlrc ./afni_pro_glm/group_results/Flanker-Inc-Con_ttest.nii.gz
! 3dcopy ./afni_pro_glm/group_results/Flanker_Inc-Con_MEMA+tlrc ./afni_pro_glm/group_results/Flanker_Inc-Con_MEMA.nii.gz
++ 3dcopy: AFNI version=AFNI_25.2.03 (Jul 4 2025) [64-bit]
** ERROR: output dataset name 'Flanker-Inc-Con_ttest.nii.gz' conflicts with existing file
** ERROR: dataset NOT written to disk!
++ 3dcopy: AFNI version=AFNI_25.2.03 (Jul 4 2025) [64-bit]
** ERROR: output dataset name 'Flanker_Inc-Con_MEMA.nii.gz' conflicts with existing file
** ERROR: dataset NOT written to disk!
! 3dinfo -verb ./afni_pro_glm/group_results/Flanker-Inc-Con_ttest.nii.gz
++ 3dinfo: AFNI version=AFNI_25.2.03 (Jul 4 2025) [64-bit]
Dataset File: /home/jovyan/workspace/books/examples/functional_imaging/afni_pro_glm/group_results/Flanker-Inc-Con_ttest.nii.gz
Identifier Code: XYZ_6Wu73ZNXHIX5JfN_Fpi3ZA Creation Date: Thu Apr 9 09:52:04 2026
Template Space: MNI_2009c_asym
Dataset Type: Anat Bucket (-abuc)
Byte Order: LSB_FIRST {assumed} [this CPU native = LSB_FIRST]
Storage Mode: NIFTI
Storage Space: 2,490,368 (2.5 million) bytes
Geometry String: "MATRIX(-3,0,0,94.5,0,-3,0,130.5,0,0,3,-76.5):64,76,64"
Data Axes Tilt: Plumb
Data Axes Orientation:
first (x) = Left-to-Right
second (y) = Posterior-to-Anterior
third (z) = Inferior-to-Superior [-orient LPI]
R-to-L extent: -94.500 [R] -to- 94.500 [L] -step- 3.000 mm [ 64 voxels]
A-to-P extent: -94.500 [A] -to- 130.500 [P] -step- 3.000 mm [ 76 voxels]
I-to-S extent: -76.500 [I] -to- 112.500 [S] -step- 3.000 mm [ 64 voxels]
Number of values stored at each pixel = 2
-- At sub-brick #0 'Inc-Con_mean' datum type is float: -2.33243 to 4.29261
-- At sub-brick #1 'Inc-Con_Tstat' datum type is float: -51.0612 to 99
statcode = fitt; statpar = 2
----- HISTORY -----
[ubuntu@6c8ba8253917: Thu Apr 9 09:50:10 2026] {AFNI_25.2.03:linux_ubuntu_24_64} 3dttest++ -prefix /home/jovyan/workspace/books/examples/functional_imaging/afni_pro_glm/group_results/Flanker-Inc-Con_ttest -mask /home/jovyan/workspace/books/examples/functional_imaging/afni_pro_glm/group_mask+tlrc -setA Inc-Con sub-01 '/home/jovyan/workspace/books/examples/functional_imaging/afni_pro_glm/sub-01.results/stats.sub-01+tlrc[7]' sub-02 '/home/jovyan/workspace/books/examples/functional_imaging/afni_pro_glm/sub-02.results/stats.sub-02+tlrc[7]' sub-03 '/home/jovyan/workspace/books/examples/functional_imaging/afni_pro_glm/sub-03.results/stats.sub-03+tlrc[7]'
[ubuntu@6c8ba8253917: Thu Apr 9 09:52:03 2026] {AFNI_25.2.03:linux_ubuntu_24_64} 3dcopy ./afni_pro_glm/group_results/Flanker-Inc-Con_ttest+tlrc ./afni_pro_glm/group_results/Flanker-Inc-Con_ttest.nii.gz
# Copy sub-brik 1 (T-statistic) for ttest++
!3dTcat -prefix ./afni_pro_glm/group_results/Flanker-Inc-Con_ttest_Tstat.nii.gz './afni_pro_glm/group_results/Flanker-Inc-Con_ttest+tlrc[1]'
# Copy sub-brik 1 (T-statistic) for MEMA
!3dTcat -prefix ./afni_pro_glm/group_results/Flanker_Inc-Con_MEMA_Tstat.nii.gz './afni_pro_glm/group_results/Flanker_Inc-Con_MEMA+tlrc[1]'
++ 3dTcat: AFNI version=AFNI_25.2.03 (Jul 4 2025) [64-bit]
** ERROR: output dataset name 'Flanker-Inc-Con_ttest_Tstat.nii.gz' conflicts with existing file
** ERROR: dataset NOT written to disk!
++ elapsed time = 0.2 s
++ 3dTcat: AFNI version=AFNI_25.2.03 (Jul 4 2025) [64-bit]
** ERROR: output dataset name 'Flanker_Inc-Con_MEMA_Tstat.nii.gz' conflicts with existing file
** ERROR: dataset NOT written to disk!
++ elapsed time = 0.2 s
# Load T-stat maps
img_ttest = image.load_img("./afni_pro_glm/group_results/Flanker-Inc-Con_ttest_Tstat.nii.gz")
img_mema = image.load_img("./afni_pro_glm/group_results/Flanker_Inc-Con_MEMA_Tstat.nii.gz")
plotting_config = {
"display_mode": "ortho",
"draw_cross": False,
"vmax": 8,
"cmap": "cold_hot",
"colorbar": True,
}
# transparency_range fades voxels with t < 1 to transparent
# and makes voxels with t > 3.3 (p<0.001) fully opaque
for img, title in [
(img_ttest, "3dttest++"),
(img_mema, "3dMEMA"),
]:
plotting.plot_stat_map(
img,
title=title,
transparency=img,
transparency_range=[1, 3.3],
**plotting_config,
)
plotting.show()
4. ROI Analysis#
4.1 ROI Analysis: Atlas-Based MidACC Mask#
To investigate group-level effects within a specific anatomical region, we use an atlas-based Region of Interest (ROI) mask focusing on the mid anterior cingulate cortex (midACC).
1. Identify Available Atlases:
We begin by confirming the available atlases using:
!whereami -show_atlas_code
This lists all atlases bundled with AFNI.
! whereami -show_atlas_code
++ Input coordinates orientation set by default rules to RAI
Atlas MNI_Glasser_HCP_v1.0, 360 regions
----------- Begin regions for MNI_Glasser_HCP_v1.0 atlas-----------
u:L_Primary_Visual_Cortex:1
u:R_Primary_Visual_Cortex:1001
u:L_Medial_Superior_Temporal_Area:2
u:R_Medial_Superior_Temporal_Area:1002
u:L_Sixth_Visual_Area:3
u:R_Sixth_Visual_Area:1003
u:L_Second_Visual_Area:4
u:R_Second_Visual_Area:1004
u:L_Third_Visual_Area:5
u:R_Third_Visual_Area:1005
u:L_Fourth_Visual_Area:6
u:R_Fourth_Visual_Area:1006
u:L_Eighth_Visual_Area:7
u:R_Eighth_Visual_Area:1007
u:L_Primary_Motor_Cortex:8
u:R_Primary_Motor_Cortex:1008
u:L_Primary_Sensory_Cortex:9
u:R_Primary_Sensory_Cortex:1009
u:L_Frontal_Eye_Fields:10
u:R_Frontal_Eye_Fields:1010
u:L_Premotor_Eye_Fields:11
u:R_Premotor_Eye_Fields:1011
u:L_Area_55b:12
u:R_Area_55b:1012
u:L_Area_V3A:13
u:R_Area_V3A:1013
u:L_RetroSplenial_Complex:14
u:R_RetroSplenial_Complex:1014
u:L_Parieto-Occipital_Sulcus_Area_2:15
u:R_Parieto-Occipital_Sulcus_Area_2:1015
u:L_Seventh_Visual_Area:16
u:R_Seventh_Visual_Area:1016
u:L_IntraParietal_Sulcus_Area_1:17
u:R_IntraParietal_Sulcus_Area_1:1017
u:L_Fusiform_Face_Complex:18
u:R_Fusiform_Face_Complex:1018
u:L_Area_V3B:19
u:R_Area_V3B:1019
u:L_Area_Lateral_Occipital_1:20
u:R_Area_Lateral_Occipital_1:1020
u:L_Area_Lateral_Occipital_2:21
u:R_Area_Lateral_Occipital_2:1021
u:L_Posterior_InferoTemporal:22
u:R_Posterior_InferoTemporal:1022
u:L_Middle_Temporal_Area:23
u:R_Middle_Temporal_Area:1023
u:L_Primary_Auditory_Cortex:24
u:R_Primary_Auditory_Cortex:1024
u:L_PeriSylvian_Language_Area:25
u:R_PeriSylvian_Language_Area:1025
u:L_Superior_Frontal_Language_Area:26
u:R_Superior_Frontal_Language_Area:1026
u:L_PreCuneus_Visual_Area:27
u:R_PreCuneus_Visual_Area:1027
u:L_Superior_Temporal_Visual_Area:28
u:R_Superior_Temporal_Visual_Area:1028
u:L_Medial_Area_7P:29
u:R_Medial_Area_7P:1029
u:L_Area_7m:30
u:R_Area_7m:1030
u:L_Parieto-Occipital_Sulcus_Area_1:31
u:R_Parieto-Occipital_Sulcus_Area_1:1031
u:L_Area_23d:32
u:R_Area_23d:1032
u:L_Area_ventral_23_a+b:33
u:R_Area_ventral_23_a+b:1033
u:L_Area_dorsal_23_a+b:34
u:R_Area_dorsal_23_a+b:1034
u:L_Area_31p_ventral:35
u:R_Area_31p_ventral:1035
u:L_Area_5m:36
u:R_Area_5m:1036
u:L_Area_5m_ventral:37
u:R_Area_5m_ventral:1037
u:L_Area_23c:38
u:R_Area_23c:1038
u:L_Area_5L:39
u:R_Area_5L:1039
u:L_Dorsal_Area_24d:40
u:R_Dorsal_Area_24d:1040
u:L_Ventral_Area_24d:41
u:R_Ventral_Area_24d:1041
u:L_Lateral_Area_7A:42
u:R_Lateral_Area_7A:1042
u:L_Supplementary_And_Cingulate_Eye:43
u:R_Supplementary_And_Cingulate_Eye:1043
u:L_Area_6m_anterior:44
u:R_Area_6m_anterior:1044
u:L_Medial_Area_7A:45
u:R_Medial_Area_7A:1045
u:L_Lateral_Area_7P:46
u:R_Lateral_Area_7P:1046
u:L_Area_7PC:47
u:R_Area_7PC:1047
u:L_Area_Lateral_IntraParietal_ventral:48
u:R_Area_Lateral_IntraParietal_ventral:1048
u:L_Ventral_IntraParietal_Complex:49
u:R_Ventral_IntraParietal_Complex:1049
u:L_Medial_IntraParietal_Area:50
u:R_Medial_IntraParietal_Area:1050
u:L_Area_1:51
u:R_Area_1:1051
u:L_Area_2:52
u:R_Area_2:1052
u:L_Area_3a:53
u:R_Area_3a:1053
u:L_Dorsal_area_6:54
u:R_Dorsal_area_6:1054
u:L_Area_6mp:55
u:R_Area_6mp:1055
u:L_Ventral_Area_6:56
u:R_Ventral_Area_6:1056
u:L_Area_Posterior_24_prime:57
u:R_Area_Posterior_24_prime:1057
u:L_Area_33_prime:58
u:R_Area_33_prime:1058
u:L_Anterior_24_prime:59
u:R_Anterior_24_prime:1059
u:L_Area_p32_prime:60
u:R_Area_p32_prime:1060
u:L_Area_a24:61
u:R_Area_a24:1061
u:L_Area_dorsal_32:62
u:R_Area_dorsal_32:1062
u:L_Area_8BM:63
u:R_Area_8BM:1063
u:L_Area_p32:64
u:R_Area_p32:1064
u:L_Area_10r:65
u:R_Area_10r:1065
u:L_Area_47m:66
u:R_Area_47m:1066
u:L_Area_8Av:67
u:R_Area_8Av:1067
u:L_Area_8Ad:68
u:R_Area_8Ad:1068
u:L_Area_9_Middle:69
u:R_Area_9_Middle:1069
u:L_Area_8B_Lateral:70
u:R_Area_8B_Lateral:1070
u:L_Area_9_Posterior:71
u:R_Area_9_Posterior:1071
u:L_Area_10d:72
u:R_Area_10d:1072
u:L_Area_8C:73
u:R_Area_8C:1073
u:L_Area_44:74
u:R_Area_44:1074
u:L_Area_45:75
u:R_Area_45:1075
u:L_Area_47l_(47_lateral):76
u:R_Area_47l_(47_lateral):1076
u:L_Area_anterior_47r:77
u:R_Area_anterior_47r:1077
u:L_Rostral_Area_6:78
u:R_Rostral_Area_6:1078
u:L_Area_IFJa:79
u:R_Area_IFJa:1079
u:L_Area_IFJp:80
u:R_Area_IFJp:1080
u:L_Area_IFSp:81
u:R_Area_IFSp:1081
u:L_Area__IFSa:82
u:R_Area__IFSa:1082
u:L_Area_posterior_9-46v:83
u:R_Area_posterior_9-46v:1083
u:L_Area_46:84
u:R_Area_46:1084
u:L_Area_anterior_9-46v:85
u:R_Area_anterior_9-46v:1085
u:L_Area_9-46d:86
u:R_Area_9-46d:1086
u:L_Area_9_anterior:87
u:R_Area_9_anterior:1087
u:L_Area_10v:88
u:R_Area_10v:1088
u:L_Area_anterior_10p:89
u:R_Area_anterior_10p:1089
u:L_Polar_10p:90
u:R_Polar_10p:1090
u:L_Area_11l:91
u:R_Area_11l:1091
u:L_Area_13l:92
u:R_Area_13l:1092
u:L_Orbital_Frontal_Complex:93
u:R_Orbital_Frontal_Complex:1093
u:L_Area_47s:94
u:R_Area_47s:1094
u:L_Area_Lateral_IntraParietal_dorsal:95
u:R_Area_Lateral_IntraParietal_dorsal:1095
u:L_Area_6_anterior:96
u:R_Area_6_anterior:1096
u:L_Inferior_6-8_Transitional_Area:97
u:R_Inferior_6-8_Transitional_Area:1097
u:L_Superior_6-8_Transitional_Area:98
u:R_Superior_6-8_Transitional_Area:1098
u:L_Area_43:99
u:R_Area_43:1099
u:L_Area_OP4/PV:100
u:R_Area_OP4/PV:1100
u:L_Area_OP1/SII:101
u:R_Area_OP1/SII:1101
u:L_Area_OP2-3/VS:102
u:R_Area_OP2-3/VS:1102
u:L_Area_52:103
u:R_Area_52:1103
u:L_RetroInsular_Cortex:104
u:R_RetroInsular_Cortex:1104
u:L_Area_PFcm:105
u:R_Area_PFcm:1105
u:L_Posterior_Insular_Area_2:106
u:R_Posterior_Insular_Area_2:1106
u:L_Area_TA2:107
u:R_Area_TA2:1107
u:L_Frontal_Opercular_Area_4:108
u:R_Frontal_Opercular_Area_4:1108
u:L_Middle_Insular_Area:109
u:R_Middle_Insular_Area:1109
u:L_Piriform_Cortex:110
u:R_Piriform_Cortex:1110
u:L_Anterior_Ventral_Insular_Area:111
u:R_Anterior_Ventral_Insular_Area:1111
u:L_Anterior_Agranular_Insula_Complex:112
u:R_Anterior_Agranular_Insula_Complex:1112
u:L_Frontal_Opercular_Area_1:113
u:R_Frontal_Opercular_Area_1:1113
u:L_Frontal_Opercular_Area_3:114
u:R_Frontal_Opercular_Area_3:1114
u:L_Frontal_Opercular_Area_2:115
u:R_Frontal_Opercular_Area_2:1115
u:L_Area_PFt:116
u:R_Area_PFt:1116
u:L_Anterior_IntraParietal_Area:117
u:R_Anterior_IntraParietal_Area:1117
u:L_Entorhinal_Cortex:118
u:R_Entorhinal_Cortex:1118
u:L_PreSubiculum:119
u:R_PreSubiculum:1119
u:L_Hippocampus:120
u:R_Hippocampus:1120
u:L_ProStriate_Area:121
u:R_ProStriate_Area:1121
u:L_Perirhinal_Ectorhinal_Cortex:122
u:R_Perirhinal_Ectorhinal_Cortex:1122
u:L_Area_STGa:123
u:R_Area_STGa:1123
u:L_ParaBelt_Complex:124
u:R_ParaBelt_Complex:1124
u:L_Auditory_5_Complex:125
u:R_Auditory_5_Complex:1125
u:L_ParaHippocampal_Area_1:126
u:R_ParaHippocampal_Area_1:1126
u:L_ParaHippocampal_Area_3:127
u:R_ParaHippocampal_Area_3:1127
u:L_Area_STSd_anterior:128
u:R_Area_STSd_anterior:1128
u:L_Area_STSd_posterior:129
u:R_Area_STSd_posterior:1129
u:L_Area_STSv_posterior:130
u:R_Area_STSv_posterior:1130
u:L_Area_TG_dorsal:131
u:R_Area_TG_dorsal:1131
u:L_Area_TE1_anterior:132
u:R_Area_TE1_anterior:1132
u:L_Area_TE1_posterior:133
u:R_Area_TE1_posterior:1133
u:L_Area_TE2_anterior:134
u:R_Area_TE2_anterior:1134
u:L_Area_TF:135
u:R_Area_TF:1135
u:L_Area_TE2_posterior:136
u:R_Area_TE2_posterior:1136
u:L_Area_PHT:137
u:R_Area_PHT:1137
u:L_Area_PH:138
u:R_Area_PH:1138
u:L_Area_TemporoParietoOccipital_Junction_1:139
u:R_Area_TemporoParietoOccipital_Junction_1:1139
u:L_Area_TemporoParietoOccipital_Junction_2:140
u:R_Area_TemporoParietoOccipital_Junction_2:1140
u:L_Area_TemporoParietoOccipital_Junction_3:141
u:R_Area_TemporoParietoOccipital_Junction_3:1141
u:L_Dorsal_Transitional_Visual_Area:142
u:R_Dorsal_Transitional_Visual_Area:1142
u:L_Area_PGp:143
u:R_Area_PGp:1143
u:L_Area_IntraParietal_2:144
u:R_Area_IntraParietal_2:1144
u:L_Area_IntraParietal_1:145
u:R_Area_IntraParietal_1:1145
u:L_Area_IntraParietal_0:146
u:R_Area_IntraParietal_0:1146
u:L_Area_PF_opercular:147
u:R_Area_PF_opercular:1147
u:L_Area_PF_Complex:148
u:R_Area_PF_Complex:1148
u:L_Area_PFm_Complex:149
u:R_Area_PFm_Complex:1149
u:L_Area_PGi:150
u:R_Area_PGi:1150
u:L_Area_PGs:151
u:R_Area_PGs:1151
u:L_Area_V6A:152
u:R_Area_V6A:1152
u:L_VentroMedial_Visual_Area_1:153
u:R_VentroMedial_Visual_Area_1:1153
u:L_VentroMedial_Visual_Area_3:154
u:R_VentroMedial_Visual_Area_3:1154
u:L_ParaHippocampal_Area_2:155
u:R_ParaHippocampal_Area_2:1155
u:L_Area_V4t:156
u:R_Area_V4t:1156
u:L_Area_FST:157
u:R_Area_FST:1157
u:L_Area_V3CD:158
u:R_Area_V3CD:1158
u:L_Area_Lateral_Occipital_3:159
u:R_Area_Lateral_Occipital_3:1159
u:L_VentroMedial_Visual_Area_2:160
u:R_VentroMedial_Visual_Area_2:1160
u:L_Area_31pd:161
u:R_Area_31pd:1161
u:L_Area_31a:162
u:R_Area_31a:1162
u:L_Ventral_Visual_Complex:163
u:R_Ventral_Visual_Complex:1163
u:L_Area_25:164
u:R_Area_25:1164
u:L_Area_s32:165
u:R_Area_s32:1165
u:L_posterior_OFC_Complex:166
u:R_posterior_OFC_Complex:1166
u:L_Area_Posterior_Insular_1:167
u:R_Area_Posterior_Insular_1:1167
u:L_Insular_Granular_Complex:168
u:R_Insular_Granular_Complex:1168
u:L_Area_Frontal_Opercular:169
u:R_Area_Frontal_Opercular:1169
u:L_Area_posterior_10p:170
u:R_Area_posterior_10p:1170
u:L_Area_posterior_47r:171
u:R_Area_posterior_47r:1171
u:L_Area_TG_Ventral:172
u:R_Area_TG_Ventral:1172
u:L_Medial_Belt_Complex:173
u:R_Medial_Belt_Complex:1173
u:L_Lateral_Belt_Complex:174
u:R_Lateral_Belt_Complex:1174
u:L_Auditory_4_Complex:175
u:R_Auditory_4_Complex:1175
u:L_Area_STSv_anterior:176
u:R_Area_STSv_anterior:1176
u:L_Area_TE1_Middle:177
u:R_Area_TE1_Middle:1177
u:L_Para-Insular_Area:178
u:R_Para-Insular_Area:1178
u:L_Area_anterior_32_prime:179
u:R_Area_anterior_32_prime:1179
u:L_Area_posterior_24:180
u:R_Area_posterior_24:1180
----------- End regions for MNI_Glasser_HCP_v1.0 atlas --------------
Atlas Brainnetome_1.0, 246 regions
----------- Begin regions for Brainnetome_1.0 atlas-----------
u:A8m_left:1
u:A8dl_left:3
u:A9l_left:5
u:A6dl_left:7
u:A6m_left:9
u:A9m_left:11
u:A10m_left:13
u:A9/46d_left:15
u:IFJ_left:17
u:A46_left:19
u:A9/46v_left:21
u:A8vl_left:23
u:A6vl_left:25
u:A10l_left:27
u:A44d_left:29
u:IFS_left:31
u:A45c_left:33
u:A45r_left:35
u:A44op_left:37
u:A44v_left:39
u:A14m_left:41
u:A12/47o_left:43
u:A11l_left:45
u:A11m_left:47
u:A13_left:49
u:A12/47l_left:51
u:A4hf_left:53
u:A6cdl_left:55
u:A4ul_left:57
u:A4t_left:59
u:A4tl_left:61
u:A6cvl_left:63
u:A1/2/3ll_left:65
u:A4ll_left:67
u:A38m_left:69
u:A41/42_left:71
u:TE1.0_1.2_left:73
u:A22c_left:75
u:A38l_left:77
u:A22r_left:79
u:A21c_left:81
u:A21r_left:83
u:A37dl_left:85
u:aSTS_left:87
u:A20iv_left:89
u:A37elv_left:91
u:A20r_left:93
u:A20il_left:95
u:A37vl_left:97
u:A20cl_left:99
u:A20cv_left:101
u:A20rv_left:103
u:A37mv_left:105
u:A37lv_left:107
u:A35/36r_left:109
u:A35/36c_left:111
u:TL_left:113
u:A28/34_left:115
u:TI_left:117
u:TH_left:119
u:rpSTS_left:121
u:cpSTS_left:123
u:A7r_left:125
u:A7c_left:127
u:A5l_left:129
u:A7pc_left:131
u:A7ip_left:133
u:A39c_left:135
u:A39rd_left:137
u:A40rd_left:139
u:A40c_left:141
u:A39rv_left:143
u:A40rv_left:145
u:A7m_left:147
u:A5m_left:149
u:dmPOS_left:151
u:A31_left:153
u:A1/2/3ulhf_left:155
u:A1/2/3tonIa_left:157
u:A2_left:159
u:A1/2/3tru_left:161
u:G_left:163
u:vIa_left:165
u:dIa_left:167
u:vId/vIg_left:169
u:dIg_left:171
u:dId_left:173
u:A23d_left:175
u:A24rv_left:177
u:A32p_left:179
u:A23v_left:181
u:A24cd_left:183
u:A23c_left:185
u:A32sg_left:187
u:cLinG_left:189
u:rCunG_left:191
u:cCunG_left:193
u:rLinG_left:195
u:vmPOS_left:197
u:mOccG_left:199
u:V5/MT+_left:201
u:OPC_left:203
u:iOccG_left:205
u:msOccG_left:207
u:lsOccG_left:209
u:mAmyg_left:211
u:lAmyg_left:213
u:rHipp_left:215
u:cHipp_left:217
u:vCa_left:219
u:GP_left:221
u:NAC_left:223
u:vmPu_left:225
u:dCa_left:227
u:dlPu_left:229
u:mPFtha_left:231
u:mPMtha_left:233
u:Stha_left:235
u:rTtha_left:237
u:PPtha_left:239
u:Otha_left:241
u:cTtha_left:243
u:lPFtha_left:245
u:A8m_right:2
u:A8dl_right:4
u:A9l_right:6
u:A6dl_right:8
u:A6m_right:10
u:A9m_right:12
u:A10m_right:14
u:A9/46d_right:16
u:IFJ_right:18
u:A46_right:20
u:A9/46v_right:22
u:A8vl_right:24
u:A6vl_right:26
u:A10l_right:28
u:A44d_right:30
u:IFS_right:32
u:A45c_right:34
u:A45r_right:36
u:A44op_right:38
u:A44v_right:40
u:A14m_right:42
u:A12/47o_right:44
u:A11l_right:46
u:A11m_right:48
u:A13_right:50
u:A12/47l_right:52
u:A4hf_right:54
u:A6cdl_right:56
u:A4ul_right:58
u:A4t_right:60
u:A4tl_right:62
u:A6cvl_right:64
u:A1/2/3ll_right:66
u:A4ll_right:68
u:A38m_right:70
u:A41/42_right:72
u:TE1.0_1.2_right:74
u:A22c_right:76
u:A38l_right:78
u:A22r_right:80
u:A21c_right:82
u:A21r_right:84
u:A37dl_right:86
u:aSTS_right:88
u:A20iv_right:90
u:A37elv_right:92
u:A20r_right:94
u:A20il_right:96
u:A37vl_right:98
u:A20cl_right:100
u:A20cv_right:102
u:A20rv_right:104
u:A37mv_right:106
u:A37lv_right:108
u:A35/36r_right:110
u:A35/36c_right:112
u:TL_right:114
u:A28/34_right:116
u:TI_right:118
u:TH_right:120
u:rpSTS_right:122
u:cpSTS_right:124
u:A7r_right:126
u:A7c_right:128
u:A5l_right:130
u:A7pc_right:132
u:A7ip_right:134
u:A39c_right:136
u:A39rd_right:138
u:A40rd_right:140
u:A40c_right:142
u:A39rv_right:144
u:A40rv_right:146
u:A7m_right:148
u:A5m_right:150
u:dmPOS_right:152
u:A31_right:154
u:A1/2/3ulhf_right:156
u:A1/2/3tonIa_right:158
u:A2_right:160
u:A1/2/3tru_right:162
u:G_right:164
u:vIa_right:166
u:dIa_right:168
u:vId/vIg_right:170
u:dIg_right:172
u:dId_right:174
u:A23d_right:176
u:A24rv_right:178
u:A32p_right:180
u:A23v_right:182
u:A24cd_right:184
u:A23c_right:186
u:A32sg_right:188
u:cLinG_right:190
u:rCunG_right:192
u:cCunG_right:194
u:rLinG_right:196
u:vmPOS_right:198
u:mOccG_right:200
u:V5/MT+_right:202
u:OPC_right:204
u:iOccG_right:206
u:msOccG_right:208
u:lsOccG_right:210
u:mAmyg_right:212
u:lAmyg_right:214
u:rHipp_right:216
u:cHipp_right:218
u:vCa_right:220
u:GP_right:222
u:NAC_right:224
u:vmPu_right:226
u:dCa_right:228
u:dlPu_right:230
u:mPFtha_right:232
u:mPMtha_right:234
u:Stha_right:236
u:rTtha_right:238
u:PPtha_right:240
u:Otha_right:242
u:cTtha_right:244
u:lPFtha_right:246
----------- End regions for Brainnetome_1.0 atlas --------------
Atlas CA_MPM_22_MNI, 100 regions
----------- Begin regions for CA_MPM_22_MNI atlas-----------
u:Interposed_Nucleus:111
u:Amygdala_(AStr):193
u:Amygdala_(CM):133
u:Amygdala_(LB):202
u:Amygdala_(SF):151
u:Area_FG3:117
u:Area_1:106
u:Area_2:243
u:Area_25:178
u:Area_33:119
u:Area_3a:250
u:Area_3b:187
u:Area_44:246
u:Area_45:129
u:Area_4a:160
u:Area_4p:191
u:Area_5Ci_(SPL):185
u:Area_5L_(SPL):159
u:Area_5M_(SPL):241
u:Area_7A_(SPL):165
u:Area_7M_(SPL):120
u:Area_7P_(SPL):224
u:Area_7PC_(SPL):167
u:Area_FG1:148
u:Area_FG2:171
u:Area_FG4:123
u:Area_Fo1:170
u:Area_Fo2:109
u:Area_Fo3:145
u:Area_Fp1:219
u:Area_Fp2:230
u:Area_Id1:126
u:Area_Ig1:236
u:Area_Ig2:204
u:Area_OP1_(SII):122
u:Area_OP2_(PIVC):139
u:Area_OP3_(VS):147
u:Area_OP4_(PV):173
u:Area_PF_(IPL):136
u:Area_PFcm_(IPL):153
u:Area_PFm_(IPL):128
u:Area_PFop_(IPL):125
u:Area_PFt_(IPL):240
u:Area_PGa_(IPL):201
u:Area_PGp_(IPL):198
u:Area_TE_1.0:210
u:Area_TE_1.1:213
u:Area_TE_1.2:218
u:Area_TE_3:181
u:Area_hIP1_(IPS):131
u:Area_hIP2_(IPS):226
u:Area_hIP3_(IPS):157
u:Area_hOc1_(V1):249
u:Area_hOc2_(V2):252
u:Area_hOc3d_(V3d):199
u:Area_hOc3v_(V3v):108
u:Area_hOc4d_(V3A):143
u:Area_hOc4la:162
u:Area_hOc4lp:233
u:Area_hOc4v_(V4(v)):103
u:Area_hOc5_(V5/MT):105
u:Area_s24:253
u:Area_s32:102
u:BF_(Ch_1-3):114
u:BF_(Ch_4):142
u:CA1_(Hippocampus):238
u:CA2_(Hippocampus):116
u:CA3_(Hippocampus):168
u:DG_(Hippocampus):150
u:Dorsal_Dentate_Nucleus:235
u:Entorhinal_Cortex:229
u:Fastigii_Nucleus:255
u:HATA_Region:174
u:Lobule_I_IV_(Hem):215
u:Lobule_IX_(Hem):134
u:Lobule_IX_(Verm):209
u:Lobule_V_(Hem):247
u:Lobule_VI_(Hem):222
u:Lobule_VI_(Verm):112
u:Lobule_VIIIa_(Hem):207
u:Lobule_VIIIa_(Verm):182
u:Lobule_VIIIb_(Hem):196
u:Lobule_VIIIb_(Verm):154
u:Lobule_VIIa_crusI_(Hem):212
u:Lobule_VIIa_crusI_(Verm):137
u:Lobule_VIIa_crusII_(Hem):216
u:Lobule_VIIa_crusII_(Verm):140
u:Lobule_VIIb_(Hem):164
u:Lobule_VIIb_(Verm):205
u:Lobule_X_(Hem):221
u:Lobule_X_(Verm):184
u:Subiculum:244
u:Thal:_Motor:176
u:Thal:_Parietal:179
u:Thal:_Prefrontal:156
u:Thal:_Premotor:188
u:Thal:_Somatosensory:190
u:Thal:_Temporal:232
u:Thal:_Visual:227
u:Ventral_Dentate_Nucleus:195
----------- End regions for CA_MPM_22_MNI atlas --------------
Atlas CA_MPM_22_TT, 100 regions
----------- Begin regions for CA_MPM_22_TT atlas-----------
u:Interposed_Nucleus :111
u:Amygdala_(AStr) :193
u:Amygdala_(CM) :133
u:Amygdala_(LB) :202
u:Amygdala_(SF) :151
u:Area_FG3 :117
u:Area_1 :106
u:Area_2 :243
u:Area_25 :178
u:Area_33 :119
u:Area_3a :250
u:Area_3b :187
u:Area_44 :246
u:Area_45 :129
u:Area_4a :160
u:Area_4p :191
u:Area_5Ci_(SPL) :185
u:Area_5L_(SPL) :159
u:Area_5M_(SPL) :241
u:Area_7A_(SPL) :165
u:Area_7M_(SPL) :120
u:Area_7P_(SPL) :224
u:Area_7PC_(SPL) :167
u:Area_FG1 :148
u:Area_FG2 :171
u:Area_FG4 :123
u:Area_Fo1 :170
u:Area_Fo2 :109
u:Area_Fo3 :145
u:Area_Fp1 :219
u:Area_Fp2 :230
u:Area_Id1 :126
u:Area_Ig1 :236
u:Area_Ig2 :204
u:Area_OP1_(SII) :122
u:Area_OP2_(PIVC) :139
u:Area_OP3_(VS) :147
u:Area_OP4_(PV) :173
u:Area_PF_(IPL) :136
u:Area_PFcm_(IPL) :153
u:Area_PFm_(IPL) :128
u:Area_PFop_(IPL) :125
u:Area_PFt_(IPL) :240
u:Area_PGa_(IPL) :201
u:Area_PGp_(IPL) :198
u:Area_TE_1.0 :210
u:Area_TE_1.1 :213
u:Area_TE_1.2 :218
u:Area_TE_3 :181
u:Area_hIP1_(IPS) :131
u:Area_hIP2_(IPS) :226
u:Area_hIP3_(IPS) :157
u:Area_hOc1_(V1) :249
u:Area_hOc2_(V2) :252
u:Area_hOc3d_(V3d) :199
u:Area_hOc3v_(V3v) :108
u:Area_hOc4d_(V3A) :143
u:Area_hOc4la :162
u:Area_hOc4lp :233
u:Area_hOc4v_(V4(v)) :103
u:Area_hOc5_(V5/MT) :105
u:Area_s24 :253
u:Area_s32 :102
u:BF_(Ch_1-3) :114
u:BF_(Ch_4) :142
u:CA1_(Hippocampus) :238
u:CA2_(Hippocampus) :116
u:CA3_(Hippocampus) :168
u:DG_(Hippocampus) :150
u:Dorsal_Dentate_Nucleus :235
u:Entorhinal_Cortex :229
u:Fastigii_Nucleus :255
u:HATA_Region :174
u:Lobule_I_IV_(Hem) :215
u:Lobule_IX_(Hem) :134
u:Lobule_IX_(Verm) :209
u:Lobule_V_(Hem) :247
u:Lobule_VI_(Hem) :222
u:Lobule_VI_(Verm) :112
u:Lobule_VIIIa_(Hem) :207
u:Lobule_VIIIa_(Verm) :182
u:Lobule_VIIIb_(Hem) :196
u:Lobule_VIIIb_(Verm) :154
u:Lobule_VIIa_crusI_(Hem) :212
u:Lobule_VIIa_crusI_(Verm) :137
u:Lobule_VIIa_crusII_(Hem) :216
u:Lobule_VIIa_crusII_(Verm) :140
u:Lobule_VIIb_(Hem) :164
u:Lobule_VIIb_(Verm) :205
u:Lobule_X_(Hem) :221
u:Lobule_X_(Verm) :184
u:Subiculum :244
u:Thal:_Motor :176
u:Thal:_Parietal :179
u:Thal:_Prefrontal :156
u:Thal:_Premotor :188
u:Thal:_Somatosensory :190
u:Thal:_Temporal :232
u:Thal:_Visual :227
u:Ventral_Dentate_Nucleus :195
----------- End regions for CA_MPM_22_TT atlas --------------
Atlas CA_N27_ML, 116 regions
----------- Begin regions for CA_N27_ML atlas-----------
u:Left_Precentral_Gyrus:1
u:Right_Precentral_Gyrus:2
u:Left_Superior_Frontal_Gyrus:3
u:Right_Superior_Frontal_Gyrus:4
u:Left_Superior_Orbital_Gyrus:5
u:Right_Superior_Orbital_Gyrus:6
u:Left_Middle_Frontal_Gyrus:7
u:Right_Middle_Frontal_Gyrus:8
u:Left_Middle_Orbital_Gyrus:9
u:Right_Middle_Orbital_Gyrus:10
u:Left_Inferior_Frontal_Gyrus_(p._Opercularis):11
u:Right_Inferior_Frontal_Gyrus_(p._Opercularis):12
u:Left_Inferior_Frontal_Gyrus_(p._Triangularis):13
u:Right_Inferior_Frontal_Gyrus_(p._Triangularis):14
u:Left_Inferior_Frontal_Gyrus_(p._Orbitalis):15
u:Right_Inferior_Frontal_Gyrus_(p._Orbitalis):16
u:Left_Rolandic_Operculum:17
u:Right_Rolandic_Operculum:18
u:Left_SMA:19
u:Right_SMA:20
u:Left_Olfactory_cortex:21
u:Right_Olfactory_cortex:22
u:Left_Superior_Medial_Gyrus:23
u:Right_Superior_Medial_Gyrus:24
u:Left_Mid_Orbital_Gyrus:25
u:Right_Mid_Orbital_Gyrus:26
u:Left_Rectal_Gyrus:27
u:Right_Rectal_Gyrus:28
u:Left_Insula_Lobe:29
u:Right_Insula_Lobe:30
u:Left_Anterior_Cingulate_Cortex:31
u:Right_Anterior_Cingulate_Cortex:32
u:Left_Middle_Cingulate_Cortex:33
u:Right_Middle_Cingulate_Cortex:34
u:Left_Posterior_Cingulate_Cortex:35
u:Right_Posterior_Cingulate_Cortex:36
u:Left_Hippocampus:37
u:Right_Hippocampus:38
u:Left_ParaHippocampal_Gyrus:39
u:Right_ParaHippocampal_Gyrus:40
u:Left_Amygdala:41
u:Right_Amygdala:42
u:Left_Calcarine_Gyrus:43
u:Right_Calcarine_Gyrus:44
u:Left_Cuneus:45
u:Right_Cuneus:46
u:Left_Lingual_Gyrus:47
u:Right_Lingual_Gyrus:48
u:Left_Superior_Occipital_Gyrus:49
u:Right_Superior_Occipital_Gyrus:50
u:Left_Middle_Occipital_Gyrus:51
u:Right_Middle_Occipital_Gyrus:52
u:Left_Inferior_Occipital_Gyrus:53
u:Right_Inferior_Occipital_Gyrus:54
u:Left_Fusiform_Gyrus:55
u:Right_Fusiform_Gyrus:56
u:Left_Postcentral_Gyrus:57
u:Right_Postcentral_Gyrus:58
u:Left_Superior_Parietal_Lobule:59
u:Right_Superior_Parietal_Lobule:60
u:Left_Inferior_Parietal_Lobule:61
u:Right_Inferior_Parietal_Lobule:62
u:Left_SupraMarginal_Gyrus:63
u:Right_SupraMarginal_Gyrus:64
u:Left_Angular_Gyrus:65
u:Right_Angular_Gyrus:66
u:Left_Precuneus:67
u:Right_Precuneus:68
u:Left_Paracentral_Lobule:69
u:Right_Paracentral_Lobule:70
u:Left_Caudate_Nucleus:71
u:Right_Caudate_Nucleus:72
u:Left_Putamen:73
u:Right_Putamen:74
u:Left_Pallidum:75
u:Right_Pallidum:76
u:Left_Thalamus:77
u:Right_Thalamus:78
u:Left_Heschls_Gyrus:79
u:Right_Heschls_Gyrus:80
u:Left_Superior_Temporal_Gyrus:81
u:Right_Superior_Temporal_Gyrus:82
u:Left_Temporal_Pole:83
u:Right_Temporal_Pole:84
u:Left_Middle_Temporal_Gyrus:85
u:Right_Middle_Temporal_Gyrus:86
u:Left_Medial_Temporal_Pole:87
u:Right_Medial_Temporal_Pole:88
u:Left_Inferior_Temporal_Gyrus:89
u:Right_Inferior_Temporal_Gyrus:90
u:Left_Cerebellum_(Crus_1):91
u:Right_Cerebellum_(Crus_1):92
u:Left_Cerebellum_(Crus_2):93
u:Right_Cerebellum_(Crus_2):94
u:Left_Cerebellum_(III):95
u:Right_Cerebellum_(III):96
u:Left_Cerebellum_(IV-V):97
u:Right_Cerebellum_(IV-V):98
u:Left_Cerebellum_(VI):99
u:Right_Cerebellum_(VI):100
u:Left_Cerebellum_(VII):101
u:Right_Cerebellum_(VII):102
u:Left_Cerebellum_(VIII):103
u:Right_Cerebellum_(VIII):104
u:Left_Cerebellum_(IX):105
u:Right_Cerebellum_(IX):106
u:Left_Cerebellum_(X):107
u:Right_Cerebellum_(X):108
u:Cerebellar_Vermis_(1/2):109
u:Cerebellar_Vermis_(3):110
u:Cerebellar_Vermis_(4/5):111
u:Cerebellar_Vermis_(6):112
u:Cerebellar_Vermis_(7):113
u:Cerebellar_Vermis_(8):114
u:Cerebellar_Vermis_(9):115
u:Cerebellar_Vermis_(10):116
----------- End regions for CA_N27_ML atlas --------------
Atlas CA_N27_GW, 2 regions
----------- Begin regions for CA_N27_GW atlas-----------
u:grey:0
u:white:1
----------- End regions for CA_N27_GW atlas --------------
Atlas CA_ML_18_MNI, 116 regions
----------- Begin regions for CA_ML_18_MNI atlas-----------
u:Left_Precentral_Gyrus:1
u:Right_Precentral_Gyrus:2
u:Left_Superior_Frontal_Gyrus:3
u:Right_Superior_Frontal_Gyrus:4
u:Left_Superior_Orbital_Gyrus:5
u:Right_Superior_Orbital_Gyrus:6
u:Left_Middle_Frontal_Gyrus:7
u:Right_Middle_Frontal_Gyrus:8
u:Left_Middle_Orbital_Gyrus:9
u:Right_Middle_Orbital_Gyrus:10
u:Left_Inferior_Frontal_Gyrus_(p._Opercularis):11
u:Right_Inferior_Frontal_Gyrus_(p._Opercularis):12
u:Left_Inferior_Frontal_Gyrus_(p._Triangularis):13
u:Right_Inferior_Frontal_Gyrus_(p._Triangularis):14
u:Left_Inferior_Frontal_Gyrus_(p._Orbitalis):15
u:Right_Inferior_Frontal_Gyrus_(p._Orbitalis):16
u:Left_Rolandic_Operculum:17
u:Right_Rolandic_Operculum:18
u:Left_SMA:19
u:Right_SMA:20
u:Left_Olfactory_cortex:21
u:Right_Olfactory_cortex:22
u:Left_Superior_Medial_Gyrus:23
u:Right_Superior_Medial_Gyrus:24
u:Left_Mid_Orbital_Gyrus:25
u:Right_Mid_Orbital_Gyrus:26
u:Left_Rectal_Gyrus:27
u:Right_Rectal_Gyrus:28
u:Left_Insula_Lobe:29
u:Right_Insula_Lobe:30
u:Left_Anterior_Cingulate_Cortex:31
u:Right_Anterior_Cingulate_Cortex:32
u:Left_Middle_Cingulate_Cortex:33
u:Right_Middle_Cingulate_Cortex:34
u:Left_Posterior_Cingulate_Cortex:35
u:Right_Posterior_Cingulate_Cortex:36
u:Left_Hippocampus:37
u:Right_Hippocampus:38
u:Left_ParaHippocampal_Gyrus:39
u:Right_ParaHippocampal_Gyrus:40
u:Left_Amygdala:41
u:Right_Amygdala:42
u:Left_Calcarine_Gyrus:43
u:Right_Calcarine_Gyrus:44
u:Left_Cuneus:45
u:Right_Cuneus:46
u:Left_Lingual_Gyrus:47
u:Right_Lingual_Gyrus:48
u:Left_Superior_Occipital_Gyrus:49
u:Right_Superior_Occipital_Gyrus:50
u:Left_Middle_Occipital_Gyrus:51
u:Right_Middle_Occipital_Gyrus:52
u:Left_Inferior_Occipital_Gyrus:53
u:Right_Inferior_Occipital_Gyrus:54
u:Left_Fusiform_Gyrus:55
u:Right_Fusiform_Gyrus:56
u:Left_Postcentral_Gyrus:57
u:Right_Postcentral_Gyrus:58
u:Left_Superior_Parietal_Lobule:59
u:Right_Superior_Parietal_Lobule:60
u:Left_Inferior_Parietal_Lobule:61
u:Right_Inferior_Parietal_Lobule:62
u:Left_SupraMarginal_Gyrus:63
u:Right_SupraMarginal_Gyrus:64
u:Left_Angular_Gyrus:65
u:Right_Angular_Gyrus:66
u:Left_Precuneus:67
u:Right_Precuneus:68
u:Left_Paracentral_Lobule:69
u:Right_Paracentral_Lobule:70
u:Left_Caudate_Nucleus:71
u:Right_Caudate_Nucleus:72
u:Left_Putamen:73
u:Right_Putamen:74
u:Left_Pallidum:75
u:Right_Pallidum:76
u:Left_Thalamus:77
u:Right_Thalamus:78
u:Left_Heschls_Gyrus:79
u:Right_Heschls_Gyrus:80
u:Left_Superior_Temporal_Gyrus:81
u:Right_Superior_Temporal_Gyrus:82
u:Left_Temporal_Pole:83
u:Right_Temporal_Pole:84
u:Left_Middle_Temporal_Gyrus:85
u:Right_Middle_Temporal_Gyrus:86
u:Left_Medial_Temporal_Pole:87
u:Right_Medial_Temporal_Pole:88
u:Left_Inferior_Temporal_Gyrus:89
u:Right_Inferior_Temporal_Gyrus:90
u:Left_Cerebellum_(Crus_1):91
u:Right_Cerebellum_(Crus_1):92
u:Left_Cerebellum_(Crus_2):93
u:Right_Cerebellum_(Crus_2):94
u:Left_Cerebellum_(III):95
u:Right_Cerebellum_(III):96
u:Left_Cerebellum_(IV-V):97
u:Right_Cerebellum_(IV-V):98
u:Left_Cerebellum_(VI):99
u:Right_Cerebellum_(VI):100
u:Left_Cerebellum_(VII):101
u:Right_Cerebellum_(VII):102
u:Left_Cerebellum_(VIII):103
u:Right_Cerebellum_(VIII):104
u:Left_Cerebellum_(IX):105
u:Right_Cerebellum_(IX):106
u:Left_Cerebellum_(X):107
u:Right_Cerebellum_(X):108
u:Cerebellar_Vermis_(1/2):109
u:Cerebellar_Vermis_(3):110
u:Cerebellar_Vermis_(4/5):111
u:Cerebellar_Vermis_(6):112
u:Cerebellar_Vermis_(7):113
u:Cerebellar_Vermis_(8):114
u:Cerebellar_Vermis_(9):115
u:Cerebellar_Vermis_(10):116
----------- End regions for CA_ML_18_MNI atlas --------------
Atlas CA_LR_18_MNI, 2 regions
----------- Begin regions for CA_LR_18_MNI atlas-----------
u:Right Brain:1
u:Left Brain:2
----------- End regions for CA_LR_18_MNI atlas --------------
Atlas Haskins_Pediatric_Nonlinear_1.01, 107 regions
----------- Begin regions for Haskins_Pediatric_Nonlinear_1.01 atlas-----------
u:Left-Lateral-Ventricle:1
u:Left-Inf-Lat-Vent:2
u:Left-Cerebellum-White-Matter:3
u:Left-Cerebellum-Cortex:4
u:Left-Thalamus-Proper:5
u:Left-Caudate:6
u:Left-Putamen:7
u:Left-Pallidum:8
u:3rd-Ventricle:9
u:4th-Ventricle:10
u:Brain-Stem:11
u:Left-Hippocampus:12
u:Left-Amygdala:13
u:CSF:14
u:Left-Accumbens-area:15
u:Left-VentralDC:16
u:Left-vessel:17
u:Left-choroid-plexus:18
u:Right-Lateral-Ventricle:19
u:Right-Inf-Lat-Vent:20
u:Right-Cerebellum-White-Matter:21
u:Right-Cerebellum-Cortex:22
u:Right-Thalamus-Proper:23
u:Right-Caudate:24
u:Right-Putamen:25
u:Right-Pallidum:26
u:Right-Hippocampus:27
u:Right-Amygdala:28
u:Right-Accumbens-area:29
u:Right-VentralDC:30
u:Right-vessel:31
u:Right-choroid-plexus:32
u:5th-Ventricle:33
u:Optic-Chiasm:34
u:CC_Posterior:35
u:CC_Mid_Posterior:36
u:CC_Central:37
u:CC_Mid_Anterior:38
u:CC_Anterior:39
u:ctx-lh-bankssts:40
u:ctx-lh-caudalanteriorcingulate:41
u:ctx-lh-caudalmiddlefrontal:42
u:ctx-lh-cuneus:43
u:ctx-lh-entorhinal:44
u:ctx-lh-fusiform:45
u:ctx-lh-inferiorparietal:46
u:ctx-lh-inferiortemporal:47
u:ctx-lh-isthmuscingulate:48
u:ctx-lh-lateraloccipital:49
u:ctx-lh-lateralorbitofrontal:50
u:ctx-lh-lingual:51
u:ctx-lh-medialorbitofrontal:52
u:ctx-lh-middletemporal:53
u:ctx-lh-parahippocampal:54
u:ctx-lh-paracentral:55
u:ctx-lh-parsopercularis:56
u:ctx-lh-parsorbitalis:57
u:ctx-lh-parstriangularis:58
u:ctx-lh-pericalcarine:59
u:ctx-lh-postcentral:60
u:ctx-lh-posteriorcingulate:61
u:ctx-lh-precentral:62
u:ctx-lh-precuneus:63
u:ctx-lh-rostralanteriorcingulate:64
u:ctx-lh-rostralmiddlefrontal:65
u:ctx-lh-superiorfrontal:66
u:ctx-lh-superiorparietal:67
u:ctx-lh-superiortemporal:68
u:ctx-lh-supramarginal:69
u:ctx-lh-frontalpole:70
u:ctx-lh-temporalpole:71
u:ctx-lh-transversetemporal:72
u:ctx-lh-insula:73
u:ctx-rh-bankssts:74
u:ctx-rh-caudalanteriorcingulate:75
u:ctx-rh-caudalmiddlefrontal:76
u:ctx-rh-cuneus:77
u:ctx-rh-entorhinal:78
u:ctx-rh-fusiform:79
u:ctx-rh-inferiorparietal:80
u:ctx-rh-inferiortemporal:81
u:ctx-rh-isthmuscingulate:82
u:ctx-rh-lateraloccipital:83
u:ctx-rh-lateralorbitofrontal:84
u:ctx-rh-lingual:85
u:ctx-rh-medialorbitofrontal:86
u:ctx-rh-middletemporal:87
u:ctx-rh-parahippocampal:88
u:ctx-rh-paracentral:89
u:ctx-rh-parsopercularis:90
u:ctx-rh-parsorbitalis:91
u:ctx-rh-parstriangularis:92
u:ctx-rh-pericalcarine:93
u:ctx-rh-postcentral:94
u:ctx-rh-posteriorcingulate:95
u:ctx-rh-precentral:96
u:ctx-rh-precuneus:97
u:ctx-rh-rostralanteriorcingulate:98
u:ctx-rh-rostralmiddlefrontal:99
u:ctx-rh-superiorfrontal:100
u:ctx-rh-superiorparietal:101
u:ctx-rh-superiortemporal:102
u:ctx-rh-supramarginal:103
u:ctx-rh-frontalpole:104
u:ctx-rh-temporalpole:105
u:ctx-rh-transversetemporal:106
u:ctx-rh-insula:107
----------- End regions for Haskins_Pediatric_Nonlinear_1.01 atlas --------------
Atlas FS.afni.MNI2009c_asym, 87 regions
----------- Begin regions for FS.afni.MNI2009c_asym atlas-----------
u:Left-Cerebellum-Cortex:6
u:Left-Thalamus-Proper:7
u:Left-Caudate:8
u:Left-Putamen:9
u:Left-Pallidum:10
u:Brain-Stem:13
u:Left-Hippocampus:14
u:Left-Amygdala:15
u:Left-Accumbens-area:17
u:Left-VentralDC:18
u:Right-Cerebellum-Cortex:26
u:Right-Thalamus-Proper:27
u:Right-Caudate:28
u:Right-Putamen:29
u:Right-Pallidum:30
u:Right-Hippocampus:31
u:Right-Amygdala:32
u:Right-Accumbens-area:33
u:Right-VentralDC:34
u:ctx-lh-bankssts:47
u:ctx-lh-caudalanteriorcingulate:48
u:ctx-lh-caudalmiddlefrontal:49
u:ctx-lh-cuneus:50
u:ctx-lh-entorhinal:51
u:ctx-lh-fusiform:52
u:ctx-lh-inferiorparietal:53
u:ctx-lh-inferiortemporal:54
u:ctx-lh-isthmuscingulate:55
u:ctx-lh-lateraloccipital:56
u:ctx-lh-lateralorbitofrontal:57
u:ctx-lh-lingual:58
u:ctx-lh-medialorbitofrontal:59
u:ctx-lh-middletemporal:60
u:ctx-lh-parahippocampal:61
u:ctx-lh-paracentral:62
u:ctx-lh-parsopercularis:63
u:ctx-lh-parsorbitalis:64
u:ctx-lh-parstriangularis:65
u:ctx-lh-pericalcarine:66
u:ctx-lh-postcentral:67
u:ctx-lh-posteriorcingulate:68
u:ctx-lh-precentral:69
u:ctx-lh-precuneus:70
u:ctx-lh-rostralanteriorcingulate:71
u:ctx-lh-rostralmiddlefrontal:72
u:ctx-lh-superiorfrontal:73
u:ctx-lh-superiorparietal:74
u:ctx-lh-superiortemporal:75
u:ctx-lh-supramarginal:76
u:ctx-lh-frontalpole:77
u:ctx-lh-temporalpole:78
u:ctx-lh-transversetemporal:79
u:ctx-lh-insula:80
u:ctx-rh-bankssts:82
u:ctx-rh-caudalanteriorcingulate:83
u:ctx-rh-caudalmiddlefrontal:84
u:ctx-rh-cuneus:85
u:ctx-rh-entorhinal:86
u:ctx-rh-fusiform:87
u:ctx-rh-inferiorparietal:88
u:ctx-rh-inferiortemporal:89
u:ctx-rh-isthmuscingulate:90
u:ctx-rh-lateraloccipital:91
u:ctx-rh-lateralorbitofrontal:92
u:ctx-rh-lingual:93
u:ctx-rh-medialorbitofrontal:94
u:ctx-rh-middletemporal:95
u:ctx-rh-parahippocampal:96
u:ctx-rh-paracentral:97
u:ctx-rh-parsopercularis:98
u:ctx-rh-parsorbitalis:99
u:ctx-rh-parstriangularis:100
u:ctx-rh-pericalcarine:101
u:ctx-rh-postcentral:102
u:ctx-rh-posteriorcingulate:103
u:ctx-rh-precentral:104
u:ctx-rh-precuneus:105
u:ctx-rh-rostralanteriorcingulate:106
u:ctx-rh-rostralmiddlefrontal:107
u:ctx-rh-superiorfrontal:108
u:ctx-rh-superiorparietal:109
u:ctx-rh-superiortemporal:110
u:ctx-rh-supramarginal:111
u:ctx-rh-frontalpole:112
u:ctx-rh-temporalpole:113
u:ctx-rh-transversetemporal:114
u:ctx-rh-insula:115
----------- End regions for FS.afni.MNI2009c_asym atlas --------------
Atlas FS.afni.TTN27, 87 regions
----------- Begin regions for FS.afni.TTN27 atlas-----------
u:Left-Cerebellum-Cortex:6
u:Left-Thalamus-Proper:7
u:Left-Caudate:8
u:Left-Putamen:9
u:Left-Pallidum:10
u:Brain-Stem:13
u:Left-Hippocampus:14
u:Left-Amygdala:15
u:Left-Accumbens-area:17
u:Left-VentralDC:18
u:Right-Cerebellum-Cortex:26
u:Right-Thalamus-Proper:27
u:Right-Caudate:28
u:Right-Putamen:29
u:Right-Pallidum:30
u:Right-Hippocampus:31
u:Right-Amygdala:32
u:Right-Accumbens-area:33
u:Right-VentralDC:34
u:ctx-lh-bankssts:47
u:ctx-lh-caudalanteriorcingulate:48
u:ctx-lh-caudalmiddlefrontal:49
u:ctx-lh-cuneus:50
u:ctx-lh-entorhinal:51
u:ctx-lh-fusiform:52
u:ctx-lh-inferiorparietal:53
u:ctx-lh-inferiortemporal:54
u:ctx-lh-isthmuscingulate:55
u:ctx-lh-lateraloccipital:56
u:ctx-lh-lateralorbitofrontal:57
u:ctx-lh-lingual:58
u:ctx-lh-medialorbitofrontal:59
u:ctx-lh-middletemporal:60
u:ctx-lh-parahippocampal:61
u:ctx-lh-paracentral:62
u:ctx-lh-parsopercularis:63
u:ctx-lh-parsorbitalis:64
u:ctx-lh-parstriangularis:65
u:ctx-lh-pericalcarine:66
u:ctx-lh-postcentral:67
u:ctx-lh-posteriorcingulate:68
u:ctx-lh-precentral:69
u:ctx-lh-precuneus:70
u:ctx-lh-rostralanteriorcingulate:71
u:ctx-lh-rostralmiddlefrontal:72
u:ctx-lh-superiorfrontal:73
u:ctx-lh-superiorparietal:74
u:ctx-lh-superiortemporal:75
u:ctx-lh-supramarginal:76
u:ctx-lh-frontalpole:77
u:ctx-lh-temporalpole:78
u:ctx-lh-transversetemporal:79
u:ctx-lh-insula:80
u:ctx-rh-bankssts:82
u:ctx-rh-caudalanteriorcingulate:83
u:ctx-rh-caudalmiddlefrontal:84
u:ctx-rh-cuneus:85
u:ctx-rh-entorhinal:86
u:ctx-rh-fusiform:87
u:ctx-rh-inferiorparietal:88
u:ctx-rh-inferiortemporal:89
u:ctx-rh-isthmuscingulate:90
u:ctx-rh-lateraloccipital:91
u:ctx-rh-lateralorbitofrontal:92
u:ctx-rh-lingual:93
u:ctx-rh-medialorbitofrontal:94
u:ctx-rh-middletemporal:95
u:ctx-rh-parahippocampal:96
u:ctx-rh-paracentral:97
u:ctx-rh-parsopercularis:98
u:ctx-rh-parsorbitalis:99
u:ctx-rh-parstriangularis:100
u:ctx-rh-pericalcarine:101
u:ctx-rh-postcentral:102
u:ctx-rh-posteriorcingulate:103
u:ctx-rh-precentral:104
u:ctx-rh-precuneus:105
u:ctx-rh-rostralanteriorcingulate:106
u:ctx-rh-rostralmiddlefrontal:107
u:ctx-rh-superiorfrontal:108
u:ctx-rh-superiorparietal:109
u:ctx-rh-superiortemporal:110
u:ctx-rh-supramarginal:111
u:ctx-rh-frontalpole:112
u:ctx-rh-temporalpole:113
u:ctx-rh-transversetemporal:114
u:ctx-rh-insula:115
----------- End regions for FS.afni.TTN27 atlas --------------
Atlas Brodmann_Pijn, 81 regions
----------- Begin regions for Brodmann_Pijn atlas-----------
u:Unknown:0
u:ctx-lh-unknown:1000
u:ctx-lh-BA1_3:1001
u:ctx-lh-BA2:1002
u:ctx-lh-BA4:1003
u:ctx-lh-BA5:1004
u:ctx-lh-BA6:1005
u:ctx-lh-BA7:1006
u:ctx-lh-BA8:1007
u:ctx-lh-BA9:1008
u:ctx-lh-BA10:1009
u:ctx-lh-BA11:1010
u:ctx-lh-BA13:1011
u:ctx-lh-BA16:1012
u:ctx-lh-BA17:1013
u:ctx-lh-BA18:1014
u:ctx-lh-BA19:1015
u:ctx-lh-BA20:1016
u:ctx-lh-BA21:1017
u:ctx-lh-BA22:1018
u:ctx-lh-BA23:1019
u:ctx-lh-BA24:1020
u:ctx-lh-BA25:1021
u:ctx-lh-BA26_29_30:1022
u:ctx-lh-BA27:1023
u:ctx-lh-BA28:1024
u:ctx-lh-BA31:1025
u:ctx-lh-BA32:1026
u:ctx-lh-BA33:1027
u:ctx-lh-BA34:1028
u:ctx-lh-BA35_36:1029
u:ctx-lh-BA37:1030
u:ctx-lh-BA38:1031
u:ctx-lh-BA39:1032
u:ctx-lh-BA40:1033
u:ctx-lh-BA41_42_52:1034
u:ctx-lh-BA43:1035
u:ctx-lh-BA44:1036
u:ctx-lh-BA45:1037
u:ctx-lh-BA46:1038
u:ctx-lh-BA47:1039
u:ctx-rh-unknown:2000
u:ctx-rh-BA1_3:2001
u:ctx-rh-BA2:2002
u:ctx-rh-BA4:2003
u:ctx-rh-BA5:2004
u:ctx-rh-BA6:2005
u:ctx-rh-BA7:2006
u:ctx-rh-BA8:2007
u:ctx-rh-BA9:2008
u:ctx-rh-BA10:2009
u:ctx-rh-BA11:2010
u:ctx-rh-BA13:2011
u:ctx-rh-BA16:2012
u:ctx-rh-BA17:2013
u:ctx-rh-BA18:2014
u:ctx-rh-BA19:2015
u:ctx-rh-BA20:2016
u:ctx-rh-BA21:2017
u:ctx-rh-BA22:2018
u:ctx-rh-BA23:2019
u:ctx-rh-BA24:2020
u:ctx-rh-BA25:2021
u:ctx-rh-BA26_29_30:2022
u:ctx-rh-BA27:2023
u:ctx-rh-BA28:2024
u:ctx-rh-BA31:2025
u:ctx-rh-BA32:2026
u:ctx-rh-BA33:2027
u:ctx-rh-BA34:2028
u:ctx-rh-BA35_36:2029
u:ctx-rh-BA37:2030
u:ctx-rh-BA38:2031
u:ctx-rh-BA39:2032
u:ctx-rh-BA40:2033
u:ctx-rh-BA41_42_52:2034
u:ctx-rh-BA43:2035
u:ctx-rh-BA44:2036
u:ctx-rh-BA45:2037
u:ctx-rh-BA46:2038
u:ctx-rh-BA47:2039
----------- End regions for Brodmann_Pijn atlas --------------
Atlas Brodmann_Pijn_AFNI, 78 regions
----------- Begin regions for Brodmann_Pijn_AFNI atlas-----------
u:ctx-lh-BA1_3:1
u:ctx-lh-BA2:2
u:ctx-lh-BA4:3
u:ctx-lh-BA5:4
u:ctx-lh-BA6:5
u:ctx-lh-BA7:6
u:ctx-lh-BA8:7
u:ctx-lh-BA9:8
u:ctx-lh-BA10:9
u:ctx-lh-BA11:10
u:ctx-lh-BA13:11
u:ctx-lh-BA16:12
u:ctx-lh-BA17:13
u:ctx-lh-BA18:14
u:ctx-lh-BA19:15
u:ctx-lh-BA20:16
u:ctx-lh-BA21:17
u:ctx-lh-BA22:18
u:ctx-lh-BA23:19
u:ctx-lh-BA24:20
u:ctx-lh-BA25:21
u:ctx-lh-BA26_29_30:22
u:ctx-lh-BA27:23
u:ctx-lh-BA28:24
u:ctx-lh-BA31:25
u:ctx-lh-BA32:26
u:ctx-lh-BA33:27
u:ctx-lh-BA34:28
u:ctx-lh-BA35_36:29
u:ctx-lh-BA37:30
u:ctx-lh-BA38:31
u:ctx-lh-BA39:32
u:ctx-lh-BA40:33
u:ctx-lh-BA41_42_52:34
u:ctx-lh-BA43:35
u:ctx-lh-BA44:36
u:ctx-lh-BA45:37
u:ctx-lh-BA46:38
u:ctx-lh-BA47:39
u:ctx-rh-BA1_3:101
u:ctx-rh-BA2:102
u:ctx-rh-BA4:103
u:ctx-rh-BA5:104
u:ctx-rh-BA6:105
u:ctx-rh-BA7:106
u:ctx-rh-BA8:107
u:ctx-rh-BA9:108
u:ctx-rh-BA10:109
u:ctx-rh-BA11:110
u:ctx-rh-BA13:111
u:ctx-rh-BA16:112
u:ctx-rh-BA17:113
u:ctx-rh-BA18:114
u:ctx-rh-BA19:115
u:ctx-rh-BA20:116
u:ctx-rh-BA21:117
u:ctx-rh-BA22:118
u:ctx-rh-BA23:119
u:ctx-rh-BA24:120
u:ctx-rh-BA25:121
u:ctx-rh-BA26_29_30:122
u:ctx-rh-BA27:123
u:ctx-rh-BA28:124
u:ctx-rh-BA31:125
u:ctx-rh-BA32:126
u:ctx-rh-BA33:127
u:ctx-rh-BA34:128
u:ctx-rh-BA35_36:129
u:ctx-rh-BA37:130
u:ctx-rh-BA38:131
u:ctx-rh-BA39:132
u:ctx-rh-BA40:133
u:ctx-rh-BA41_42_52:134
u:ctx-rh-BA43:135
u:ctx-rh-BA44:136
u:ctx-rh-BA45:137
u:ctx-rh-BA46:138
u:ctx-rh-BA47:139
----------- End regions for Brodmann_Pijn_AFNI atlas --------------
Atlas Julich_MNI2009c, 314 regions
----------- Begin regions for Julich_MNI2009c atlas-----------
u:right_Area_45_(IFG):1
u:left_Area_45_(IFG):201
u:right_Area_44_(IFG):2
u:left_Area_44_(IFG):202
u:right_Area_Fo1_(OFC):3
u:left_Area_Fo1_(OFC):203
u:right_Area_Fo2_(OFC):4
u:left_Area_Fo2_(OFC):204
u:right_Area_Fo3_(OFC):5
u:left_Area_Fo3_(OFC):205
u:right_Area_hOc5_(LOC):6
u:left_Area_hOc5_(LOC):206
u:right_Area_hOc2_(V2,_18):7
u:left_Area_hOc2_(V2,_18):207
u:right_Area_hOc1_(V1,_17,_CalcS):8
u:left_Area_hOc1_(V1,_17,_CalcS):208
u:right_Area_hOc4v_(LingG):9
u:left_Area_hOc4v_(LingG):209
u:right_Area_hOc3v_(LingG):10
u:left_Area_hOc3v_(LingG):210
u:right_Area_TE_1.0_(HESCHL):11
u:left_Area_TE_1.0_(HESCHL):211
u:right_Area_TE_2.1_(STG):12
u:left_Area_TE_2.1_(STG):212
u:right_Area_TPJ_(STG/SMG):13
u:left_Area_TPJ_(STG/SMG):213
u:right_Area_TE_1.2_(HESCHL):14
u:left_Area_TE_1.2_(HESCHL):214
u:right_Area_TE_3_(STG):15
u:left_Area_TE_3_(STG):215
u:right_Area_TE_1.1_(HESCHL):16
u:left_Area_TE_1.1_(HESCHL):216
u:right_Area_TE_2.2_(STG):17
u:left_Area_TE_2.2_(STG):217
u:right_Area_33_(ACC):18
u:left_Area_33_(ACC):218
u:right_Area_s32_(sACC):19
u:left_Area_s32_(sACC):219
u:right_Area_p32_(pACC):20
u:left_Area_p32_(pACC):220
u:right_Area_Id2_(Insula):21
u:left_Area_Id2_(Insula):221
u:right_Area_Id3_(Insula):22
u:left_Area_Id3_(Insula):222
u:right_CA2_(Hippocampus):23
u:left_CA2_(Hippocampus):223
u:right_CA3_(Hippocampus):24
u:left_CA3_(Hippocampus):224
u:right_Entorhinal_Cortex:25
u:left_Entorhinal_Cortex:225
u:right_DG_(Hippocampus):26
u:left_DG_(Hippocampus):226
u:right_CA1_(Hippocampus):27
u:left_CA1_(Hippocampus):227
u:right_HATA_(Hippocampus):28
u:left_HATA_(Hippocampus):228
u:right_Area_OP4_(POperc):29
u:left_Area_OP4_(POperc):229
u:right_Area_OP1_(POperc):30
u:left_Area_OP1_(POperc):230
u:right_Area_OP2_(POperc):31
u:left_Area_OP2_(POperc):231
u:right_Area_OP3_(POperc):32
u:left_Area_OP3_(POperc):232
u:right_Area_FG2_(FusG):33
u:left_Area_FG2_(FusG):233
u:right_Area_FG1_(FusG):34
u:left_Area_FG1_(FusG):234
u:right_Area_PGp_(IPL):35
u:left_Area_PGp_(IPL):235
u:right_Area_PFt_(IPL):36
u:left_Area_PFt_(IPL):236
u:right_Area_PGa_(IPL):37
u:left_Area_PGa_(IPL):237
u:right_Area_PFop_(IPL):38
u:left_Area_PFop_(IPL):238
u:right_Area_PFm_(IPL):39
u:left_Area_PFm_(IPL):239
u:right_Area_PFcm_(IPL):40
u:left_Area_PFcm_(IPL):240
u:right_Area_Ig2_(Insula):41
u:left_Area_Ig2_(Insula):241
u:right_Area_Ig1_(Insula):42
u:left_Area_Ig1_(Insula):242
u:right_Area_Id1_(Insula):43
u:left_Area_Id1_(Insula):243
u:right_Area_hOc4lp_(LOC):44
u:left_Area_hOc4lp_(LOC):244
u:right_Area_hOc4la_(LOC):45
u:left_Area_hOc4la_(LOC):245
u:right_Area_hOc4d_(Cuneus):46
u:left_Area_hOc4d_(Cuneus):246
u:right_Area_hOc3d_(Cuneus):47
u:left_Area_hOc3d_(Cuneus):247
u:right_Area_4p_(PreCG):48
u:left_Area_4p_(PreCG):248
u:right_Area_4a_(PreCG):49
u:left_Area_4a_(PreCG):249
u:right_Area_1_(PostCG):50
u:left_Area_1_(PostCG):250
u:right_Area_3a_(PostCG):51
u:left_Area_3a_(PostCG):251
u:right_Area_3b_(PostCG):52
u:left_Area_3b_(PostCG):252
u:right_Area_hIP1_(IPS):53
u:left_Area_hIP1_(IPS):253
u:right_Area_hIP2_(IPS):54
u:left_Area_hIP2_(IPS):254
u:right_Area_5L_(SPL):55
u:left_Area_5L_(SPL):255
u:right_Area_5M_(SPL):56
u:left_Area_5M_(SPL):256
u:right_Area_7PC_(SPL):57
u:left_Area_7PC_(SPL):257
u:right_Area_hIP3_(IPS):58
u:left_Area_hIP3_(IPS):258
u:right_Area_7A_(SPL):59
u:left_Area_7A_(SPL):259
u:right_Area_7M_(SPL):60
u:left_Area_7M_(SPL):260
u:right_Area_5Ci_(SPL):61
u:left_Area_5Ci_(SPL):261
u:right_Area_Id7_(Insula):62
u:left_Area_Id7_(Insula):262
u:right_Area_s24_(sACC):63
u:left_Area_s24_(sACC):263
u:right_Area_25_(sACC):64
u:left_Area_25_(sACC):264
u:right_SF_(Amygdala):65
u:left_SF_(Amygdala):265
u:right_LB_(Amygdala):66
u:left_LB_(Amygdala):266
u:right_Subiculum_(Hippocampus):67
u:left_Subiculum_(Hippocampus):267
u:right_Area_PF_(IPL):68
u:left_Area_PF_(IPL):268
u:right_Area_7P_(SPL):69
u:left_Area_7P_(SPL):269
u:right_Area_Fp2_(FPole):70
u:left_Area_Fp2_(FPole):270
u:right_Area_Fp1_(FPole):71
u:left_Area_Fp1_(FPole):271
u:right_Fastigial_Nucleus_(Cerebellum):72
u:left_Fastigial_Nucleus_(Cerebellum):272
u:right_VTM_(Amygdala):73
u:left_VTM_(Amygdala):273
u:right_Area_p24ab_(pACC):74
u:left_Area_p24ab_(pACC):274
u:right_Area_p24c_(pACC):75
u:left_Area_p24c_(pACC):275
u:right_MF_(Amygdala):76
u:left_MF_(Amygdala):276
u:right_IF_(Amygdala):77
u:left_IF_(Amygdala):277
u:right_Area_FG4_(FusG):78
u:left_Area_FG4_(FusG):278
u:right_Area_FG3_(FusG):79
u:left_Area_FG3_(FusG):279
u:right_Dorsal_Dentate_Nucleus_(Cerebellum):80
u:left_Dorsal_Dentate_Nucleus_(Cerebellum):280
u:right_Ventral_Dentate_Nucleus_(Cerebellum):81
u:left_Ventral_Dentate_Nucleus_(Cerebellum):281
u:right_Area_TeI_(STG):82
u:left_Area_TeI_(STG):282
u:right_Area_TI_(STG):83
u:left_Area_TI_(STG):283
u:right_Area_IFS1_(IFS):84
u:left_Area_IFS1_(IFS):284
u:right_Area_IFS2_(IFS):85
u:left_Area_IFS2_(IFS):285
u:right_Area_IFS3_(IFS):86
u:left_Area_IFS3_(IFS):286
u:right_Area_IFS4_(IFS):87
u:left_Area_IFS4_(IFS):287
u:right_Area_IFJ1_(IFS,PreCS):88
u:left_Area_IFJ1_(IFS,PreCS):288
u:right_Area_IFJ2_(IFS,PreCS):89
u:left_Area_IFJ2_(IFS,PreCS):289
u:right_Interposed_Nucleus_(Cerebellum):90
u:left_Interposed_Nucleus_(Cerebellum):290
u:right_Area_2_(PostCS):91
u:left_Area_2_(PostCS):291
u:right_Ch_4_(Basal_Forebrain):92
u:left_Ch_4_(Basal_Forebrain):292
u:right_Area_STS1_(STS):93
u:left_Area_STS1_(STS):293
u:right_Area_STS2_(STS):94
u:left_Area_STS2_(STS):294
u:right_Area_Op8_(Frontal_Operculum):95
u:left_Area_Op8_(Frontal_Operculum):295
u:right_Area_Op9_(Frontal_Operculum):96
u:left_Area_Op9_(Frontal_Operculum):296
u:right_Ch_123_(Basal_Forebrain):97
u:left_Ch_123_(Basal_Forebrain):297
u:right_Area_6d1_(PreCG):98
u:left_Area_6d1_(PreCG):298
u:right_Area_6d2_(PreCG):99
u:left_Area_6d2_(PreCG):299
u:right_Area_6d3_(SFS):100
u:left_Area_6d3_(SFS):300
u:right_CM_(Amygdala):101
u:left_CM_(Amygdala):301
u:right_Area_hOc6_(POS):102
u:left_Area_hOc6_(POS):302
u:right_Area_hIP6_(IPS):103
u:left_Area_hIP6_(IPS):303
u:right_Area_hIP8_(IPS):104
u:left_Area_hIP8_(IPS):304
u:right_Area_hIP4_(IPS):105
u:left_Area_hIP4_(IPS):305
u:right_Area_hIP5_(IPS):106
u:left_Area_hIP5_(IPS):306
u:right_Area_hIP7_(IPS):107
u:left_Area_hIP7_(IPS):307
u:right_Area_hPO1_(POS):108
u:left_Area_hPO1_(POS):308
u:right_Area_6mp_(SMA,_mesial_SFG):109
u:left_Area_6mp_(SMA,_mesial_SFG):309
u:right_Area_6ma_(preSMA,_mesial_SFG):110
u:left_Area_6ma_(preSMA,_mesial_SFG):310
u:right_HC-Transsubiculum_(Hippocampus):111
u:left_HC-Transsubiculum_(Hippocampus):311
u:right_Tuberculum_(Basal_Forebrain):112
u:left_Tuberculum_(Basal_Forebrain):312
u:right_Terminal_islands_(Basal_Forebrain):113
u:left_Terminal_islands_(Basal_Forebrain):313
u:right_Area_Fo4_(OFC):114
u:left_Area_Fo4_(OFC):314
u:right_Area_Fo5_(OFC):115
u:left_Area_Fo5_(OFC):315
u:right_Area_Fo6_(OFC):116
u:left_Area_Fo6_(OFC):316
u:right_Area_Fo7_(OFC):117
u:left_Area_Fo7_(OFC):317
u:right_Area_8d1_(SFG):118
u:left_Area_8d1_(SFG):318
u:right_Area_8d2_(SFG):119
u:left_Area_8d2_(SFG):319
u:right_Area_8v2_(MFG):120
u:left_Area_8v2_(MFG):320
u:right_Area_8v1_(MFG):121
u:left_Area_8v1_(MFG):321
u:right_Area_Ig3_(Insula):122
u:left_Area_Ig3_(Insula):322
u:right_Area_Id4_(Insula):123
u:left_Area_Id4_(Insula):323
u:right_Area_Id5_(Insula):124
u:left_Area_Id5_(Insula):324
u:right_Area_Ia1_(Insula):125
u:left_Area_Ia1_(Insula):325
u:right_Area_Id6_(Insula):126
u:left_Area_Id6_(Insula):326
u:right_Area_SFS1_(SFS):127
u:left_Area_SFS1_(SFS):327
u:right_Area_SFS2_(SFS):128
u:left_Area_SFS2_(SFS):328
u:right_Area_MFG1_(MFG):129
u:left_Area_MFG1_(MFG):329
u:right_Area_MFG2_(MFG):130
u:left_Area_MFG2_(MFG):330
u:right_Area_Op5_(Frontal_Operculum):131
u:left_Area_Op5_(Frontal_Operculum):331
u:right_Area_Op6_(Frontal_Operculum):132
u:left_Area_Op6_(Frontal_Operculum):332
u:right_Area_Op7_(Frontal_Operculum):133
u:left_Area_Op7_(Frontal_Operculum):333
u:right_Area_Ph1_(PhG):134
u:left_Area_Ph1_(PhG):334
u:right_Area_Ph2_(PhG):135
u:left_Area_Ph2_(PhG):335
u:right_Area_Ph3_(PhG):136
u:left_Area_Ph3_(PhG):336
u:right_Area_CoS1_(CoS):137
u:left_Area_CoS1_(CoS):337
u:right_Medial_Accumbens,_ventral_Striatum_(Basal_Ganglia):138
u:left_Medial_Accumbens,_ventral_Striatum_(Basal_Ganglia):338
u:right_Fundus_of_Caudate_Nucleus,_ventral_Striatum_(Basal_Ganglia):139
u:left_Fundus_of_Caudate_Nucleus,_ventral_Striatum_(Basal_Ganglia):339
u:right_Fundus_of_Putamen,_Ventral_Striatum_(Basal_Ganglia):140
u:left_Fundus_of_Putamen,_Ventral_Striatum_(Basal_Ganglia):340
u:right_Lateral_Accumbens,_ventral_Striatum_(Basal_Ganglia):141
u:left_Lateral_Accumbens,_ventral_Striatum_(Basal_Ganglia):341
u:right_VP,_ventral_Pallidum_(Basal_Ganglia):142
u:left_VP,_ventral_Pallidum_(Basal_Ganglia):342
u:right_CGL_(Metathalamus):143
u:left_CGL_(Metathalamus):343
u:right_CGM_(Metathalamus):144
u:left_CGM_(Metathalamus):344
u:right_STN_(Subthalamus):145
u:left_STN_(Subthalamus):345
u:right_Area_Id9_(Insula):146
u:left_Area_Id9_(Insula):346
u:right_Area_Ia3_(Insula):147
u:left_Area_Ia3_(Insula):347
u:right_Area_Ia2_(Insula):148
u:left_Area_Ia2_(Insula):348
u:right_Area_Id8_(Insula):149
u:left_Area_Id8_(Insula):349
u:right_Area_Id10_(Insula):150
u:left_Area_Id10_(Insula):350
u:right_BST_(Bed_Nucleus):151
u:left_BST_(Bed_Nucleus):351
u:right_Frontal-I_(GapMap):152
u:left_Frontal-I_(GapMap):352
u:right_Frontal-II_(GapMap):153
u:left_Frontal-II_(GapMap):353
u:right_Temporal-to-Parietal_(GapMap):154
u:left_Temporal-to-Parietal_(GapMap):354
u:right_Frontal-to-Occipital_(GapMap):155
u:left_Frontal-to-Occipital_(GapMap):355
u:right_Frontal-to-Temporal-I_(GapMap):156
u:left_Frontal-to-Temporal-I_(GapMap):356
u:right_Frontal-to-Temporal-II_(GapMap):157
u:left_Frontal-to-Temporal-II_(GapMap):357
----------- End regions for Julich_MNI2009c atlas --------------
Atlas Julich_MNI_N27, 314 regions
----------- Begin regions for Julich_MNI_N27 atlas-----------
u:right_Area_45_(IFG):1
u:left_Area_45_(IFG):201
u:right_Area_44_(IFG):2
u:left_Area_44_(IFG):202
u:right_Area_Fo1_(OFC):3
u:left_Area_Fo1_(OFC):203
u:right_Area_Fo2_(OFC):4
u:left_Area_Fo2_(OFC):204
u:right_Area_Fo3_(OFC):5
u:left_Area_Fo3_(OFC):205
u:right_Area_hOc5_(LOC):6
u:left_Area_hOc5_(LOC):206
u:right_Area_hOc2_(V2,_18):7
u:left_Area_hOc2_(V2,_18):207
u:right_Area_hOc1_(V1,_17,_CalcS):8
u:left_Area_hOc1_(V1,_17,_CalcS):208
u:right_Area_hOc4v_(LingG):9
u:left_Area_hOc4v_(LingG):209
u:right_Area_hOc3v_(LingG):10
u:left_Area_hOc3v_(LingG):210
u:right_Area_TE_1.0_(HESCHL):11
u:left_Area_TE_1.0_(HESCHL):211
u:right_Area_TE_2.1_(STG):12
u:left_Area_TE_2.1_(STG):212
u:right_Area_TPJ_(STG/SMG):13
u:left_Area_TPJ_(STG/SMG):213
u:right_Area_TE_1.2_(HESCHL):14
u:left_Area_TE_1.2_(HESCHL):214
u:right_Area_TE_3_(STG):15
u:left_Area_TE_3_(STG):215
u:right_Area_TE_1.1_(HESCHL):16
u:left_Area_TE_1.1_(HESCHL):216
u:right_Area_TE_2.2_(STG):17
u:left_Area_TE_2.2_(STG):217
u:right_Area_33_(ACC):18
u:left_Area_33_(ACC):218
u:right_Area_s32_(sACC):19
u:left_Area_s32_(sACC):219
u:right_Area_p32_(pACC):20
u:left_Area_p32_(pACC):220
u:right_Area_Id2_(Insula):21
u:left_Area_Id2_(Insula):221
u:right_Area_Id3_(Insula):22
u:left_Area_Id3_(Insula):222
u:right_CA2_(Hippocampus):23
u:left_CA2_(Hippocampus):223
u:right_CA3_(Hippocampus):24
u:left_CA3_(Hippocampus):224
u:right_Entorhinal_Cortex:25
u:left_Entorhinal_Cortex:225
u:right_DG_(Hippocampus):26
u:left_DG_(Hippocampus):226
u:right_CA1_(Hippocampus):27
u:left_CA1_(Hippocampus):227
u:right_HATA_(Hippocampus):28
u:left_HATA_(Hippocampus):228
u:right_Area_OP4_(POperc):29
u:left_Area_OP4_(POperc):229
u:right_Area_OP1_(POperc):30
u:left_Area_OP1_(POperc):230
u:right_Area_OP2_(POperc):31
u:left_Area_OP2_(POperc):231
u:right_Area_OP3_(POperc):32
u:left_Area_OP3_(POperc):232
u:right_Area_FG2_(FusG):33
u:left_Area_FG2_(FusG):233
u:right_Area_FG1_(FusG):34
u:left_Area_FG1_(FusG):234
u:right_Area_PGp_(IPL):35
u:left_Area_PGp_(IPL):235
u:right_Area_PFt_(IPL):36
u:left_Area_PFt_(IPL):236
u:right_Area_PGa_(IPL):37
u:left_Area_PGa_(IPL):237
u:right_Area_PFop_(IPL):38
u:left_Area_PFop_(IPL):238
u:right_Area_PFm_(IPL):39
u:left_Area_PFm_(IPL):239
u:right_Area_PFcm_(IPL):40
u:left_Area_PFcm_(IPL):240
u:right_Area_Ig2_(Insula):41
u:left_Area_Ig2_(Insula):241
u:right_Area_Ig1_(Insula):42
u:left_Area_Ig1_(Insula):242
u:right_Area_Id1_(Insula):43
u:left_Area_Id1_(Insula):243
u:right_Area_hOc4lp_(LOC):44
u:left_Area_hOc4lp_(LOC):244
u:right_Area_hOc4la_(LOC):45
u:left_Area_hOc4la_(LOC):245
u:right_Area_hOc4d_(Cuneus):46
u:left_Area_hOc4d_(Cuneus):246
u:right_Area_hOc3d_(Cuneus):47
u:left_Area_hOc3d_(Cuneus):247
u:right_Area_4p_(PreCG):48
u:left_Area_4p_(PreCG):248
u:right_Area_4a_(PreCG):49
u:left_Area_4a_(PreCG):249
u:right_Area_1_(PostCG):50
u:left_Area_1_(PostCG):250
u:right_Area_3a_(PostCG):51
u:left_Area_3a_(PostCG):251
u:right_Area_3b_(PostCG):52
u:left_Area_3b_(PostCG):252
u:right_Area_hIP1_(IPS):53
u:left_Area_hIP1_(IPS):253
u:right_Area_hIP2_(IPS):54
u:left_Area_hIP2_(IPS):254
u:right_Area_5L_(SPL):55
u:left_Area_5L_(SPL):255
u:right_Area_5M_(SPL):56
u:left_Area_5M_(SPL):256
u:right_Area_7PC_(SPL):57
u:left_Area_7PC_(SPL):257
u:right_Area_hIP3_(IPS):58
u:left_Area_hIP3_(IPS):258
u:right_Area_7A_(SPL):59
u:left_Area_7A_(SPL):259
u:right_Area_7M_(SPL):60
u:left_Area_7M_(SPL):260
u:right_Area_5Ci_(SPL):61
u:left_Area_5Ci_(SPL):261
u:right_Area_Id7_(Insula):62
u:left_Area_Id7_(Insula):262
u:right_Area_s24_(sACC):63
u:left_Area_s24_(sACC):263
u:right_Area_25_(sACC):64
u:left_Area_25_(sACC):264
u:right_SF_(Amygdala):65
u:left_SF_(Amygdala):265
u:right_LB_(Amygdala):66
u:left_LB_(Amygdala):266
u:right_Subiculum_(Hippocampus):67
u:left_Subiculum_(Hippocampus):267
u:right_Area_PF_(IPL):68
u:left_Area_PF_(IPL):268
u:right_Area_7P_(SPL):69
u:left_Area_7P_(SPL):269
u:right_Area_Fp2_(FPole):70
u:left_Area_Fp2_(FPole):270
u:right_Area_Fp1_(FPole):71
u:left_Area_Fp1_(FPole):271
u:right_Fastigial_Nucleus_(Cerebellum):72
u:left_Fastigial_Nucleus_(Cerebellum):272
u:right_VTM_(Amygdala):73
u:left_VTM_(Amygdala):273
u:right_Area_p24ab_(pACC):74
u:left_Area_p24ab_(pACC):274
u:right_Area_p24c_(pACC):75
u:left_Area_p24c_(pACC):275
u:right_MF_(Amygdala):76
u:left_MF_(Amygdala):276
u:right_IF_(Amygdala):77
u:left_IF_(Amygdala):277
u:right_Area_FG4_(FusG):78
u:left_Area_FG4_(FusG):278
u:right_Area_FG3_(FusG):79
u:left_Area_FG3_(FusG):279
u:right_Dorsal_Dentate_Nucleus_(Cerebellum):80
u:left_Dorsal_Dentate_Nucleus_(Cerebellum):280
u:right_Ventral_Dentate_Nucleus_(Cerebellum):81
u:left_Ventral_Dentate_Nucleus_(Cerebellum):281
u:right_Area_TeI_(STG):82
u:left_Area_TeI_(STG):282
u:right_Area_TI_(STG):83
u:left_Area_TI_(STG):283
u:right_Area_IFS1_(IFS):84
u:left_Area_IFS1_(IFS):284
u:right_Area_IFS2_(IFS):85
u:left_Area_IFS2_(IFS):285
u:right_Area_IFS3_(IFS):86
u:left_Area_IFS3_(IFS):286
u:right_Area_IFS4_(IFS):87
u:left_Area_IFS4_(IFS):287
u:right_Area_IFJ1_(IFS,PreCS):88
u:left_Area_IFJ1_(IFS,PreCS):288
u:right_Area_IFJ2_(IFS,PreCS):89
u:left_Area_IFJ2_(IFS,PreCS):289
u:right_Interposed_Nucleus_(Cerebellum):90
u:left_Interposed_Nucleus_(Cerebellum):290
u:right_Area_2_(PostCS):91
u:left_Area_2_(PostCS):291
u:right_Ch_4_(Basal_Forebrain):92
u:left_Ch_4_(Basal_Forebrain):292
u:right_Area_STS1_(STS):93
u:left_Area_STS1_(STS):293
u:right_Area_STS2_(STS):94
u:left_Area_STS2_(STS):294
u:right_Area_Op8_(Frontal_Operculum):95
u:left_Area_Op8_(Frontal_Operculum):295
u:right_Area_Op9_(Frontal_Operculum):96
u:left_Area_Op9_(Frontal_Operculum):296
u:right_Ch_123_(Basal_Forebrain):97
u:left_Ch_123_(Basal_Forebrain):297
u:right_Area_6d1_(PreCG):98
u:left_Area_6d1_(PreCG):298
u:right_Area_6d2_(PreCG):99
u:left_Area_6d2_(PreCG):299
u:right_Area_6d3_(SFS):100
u:left_Area_6d3_(SFS):300
u:right_CM_(Amygdala):101
u:left_CM_(Amygdala):301
u:right_Area_hOc6_(POS):102
u:left_Area_hOc6_(POS):302
u:right_Area_hIP6_(IPS):103
u:left_Area_hIP6_(IPS):303
u:right_Area_hIP8_(IPS):104
u:left_Area_hIP8_(IPS):304
u:right_Area_hIP4_(IPS):105
u:left_Area_hIP4_(IPS):305
u:right_Area_hIP5_(IPS):106
u:left_Area_hIP5_(IPS):306
u:right_Area_hIP7_(IPS):107
u:left_Area_hIP7_(IPS):307
u:right_Area_hPO1_(POS):108
u:left_Area_hPO1_(POS):308
u:right_Area_6mp_(SMA,_mesial_SFG):109
u:left_Area_6mp_(SMA,_mesial_SFG):309
u:right_Area_6ma_(preSMA,_mesial_SFG):110
u:left_Area_6ma_(preSMA,_mesial_SFG):310
u:right_HC-Transsubiculum_(Hippocampus):111
u:left_HC-Transsubiculum_(Hippocampus):311
u:right_Tuberculum_(Basal_Forebrain):112
u:left_Tuberculum_(Basal_Forebrain):312
u:right_Terminal_islands_(Basal_Forebrain):113
u:left_Terminal_islands_(Basal_Forebrain):313
u:right_Area_Fo4_(OFC):114
u:left_Area_Fo4_(OFC):314
u:right_Area_Fo5_(OFC):115
u:left_Area_Fo5_(OFC):315
u:right_Area_Fo6_(OFC):116
u:left_Area_Fo6_(OFC):316
u:right_Area_Fo7_(OFC):117
u:left_Area_Fo7_(OFC):317
u:right_Area_8d1_(SFG):118
u:left_Area_8d1_(SFG):318
u:right_Area_8d2_(SFG):119
u:left_Area_8d2_(SFG):319
u:right_Area_8v2_(MFG):120
u:left_Area_8v2_(MFG):320
u:right_Area_8v1_(MFG):121
u:left_Area_8v1_(MFG):321
u:right_Area_Ig3_(Insula):122
u:left_Area_Ig3_(Insula):322
u:right_Area_Id4_(Insula):123
u:left_Area_Id4_(Insula):323
u:right_Area_Id5_(Insula):124
u:left_Area_Id5_(Insula):324
u:right_Area_Ia1_(Insula):125
u:left_Area_Ia1_(Insula):325
u:right_Area_Id6_(Insula):126
u:left_Area_Id6_(Insula):326
u:right_Area_SFS1_(SFS):127
u:left_Area_SFS1_(SFS):327
u:right_Area_SFS2_(SFS):128
u:left_Area_SFS2_(SFS):328
u:right_Area_MFG1_(MFG):129
u:left_Area_MFG1_(MFG):329
u:right_Area_MFG2_(MFG):130
u:left_Area_MFG2_(MFG):330
u:right_Area_Op5_(Frontal_Operculum):131
u:left_Area_Op5_(Frontal_Operculum):331
u:right_Area_Op6_(Frontal_Operculum):132
u:left_Area_Op6_(Frontal_Operculum):332
u:right_Area_Op7_(Frontal_Operculum):133
u:left_Area_Op7_(Frontal_Operculum):333
u:right_Area_Ph1_(PhG):134
u:left_Area_Ph1_(PhG):334
u:right_Area_Ph2_(PhG):135
u:left_Area_Ph2_(PhG):335
u:right_Area_Ph3_(PhG):136
u:left_Area_Ph3_(PhG):336
u:right_Area_CoS1_(CoS):137
u:left_Area_CoS1_(CoS):337
u:right_Medial_Accumbens,_ventral_Striatum_(Basal_Ganglia):138
u:left_Medial_Accumbens,_ventral_Striatum_(Basal_Ganglia):338
u:right_Fundus_of_Caudate_Nucleus,_ventral_Striatum_(Basal_Ganglia):139
u:left_Fundus_of_Caudate_Nucleus,_ventral_Striatum_(Basal_Ganglia):339
u:right_Fundus_of_Putamen,_Ventral_Striatum_(Basal_Ganglia):140
u:left_Fundus_of_Putamen,_Ventral_Striatum_(Basal_Ganglia):340
u:right_Lateral_Accumbens,_ventral_Striatum_(Basal_Ganglia):141
u:left_Lateral_Accumbens,_ventral_Striatum_(Basal_Ganglia):341
u:right_VP,_ventral_Pallidum_(Basal_Ganglia):142
u:left_VP,_ventral_Pallidum_(Basal_Ganglia):342
u:right_CGL_(Metathalamus):143
u:left_CGL_(Metathalamus):343
u:right_CGM_(Metathalamus):144
u:left_CGM_(Metathalamus):344
u:right_STN_(Subthalamus):145
u:left_STN_(Subthalamus):345
u:right_Area_Id9_(Insula):146
u:left_Area_Id9_(Insula):346
u:right_Area_Ia3_(Insula):147
u:left_Area_Ia3_(Insula):347
u:right_Area_Ia2_(Insula):148
u:left_Area_Ia2_(Insula):348
u:right_Area_Id8_(Insula):149
u:left_Area_Id8_(Insula):349
u:right_Area_Id10_(Insula):150
u:left_Area_Id10_(Insula):350
u:right_BST_(Bed_Nucleus):151
u:left_BST_(Bed_Nucleus):351
u:right_Frontal-I_(GapMap):152
u:left_Frontal-I_(GapMap):352
u:right_Frontal-II_(GapMap):153
u:left_Frontal-II_(GapMap):353
u:right_Temporal-to-Parietal_(GapMap):154
u:left_Temporal-to-Parietal_(GapMap):354
u:right_Frontal-to-Occipital_(GapMap):155
u:left_Frontal-to-Occipital_(GapMap):355
u:right_Frontal-to-Temporal-I_(GapMap):156
u:left_Frontal-to-Temporal-I_(GapMap):356
u:right_Frontal-to-Temporal-II_(GapMap):157
u:left_Frontal-to-Temporal-II_(GapMap):357
----------- End regions for Julich_MNI_N27 atlas --------------
2. Generate ROI masks (midACC):
Using the FS.afni.MNI2009c_asym atlas — a FreeSurfer-based parcellation in MNI 2009c asymmetric space, matching our preprocessing template — we create separate
masks for the left and right midACC using the caudalanteriorcingulate label:
!whereami -mask_atlas_region "FS.afni.MNI2009c_asym::ctx-lh-caudalanteriorcingulate" -prefix ./afni_pro_glm/group_results/midACC_lh_mask
!whereami -mask_atlas_region "FS.afni.MNI2009c_asym::ctx-rh-caudalanteriorcingulate" -prefix ./afni_pro_glm/group_results/midACC_rh_mask
!whereami -mask_atlas_region "FS.afni.MNI2009c_asym::ctx-lh-caudalanteriorcingulate" -prefix ./afni_pro_glm/group_results/midACC_lh_mask
!whereami -mask_atlas_region "FS.afni.MNI2009c_asym::ctx-rh-caudalanteriorcingulate" -prefix ./afni_pro_glm/group_results/midACC_rh_mask
++ Input coordinates orientation set by default rules to RAI
Best match for ctx-lh-caudalanteriorcingulate:
ctx-lh-caudalanteriorcingulate (code 48 )
** ERROR: output dataset name 'midACC_lh_mask' conflicts with existing file
** ERROR: dataset NOT written to disk!
++ Input coordinates orientation set by default rules to RAI
Best match for ctx-rh-caudalanteriorcingulate:
ctx-rh-caudalanteriorcingulate (code 83 )
** ERROR: output dataset name 'midACC_rh_mask' conflicts with existing file
** ERROR: dataset NOT written to disk!
We then combine both hemispheres into a single bilateral ROI mask:
!3dmask_tool \
-input ./afni_pro_glm/group_results/midACC_lh_mask+tlrc \
./afni_pro_glm/group_results/midACC_rh_mask+tlrc \
-union \
-prefix ./afni_pro_glm/group_results/midACC_mask
++ processing 2 input dataset(s), NN=2...
++ padding all datasets by 0 (for dilations)
++ have 2 volumes of input to combine
++ frac 0 over 2 volumes gives min count 0
++ voxel limits: 0 clipped, 3876 survived, 8526145 were zero
++ writing result midACC_mask...
** ERROR: output dataset name 'midACC_mask' conflicts with existing file
** ERROR: dataset NOT written to disk!
To use the mask with Python tools like nilearn, we also convert it to NIfTI format:
! 3dAFNItoNIFTI -prefix ./afni_pro_glm/group_results/midACC_mask.nii.gz ./afni_pro_glm/group_results/midACC_mask+tlrc
++ 3dAFNItoNIFTI: AFNI version=AFNI_25.2.03 (Jul 4 2025) [64-bit]
# Load AFNI mask
roi_img = image.load_img('./afni_pro_glm/group_results/midACC_mask.nii.gz')
# Plot ROI over mni background
plotting.plot_roi(roi_img,
title="midACC ROI Mask",
display_mode='ortho',
cmap='autumn', draw_cross=True)
<nilearn.plotting.displays._slicers.OrthoSlicer at 0x7fd94e97c050>
3. Resample the Mask to Match Functional Data:
To ensure compatibility with the functional/statistical datasets, we resample the ROI mask to the same voxel resolution as the subject-level stats+tlrc files:
! 3dresample -master ./afni_pro_glm/sub-01.results/stats.sub-01+tlrc -input ./afni_pro_glm/group_results/midACC_mask+tlrc -prefix ./afni_pro_glm/group_results/midACC_rs+tlrc
** ERROR: output dataset name 'midACC_rs' conflicts with existing file
** ERROR: dataset NOT written to disk!
failure: cannot write dataset, exiting...
4. Extract Contrast Values from Each Subject:
We extract the contrast estimate for each subject by:
Collecting the congruent and incongruent beta sub-bricks across all subjects:
# clean up before building to ensure correct appending from scratch
for fname in [
"./afni_pro_glm/group_results/Congruent_betas+tlrc.HEAD",
"./afni_pro_glm/group_results/Congruent_betas+tlrc.BRIK",
"./afni_pro_glm/group_results/Incongruent_betas+tlrc.HEAD",
"./afni_pro_glm/group_results/Incongruent_betas+tlrc.BRIK",
]:
if os.path.exists(fname):
os.remove(fname)
subjects = [f"sub-{i:02d}" for i in range(1, 4)]
for subj in subjects:
stats_path = f"./afni_pro_glm/{subj}.results/stats.{subj}+tlrc"
if os.path.exists(f"{stats_path}.HEAD"):
subprocess.run([
"3dbucket", "-aglueto", "./afni_pro_glm/group_results/Congruent_betas+tlrc.HEAD", f"{stats_path}[1]"
])
subprocess.run([
"3dbucket", "-aglueto", "./afni_pro_glm/group_results/Incongruent_betas+tlrc.HEAD", f"{stats_path}[4]"
])
else:
print(f"Skipping {subj}: stats file not found")
++ 3dbucket: AFNI version=AFNI_25.2.03 (Jul 4 2025) [64-bit]
++ 3dbucket: AFNI version=AFNI_25.2.03 (Jul 4 2025) [64-bit]
++ 3dbucket: AFNI version=AFNI_25.2.03 (Jul 4 2025) [64-bit]
*+ WARNING: Over-writing dataset ././afni_pro_glm/group_results/Congruent_betas+tlrc.HEAD
++ 3dbucket: AFNI version=AFNI_25.2.03 (Jul 4 2025) [64-bit]
*+ WARNING: Over-writing dataset ././afni_pro_glm/group_results/Incongruent_betas+tlrc.HEAD
++ 3dbucket: AFNI version=AFNI_25.2.03 (Jul 4 2025) [64-bit]
*+ WARNING: Over-writing dataset ././afni_pro_glm/group_results/Congruent_betas+tlrc.HEAD
++ 3dbucket: AFNI version=AFNI_25.2.03 (Jul 4 2025) [64-bit]
*+ WARNING: Over-writing dataset ././afni_pro_glm/group_results/Incongruent_betas+tlrc.HEAD
This will produce 4D images:
Congruent_betas+tlrc→ all congruent betas across subjectsIncongruent_betas+tlrc→ all incongruent betas across subjects
Computing the subject-wise contrast (Incongruent – Congruent) using
3dcalc:
# Create subject-wise contrast dataset (each sub-brick = Incongruent - Congruent)
! 3dcalc -a ./afni_pro_glm/group_results/Incongruent_betas+tlrc -b ./afni_pro_glm/group_results/Congruent_betas+tlrc -expr 'a-b' -prefix ./afni_pro_glm/group_results/incong_minus_cong+tlrc
++ 3dcalc: AFNI version=AFNI_25.2.03 (Jul 4 2025) [64-bit]
++ Authored by: A cast of thousands
** ERROR: output dataset name 'incong_minus_cong' conflicts with existing file
** ERROR: dataset NOT written to disk!
Extracting the mean contrast value within the ROI for each subject using
3dmaskave:
# Extract average contrast value from ROI for each subject
! 3dmaskave -quiet -mask ./afni_pro_glm/group_results/midACC_rs+tlrc ./afni_pro_glm/group_results/incong_minus_cong+tlrc > ./afni_pro_glm/group_results/contrast_vals.txt
++ 3dmaskave: AFNI version=AFNI_25.2.03 (Jul 4 2025) [64-bit]
+++ 147 voxels survive the mask
5. Statistical Testing: Finally, we load the contrast values and run a one-sample t-test to determine whether the average contrast across subjects significantly differs from zero:
# Load contrast values (one per subject)
contrast_vals = np.loadtxt("./afni_pro_glm/group_results/contrast_vals.txt")
# Run a one-sample t-test against 0
t_stat, p_val = ttest_1samp(contrast_vals, 0)
# Print results
print(f"Mean contrast: {np.mean(contrast_vals):.4f}")
print(f"t = {t_stat:.4f}, p = {p_val:.4f}")
Mean contrast: 0.1796
t = 2.2511, p = 0.1532
✅ Interpretation#
This provides a simple but interpretable ROI-based statistical test focused on the Incongruent - Congruent contrast in the midACC. This result indicates that:
On average, the contrast Incongruent - Congruent is positive within the mid anterior cingulate cortex (midACC) ROI.
The difference is not statistically significant at the α = 0.05 level (p = 0.153) with only 3 subjects.
The direction of the effect is consistent with the expected result — greater midACC activation during Incongruent compared to Congruent trials.
The lack of significance is expected given the very small sample size of 3 subjects — this result is for demonstration purposes only.
4.2 ROI Analysis Using a Spherical Mask#
To complement the atlas-based ROI analysis, we can also define a spherical ROI centered on a coordinate of interest. This can be useful for hypothesis-driven analyses targeting specific anatomical or functional peaks.
1. Define the sphere:
A 5mm radius sphere is created around the coordinate (0, 20, 44) using AFNI’s
3dUndump.The sphere is aligned to the grid of the functional data via the
-masteroption.
echo "0 20 44" | 3dUndump -orient LPI -srad 5 -master Incongruent_betas+tlrc -prefix ConflictROI+tlrc -xyz -
# This script creates a 5mm sphere around a coordinate
# Change the x,y,z, coordinates on the left side to select a different peak
# Radius size can be changed with the -srad option
! echo "0 20 44" | 3dUndump -orient LPI -srad 5 -master ./afni_pro_glm/group_results/Incongruent_betas+tlrc -prefix ./afni_pro_glm/group_results/ConflictROI+tlrc -xyz -
++ 3dUndump: AFNI version=AFNI_25.2.03 (Jul 4 2025) [64-bit]
++ Starting to fill via -xyz coordinates
++ Total number of voxels filled = 19
** ERROR: output dataset name 'ConflictROI' conflicts with existing file
** ERROR: dataset NOT written to disk!
++ Wrote out dataset ././afni_pro_glm/group_results/ConflictROI_AA1+tlrc.BRIK
2. Extract ROI contrast values:
The average
Incongruent - Congruentcontrast value will be computed for each subject using3dmaskave:
! 3dmaskave -quiet -mask ./afni_pro_glm/group_results/ConflictROI+tlrc ./afni_pro_glm/group_results/incong_minus_cong+tlrc > ./afni_pro_glm/group_results/contrast_vals_sphere.txt
++ 3dmaskave: AFNI version=AFNI_25.2.03 (Jul 4 2025) [64-bit]
+++ 19 voxels survive the mask
3. Statistical test:
A one-sample t-test can be performed to determine whether the contrast values within the sphere significantly differ from zero.
# Load contrast values (one per subject)
contrast_vals_sphere = np.loadtxt("./afni_pro_glm/group_results/contrast_vals_sphere.txt")
# Run a one-sample t-test against 0
t_stat_sphere, p_val_sphere = ttest_1samp(contrast_vals_sphere, 0)
# Print results
print(f"Mean contrast: {np.mean(contrast_vals_sphere):.4f}")
print(f"t = {t_stat_sphere:.4f}, p = {p_val_sphere:.4f}")
Mean contrast: 0.2386
t = 1.8883, p = 0.1996
✅ Interpretation of Sphere ROI Results#
The mean contrast value for Incongruent-Congruent in the spherical ROI is 0.2386.
The one-sample t-test does not shows a significant effect at the α = 0.05 level:
t(2) = 1.8883, p = 0.1996.The direction of the effect remains consistent with the expected result — greater activation during Incongruent compared to Congruent trials — but the small sample size of 3 subjects is insufficient to reach statistical significance.
This result is for demonstration purposes only.
Dependencies in Jupyter/Python#
Using the package watermark to document system environment and software versions used in this notebook, alongside the Neurodesktop version extracted from the
JUPYTER_IMAGEorNEURODESKTOP_VERSIONenvironment variables.
import os
%load_ext watermark
%watermark
%watermark --iversions
neurodesktop_version = (
os.environ.get('JUPYTER_IMAGE', '').split(':')[-1] or
os.environ.get('NEURODESKTOP_VERSION', 'unknown')
)
print(f"Neurodesktop version: {neurodesktop_version}")
Last updated: 2026-04-09T09:53:23.417874+00:00
Python implementation: CPython
Python version : 3.13.9
IPython version : 9.7.0
Compiler : GCC 14.3.0
OS : Linux
Release : 5.15.0-171-generic
Machine : x86_64
Processor : x86_64
CPU cores : 32
Architecture: 64bit
IPython : 9.7.0
ipyniivue : 2.4.4
matplotlib: 3.10.8
nibabel : 5.3.3
nilearn : 0.13.1
numpy : 2.3.5
scipy : 1.16.3
tqdm : 4.67.1
Neurodesktop version: 2025-12-20