Welcome to TDT – The Decoding Toolbox
--- UPDATE ---
TDT version 3.97 with prevalence analysis for valid group-level analysis now available.
TDT (download) is an easy to use, fast and versatile Matlab toolbox for the multivariate analysis of functional and structural MRI data. It contains searchlight, region-of-interest, and whole-brain analyses, as well as many feature selection and parameter selection methods including recursive feature elimination. More recent versions allow fast and efficient representational similarity analysis in a regression framework. The toolbox is optimized for the use with SPM or AFNI and can be used with minimal or no programming experience. A simple decoding analysis can be conducted in just one line of code or in SPM with a simple graphical user interface. At the same time, for people with a little programming background in Matlab the full functionality can be exploited very easily, and new features can be added without problem.
The key benefits of TDT are:
For more details and description and a basic tutorial with example code, please consult our publication: Martin N Hebart*, Kai Görgen* and John-Dylan Haynes (2015). The Decoding Toolbox (TDT): A versatile software package for multivariate analyses of functional imaging data. Front. Neuroinform. 8:88. doi: 10.3389/fninf.2014.00088. *equal contribution.
Download: Click here to download TDT or fill out the form below for immediate access.
Getting started: We believe that no tutorial is necessary, the toolbox should be self-explanatory. Just look at the README.txt in the decoding_toolbox folder, or consider our publication as reference.
Questions: Please use the TDT mailing list (please also check the list archive).
Example dataset: We have made an example dataset for one subject available (SPM.mat and betas, ROIs, structural image and description; a lower resolution version (18MB) is available here). If you are interested in pre-processing the data yourself, we also provide DICOM files for subject 1, for subject 2, and a batch script for preprocessing in SPM8. This is not a published study, data were acquired only for illustrating the use of TDT.
What we are currently working on:
- MEG interface for time-resolved decoding
- More tutorials on example data
Update Version 3.97 (17/02/08):
Fixed bug with AUC calculation that could invert values
Added fast multiple pairwise AUC statistics for more than 2 classes
Update Version 3.96 (16/12/10):
Update Version 3.95 (16/08/23):
Prevalence Inference added. It is a valid way for group-level population inference on e.g. accuracies. For details, see
Allefeld, C., Görgen, K., & Haynes, J.-D. (2016). Valid population inference for information-based imaging: From the second-level t-test to prevalence inference. NeuroImage. http://doi.org/10.1016/j.neuroimage.2016.07.040Demos for using our demo data creating permutation designs
Faster SVM weight calculation using kernels and faster SVM pattern reconstruction
Bugfix: Order of multiclass output for decision values now sorted in ascending order
(3.93 had a small bug that prevented reading files in different SPM versions, so we removed it)
Update Version 3.90 (16/07/07):
AFNI interface added (check out decoding_example_afni)
Support for reading 4D data
Faster pairwise SVM decoding for more than two classes using accuracy_pairwise as output
Update Version 3.52 (15/12/11):
Minor change, made behavior of cfg.results.write = 1 more intuitive. See LOG.txt.
Update Version 3.51 (15/11/06):
Method for balancing data or confounding variables using ensemble of classifiers (see decoding_template_balance_confounds.m).
Fixed minor bug that prevented toy data demos to run.
Update Version 3.50 (15/10/09):
Advanced representational similarity analysis and pattern component modeling features available (see decoding_template_similarity.m)
Introduced possibility for multivariate pattern scaling using residuals of original images (akin to Mahalanobis distance)
Added features to automatically create residuals from an SPM.mat and load them in the right format (decoding_load_misc.m and residuals_from_spm.m)
Introduced possibility to use multi-mask (multiple ROI masks in one file, indexed by integers)
Other minor improvements in readability, functionality and bug fixes
Updated license file (thanks to Nick Oosterhof)
Update Version 3.04 (15/04/13):
Added missing function to pass data for analyses without classification (e.g. distance measures). Improved decoding_tutorial.m and updated FAQ.txt.
Update Version 3.03 (15/03/03):
Introduced basic SPM GUI for non-programmers and binary Fisher LDA with speed-optimized analytic shrinkage (Ledoit-Wolf and Oracle Approximating Shrinkage)