This is TFCE TFCE1.3.1 (r334) from 2026-07-15
You can update your copy of TFCE here: Check for update.
If you find any bug, please report them at vbmweb@gmail.com.

CAT


Open ''Quick Start Guide'' in external window

Description

This toolbox is an extension to SPM12 (Wellcome Department of Cognitive Neurology) providing non-parametric permutation inference with threshold-free cluster enhancement (TFCE), for 3D volume and surface data.

TFCE combines focal effects of large height with broad effects of large extent, and needs no cluster-forming threshold - the arbitrary choice that cluster-based inference forces on you, and that the result can depend on heavily. It is also fairly robust to the nonstationarity that is common in VBM data.

The toolbox runs on any existing second-level SPM design. Point it at an SPM.mat from a parametric analysis you have already estimated, and it re-does the inference non-parametrically. It can be applied to (almost) any existing statistical (parametric) SPM design for 3D volume or surface data.

An interesting additional feature of that toolbox is that it also allows to use voxel-wise covariates, similar to the approach here. These voxel-wise covariates can be GM maps, which can be used to assess the extent to which functional activation can be explained by underlying anatomical differences, and at the same time to assess the amount of functional activation that cannot be attributed to anatomical differences and is therefore likely to be due to functional differences alone.

The toolbox is developed by Christian Gaser (University of Jena, Departments of Psychiatry and Neurology) and free but copyright software, distributed under the terms of the GNU General Public Licence as published by the Free Software Foundation; either version 2 of the Licence, or (at your option) any later version. If you use any TFCE code for commercial application, please send a mail.

Features

Inference

Designs it understands

Fewer permutations

The number of permutations you need is set by the smallest p-value you want to resolve. Counting exceedances cannot report a p-value below 1/n_perm - that floor, not the statistic, is what forces a permutation test to run many thousands of permutations. Three things remove it:

Faster permutations

Safety nets

A permutation test is only as good as its exchangeability assumptions, and a wrong design gives a confidently wrong answer rather than an error. The toolbox therefore checks itself as it goes:

A validation suite ships with the toolbox and establishes, rather than assumes, that the above is true. Run validation/run_all from the toolbox directory.

Download

Download the latest release from GitHub and unpack it into your SPM toolbox directory. The compiled mex-files ship with the release. See also all releases and the source repository.

  1. Quick start guide
  2. Visualization and naming convention of output files