I have two questions related to matrix normalization with the
create_mats function in brainGraph.
I have connectivity matrices produced from FSL's probtrackx2 ("fdt_network_matrix" and "waytotal" files for each of my subjects). I would also like to normalize matrices by brain size (i.e. atlas volume).
First, I'm wondering if it's best to divide elements of each subject's connectivity matrix by atlas volume prior to entering matrices into create_mats, or is there a way to normalize by waytotal and atlas volume simultaneously with this function?
Dividing each element of "fdt_network_matrix" by atlas volume is simple enough to do prior to entering into create_mats, but this then lead me to my next question on how exactly does create_mats normalize? In this context, it appears to be matrix element i, j ÷ waytotal of i ...but then how is P incorporated?
I took a look into the create_mats source script to find a call to another function called normalize_mats that takes the matrix (A), waytotal (divisor) and P as inputs....but I could not find any additional information on this function. Location: line 25 of create_mats in v. 3.0.2.
Thanks for the clarification!
Kayleigh