Back to PLS Help

Way to change the colour presentation for activation patterns?
OskariKantonen
Posted on 04/25/17 21:47:45
Number of posts: 3

Hi!

I have a problem of PLS (at least seemingly) randomly choosing either hot or cold colour to represent patterns of activation for 2 condition PET data, e.g. sometimes cold represents voxels of increasing intensity across conditions and sometimes vice versa. Is there a way to change the color mapping for significant voxels?

I'm running PLS on Matlab 2017b, OS X Sierra. Tried also with Matlab 2014a on Windows 7 with similar results.

 

Thank you!

/Oskari

Replies:

Untitled Post
rmcintosh
Posted on 04/25/17 22:05:00
Number of posts: 394
rmcintosh replies:

quote:

Hi!

I have a problem of PLS (at least seemingly) randomly choosing either hot or cold colour to represent patterns of activation for 2 condition PET data, e.g. sometimes cold represents voxels of increasing intensity across conditions and sometimes vice versa. Is there a way to change the color mapping for significant voxels?

I'm running PLS on Matlab 2017b, OS X Sierra. Tried also with Matlab 2014a on Windows 7 with similar results.

 

Thank you!

/Oskari

the math underlying PLS does not have insight into your design, so the patterns that emerge are the effects in your data. The interpretation is up to you.  If you are facile in matlab, you can reverse the signs of the output by multiplying by -1 and then display the output.  Alternatively you can export the results to another program to modify the colour scales.



Untitled Post
OskariKantonen
Posted on 04/26/17 00:49:57
Number of posts: 3
OskariKantonen replies:

Thank you for the prompt reply! I figured a simple -1 multiplication would do the job in Matlab but I don't know how to apply this. How can I find the output values which sould be reversed?



Untitled Post
rmcintosh
Posted on 04/26/17 06:46:15
Number of posts: 394
rmcintosh replies:

quote:

Thank you for the prompt reply! I figured a simple -1 multiplication would do the job in Matlab but I don't know how to apply this. How can I find the output values which sould be reversed?

take a look at the help file if you type: help pls_analysis from the matlab command line for the varaible list.  The variable results.compare_u is the statistical (bootstrap) image.  If you do the modify the results file, you should save it under a new name



Untitled Post

I'm Online
nlobaugh
Posted on 04/26/17 09:32:33
Number of posts: 229
nlobaugh replies:

and you have to multiply both sides of the equation by -1 (design saliences and bootstrap ratios [brain saliences])



Untitled Post
OskariKantonen
Posted on 04/26/17 13:55:46
Number of posts: 3
OskariKantonen replies:

Thank you!




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