FBA analysis :How to creat the "file.txt"

Hi
I follow the step21 for statistics, but the script “fixelcfestats fd files.txt design_matrix.txt contrast_matrix.txt tracks_2_million_sift.tck stats_fd” prompts me to need “file.txt”. This file.txt can be set like this:
file.txt
subjects age education
001_control 20 6
002_control 22 6
003_control 24 6
004_control 32 6

004_patient 25 7
004_patient 24 6
004_patient 32 6
004_patient 33 6
Kind regards
wanjun

1 Like

Hi,
I think you would find the solution in this post.
http://community.mrtrix.org/t/statistical-analysis-of-fd-fc-and-fdc/840

Also in my mind, your file.txt should be like:
001_control.mif
002_control.mif
003_control.mif
004_control.mif

004_patient.mif
004_patient.mif
004_patient.mif
004_patient.mif
The line ordering should correspond to the lines in the file design_matrix.txt .

Please point out the mistakes for correction if any.

Cheers,
Ziqian

Thank you for your reply, this is too important for me, too useful.

dear ziqian-wang
This is really useful for me.
cheers
wanjun