IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
uip_fsg_test_t.m
Go to the documentation of this file.
1 %>@file
2 %>@ingroup guigroup
3 %>@brief Properties Window for @ref fsg_test_t
4 %>
5 %> <b>Calculate as -log10(p_value)</b> - see fsg_test_t::flag_logtake
6 %>
7 %> @sa fsg_test_t
8 
9 %>@cond
10 function varargout = uip_fsg_test_t(varargin)
11 % Begin initialization code - DO NOT EDIT
12 gui_Singleton = 1;
13 gui_State = struct('gui_Name', mfilename, ...
14  'gui_Singleton', gui_Singleton, ...
15  'gui_OpeningFcn', @uip_fsg_test_t_OpeningFcn, ...
16  'gui_OutputFcn', @uip_fsg_test_t_OutputFcn, ...
17  'gui_LayoutFcn', [] , ...
18  'gui_Callback', []);
19 if nargin && ischar(varargin{1})
20  gui_State.gui_Callback = str2func(varargin{1});
21 end
22 
23 if nargout
24  [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
25 else
26  gui_mainfcn(gui_State, varargin{:});
27 end
28 % End initialization code - DO NOT EDIT
29 
30 
31 % --- Executes just before uip_fsg_test_t is made visible.
32 function uip_fsg_test_t_OpeningFcn(hObject, eventdata, handles, varargin)
33 handles.output.flag_ok = 0;
34 guidata(hObject, handles);
35 gui_set_position(hObject);
36 
37 
38 
39 % --- Outputs from this function are returned to the command clae.
40 function varargout = uip_fsg_test_t_OutputFcn(hObject, eventdata, handles)
41 try
42  uiwait(handles.figure1);
43  handles = guidata(hObject);
44  varargout{1} = handles.output;
45  delete(gcf);
46 catch
47  output.flag_ok = 0;
48  output.params = {};
49  varargout{1} = output;
50 end;
51 
52 
53 
54 % --- Executes on button press in pushbuttonOK.
55 function pushbuttonOK_Callback(hObject, eventdata, handles)
56 % hObject handle to pushbuttonOK (see GCBO)
57 % eventdata reserved - to be defined in a future version of MATLAB
58 % handles structure with handles and user data (see GUIDATA)
59 try
60  handles.output.params = {...
61  'flag_logtake', int2str(get(handles.checkbox_flag_logtake, 'Value')) ...
62  };
63  handles.output.flag_ok = 1;
64  guidata(hObject, handles);
65  uiresume();
66 catch ME
67  irerrordlg(ME.message, 'Cannot continue');
68 
69 end;
70 
71 
72 % --- Executes on button press in checkbox_flag_logtake.
73 function checkbox_flag_logtake_Callback(hObject, eventdata, handles)
74 %> @endcond
Property flag_logtake
=1. If 1, result of test is -log10(p-value); if 0, result is p-value
Definition: fsg_test_t.m:9
Feature subset grader - t-test.
Definition: fsg_test_t.m:3
function gui_set_position(in hObject)
Analysis Session (AS) base class.
Definition: as.m:6
function irerrordlg(in errorstring, in dlgname)