Hi, there, I am using the command tck2connectome. When I complete the process for all subjects, I found that I forgot to add the parameter
-symmetric Make matrices symmetric on output** *
Now, how can I rescue it without rerun the command? Can I just simply flip the current connectome, add them up and divide it by 2? Or just flip the upper triangle to the bottom?
Thank you!
I’m not sure I understand your first suggestion, but flipping the upper triangle to the bottom should be enough. I don’t think there is a way in mrtrix but you could do that in R:
#flip the matrix:
tm ← t(yourmatrix)[,-nrow(yourmatrix)] #adds the flipped triangle to the original matrix:
yourmatrix[lower.tri(yourmatrix)] ← tm[lower.tri(tm, diag = F)]