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:

  1. Download data from XNAT and automatically convert it to BIDS format using xnat2bids

  2. Convert psychopy timing files to be used by AFNI

  3. Prepare fMRI data for preprocessing by warping to standard space (using sswarper2)

  4. Use afni_proc.py to create a preprocessing stream and run the general linear model per subject

Group Analysis:

  1. Use gen_group_command.py to build your statistical tests and run the second-level analysis

Last updated

Was this helpful?