Back to PLS Help

error loading brain scores vs. behaviour data plot window
lucyc
Posted on 11/28/07 04:58:51
Number of posts: 3
lucyc posts:

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

Replies:

Untitled Post

I'm Online
jshen
Posted on 11/28/07 10:38:26
Number of posts: 291
jshen replies:

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:
  1. Old PLSgui.zip
  2. All *.mat files
I will try to duplicate your problem once I receive the program and data.

Jimmy



Untitled Post

I'm Online
jshen
Posted on 11/28/07 16:52:49
Number of posts: 291
jshen replies:

  1. I used your old PLSgui.zip (Version 4.0602072) to view your "analysis_fICBM_EO_2_BfMRIresult.mat", and still got the same error message as you got. When I loaded the result file, I found that the "behavname" in this result file is empty. Therefore, as I expected, this is the cause of the problem. However, I don't know why this variable is empty. You can re-run the analysis, and let me know if you still get empty "behavname".
  2. There was a bug about cluster size that was fixed on June 9, 2006 (Version 4.0606091). I did a test by deleting the modification from the latest version, and got the same cluster size as your old PLSgui.zip (Version 4.0602072). Therefore, the cluster size from the latest version is correct.



Untitled Post
lucyc
Posted on 11/29/07 09:33:46
Number of posts: 3
lucyc replies:

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



Login to reply to this topic.

  • Keep in touch

Enter your email above to receive electronic messages from Baycrest, including invitations to programs and events, newsletters, updates and other communications.
You can unsubscribe at any time.
Please refer to our Privacy Policy or contact us for more details.

  • Follow us on social
  • Facebook
  • Instagram
  • Linkedin
  • Pinterest
  • Twitter
  • YouTube

Contact Us:

3560 Bathurst Street
Toronto, Ontario
Canada M6A 2E1
Phone: (416) 785-2500

Baycrest is an academic health sciences centre fully affiliated with the University of Toronto