Back to PLS Help

batch_plsgui issue - "not included due to out of bound"

I'm Online
kris.romero
Posted on 11/16/15 13:29:18
Number of posts: 9
kris.romero posts:

Dear PLS gurus,

I am trying out PLS on some imaging data preprocessed using the Strother lab's PRONTO pipeline. I created the datamats for all subjects without issue, but the group analysis wouldn't run because 2 subjects had slightly different voxel sizes (3.12 x 3.13 x 5 instead of 3.13 x 3.13 x 5). So I re-sliced these images to the same voxel size as the others using a mean group mask as the reference image. Now, when I try to create the datamats for these 2 subjects I get the following error:

>> batch_plsgui 1001s2.txt
Scans 070 for the condition 1 of run1 are not included due to out of bound
Scans 260 for the condition 1 of run1 are not included due to out of bound
...etc


??? Index exceeds matrix dimensions.

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

Error in ==> batch_create_datamat>create_bfm_datamat at 712
      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);

 

The resliced images align with the group mean image as well as other subjects' images, the voxel dimensions are the same, and I can open all the data without issue. Could someone please tell me what I did wrong?

 

Replies:

Untitled Post

I'm Online
nlobaugh
Posted on 11/16/15 13:33:00
Number of posts: 229
nlobaugh replies:

Hi Kris..

check your trial onset + event duration definitions - you  can't have a trial onset that does not have the number of TRs specified for the event.

if event TR#=200, and there are only 205 TRs, you can't specify an event duration of 8TRs

nancy



Untitled Post

I'm Online
kris.romero
Posted on 11/23/15 12:26:20
Number of posts: 9
kris.romero replies:

Figured it out; human error. I didn't include all the volumes when re-slicing so the number of timepoints was off.

Many thanks for the help!

Kris




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