Group Analysis: Visual/Motor Activation
This tutorial covers group analysis via batch scripting, sswarper2 (for converting data to standard space), afniproc.py (for preprocessing), and afni's 3dMEMA (for group statistical analysis).
Workflow Overview

The basic flow of this pipeline is as follows:
Single-Subject Preprocessing/Analysis:
Download data from XNAT and automatically convert it to BIDS format using xnat2bids
Convert psychopy timing files to be used by AFNI
Prepare fMRI data for preprocessing by warping to standard space (using sswarper2)
Use afni_proc.py to create a preprocessing stream and run the general linear model per subject
Group Analysis:
Use gen_group_command.py to build your statistical tests and run the second-level analysis
Last updated
Was this helpful?