Home > BiKEGG > Bigg2KeggTable.m

Bigg2KeggTable

PURPOSE ^

BIGG2KEGGTABLE MATLAB code for Bigg2KeggTable.fig

SYNOPSIS ^

function varargout = Bigg2KeggTable(varargin)

DESCRIPTION ^

 BIGG2KEGGTABLE MATLAB code for Bigg2KeggTable.fig
      BIGG2KEGGTABLE, by itself, creates a new BIGG2KEGGTABLE or raises the existing
      singleton*.

      H = BIGG2KEGGTABLE returns the handle to a new BIGG2KEGGTABLE or the handle to
      the existing singleton*.

      BIGG2KEGGTABLE('CALLBACK',hObject,eventData,handles,...) calls the local
      function named CALLBACK in BIGG2KEGGTABLE.M with the given input arguments.

      BIGG2KEGGTABLE('Property','Value',...) creates a new BIGG2KEGGTABLE or raises the
      existing singleton*.  Starting from the left, property value pairs are
      applied to the GUI before Bigg2KeggTable_OpeningFcn gets called.  An
      unrecognized property name or invalid value makes property application
      stop.  All inputs are passed to Bigg2KeggTable_OpeningFcn via varargin.

      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
      instance to run (singleton)".

 See also: GUIDE, GUIDATA, GUIHANDLES

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SUBFUNCTIONS ^

SOURCE CODE ^

0001 function varargout = Bigg2KeggTable(varargin)
0002 % BIGG2KEGGTABLE MATLAB code for Bigg2KeggTable.fig
0003 %      BIGG2KEGGTABLE, by itself, creates a new BIGG2KEGGTABLE or raises the existing
0004 %      singleton*.
0005 %
0006 %      H = BIGG2KEGGTABLE returns the handle to a new BIGG2KEGGTABLE or the handle to
0007 %      the existing singleton*.
0008 %
0009 %      BIGG2KEGGTABLE('CALLBACK',hObject,eventData,handles,...) calls the local
0010 %      function named CALLBACK in BIGG2KEGGTABLE.M with the given input arguments.
0011 %
0012 %      BIGG2KEGGTABLE('Property','Value',...) creates a new BIGG2KEGGTABLE or raises the
0013 %      existing singleton*.  Starting from the left, property value pairs are
0014 %      applied to the GUI before Bigg2KeggTable_OpeningFcn gets called.  An
0015 %      unrecognized property name or invalid value makes property application
0016 %      stop.  All inputs are passed to Bigg2KeggTable_OpeningFcn via varargin.
0017 %
0018 %      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
0019 %      instance to run (singleton)".
0020 %
0021 % See also: GUIDE, GUIDATA, GUIHANDLES
0022 
0023 % Edit the above text to modify the response to help Bigg2KeggTable
0024 
0025 % Last Modified by GUIDE v2.5 17-Mar-2016 11:43:15
0026 
0027 % Begin initialization code - DO NOT EDIT
0028 gui_Singleton = 1;
0029 gui_State = struct('gui_Name',       mfilename, ...
0030                    'gui_Singleton',  gui_Singleton, ...
0031                    'gui_OpeningFcn', @Bigg2KeggTable_OpeningFcn, ...
0032                    'gui_OutputFcn',  @Bigg2KeggTable_OutputFcn, ...
0033                    'gui_LayoutFcn',  [] , ...
0034                    'gui_Callback',   []);
0035 if nargin && ischar(varargin{1})
0036     gui_State.gui_Callback = str2func(varargin{1});
0037 end
0038 
0039 if nargout
0040     [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
0041 else
0042     gui_mainfcn(gui_State, varargin{:});
0043 end
0044 % End initialization code - DO NOT EDIT
0045 
0046 
0047 % --- Executes just before Bigg2KeggTable is made visible.
0048 function Bigg2KeggTable_OpeningFcn(hObject, eventdata, handles, varargin)
0049 % This function has no output args, see OutputFcn.
0050 % hObject    handle to figure
0051 % eventdata  reserved - to be defined in a future version of MATLAB
0052 % handles    structure with handles and user data (see GUIDATA)
0053 % varargin   command line arguments to Bigg2KeggTable (see VARARGIN)
0054 
0055 % Choose default command line output for Bigg2KeggTable
0056 handles.output = hObject;
0057 
0058 % Update handles structure
0059 guidata(hObject, handles);
0060 
0061 % UIWAIT makes Bigg2KeggTable wait for user response (see UIRESUME)
0062 % uiwait(handles.figure1);
0063 
0064 
0065 % --- Outputs from this function are returned to the command line.
0066 function varargout = Bigg2KeggTable_OutputFcn(hObject, eventdata, handles) 
0067 % varargout  cell array for returning output args (see VARARGOUT);
0068 % hObject    handle to figure
0069 % eventdata  reserved - to be defined in a future version of MATLAB
0070 % handles    structure with handles and user data (see GUIDATA)
0071 
0072 % Get default command line output from handles structure
0073 varargout{1} = handles.output;
0074 
0075 
0076 % --- Executes on button press in pushbutton1.
0077 function pushbutton1_Callback(hObject, eventdata, handles)
0078 % hObject    handle to pushbutton1 (see GCBO)
0079 A=get(handles.uitable1,'Data');
0080 setappdata(0,'Finalvalidity',A);
0081 close(gcf)
0082 
0083 
0084 % --- Executes during object creation, after setting all properties.
0085 function uitable1_CreateFcn(hObject, eventdata, handles)
0086 Diffdata = getappdata(0,'Diffdata');
0087 set(hObject, 'Data', Diffdata);
0088 set(hObject, 'ColumnName', {'BiGG', 'KEGG', 'Validity'})
0089 set(hObject, 'ColumnEditable', [false, false, true]);
0090 % hObject    handle to uitable1 (see GCBO)
0091 % eventdata  reserved - to be defined in a future version of MATLAB
0092 % handles    empty - handles not created until after all CreateFcns called
0093 
0094 
0095 % --- Executes when entered data in editable cell(s) in uitable1.
0096 function uitable1_CellEditCallback(hObject, eventdata, handles)
0097 % hObject    handle to uitable1 (see GCBO)
0098 RowChanged=eventdata.Indices(1);
0099 ColChanged=eventdata.Indices(2);
0100 newValue=eventdata.NewData;
0101 D =get(handles.uitable1,'Data');
0102 D{RowChanged,ColChanged}=newValue;

Generated on Sat 16-Jul-2016 20:21:30 by m2html © 2005