Back to PLS Help

Correlation plot
lpxdjs
Posted on 01/15/13 05:01:16
Number of posts: 22
lpxdjs posts:

Hi all,

Despite the fact that I can view the BS image perfectly, when I try to open the correlation plot no image is loaded and I receive the error 'XYZ should contain 3 numbers (X, Y and Z)'. Even if I input some co-ordinates there appears to be no data loaded. What might the problem be?

If it helps, when I try to load in a background image - the same image that displays without problems in the BR image - I am told that the "The dimensions of the background and data images are not matched"...

Any help would be gratefully received.

(A very confused) Dan.

Replies:

Untitled Post

I'm Online
jshen
Posted on 01/15/13 12:23:46
Number of posts: 291
jshen replies:

Error 'XYZ should contain 3 number' only happens when the edit field contains less than 3 numbers. In your case, it could be caused by the problematic result file. If you could upload all the .mat file in that folder to anywhere that I can have access, I can take a look at this.

Error 'The dimensions of the background and data images are not matched' is another problem. Make sure that the dimension of background images is the same as the dimension of the raw image. i.e. You cannot directly use a background image without first resample it to the same size as the raw image.



Untitled Post
lpxdjs
Posted on 01/16/13 02:49:58
Number of posts: 22
lpxdjs replies:

quote:
Error 'XYZ should contain 3 number' only happens when the edit field contains less than 3 numbers. In your case, it could be caused by the problematic result file. If you could upload all the .mat file in that folder to anywhere that I can have access, I can take a look at this.

Error 'The dimensions of the background and data images are not matched' is another problem. Make sure that the dimension of background images is the same as the dimension of the raw image. i.e. You cannot directly use a background image without first resample it to the same size as the raw image.

Jimmy,

No image is loaded even when I enter XYZ co-ordinates, so the issue must be related to the result file. It would be great if you can take a look - all the .mat files can be located at the following URLs - this is a 'Structural' PLS, so I have made available the session.mat, data.mat and datamat.mat files for both [2] groups):

https://dl.dropbox.com/u/68645410/DVgroup_STRUCTdata.mat

https://dl.dropbox.com/u/68645410/DVgroup_STRUCTdatamat.mat

https://dl.dropbox.com/u/68645410/DVgroup_STRUCTsession.mat

https://dl.dropbox.com/u/68645410/nonDVgroup_STRUCTdata.mat

https://dl.dropbox.com/u/68645410/nonDVgroup_STRUCTdatamat.mat

https://dl.dropbox.com/u/68645410/nonDVgroup_STRUCTsession.mat

https://dl.dropbox.com/u/68645410/SeedPLS_LHhippocampus1_GroupComparison_1Conditions_regMNI_140113_STRUCTresult.mat

Concerning the diminensions issue, I am trying toload the same background image into the correlation plot that I use without issues in the BS image - this is a resampled grey-matter template. I guess this issue relates to the first - there is no data loaded into the correlation plot, so the dimensions can't possibly be compatible.

I look forward to hearing your verdict.

Many, many thanks,

Dan.



Untitled Post

I'm Online
jshen
Posted on 01/16/13 16:53:03
Number of posts: 291
jshen replies:

Error 'XYZ should contain 3 number' is a bug in my code, which crashes on certain skewed data. Hopefully, this will also solve the 'The dimensions of the background and data images are not matched' error. If not, you just have to make sure that the dimension and orientation of background image should be exactly the same as the raw image. Sorry for the inconvenience.


Untitled Post

I'm Online
jshen
Posted on 01/16/13 16:58:04
Number of posts: 291
jshen replies:

I forgot to mention that this has been fixed. Please download and try again from:
http://www.rotman-baycrest.on.ca/pls/source




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