Median FA structural connectivity matrix

Dear all,
I’m wondering how I could create a median structural connectivity matrix weighted by FA.
Looking at the tck2connectome doc, the example to create the “mean FA matrix” has this commands: “$ tcksample tracks.tck FA.mif mean_FA_per_streamline.csv -stat_tck mean; tck2connectome tracks.tck nodes.mif mean_FA_connectome.csv -scale_file mean_FA_per_streamline.csv -stat_edge mean”.
I have seen it’s possible to set the -stack_tck option of tcksample command equal to median. Unfortunately, the -stat_edge option of the tck2connectome can’t be set to median.

Do you know how I could overcome this issue?

Thanks a lot in advance!

1 Like