Select Page

tutorials: tensor-based morphometry analysis

Tensor-based morphometry (TBM) is a neuroimaging method to assess regional differences in brain structure based on the Jacobian determinant of the deformation matrix.

Prior to running TBM in BrainSuite Statistics toolbox (BSS), Cortical Surface Extraction and Surface/Volume Registration need to be run on your subject data. All these processes have been run for this tutorial and are available here. Please download this file and unzip this file in a convenient location, such as your desktop. It contains the folder USC2015_BrainSuiteWorkshop, in which you will find ICBM25 folder containing the necessary files to run this tutorial.

For this tutorial, we will be looking at the correlation of age with change in brain volume (Jacobian determinants) in 25 subjects.

BSS should already be installed on your computer. If you have not done so, you can go here for download/installation.

BSS: TBM Analysis Tutorial

Data Preparation

This step modifies the demographics file, which contains data regarding subjects (i.e. gender, age, etc.), for analysis. It also writes out a modelspec.ini file, in which you can specify your model of interest.

  1. Open the terminal and navigate to your ICBM25 folder, located in the USC2015_BrainSuiteWorkshop directory.
    For example, in Mac:

    cd ~/Desktop/USC2015_BrainSuiteWorkshop/ICBM25
  2. On the command line, run (all in one line):
    If Mac or Linux:

    /Application/BSS/bin/ ~/Desktop/USC2015_BrainSuiteWorkshop/ICBM25 ICBM_demographics.csv modelspec_skeleton_tbm.ini -sigma 2.5 will add the full paths of each **mm.nii.gz into the demographics file. The usage for this script is the following (all in one line):

    <path to bss installation>/bin/ master_subj_dir demographics_csvmodelspec [-sigma] smoothing_kernel_(mm)

Model Specification

  1. The modelspec_skeleton_tbm.ini describes subject and model information.
    First, change the atlas= and maskfile= to reflect the locations of your mri.bfc.nii.gz and mri.cerebrum.mask.nii.gz atlas files, respectively.
    Next, since we will be testing for the correlation of age with change in brain volume, our variable of interest will be Age. These variables need to be in the demographics file as column names (case-sensitive). Type in the variable next to variable in the [measure] section. Save this file.
    Important!! The modelspec_skeleton_tbm.ini can only contain either the [model] or the [measure] section but not both. So delete the entire [model] section.

Run Group Analysis

  1. Finally, run in the terminal. If Mac or Linux:
    /Applications/BSS/bin/ modelspec_skeleton_tbm.ini ~/Desktop/tbm_out

Visualization of results

    1. In BrainSuite, load the atlas mri.bfc.nii.gz located in the BrainSuite16a1/svreg/BrainSuiteAtlas1 folder.
    2. Load the overlay corr_Age_mri.bfc.nii_atlas_log_pvalues.nii.gz, which contains the unadjusted logarithmic p-values denoting the significance of correlation with Age. This file and the files mentioned below are found in the tbm_out folder.
    3. Drag and drop the LUT corr_Age_mri.bfc.nii_atlas_log_pvalues.lut, which is the colormap for the logarithmic p-values. Right click on the overlay colormap and select the LUT.
    1. Then click the “S” button on top of the color bar to make the colormap symmetric.
  1. To view the adjusted logarithmic p-values, load in corr_Age_mri.bfc.nii_atlas_log_pvalues_adjusted.nii.gz as overlay and corr_Age_mri.bfc.nii_atlas_log_pvalues_adjusted.lut as the LUT file.