Back to PLS Help

Conjunction analysis
as22kk
Posted on 09/23/08 15:51:11
Number of posts: 60
as22kk posts:

Hello Randy,
 
off course it is an effertful way of doing that just by looking at the cluster reports but it is not that much precise.That's why I am looking for more precise strategy of doing the conjunction.Just for clarification,Lv1 in my case shows the modality-specific availability network and LV3 brings out the  modality-specific accessibility network.So we are looking for those regions which is precisely in common between those two LVs.I have done E:R.FMRI analysis using task PLS (Mean-centering strategy)

Any hint to do that will be appreciated.

/Alireza

Replies:

Untitled Post
rmcintosh
Posted on 09/24/08 07:03:09
Number of posts: 394
rmcintosh replies:

Okay - here it goes.  Basically what you need to do is an element-by-element multiplication of the singular images from the two LVs that you want to assess.  You will need to apply a mask to the images first so that you are emphasizing those voxels that are reliable in both LVs.  This cannot be done in the GUI so you will need to do this from the command line in matlab. 

Here are some detailed instructions:

1. Make a copy of the results file containing the LVs of interest
cp mytext_fMRIresult.mat mytext2_fMRIresult.mat
where "mytext" is the prefix you created for the results file of interest

2. Start matlab and load the copied results file
load mytext2_fMRIresult

3.  Once done if you type "whos" you will get a list of the variables that are stored in the results file.  The ones we are most interested in are:
brainlv (the singular images)
s (the singular values)
boot_result.compare (the bootstrap ratio images)  Note that the dot between boot_result & compare is intention as boot_result is structure array

4.  Create a binary mask of the bootstrap ratio images.  We'll use the absolute value
mask_lv1=abs(boot_result.compare(:,1)>=3);
where the value '3' is your threshold - use what you think is valid - also make sure you end the line with a semi-colon ';' otherwise the numbers get written to the screen
repeat this for the other LVs of interest

5. At this point there are two options - create the conjunction of boostrap images or singular images
BOOTSTRAP
LV1=mask_lv1.*boot_result.compare(:,1);
LV3=mask_lv3.*boot_result.compare(:,3);
conj_LV1LV3=LV1.*LV3;
you have to use the '.*' and not just '*'  for these operations.  The dot '.' means element-by-element
SINGULAR IMAGE
LV1=mask_lv1.*(brainlv(:,1)*s(1));
LV3=mask_lv3.*(brainlv(:,3)*s(3));
conj_LV1LV3=LV1.*LV3;
the operation (brainlv*s) rescales the brainlv by its singular value putting it back into 'covariance' space. 

The reason for using  one vs another has to do with statistical purity.  Technically, the singular image approach is more valid since it is the conjunction of the parameter estimates, which, in principle, can be subjected to a statistical test. The conjunction of bootstrap ratios cannot be as readily tested because the exact value depends on both the parameter estimate and the standard error. 

6.  Replace the fields in the results file with the conjunciton image:
BOOTSTRAP
boot_result.compare(:,1)=conj_LV1LV3;
SINGULAR IMAGE
brainlv(:,1)=conj_LV1LV3;
s(1)=1;
replacing the singular value with '1' will prevent rescaling of the conjunction image in the display

7.  Save the results file
save mytext2_fMRIresult

8.  Start plsgui and load this results file. If you created the bootstrap conjunction, this should come up and you can view it and run the cluster report on that image.  If you created the singular image, then you click "View:View Brain LV" and then do your cluster report.


It is worth emphasizing that neither of these approaches is a statistical assessment of the conjunction ala SPM.  It is a description of the overlap between images.  However, it should suit your needs.  One could do the PLS conjunction in the course of bootstrap resampling, but that is not part of the current package. I would have to evaluate it a little more before it would get implemented.




Conjunction analysis
as22kk
Posted on 09/24/08 11:08:39
Number of posts: 60
as22kk replies:

Hello randy,

Thank you for your email.

Actually I had done the part similar to what you recommend on the bootstrap ratio image yesterday,but what I made me feel unconfident was that the bootstrap ratio of the reported clusters are bigger that each of the bootstrap ratio of each LV.Forexample,the max bootstrap on LV1 and lv3 in positive direction was 9 and 7,but the maximum bootstrap ratio of the conjuncted part is 25  and same is for the nagative saliences.

Is that normal or not?

Thanks alot,
/Alireza


Untitled Post
rmcintosh
Posted on 09/24/08 11:47:27
Number of posts: 394
rmcintosh replies:

If you use the bootstrap image, then the ratios for the conjunction will be higher since its a product image.  For example if two voxels are common to each LV, and each have a ratio of 3.0, then the conjunction image will have a ratio of 9 at the voxel.



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