FBA measures for specific tracts per subject

Hi all,

Apologies if the answer for this have been covered elsewhere but I’m going around in circles a little trying to come up with the right command/s to do this.

Using ROIs and tckedit I’ve delineated a number of specific streamlines (tcks) from the whole-brain tractography (generated via a study specific wmfod template and tckgen).

How to I go about creating a mask for each of these trk files so I can to calculate the mean value of FD within this mask for each subject via the mrstats command?

Ugh. I got it. Just for future reference for anyone…

tck2fixel will convert the tck to a fixel .mif image
eg tck2fixel tract.tck fdc fdc tract.mif
(two “fdc” are the folders containing the directions and index.mif’s the command requires. It can be any folder with these files in them

then

mrstats using this tract fixel image for the measure of interest.
eg foreach * : mrstats IN -output mean -mask tract.mif

1 Like

For clarity:

tck2fixel tract.tck fdc fdc tract.mif
mrstats IN -output mean -mask tract.mif

There is an implicit thresholding operation going on here, where any fixel with at least one streamline traversing it will be included in the mask. One could instead consider the more general case, where:

  1. A fixel data file is generated by tck2fixel that contains the number of streamlines traversing each fixel;

  2. “Some operation” is performed in order to produce from this a binary mask;

  3. Statistics on some other fixel data file (e.g. FDC) may be computed from within this mask.

So it’s possible for there to be e.g. a thresholding operating where the threshold is not 1 streamline but something else.