Quantcast
Channel: NITRC CONN : functional connectivity toolbox Forum: help
Viewing all articles
Browse latest Browse all 6859

RE: Step 5 - Importing ROI error - Mismatched number of scans and covariate datapoints

$
0
0
[color=#000000]Hi,[/color]

[color=#000000]I've just had the same error.[/color]

Could it relate to how ROIs are specified? For each ROI, there's an option to choose which dataset from which to 'Compute average timeseries' (this option is located on the right-hand side of the conn window). I noticed that this was set to 'secondary dataset #1 (fmap)'. By contrast, when I ran a previous analysis that did work, this was instead set to 'secondary dataset #1 (unsmoothed volumes)' - i.e. for the analysis that worked, this option pointed to the functional files rather than the fmap files!

I've now tried to switch to a different secondary dataset (containing functional files) and skipped straight to step 5. I've not had this error and it is processing, so for now at least it seems to be working!

Let me know if this works for you.

Madeleine

[i]Originally posted by b shar:[/i][quote]Hi all, 

I'm a new CONN user, and I'm running into the following error when trying to complete denoising on a sample of 33 participants. 

Any pointers would be greatly appreciated. 

***ERROR***

ERROR DESCRIPTION:

Error using rex>rex_do (line 766)
mismatched number of scans and covariate datapoints ([4 1] vs. [180 13])
Error in rex (line 192)
[params.ROIdata,params.ROInames,params.ROIinfo.basis,params.ROIinfo.voxels,params.ROIinfo.files,params.ROIinfo.select,params.ROIinfo.trans]=rex_do(params,1);
Error in conn_rex (line 8)
[varargout{1:nargout}]=rex(varargin{:});
Error in conn_process (line 927)
else [data{nroi1},namesroi{nroi},params]=conn_rex(Vsourcethis,Vmask{nroi}{min(nses,nsesstemp)},'summary_measure','eigenvariate','dims',CONN_x.Setup.rois.dimensions{nroi},'conjunction_mask',mask,'level',level,'scaling',scalinglevel,'select_clusters',0,'covariates',entercovariates,'fsanatomical',fsanatomical,'output_type',outputtype,'output_rex',filenamerex,'output_folder',filepath);
Error in conn_process (line 16)
case 'setup', conn_disp(['CONN: RUNNING SETUP STEP']); conn_process([0:4,4.5,5]);
Error in conn (line 5495)
else conn_process(processname); ispending=false;
Error in conn_menumanager (line 120)
feval(CONN_MM.MENU{n0}.callback{n1}{1},CONN_MM.MENU{n0}.callback{n1}{2:end});
CONN19.c
SPM12 + DAiSS DEM FieldMap MEEGtools
Matlab v.2020a[/quote]

Viewing all articles
Browse latest Browse all 6859

Trending Articles