help > array size incompatible for seed-to-voxel analysis
Mar 29, 2024  02:03 PM | Jennifer Siegel - University of Edinburgh
array size incompatible for seed-to-voxel analysis

Hello, 


I have run my analysis through the setup, and denoising step.  Now when I wish to output a simple seed-to-voxel analysis I get an error saying that the array size is incompatible for this operation.


I originally ran the preprocessing through fMRIprep and had to pull into the conn analysis.  I think I made an error with some of the subject and their voxel sizes were different.  I thought I had resliced the data and fixed this error.  Maybe I haven't?  


Is there a simple way that I might be able to just reslice all the existing images during the setup step so that I stop getting this error?  This data set is just preliminary and I just want to output some basic data without having to go back and redo the preprocessing.  


Thanks, 


Jennifer 


Error below... 


CONN: RUNNING ANALYSIS STEP (ROI-to-ROI or seed-to-voxel analyses)
Step 1/3: ROI-to-voxel first-level analyses
      first-level data in /scratch/06953/jes6785/SOBP/CYB_UPDATE_JAN_2023/fmriprep/conn_project01/results/firstlevel/SBC_01
ERROR DESCRIPTION:
 
Arrays have incompatible sizes for this operation.


Error in conn_wdemean (line 4)
y=conn_bsxfun(@minus,x,sum(x.*repmat(w,[1,size(x,2)]),1)./max(eps,sum(w)));


Error in conn_process (line 2514)
 y=conn_wdemean(y,wx);


Error in conn_process (line 86)
 case 'analyses_gui_seedandroi',conn_disp(['CONN: RUNNING ANALYSIS STEP (ROI-to-ROI or seed-to-voxel