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_bf
bfm_get_datamat(session_info,
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.
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?
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
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