Dear Paul,
I assume that you are referring to this post:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=SPM;3e6ede29.1006
This was for SPM8, in SPM5 you will have to do something like:
uu = spm_uc(0.05,xSPM.df,xSPM.STAT,xSPM.R,xSPM.n,xSPM.S);
xSPM.XYZ = xSPM.XYZ(:,xSPM.Z>=uu);
xSPM.Z = xSPM.Z(xSPM.Z>=uu);
spm_write_filtered(xSPM.Z,xSPM.XYZ,xSPM.DIM,xSPM.M,'SVC','SVC');
Best regards,
Guillaume.
On 23/08/10 11:15, Paul wrote:
> Dear Guillaume
>
> After reading your post about how to extract cluster of SVC analysis, i edited spm_VOI.m and found it didn't work for me
> Could you help me to solve this problem, Thanks!
>
> The error message as follows:
>
> ??? Undefined function or variable 'df'.
>
> Error in ==> spm_VOI at 152
> uu = spm_uc_FDR(0.05,df,STAT,R,n,S);
>
> ??? Error using ==> spm_VOI(SPM,xSPM,hReg);
> Undefined function or variable 'df'.
>
> ??? Error while evaluating uicontrol Callback
>
> I use SPM5 with latest update for this analysis
>
> Best
>
> Paul
>
>
--
Guillaume Flandin, PhD
Wellcome Trust Centre for Neuroimaging
University College London
12 Queen Square
London WC1N 3BG
|