Dear Youg,
the modified function I sent you will hopefully reduce the computation
time when looking at a contrast but has nothing to do with explicit masking.
I attach new files that should add the explicit masking functionality
for surface-based data - please let me know how it goes for you.
Best regards,
Guillaume.
On 04/07/16 12:30, Youg Lee wrote:
> Dear Dr. Guillaume Flandin,
>
> Thank you very much for your help.
> At your prompt, I replaced the code you attached, and got the same error
> message. Yes, I added the *.gii type explicit mask (because nii is
> forbidden), which resulted from "save current supra-thresholded clusters
> as mask" in SPM12's result interface.
>
> Best,
> Youg Lee.
>
>
> ------------------------------------------------------------------------
> Running job #1
> ------------------------------------------------------------------------
> Running 'Factorial design specification'
> Mapping files : ...done
> Design configuration : ...done
> Saving SPM configuration : ...SPM.mat saved
> Design reporting : ...done
> Completed : 20:12:25 - 04/07/2016
> Done 'Factorial design specification'
> Done
>
> SPM12: spm_spm (v6015) 20:15:36 - 04/07/2016
> ========================================================================
> Error using spm_bsplinc
> Wrong sized dim.
>
> Error in spm_spm (line 522)
> C = spm_bsplinc(xM.VM(i), [0 0 0 0 0 0]');
>
> Error in cat12>pushbutton5_Callback (line 173)
> spm_spm(SPM);
>
> Error in gui_mainfcn (line 95)
> feval(varargin{:});
>
> Error in cat12 (line 69)
> gui_mainfcn(gui_State, varargin{:});
>
> Error in
> @(hObject,eventdata)cat12('pushbutton5_Callback',hObject,eventdata,guidata(hObject))
>
>
> Error while evaluating UIControl Callback
>
>
>
>
> At 2016-07-04 18:39:21, "Guillaume Flandin" <[log in to unmask] <mailto:[log in to unmask]>> wrote:
>>Dear Youg,
>>
>>CAT12 mainly uses SPM core functions for surface-based statistical
>>inference and explicit masks are not handled yet - in your case, is your
>>explicit mask volumetric (NIfTI) or surfacic (GIfTI)?
>>
>>As for the slow results display, can you try again with the attached
>>file and let me know whether it works better afterwards? Note that with
>>this function, you might see an error when no vertices survive the
>>height threshold.
>>
>>Best regards,
>>Guillaume.
>>
>>
>>On 01/07/16 23:42, Youg Lee wrote:
>>> Dear Prof. Dr. Christian Gaser,
>>> Thank you so much for all your help. I want to do a correction analysis
>>> between significant clusters of surface-based group comparison and
>>> neurocognitive assessments, when I added the suprathresholded binary
>>> clusters as explicit mask, I encountered an error message in the
>>> subsequent surface model estimate. However, if I did not add any brain
>>> mask and left it as default, I found it ran fairly slowly (40 min per
>>> contrast, depending on the surviving vertices). Here I report this error
>>> occured during model estimate.
>>> Best,
>>> Youg Lee.
>>>
>>> SPM12: spm_spm (v6015) 06:54:44 - 02/07/2016
>>> ========================================================================
>>> Error using spm_bsplinc
>>> Wrong sized dim.
>>>
>>> Error in spm_spm (line 522)
>>> C = spm_bsplinc(xM.VM(i), [0 0 0 0 0 0]');
>>>
>>> Error in cat12>pushbutton5_Callback (line 173)
>>> spm_spm(SPM);
>>>
>>> Error in gui_mainfcn (line 95)
>>> feval(varargin{:});
>>>
>>> Error in cat12 (line 69)
>>> gui_mainfcn(gui_State, varargin{:});
>>>
>>> Error in
>>> @(hObject,eventdata)cat12('pushbutton5_Callback',hObject,eventdata,guidata(hObject))
>>>
>>>
>>> Error while evaluating UIControl Callback
>>>
>>>
>>>
>>
>>--
>>Guillaume Flandin, PhD
>>Wellcome Trust Centre for Neuroimaging
>>University College London
>>12 Queen Square
>>London WC1N 3BG
>>
>
>
>
>
>
>
>
>
>
--
Guillaume Flandin, PhD
Wellcome Trust Centre for Neuroimaging
University College London
12 Queen Square
London WC1N 3BG
|