-
Notifications
You must be signed in to change notification settings - Fork 0
/
spm_TFCE.m
39 lines (37 loc) · 1.34 KB
/
spm_TFCE.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
function spm_TFCE
% TFCE Toolbox wrapper to call TFCE functions
% ______________________________________________________________________
%
% Christian Gaser
% Structural Brain Mapping Group (https://neuro-jena.github.io)
% Departments of Neurology and Psychiatry
% Jena University Hospital
% ______________________________________________________________________
SPMid = spm('FnBanner',mfilename);
[Finter,Fgraph] = spm('FnUIsetup','TFCE 1.0');
url = fullfile(fileparts(mfilename('fullpath')),'html','tfce.html');
spm_help('!Disp',url,'',Fgraph,'Threshold-Free Cluster Enhancement Toolbox');
fig = spm_figure('GetWin','Interactive');
h0 = uimenu(fig,...
'Label', 'TFCE',...
'Separator', 'on',...
'Tag', 'TFCE',...
'HandleVisibility','on');
h1 = uimenu(h0,...
'Label', 'Estimate',...
'Separator', 'off',...
'Tag', 'Estimate TFCE statistic',...
'CallBack','spm_jobman(''interactive'','''',''spm.tools.tfce_estimate'');',...
'HandleVisibility','on');
h2 = uimenu(h0,...
'Label', 'Results',...
'Separator', 'off',...
'Tag', 'Non-parametric inference',...
'CallBack','[hReg xSPM SPM] = cat_spm_results_ui(''Setup'');',...
'HandleVisibility','on');
h3 = uimenu(h0,...
'Label', 'Check for updates',...
'Separator', 'off',...
'Tag', 'Check for updates',...
'CallBack','tfce_update(1);',...
'HandleVisibility','on');