help
help > RE: z-matrix plot/visualization
Jun 2, 2015 02:06 PM | Fred Uquillas
RE: z-matrix plot/visualization
Hi Alfonso,
I was wondering if I could get some help with this matrix I'm trying to plot. I would like to organize the association matrix into modules. I've been looking online for a way to do this in MATLAB, but can't seem to have the necessary skills to do this with the ROI.mat file : /
Thank you in advance for any help and advice you may be able to provide.
All the best,
Fred
Originally posted by Fred Uquillas:
I was wondering if I could get some help with this matrix I'm trying to plot. I would like to organize the association matrix into modules. I've been looking online for a way to do this in MATLAB, but can't seem to have the necessary skills to do this with the ROI.mat file : /
Thank you in advance for any help and advice you may be able to provide.
All the best,
Fred
Originally posted by Fred Uquillas:
That's right on the
dot Alfonso. Thank you!
I was able to figure out how to plot two individual's z-matrix from the first-level results folder, one from each group using pcolor in MATLAB (attached). The code you provide (when used to plot a 1 -1 contrast or vice versa) is more what I was going for though!
Thanks again.
Fred
Originally posted by Alfonso Nieto-Castanon:
I was able to figure out how to plot two individual's z-matrix from the first-level results folder, one from each group using pcolor in MATLAB (attached). The code you provide (when used to plot a 1 -1 contrast or vice versa) is more what I was going for though!
Thanks again.
Fred
Originally posted by Alfonso Nieto-Castanon:
Hi Fred,
Not within CONN directly, but you could use some Matlab code like the example below to generate this sort of plots (e.g. when loading the data from a second-level results file)
load /data/conn_project/results/secondlevel/ANALYSIS_01/AllSubjects/rest/ROI.mat;
z = cat(1,ROI.h); % effect-sizes (typically fisher transformed values)
r = tanh(z); % convert to r coefficients
figure
imagesc(r);
axis equal tight
colorbar
Let me know if this is what you had in mind
Best
Alfonso
Originally posted by Fred Uquillas:
Not within CONN directly, but you could use some Matlab code like the example below to generate this sort of plots (e.g. when loading the data from a second-level results file)
load /data/conn_project/results/secondlevel/ANALYSIS_01/AllSubjects/rest/ROI.mat;
z = cat(1,ROI.h); % effect-sizes (typically fisher transformed values)
r = tanh(z); % convert to r coefficients
figure
imagesc(r);
axis equal tight
colorbar
Let me know if this is what you had in mind
Best
Alfonso
Originally posted by Fred Uquillas:
Hi guys,
Anybody out there know how I can plot the z-matrix in a format similar to the attached image?
Thank you so much!!
Fred
Anybody out there know how I can plot the z-matrix in a format similar to the attached image?
Thank you so much!!
Fred
Threaded View
Title | Author | Date |
---|---|---|
Fred Uquillas | Apr 13, 2015 | |
Alfonso Nieto-Castanon | Apr 14, 2015 | |
Fred Uquillas | Apr 14, 2015 | |
Fred Uquillas | Jun 2, 2015 | |
Alfonso Nieto-Castanon | Jun 4, 2015 | |
Fred Uquillas | Jun 9, 2015 | |