error loading brain scores vs. behaviour data plot window
lucyc
Posted on 11/28/07 04:58:51
Number of posts: 3
Hi,
Thanks for all your help with my previous post. I recently realised that the version of PLS I was running was quite old so I re-did my analysis using the latest version. However, now when I try and load the brain scores vs. behaviour data plot it doesn't load properly and I get the following error message which I don't understand:
??? Index exceeds matrix dimensions.
Error in ==> pet_plot_cond_stim_ui>plot_stims at 305
xlabel(behavname{j});
Error in ==> pet_plot_cond_stim_ui>init at 160
plot_stims(1,1);
Error in ==> pet_plot_cond_stim_ui at 30
init(varargin{1},varargin{2},varargin{3},varargin{4},varargin{5});
Error in ==> bfm_plot_brain_scores>plot_brain_scores at 1202
pet_plot_cond_stim_ui('STARTUP', plotted_data, condition, ...
Error in ==> bfm_plot_brain_scores>init at 382
plot_brain_scores;
Error in ==> bfm_plot_brain_scores at 22
fig = init(plsResultFile, tit_fn);
Error in ==> bfm_result_ui>OpenBrainPlot at 3743
brain_plot = bfm_plot_brain_scores('STARTUP',PLSresultFile);
Error in ==> bfm_result_ui at 473
OpenBrainPlot;
??? Error using ==> bfm_result_ui('OpenBrainPlot')
Index exceeds matrix dimensions.
??? Error while evaluating uimenu Callback
Also, now when I generate a cluster report, although the coordinates are the same as with the older version, the custer size (voxels) is much larger (e.g. 160 vs. 1731). Is there a reason for this?
I'd be very grateful for some advice about these issues,
Thanks,
Lucy
Untitled Post
I'm Online
jshen
Posted on 11/28/07 10:38:26
Number of posts: 291
According to the error message, it seems that the "behavname" variable is not right in your new "*result.mat".
I am not able to pin point the problem, unless you could upload the following items onto your ftp site and email me the link of your ftp site:
- Old PLSgui.zip
- All *.mat files
I will try to duplicate your problem once I receive the program and data.
Jimmy
Untitled Post
lucyc
Posted on 11/29/07 09:33:46
Number of posts: 3
Hi Jimmy,
I think I found the problem. As well as using an old version of PLS I was also using old batch files which didn't include a section defining the behavname variable. I re-ran the analysis including this and it worked fine.
Thanks for all your help,
Lucy