Back to PLS Help

bug in Brain Scores vs. Behavior Data Plot gui
LJWilliams
Posted on 12/18/15 18:45:02
Number of posts: 1
LJWilliams posts:

Hello,

Just an FYI. I have found a bug in the gui for plotting Brain Scores versus Behavior Data. The first LV comes up, but the gui won't let you select the other LVs. I am running OSX Mavericks, Matlab version 2014b.

Lynne

Replies:

Untitled Post

I'm Online
nlobaugh
Posted on 12/20/15 09:39:03
Number of posts: 229
nlobaugh replies:

Hi Lynne..

the problem is likely because PLS gui is not supported in Matlab 2014b

 

https://www.rotman-baycrest.on.ca/index.php?action=view_thread&id=1784&module=bbmodule&src=%40random45c35fcb17881

 

cheers

Nancy



Untitled Post
evast187
Posted on 01/13/16 09:42:51
Number of posts: 10
evast187 replies:

Hi

I'd like to add that I have the same problem, but strangely enough, only for one of my analyses. I've done structural PLS and I have checked the sessiondata and analysis-batches and everything looks to be in order.

The only difference from before (when it worked fine) is that in the analysis where I experience the possible bug, I get an error message whenever I click the "load behavior data" button in the batch. Then, when trying to leave the "edit behavior data"-window I get an error message saying: "Number of rows should be equal to 80. For Multiblock PLS analysis, please also fill any values for subjects of those conditions that will be deselected in the behavior block". However, all the data needed for the analysis is there, no more, no less.

When trying to plot the brain score vs behavior data plot after loading the result.mat, I get a distorted window with a lot missing. When I instead try to plot the correlation overview, I get the following error message in SPM: 

Index exceeds matrix dimensions.

Error in struct_plot_brain_scores>plot_brain_scores (line 1142)
         strong_r(1,behav,scan) = strong(1,2);

Error in struct_plot_brain_scores>init (line 368)
  plot_brain_scores;

Error in struct_plot_brain_scores (line 17)
      fig = init(plsResultFile, tit_fn);

Error in struct_result_ui>OpenBrainPlot (line 2016)
  brain_plot = struct_plot_brain_scores('STARTUP',PLSresultFile);

Error in struct_result_ui (line 397)
     OpenBrainPlot;
 
Error while evaluating uimenu Callback

 

I use Matlab 2012b on a Linux machine.

 

Best,

Eva

 

 



Untitled Post
rmcintosh
Posted on 01/13/16 12:54:59
Number of posts: 394
rmcintosh replies:

can you give me a bit more detail on the study design and analysis?



Untitled Post
evast187
Posted on 01/14/16 03:30:48
Number of posts: 10
evast187 replies:

Yes of course. But first I'd like to add that I ran the analysis again and now everything works perfectly. But below are some specifications of the data/analysis (it is the exact same analysis as in this thread): https://www.rotman-baycrest.on.ca/index.php?action=view_thread&id=1890&module=bbmodule&src=%40random45c35fcb17881

 

The data is VBM processed grey matter volume data. I've used two ROI's; anterior and posterior hippcoampus, and extracted the seed volumes from unsmoothed images.  Then I looked at the covariance patterns of the seed volumes with rest of the brain (smoothed images).

The design is 2x2x2 (group, condition, seed region). In this particular case it´s men with genotype A, men with genotype B, women with genotype A and women with genotype B (plus the two seed regions). For each of the four groups I´ve created separate sessiondata.mat files.

 

Best,

Eva

 



Untitled Post
rmcintosh
Posted on 01/14/16 07:51:39
Number of posts: 394
rmcintosh replies:

quote:

Yes of course. But first I'd like to add that I ran the analysis again and now everything works perfectly. But below are some specifications of the data/analysis (it is the exact same analysis as in this thread): https://www.rotman-baycrest.on.ca/index.php?action=view_thread&id=1890&module=bbmodule&src=%40random45c35fcb17881

 

The data is VBM processed grey matter volume data. I've used two ROI's; anterior and posterior hippcoampus, and extracted the seed volumes from unsmoothed images.  Then I looked at the covariance patterns of the seed volumes with rest of the brain (smoothed images).

The design is 2x2x2 (group, condition, seed region). In this particular case it´s men with genotype A, men with genotype B, women with genotype A and women with genotype B (plus the two seed regions). For each of the four groups I´ve created separate sessiondata.mat files.

 

Best,

Eva

 

Ok - so problem solved for this one I guess yes




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