Home › Forums › Software Bugs (Braph 1.0) › load connectivity matrix from fMRI data, did what posted, there is still errors
 This topic has 2 replies, 1 voice, and was last updated 5 years, 1 month ago by Mite Mijalkov.

AuthorPosts

June 7, 2019 at 9:26 pm #28473Che LiuGuest
Hello Mite,
Braph makes the analysis much easier. Now, I want to load connectivity matrix from fMRI data, because I want to control for age and gender. I read the one you posted about how to modify the Braph toolbox (http://braph.org/forums/topic/eeggraphanalysis/). I followed each steps. However, there is still errors as below:
Matrix dimensions must agree.
Error in GUIfMRIGraphAnalysis/update_matrix (line 714)
A = A+ga.getA(indices(i));
Error in GUIfMRIGraphAnalysis/cb_calc_corr (line 439)
update_matrix()
Error while evaluating UIControl Callback.
Matrix dimensions must agree.
Error in GUIfMRIGraphAnalysis/update_matrix (line 714)
A = A+ga.getA(indices(i));
Error in GUIfMRIGraphAnalysis/cb_calc_graph (line 434)
update_matrix()
Error while evaluating UIControl Callback.
Matrix dimensions must agree.
Error in GUIfMRIGraphAnalysis/update_matrix (line 714)
A = A+ga.getA(indices(i));
Error in GUIfMRIGraphAnalysis/cb_calc_corr (line 439)
update_matrix()
Error while evaluating UIControl Callback.Do you know how to fix the errors? I think need to change something in the updatamatrix.m too.
Thanks a lot.
CheJune 12, 2019 at 10:14 am #28738Mite MijalkovModeratorDear Che,
Thank you for using Braph and your kind words. Hopefully it will be a very useful tool for you during your research.
I am not sure what the mistake it currently, but if you send me an email, I could send you a modified version of Braph that is able to upload precalculated connectivity matrices.
Looking forward to hearing from you.
Best,
MiteJuly 1, 2019 at 11:43 am #29882Mite MijalkovModeratorDear Che,
I double checked the matrices you sent me and it seems that you were trying to upload the time series for the individual regions instead of uploading precalculated adjacency matrices. Therefore, as the matrices that you uploaded were not square matrices Braph returned an error.
I checked and you can calculate adjacency matrices (without error) if you use the correlation coefficients offered in Braph, and you do not need the modified version. However, if you precalculate your adjacency matrices, then you can upload and analyze them via the modified version of Braph that I provided.
Hope this helps. Please let me know if this problem remains for you and how I can further help you.
Best,
Mite 
AuthorPosts
 You must be logged in to reply to this topic.