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?
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
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
Baycrest is an academic health sciences centre fully affiliated with the University of Toronto
Privacy Statement - Disclaimer - © 1989-2024 BAYCREST HEALTH SCIENCE. ALL RIGHTS RESERVED