Back to PLS Help

Possible FSL/spatial registration issue when running batch_plsgui
k.peterson.m
Posted on 08/07/15 15:58:39
Number of posts: 2
k.peterson.m posts:

 

Hello,

I'm having an issue processing data in PLS that has been preprocessed using FSL. Below is the error I am encountering when running batch_plsgui.

??? Index exceeds matrix dimensions.


Error in ==> bfm_get_datamat at 569
   st_datamat = datamat(:, coords);

Error in ==> batch_create_datamat>create_bfm_datamat at 730
      bfm_get_datamat(session_info,options.RunsIncluded, ...

Error in ==> batch_create_datamat at 272
      create_bfm_datamat(session);

Error in ==> batch_plsgui at 43
         batch_create_datamat(fid);
 
>> batch_plsgui 3002_FT_BLOCKPLS.txt
Scans 143 for the condition 1 of run1 are not included due to out of bound
Scans 227 for the condition 1 of run1 are not included due to out of bound
etc. 


It states that all scans are essentially out of bound. I am using the filtered_func_data (the 4D FMRI data from preprocessing in FSL), reigstering that to the MNI template, changing these nifti images into 4mm isotropic (from 1mm iso) nifti images and then performing reslice_nii on each. So, the data have been motion corrected, spatially normalized, and smoothed as PLS requires. Because these data were successfully run through batch_plsgui previously without the registration step performed (which we had forgotten to do accidentally), it seems that the error above has to do with an issue it has with the registered data. Anyone have any thought on why this would be or how I may troubleshoot this issue? For background, I will mention that these data were acquired with a high-res multiband sequence so this data has been corrected for distortions (using FSL's topup command) that would not otherwise be part of our preprocessing. I am wondering whether the issue had to do either with using FSL for preprocessing OR with the nature of the spatial registration. 

Thank you for your help,
 
Kristina

Replies:

Untitled Post
rmcintosh
Posted on 08/08/15 11:47:36
Number of posts: 394
rmcintosh replies:

tough one - the registration etc shoudl not matter unless the PLS softward cannot read the new header.  Can you load the data for a subject using the GUI?  



Untitled Post
k.peterson.m
Posted on 08/14/15 16:16:44
Number of posts: 2
k.peterson.m replies:

Hi Randy,

 

Thank you so much for your quick response. I must say though that I think I figured out the issue. It was to do with how I processed the data, but now that I've processed it correctly, it is running through just fine. Sorry for the false alarm!

 

Best,

 

Kristina




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