Complete EZview reformatting
This commit is contained in:
@@ -155,10 +155,10 @@ function [output_txt]=myupdatefcn(obj,event_obj)
|
||||
global Exp
|
||||
|
||||
[output_txt]=datatipp(obj,event_obj); % datatipp is a Matlab function
|
||||
gcf= Exp(4).guiFig; % gcf= ghandles.figure1 Mathworks Provided this line for Apple issue
|
||||
gcf=Exp(4).guiFig; % gcf=ghandles.figure1 Mathworks Provided this line for Apple issue
|
||||
clkPos=getCursorInfo(datacursormode(gcf));
|
||||
cpos=clkPos.Position;
|
||||
htargetAxes= clkPos.Target;
|
||||
htargetAxes=clkPos.Target;
|
||||
% datacursormode(gcf)
|
||||
if ghandles.Iaxes1==get(htargetAxes,'Parent')||...
|
||||
ghandles.Iaxes2==get(htargetAxes,'Parent')||...
|
||||
@@ -212,12 +212,12 @@ function MPed1_Callback(hObject, eventdata, handles)
|
||||
input=get(hObject,'String');
|
||||
Max=floor(get(handles.MPsldr1,'max'));
|
||||
Min=floor(get(handles.MPsldr1,'min'));
|
||||
if str2num(input) >= Min && str2num(input) <= Max
|
||||
if str2num(input) >=Min && str2num(input) <=Max
|
||||
display(input)
|
||||
set(handles.MPsldr1,'value',str2double(input));
|
||||
else
|
||||
if str2double(input) >= Max, set(handles.MPsldr1,'value',Max); set(handles.MPed1,'string',num2str(Max));end
|
||||
if str2double(input) <= Min, set(handles.MPsldr1,'value',Min),set(handles.MPed1,'string',num2str(Min));end
|
||||
if str2double(input) >=Max, set(handles.MPsldr1,'value',Max); set(handles.MPed1,'string',num2str(Max));end
|
||||
if str2double(input) <=Min, set(handles.MPsldr1,'value',Min),set(handles.MPed1,'string',num2str(Min));end
|
||||
end
|
||||
EZVimDisplay
|
||||
|
||||
@@ -232,7 +232,7 @@ function MPed1_Callback(hObject, eventdata, handles)
|
||||
function MPed1_CreateFcn(hObject, eventdata, handles)
|
||||
global ghandles
|
||||
global Exp
|
||||
ghandles.guiFig= gcf;
|
||||
ghandles.guiFig=gcf;
|
||||
Exp(4).guiFig=gcf;
|
||||
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
|
||||
set(hObject,'BackgroundColor','white');
|
||||
@@ -271,12 +271,12 @@ function DMed1_Callback(hObject, eventdata, handles)
|
||||
Max=floor(get(handles.DMsldr1,'max'));
|
||||
Min=floor(get(handles.DMsldr1,'min'));
|
||||
input=get(hObject,'String')
|
||||
if str2num(input) >= Min && str2num(input) <= Max
|
||||
if str2num(input) >=Min && str2num(input) <=Max
|
||||
display(input)
|
||||
set(handles.DMsldr1,'value',str2double(input))
|
||||
else
|
||||
if str2num(input) >= Max, set(handles.DMsldr1,'value',Max); set(handles.DMed1,'string',num2str(Max));end
|
||||
if str2num(input) <= Min, set(handles.DMsldr1,'value',Min),set(handles.DMed1,'string',num2str(Min));end
|
||||
if str2num(input) >=Max, set(handles.DMsldr1,'value',Max); set(handles.DMed1,'string',num2str(Max));end
|
||||
if str2num(input) <=Min, set(handles.DMsldr1,'value',Min),set(handles.DMed1,'string',num2str(Min));end
|
||||
end
|
||||
EZVimDisplay
|
||||
end
|
||||
@@ -298,7 +298,7 @@ function Tptsldr1_Callback(hObject, eventdata, handles)
|
||||
input=floor(get(hObject,'value'));
|
||||
display(input)
|
||||
set(handles.Tpted1,'string',num2str(floor(input)))
|
||||
prntHt= 0;
|
||||
prntHt=0;
|
||||
EZVimDisplay
|
||||
|
||||
% Executes during object creation, after setting all properties.
|
||||
@@ -319,12 +319,12 @@ function Tpted1_Callback(hObject, eventdata, handles)
|
||||
input=get(hObject,'String')
|
||||
Max=floor(get(handles.Tptsldr1,'max'));
|
||||
Min=floor(get(handles.Tptsldr1,'min'));
|
||||
if str2double(input) >= Min && str2double(input) <= Max
|
||||
if str2double(input) >=Min && str2double(input) <=Max
|
||||
display(input)
|
||||
set(handles.Tptsldr1,'value',str2double(input))
|
||||
else
|
||||
if str2num(input) >= Max, set(handles.Tptsldr1,'value',Max); set(handles.Tpted1,'string',num2str(Max));end
|
||||
if str2num(input) <= Min, set(handles.Tptsldr1,'value',Min),set(handles.Tpted1,'string',num2str(Min));end
|
||||
if str2num(input) >=Max, set(handles.Tptsldr1,'value',Max); set(handles.Tpted1,'string',num2str(Max));end
|
||||
if str2num(input) <=Min, set(handles.Tptsldr1,'value',Min),set(handles.Tpted1,'string',num2str(Min));end
|
||||
end
|
||||
EZVimDisplay
|
||||
end
|
||||
@@ -365,12 +365,12 @@ function clrOlay1_Callback(hObject, eventdata, handles)
|
||||
set(ghandles.OLay1,'string',{' '})
|
||||
set(ghandles.OLexp1,'string',{''})
|
||||
cla(ghandles.OLaxes1)
|
||||
Exp(1).traceN= 0;
|
||||
%Exp(1).cTraceN= 0;
|
||||
Exp(1).hOL =[]; Exp(1).hOLb=[];
|
||||
Exp(1).traceN=0;
|
||||
%Exp(1).cTraceN=0;
|
||||
Exp(1).hOL=[]; Exp(1).hOLb=[];
|
||||
Exp(1).hOLname={}; Exp(1).hOLexpNm={}; Exp(1).hOLresDir={};
|
||||
Exp(1).hOLplateNum=[];
|
||||
Exp(1).hOLresDir= {};
|
||||
Exp(1).hOLresDir={};
|
||||
cla(ghandles.Dlaxes1); cla(ghandles.Dkaxes1); cla(ghandles.Draxes1);
|
||||
cla(ghandles.DNLaxes1);
|
||||
Exp(1).hL =[]; Exp(1).hLb=[];
|
||||
@@ -383,15 +383,15 @@ function clrOlay1_Callback(hObject, eventdata, handles)
|
||||
Exp(1).hintLadj =[]; Exp(1).hintLadjb=[]; % 2016_0222
|
||||
|
||||
% reset Composite Overlay plot to initialization values
|
||||
Exp(1).cTraceN= 1;
|
||||
Exp(1).ll= []; Exp(1).rr= []; Exp(1).kk= [];
|
||||
Exp(1).cLmean= []; Exp(1).cRmean= []; Exp(1).cKmean= [];
|
||||
Exp(1).cTraceIndx= 1;
|
||||
Exp(1).cTraceN=1;
|
||||
Exp(1).ll=[]; Exp(1).rr=[]; Exp(1).kk=[];
|
||||
Exp(1).cLmean=[]; Exp(1).cRmean=[]; Exp(1).cKmean=[];
|
||||
Exp(1).cTraceIndx=1;
|
||||
Exp(1).hCmean=[];
|
||||
Exp(1).hBound1= [];
|
||||
Exp(1).hBound2= [];
|
||||
Exp(1).hBound1=[];
|
||||
Exp(1).hBound2=[];
|
||||
Exp(1).CompositPlot=0;
|
||||
Exp(1).Trace= []; %added for Trend BoxPlot data 17_1114
|
||||
Exp(1).Trace=[]; %added for Trend BoxPlot data 17_1114
|
||||
end
|
||||
|
||||
% Executes on slider movement.
|
||||
@@ -427,15 +427,15 @@ function MPed2_Callback(hObject, eventdata, handles)
|
||||
input=get(hObject,'String');
|
||||
Max=floor(get(handles.MPsldr2,'max'));
|
||||
Min=floor(get(handles.MPsldr2,'min'));
|
||||
if str2num(input) >= Min && str2num(input) <= Max
|
||||
if str2num(input) >=Min && str2num(input) <=Max
|
||||
display(input)
|
||||
set(handles.MPsldr2,'value',str2double(input));
|
||||
else
|
||||
if str2num(input) >= Max, set(handles.MPsldr2,'value',Max); set(handles.MPed2,'string',num2str(Max));end
|
||||
if str2num(input) <= Min, set(handles.MPsldr2,'value',Min),set(handles.MPed2,'string',num2str(Min));end
|
||||
if str2num(input) >=Max, set(handles.MPsldr2,'value',Max); set(handles.MPed2,'string',num2str(Max));end
|
||||
if str2num(input) <=Min, set(handles.MPsldr2,'value',Min),set(handles.MPed2,'string',num2str(Min));end
|
||||
end
|
||||
EZVimDisplay
|
||||
ghandles.guiFig= gcf;
|
||||
ghandles.guiFig=gcf;
|
||||
Exp(4).guiFig=gcf;
|
||||
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
|
||||
set(hObject,'BackgroundColor','white');
|
||||
@@ -449,7 +449,7 @@ function MPed2_CreateFcn(hObject, eventdata, handles)
|
||||
% hObject handle to MPed2 (see GCBO)
|
||||
global ghandles
|
||||
global Exp
|
||||
ghandles.guiFig= gcf;
|
||||
ghandles.guiFig=gcf;
|
||||
Exp(4).guiFig=gcf;
|
||||
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
|
||||
set(hObject,'BackgroundColor','white');
|
||||
@@ -488,12 +488,12 @@ function DMed2_Callback(hObject, eventdata, handles)
|
||||
Max=floor(get(handles.DMsldr2,'max'));
|
||||
Min=floor(get(handles.DMsldr2,'min'));
|
||||
input=get(hObject,'String')
|
||||
if str2double(input) >= Min && str2double(input) <= Max
|
||||
if str2double(input) >=Min && str2double(input) <=Max
|
||||
display(input)
|
||||
set(handles.DMsldr2,'value',str2double(input))
|
||||
else
|
||||
if str2double(input) >= Max, set(handles.DMsldr2,'value',Max); set(handles.DMed2,'string',num2str(Max));end
|
||||
if str2double(input) <= Min, set(handles.DMsldr2,'value',Min),set(handles.DMed2,'string',num2str(Min));end
|
||||
if str2double(input) >=Max, set(handles.DMsldr2,'value',Max); set(handles.DMed2,'string',num2str(Max));end
|
||||
if str2double(input) <=Min, set(handles.DMsldr2,'value',Min),set(handles.DMed2,'string',num2str(Min));end
|
||||
end
|
||||
EZVimDisplay
|
||||
end
|
||||
@@ -518,7 +518,7 @@ function Tptsldr2_Callback(hObject, eventdata, handles)
|
||||
input=floor(get(hObject,'value'));
|
||||
display(input)
|
||||
set(handles.Tpted2,'string',num2str(floor(input)))
|
||||
prntHt= 0;
|
||||
prntHt=0;
|
||||
EZVimDisplay
|
||||
end
|
||||
|
||||
@@ -539,12 +539,12 @@ function Tpted2_Callback(hObject, eventdata, handles)
|
||||
input=get(hObject,'String')
|
||||
Max=floor(get(handles.Tptsldr2,'max'));
|
||||
Min=floor(get(handles.Tptsldr2,'min'));
|
||||
if str2double(input) >= Min && str2double(input) <= Max
|
||||
if str2double(input) >=Min && str2double(input) <=Max
|
||||
display(input)
|
||||
set(handles.Tptsldr2,'value',str2double(input))
|
||||
else
|
||||
if str2num(input) >= Max, set(handles.Tptsldr2,'value',Max); set(handles.Tpted2,'string',num2str(Max));end
|
||||
if str2num(input) <= Min, set(handles.Tptsldr2,'value',Min),set(handles.Tpted2,'string',num2str(Min));end
|
||||
if str2num(input) >=Max, set(handles.Tptsldr2,'value',Max); set(handles.Tpted2,'string',num2str(Max));end
|
||||
if str2num(input) <=Min, set(handles.Tptsldr2,'value',Min),set(handles.Tpted2,'string',num2str(Min));end
|
||||
end
|
||||
EZVimDisplay
|
||||
end
|
||||
@@ -562,7 +562,7 @@ function expSelPB2_Callback(hObject, eventdata, handles)
|
||||
% hObject handle to expSelPB2 (see GCBO)
|
||||
global Exp
|
||||
expN=2;
|
||||
prntHt= 0;
|
||||
prntHt=0;
|
||||
EZexpSel
|
||||
end
|
||||
|
||||
@@ -583,13 +583,13 @@ function clrOlay2_Callback(hObject, eventdata, handles)
|
||||
set(ghandles.OLay2,'string',{''})
|
||||
set(ghandles.OLexp2,'string',{''})
|
||||
cla(ghandles.OLaxes2)
|
||||
Exp(2).traceN= 0;
|
||||
%Exp(2).cTraceN= 0;
|
||||
Exp(2).traceN=0;
|
||||
%Exp(2).cTraceN=0;
|
||||
|
||||
Exp(2).hOL =[]; Exp(2).hOLb=[];
|
||||
Exp(2).hOLname={}; Exp(2).hOLexpNm={}; Exp(2).hOLresDir={}
|
||||
Exp(2).hOLplateNum=[];
|
||||
Exp(2).hOLresDir= {};
|
||||
Exp(2).hOLresDir={};
|
||||
|
||||
cla(ghandles.Dlaxes2); cla(ghandles.Dkaxes2); cla(ghandles.Draxes2);
|
||||
cla(ghandles.DNLaxes2); % 2016_0222
|
||||
@@ -601,15 +601,15 @@ function clrOlay2_Callback(hObject, eventdata, handles)
|
||||
Exp(2).rRF1=[]; Exp(2).hrRF2=[];
|
||||
|
||||
%reset Composite Overlay plot to initialization values
|
||||
Exp(2).cTraceN= 1;
|
||||
Exp(2).ll= []; Exp(2).rr= []; Exp(2).kk= [];
|
||||
Exp(2).cLmean= []; Exp(2).cRmean= []; Exp(2).cKmean= [];
|
||||
Exp(2).cTraceIndx= 1;
|
||||
Exp(2).cTraceN=1;
|
||||
Exp(2).ll=[]; Exp(2).rr=[]; Exp(2).kk=[];
|
||||
Exp(2).cLmean=[]; Exp(2).cRmean=[]; Exp(2).cKmean=[];
|
||||
Exp(2).cTraceIndx=1;
|
||||
Exp(2).hCmean=[];
|
||||
Exp(2).hBound1= [];
|
||||
Exp(2).hBound2= [];
|
||||
Exp(2).hBound1=[];
|
||||
Exp(2).hBound2=[];
|
||||
Exp(2).CompositPlot=0;
|
||||
Exp(2).Trace= []; %added for Trend BoxPlot data 17_1114
|
||||
Exp(2).Trace=[]; %added for Trend BoxPlot data 17_1114
|
||||
end
|
||||
|
||||
|
||||
@@ -646,15 +646,15 @@ function MPed3_Callback(hObject, eventdata, handles)
|
||||
input=get(hObject,'String');
|
||||
Max=floor(get(handles.MPsldr3,'max'));
|
||||
Min=floor(get(handles.MPsldr3,'min'));
|
||||
if str2num(input) >= Min && str2num(input) <= Max
|
||||
if str2num(input) >=Min && str2num(input) <=Max
|
||||
display(input)
|
||||
set(handles.MPsldr3,'value',str2double(input));
|
||||
else
|
||||
if str2num(input) >= Max, set(handles.MPsldr3,'value',Max); set(handles.MPed3,'string',num2str(Max));end
|
||||
if str2num(input) <= Min, set(handles.MPsldr3,'value',Min),set(handles.MPed3,'string',num2str(Min));end
|
||||
if str2num(input) >=Max, set(handles.MPsldr3,'value',Max); set(handles.MPed3,'string',num2str(Max));end
|
||||
if str2num(input) <=Min, set(handles.MPsldr3,'value',Min),set(handles.MPed3,'string',num2str(Min));end
|
||||
end
|
||||
EZVimDisplay
|
||||
ghandles.guiFig= gcf;
|
||||
ghandles.guiFig=gcf;
|
||||
Exp(4).guiFig=gcf;
|
||||
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
|
||||
set(hObject,'BackgroundColor','white');
|
||||
@@ -666,7 +666,7 @@ end
|
||||
function MPed3_CreateFcn(hObject, eventdata, handles)
|
||||
global ghandles
|
||||
global Exp
|
||||
ghandles.guiFig= gcf;
|
||||
ghandles.guiFig=gcf;
|
||||
Exp(4).guiFig=gcf;
|
||||
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
|
||||
set(hObject,'BackgroundColor','white');
|
||||
@@ -704,12 +704,12 @@ function DMed3_Callback(hObject, eventdata, handles)
|
||||
Max=floor(get(handles.DMsldr3,'max'));
|
||||
Min=floor(get(handles.DMsldr3,'min'));
|
||||
input=get(hObject,'String')
|
||||
if str2num(input) >= Min && str2num(input) <= Max
|
||||
if str2num(input) >=Min && str2num(input) <=Max
|
||||
display(input)
|
||||
set(handles.DMsldr3,'value',str2double(input))
|
||||
else
|
||||
if str2num(input) >= Max, set(handles.DMsldr3,'value',Max); set(handles.DMed3,'string',num2str(Max));end
|
||||
if str2num(input) <= Min, set(handles.DMsldr3,'value',Min),set(handles.DMed3,'string',num2str(Min));end
|
||||
if str2num(input) >=Max, set(handles.DMsldr3,'value',Max); set(handles.DMed3,'string',num2str(Max));end
|
||||
if str2num(input) <=Min, set(handles.DMsldr3,'value',Min),set(handles.DMed3,'string',num2str(Min));end
|
||||
end
|
||||
EZVimDisplay
|
||||
end
|
||||
@@ -732,7 +732,7 @@ function Tptsldr3_Callback(hObject, eventdata, handles)
|
||||
input=floor(get(hObject,'value'));
|
||||
display(input)
|
||||
set(handles.Tpted3,'string',num2str(floor(input)))
|
||||
prntHt= 0;
|
||||
prntHt=0;
|
||||
EZVimDisplay
|
||||
end
|
||||
|
||||
@@ -753,12 +753,12 @@ function Tpted3_Callback(hObject, eventdata, handles)
|
||||
input=get(hObject,'String')
|
||||
Max=floor(get(handles.Tptsldr3,'max'));
|
||||
Min=floor(get(handles.Tptsldr3,'min'));
|
||||
if str2double(input) >= Min && str2double(input) <= Max
|
||||
if str2double(input) >=Min && str2double(input) <=Max
|
||||
display(input)
|
||||
set(handles.Tptsldr3,'value',str2double(input))
|
||||
else
|
||||
if str2num(input) >= Max, set(handles.Tptsldr3,'value',Max); set(handles.Tpted3,'string',num2str(Max));end
|
||||
if str2num(input) <= Min, set(handles.Tptsldr3,'value',Min),set(handles.Tpted3,'string',num2str(Min));end
|
||||
if str2num(input) >=Max, set(handles.Tptsldr3,'value',Max); set(handles.Tpted3,'string',num2str(Max));end
|
||||
if str2num(input) <=Min, set(handles.Tptsldr3,'value',Min),set(handles.Tpted3,'string',num2str(Min));end
|
||||
end
|
||||
EZVimDisplay
|
||||
end
|
||||
@@ -797,13 +797,13 @@ function clrOlay3_Callback(hObject, eventdata, handles)
|
||||
set(ghandles.OLay3,'string',{''})
|
||||
set(ghandles.OLexp3,'string',{''})
|
||||
cla(ghandles.OLaxes3);
|
||||
Exp(3).traceN= 0;
|
||||
%Exp(3).cTraceN= 0;
|
||||
Exp(3).traceN=0;
|
||||
%Exp(3).cTraceN=0;
|
||||
|
||||
Exp(3).hOL =[]; Exp(3).hOLb=[];
|
||||
Exp(3).hOLname={}; Exp(3).hOLexpNm={}; Exp(3).hOLresDir={}
|
||||
Exp(3).hOLplateNum=[];
|
||||
Exp(3).hOLresDir= {};
|
||||
Exp(3).hOLresDir={};
|
||||
|
||||
cla(ghandles.Dlaxes3); cla(ghandles.Dkaxes3); cla(ghandles.Draxes3);
|
||||
cla(ghandles.DNLaxes3);% 2016_0222
|
||||
@@ -815,15 +815,15 @@ function clrOlay3_Callback(hObject, eventdata, handles)
|
||||
Exp(3).rRF1=[]; Exp(3).hrRF2=[];
|
||||
|
||||
% Reset Composite Overlay plot to initialization values
|
||||
Exp(3).cTraceN= 1;
|
||||
Exp(3).ll= []; Exp(3).rr= []; Exp(3).kk= [];
|
||||
Exp(3).cLmean= []; Exp(3).cRmean= []; Exp(3).cKmean= [];
|
||||
Exp(3).cTraceIndx= 1;
|
||||
Exp(3).cTraceN=1;
|
||||
Exp(3).ll=[]; Exp(3).rr=[]; Exp(3).kk=[];
|
||||
Exp(3).cLmean=[]; Exp(3).cRmean=[]; Exp(3).cKmean=[];
|
||||
Exp(3).cTraceIndx=1;
|
||||
Exp(3).hCmean=[];
|
||||
Exp(3).hBound1= [];
|
||||
Exp(3).hBound2= [];
|
||||
Exp(3).hBound1=[];
|
||||
Exp(3).hBound2=[];
|
||||
Exp(3).CompositPlot=0;
|
||||
Exp(3).Trace= []; % added for Trend BoxPlot data 17_1114
|
||||
Exp(3).Trace=[]; % added for Trend BoxPlot data 17_1114
|
||||
% set(handles.expName3,'string',char(Exp(expN).resDir));
|
||||
end
|
||||
|
||||
@@ -850,7 +850,7 @@ function listboxGnOrf_Callback(hObject, eventdata, handles)
|
||||
zoneSel=3;
|
||||
end
|
||||
%}
|
||||
zoneSel= zonePB
|
||||
zoneSel=zonePB
|
||||
orfLstSel=get(handles.GeneOrfTog,'value')
|
||||
% zoneSel=get(handles.zonePB1,'value')
|
||||
expN=zoneSel;
|
||||
@@ -861,7 +861,7 @@ function listboxGnOrf_Callback(hObject, eventdata, handles)
|
||||
% selGnOrf=Exp(zoneSel).Dexp(DexpN).srtGnLst(usrInxSel); %selGnOrf=Exp(zoneSel).srtGnLst(usrInxSel);
|
||||
listboxGnOrf=get(handles.listboxGnOrf,'string');
|
||||
selGnOrf=listboxGnOrf(usrInxSel);
|
||||
tempLB= str2mat(selGnOrf)
|
||||
tempLB=str2mat(selGnOrf)
|
||||
if isequal(tempLB(4:6),'cmp')||isequal(tempLB(3:6),'cmpG')
|
||||
lstBoxCmpFlg=1;
|
||||
EZlstBoxCmpExt %Added for RF composite behavior 17_1010
|
||||
@@ -903,9 +903,9 @@ function GeneOrfTog_Callback(hObject, eventdata, handles)
|
||||
orfLstSel=get(handles.GeneOrfTog,'value');
|
||||
%zoneSel=get(handles.zonePB1,'value')
|
||||
expN=zoneSel;
|
||||
if zoneSel==1,DexpN= (get(handles.DN1,'value')); cmpTog= get(handles.CompositeTog1,'value'); end
|
||||
if zoneSel==2,DexpN= (get(handles.DN2,'value')); cmpTog= get(handles.CompositeTog2,'value'); end
|
||||
if zoneSel==3,DexpN= (get(handles.DN3,'value')); cmpTog= get(handles.CompositeTog3,'value'); end
|
||||
if zoneSel==1,DexpN=(get(handles.DN1,'value')); cmpTog=get(handles.CompositeTog1,'value'); end
|
||||
if zoneSel==2,DexpN=(get(handles.DN2,'value')); cmpTog=get(handles.CompositeTog2,'value'); end
|
||||
if zoneSel==3,DexpN=(get(handles.DN3,'value')); cmpTog=get(handles.CompositeTog3,'value'); end
|
||||
if orfLstSel==1 && cmpTog~=1
|
||||
set(handles.listboxGnOrf,'value',1)
|
||||
set(handles.listboxGnOrf,'string',Exp(zoneSel).Dexp(DexpN).srtOrfLst) %set(handles.listboxGnOrf,'string',Exp(zoneSel).srtOrfLst)
|
||||
@@ -983,7 +983,7 @@ function printOL1_Callback(hObject, eventdata, handles)
|
||||
% hObject handle to printOL1 (see GCBO)
|
||||
% eventdata reserved - to be defined in a future version of MATLAB
|
||||
% handles structure with handles and user data (see GUIDATA)
|
||||
% If Enable == 'on', executes on mouse press in 5 pixel border.
|
||||
% If Enable =='on', executes on mouse press in 5 pixel border.
|
||||
% Otherwise, executes on mouse press in 5 pixel border or over printol1.
|
||||
global Exp
|
||||
global ghandles
|
||||
@@ -1035,7 +1035,7 @@ end
|
||||
% Modifier: name(s) of the modifier key(s) (i.e., control, shift) pressed
|
||||
% handles structure with handles and user data (see GUIDATA)
|
||||
|
||||
% --- If Enable == 'on', executes on mouse press in 5 pixel border.
|
||||
% --- If Enable =='on', executes on mouse press in 5 pixel border.
|
||||
% --- Otherwise, executes on mouse press in 5 pixel border or over printOL2.
|
||||
ads2=1
|
||||
end
|
||||
@@ -1072,7 +1072,7 @@ end
|
||||
% Modifier: name(s) of the modifier key(s) (i.e., control, shift) pressed
|
||||
% handles structure with handles and user data (see GUIDATA)
|
||||
|
||||
% --- If Enable == 'on', executes on mouse press in 5 pixel border.
|
||||
% --- If Enable =='on', executes on mouse press in 5 pixel border.
|
||||
% --- Otherwise, executes on mouse press in 5 pixel border or over printOL3.
|
||||
ads3=1
|
||||
end
|
||||
@@ -1144,7 +1144,7 @@ function PrintFont_Callback(hObject, eventdata, handles)
|
||||
|
||||
try
|
||||
if ~isempty(Exp(4).plotPars)
|
||||
default= Exp(4).plotPars;
|
||||
default=Exp(4).plotPars;
|
||||
else
|
||||
default={'4','36','10','5'};
|
||||
end
|
||||
@@ -1159,7 +1159,7 @@ function PrintFont_Callback(hObject, eventdata, handles)
|
||||
%{
|
||||
else
|
||||
default={'4','36','10','5'};
|
||||
Exp(4).plotPars= default;
|
||||
Exp(4).plotPars=default;
|
||||
%}
|
||||
end
|
||||
end
|
||||
@@ -1193,9 +1193,9 @@ function rawNorm_Callback(hObject, eventdata, handles)
|
||||
traceN1=Exp(1).traceN;
|
||||
traceN2=Exp(2).traceN;
|
||||
traceN3=Exp(3).traceN;
|
||||
selTrace1= Exp(1).seltraceN;
|
||||
selTrace2= Exp(2).seltraceN;
|
||||
selTrace3= Exp(3).seltraceN;
|
||||
selTrace1=Exp(1).seltraceN;
|
||||
selTrace2=Exp(2).seltraceN;
|
||||
selTrace3=Exp(3).seltraceN;
|
||||
|
||||
dispAlg=get(handles.rawNorm,'value')
|
||||
|
||||
@@ -1484,7 +1484,7 @@ function HtMapTog3_Callback(hObject, eventdata, handles)
|
||||
prntHt=0;
|
||||
expN=3;
|
||||
DexpN=Exp(3).DexpN;
|
||||
resetTg= Exp(3).Dexp(DexpN).resetHtmpTg;
|
||||
resetTg=Exp(3).Dexp(DexpN).resetHtmpTg;
|
||||
Exp(3).htmapPBsel=Exp(3).htmapPBsel+1;
|
||||
if Exp(3).htmapPBsel==resetTg, Exp(3).htmapPBsel=0; end
|
||||
if Exp(3).htmapPBsel==3, set(handles.HtMapTog3,'string','N1')
|
||||
@@ -1536,7 +1536,7 @@ Exp(1).traceN=0;
|
||||
Exp(1).hOL =[]; Exp(1).hOLb=[];
|
||||
Exp(1).hOLname={}; Exp(1).hOLexpNm={}; Exp(1).hOLresDir={}
|
||||
Exp(1).hOLplateNum=[];
|
||||
Exp(1).hOLresDir= {};
|
||||
Exp(1).hOLresDir={};
|
||||
|
||||
set(ghandles.OLay2,'string',{''})
|
||||
set(ghandles.OLexp2,'string',{''})
|
||||
@@ -1545,7 +1545,7 @@ Exp(2).traceN=0;
|
||||
Exp(2).hOL =[]; Exp(2).hOLb=[];
|
||||
Exp(2).hOLname={}; Exp(2).hOLexpNm={}; Exp(2).hOLresDir={}
|
||||
Exp(2).hOLplateNum=[];
|
||||
Exp(2).hOLresDir= {};
|
||||
Exp(2).hOLresDir={};
|
||||
|
||||
set(ghandles.OLay3,'string',{''})
|
||||
set(ghandles.OLexp3,'string',{''})
|
||||
@@ -1554,7 +1554,7 @@ Exp(3).traceN=0;
|
||||
Exp(3).hOL =[]; Exp(3).hOLb=[];
|
||||
Exp(3).hOLname={}; Exp(3).hOLexpNm={}; Exp(3).hOLresDir={}
|
||||
Exp(3).hOLplateNum=[];
|
||||
Exp(3).hOLresDir= {};
|
||||
Exp(3).hOLresDir={};
|
||||
%}
|
||||
|
||||
% hObject handle to quickView (see GCBO)
|
||||
@@ -1583,7 +1583,7 @@ function RFtable3_Callback(hObject, eventdata, handles)
|
||||
global Exp
|
||||
global ghandles
|
||||
expN=3;
|
||||
DexpN= get(handles.DN3,'value');
|
||||
DexpN=get(handles.DN3,'value');
|
||||
EZtableRFdiag
|
||||
end
|
||||
|
||||
@@ -1595,14 +1595,14 @@ function DN1_Callback(hObject, eventdata, handles)
|
||||
global Exp
|
||||
expN=1;
|
||||
input=get(hObject,'String');
|
||||
Max= Exp(expN).DexpLength;
|
||||
Min= 0; %(get(handles.DN1,'min'));
|
||||
if str2num(input) > Min && str2num(input) <= Max
|
||||
Max=Exp(expN).DexpLength;
|
||||
Min=0; %(get(handles.DN1,'min'));
|
||||
if str2num(input) > Min && str2num(input) <=Max
|
||||
display(input)
|
||||
set(handles.DN1,'value',str2double(input));
|
||||
else
|
||||
if str2double(input) >= Max, set(handles.DN1,'value',Max); set(handles.DN1,'string',num2str(Max));end
|
||||
if str2double(input) <= Min, set(handles.DN1,'value',Min),set(handles.DN1,'string',num2str(1));end
|
||||
if str2double(input) >=Max, set(handles.DN1,'value',Max); set(handles.DN1,'string',num2str(Max));end
|
||||
if str2double(input) <=Min, set(handles.DN1,'value',Min),set(handles.DN1,'string',num2str(1));end
|
||||
end
|
||||
EZVimDisplay
|
||||
end
|
||||
@@ -1621,12 +1621,12 @@ function DN2_Callback(hObject, eventdata, handles)
|
||||
input=get(hObject,'String');
|
||||
Max=Exp(expN).DexpLength;
|
||||
Min=0; %(get(handles.DN1,'min'));
|
||||
if str2num(input) > Min && str2num(input) <= Max
|
||||
if str2num(input) > Min && str2num(input) <=Max
|
||||
display(input)
|
||||
set(handles.DN2,'value',str2double(input));
|
||||
else
|
||||
if str2double(input) >= Max, set(handles.DN2,'value',Max); set(handles.DN2,'string',num2str(Max));end
|
||||
if str2double(input) <= Min, set(handles.DN2,'value',Min),set(handles.DN2,'string',num2str(1));end
|
||||
if str2double(input) >=Max, set(handles.DN2,'value',Max); set(handles.DN2,'string',num2str(Max));end
|
||||
if str2double(input) <=Min, set(handles.DN2,'value',Min),set(handles.DN2,'string',num2str(1));end
|
||||
end
|
||||
EZVimDisplay
|
||||
end
|
||||
@@ -1644,12 +1644,12 @@ function DN3_Callback(hObject, eventdata, handles)
|
||||
input=get(hObject,'String');
|
||||
Max=Exp(expN).DexpLength;
|
||||
Min=0; % (get(handles.DN1,'min'));
|
||||
if str2num(input) > Min && str2num(input) <= Max
|
||||
if str2num(input) > Min && str2num(input) <=Max
|
||||
display(input)
|
||||
set(handles.DN3,'value',str2double(input));
|
||||
else
|
||||
if str2double(input) >= Max, set(handles.DN3,'value',Max); set(handles.DN3,'string',num2str(Max));end
|
||||
if str2double(input) <= Min, set(handles.DN3,'value',Min),set(handles.DN3,'string',num2str(1));end
|
||||
if str2double(input) >=Max, set(handles.DN3,'value',Max); set(handles.DN3,'string',num2str(Max));end
|
||||
if str2double(input) <=Min, set(handles.DN3,'value',Min),set(handles.DN3,'string',num2str(1));end
|
||||
end
|
||||
EZVimDisplay
|
||||
end
|
||||
@@ -1666,7 +1666,7 @@ function CompositePB1_Callback(hObject, eventdata, handles)
|
||||
global Exp
|
||||
global ghandles
|
||||
expN=1;
|
||||
DexpN= get(handles.DN1,'value');
|
||||
DexpN=get(handles.DN1,'value');
|
||||
EZcompositePlot
|
||||
end
|
||||
|
||||
@@ -1702,7 +1702,7 @@ function SpotViewInterval_Callback(hObject, eventdata, handles)
|
||||
|
||||
try
|
||||
if ~isempty(Exp(4).SpotVIntervPar)
|
||||
default= Exp(4).SpotVIntervPar;
|
||||
default=Exp(4).SpotVIntervPar;
|
||||
else
|
||||
default={'1'};
|
||||
end
|
||||
@@ -1772,7 +1772,7 @@ function CompositeTog3_Callback(hObject, eventdata, handles)
|
||||
ghandles=handles;
|
||||
|
||||
expN=3;
|
||||
DexpN= (get(handles.DN3,'value'));
|
||||
DexpN=(get(handles.DN3,'value'));
|
||||
%set(handles.zonePB1,'value',0)
|
||||
%set(handles.zonePB2,'value',0)
|
||||
%set(handles.zonePB3,'value',1)
|
||||
@@ -1791,17 +1791,17 @@ end
|
||||
|
||||
function TrendsBoxPlot_Callback(hObject, eventdata, handles)
|
||||
global userPars
|
||||
userPars.boxplotFlg= 1;
|
||||
userPars.boxplotFlg=1;
|
||||
prompt={...
|
||||
'Set "Outliers" On/Off:', ...
|
||||
'Set "Notch" On/Off:', ...
|
||||
'Enter "LabelShift" value[default= 0.5]:', ...
|
||||
'Enter "LabelShift" value[default=0.5]:', ...
|
||||
'Enter "Font Size [default=8:' ...
|
||||
'Enter "Label Angle" [default=45]' ...
|
||||
'Enter Upper K Limit value[typical= 155]:'};
|
||||
'Enter Upper K Limit value[typical=155]:'};
|
||||
name='Box Plot Parameters';
|
||||
numlines=1;
|
||||
%defaultanswer= {'on','on','0.3','8','45'};
|
||||
%defaultanswer={'on','on','0.3','8','45'};
|
||||
defaultanswer=userPars.BPdefault;
|
||||
answer=inputdlg(prompt,name,numlines,defaultanswer);
|
||||
userPars.BPoutliers=answer(1);
|
||||
@@ -1819,22 +1819,22 @@ function TrendsOverlay_Callback(hObject, eventdata, handles)
|
||||
global userPars
|
||||
|
||||
userPars.boxplotFlg=0;
|
||||
prompt={'Enter Upper K Limit value[typical= 155]:'};
|
||||
prompt={'Enter Upper K Limit value[typical=155]:'};
|
||||
name='Box Plot Parameters';
|
||||
numlines=1;
|
||||
% defaultanswer= {'1000'};
|
||||
% if ~exist('userPars.Trenddefault','var'), userPars.Trenddefault= {'1000'}; end
|
||||
% defaultanswer={'1000'};
|
||||
% if ~exist('userPars.Trenddefault','var'), userPars.Trenddefault={'1000'}; end
|
||||
defaultanswer=userPars.BPdefault(6)
|
||||
% try
|
||||
% defaultanswer=userPars.Trenddefault;
|
||||
% catch
|
||||
% userPars.Trenddefault= {'1000'}
|
||||
% defaultanswer= userPars.Trenddefault;
|
||||
% userPars.Trenddefault={'1000'}
|
||||
% defaultanswer=userPars.Trenddefault;
|
||||
% end
|
||||
answer=inputdlg(prompt,name,numlines,defaultanswer);
|
||||
userPars.kfiltLim= str2double(cell2mat(answer(1)));
|
||||
%userPars.Trenddefault= answer(1);
|
||||
userPars.BPdefault(6)= answer(1);
|
||||
userPars.kfiltLim=str2double(cell2mat(answer(1)));
|
||||
%userPars.Trenddefault=answer(1);
|
||||
userPars.BPdefault(6)=answer(1);
|
||||
end
|
||||
|
||||
% Executes on button press in printHt1.
|
||||
@@ -1844,7 +1844,7 @@ function printHt1_Callback(hObject, eventdata, handles)
|
||||
DexpN=Exp(1).DexpN;
|
||||
expN=1;
|
||||
prntHt=1;
|
||||
htMapTogPBfg= 1;
|
||||
htMapTogPBfg=1;
|
||||
EZhtMap
|
||||
prntHt=0;
|
||||
end
|
||||
@@ -1880,16 +1880,16 @@ function HMapRange_Callback(hObject, eventdata, handles)
|
||||
global adj
|
||||
global flip
|
||||
|
||||
prompt={'Enter Standard Deviation Multiplier value[typical= 2.0]:'};
|
||||
% prompt={'Enter Standard Deviation Multiplier value[typical= 3.0]:','Colormap Flip[Typical=T]'};
|
||||
prompt={'Enter Standard Deviation Multiplier value[typical=2.0]:'};
|
||||
% prompt={'Enter Standard Deviation Multiplier value[typical=3.0]:','Colormap Flip[Typical=T]'};
|
||||
name='Heatmap Adjustment range';
|
||||
numlines=1;
|
||||
defaultanswer= {'2.0'};
|
||||
% defaultanswer= {'3.0','T'};
|
||||
defaultanswer={'2.0'};
|
||||
% defaultanswer={'3.0','T'};
|
||||
answer=inputdlg(prompt,name,numlines,defaultanswer);
|
||||
adj= str2double(answer(1));
|
||||
flip= 'T';
|
||||
% flip= upper(answer(2));
|
||||
adj=str2double(answer(1));
|
||||
flip='T';
|
||||
% flip=upper(answer(2));
|
||||
end
|
||||
|
||||
function SetExpJobsFolder_Callback(hObject, eventdata, handles)
|
||||
@@ -1949,7 +1949,7 @@ function zonePB2_Callback(hObject, eventdata, handles)
|
||||
zonePB=2
|
||||
%if get(handles.zonePB2,'value')==0, set(handles.zonePB2,'value',1); end
|
||||
set(handles.zonePB2,'value',1);
|
||||
DexpN= get(handles.DN2,'value')
|
||||
DexpN=get(handles.DN2,'value')
|
||||
set(handles.zonePB1,'value',0);
|
||||
set(handles.zonePB3,'value',0);
|
||||
set(ghandles.zonePB2,'value',1);
|
||||
@@ -1990,7 +1990,7 @@ function zonePB3_Callback(hObject, eventdata, handles)
|
||||
global ghandles
|
||||
global zonePB
|
||||
|
||||
zonePB= 3
|
||||
zonePB=3
|
||||
%if get(handles.zonePB3,'value')==0, set(handles.zonePB3,'value',1); end
|
||||
set(handles.zonePB3,'value',1);
|
||||
DexpN=get(handles.DN3,'value');
|
||||
@@ -2035,7 +2035,7 @@ function zoneRad1_Callback(hObject, eventdata, handles)
|
||||
global Exp
|
||||
|
||||
if get(handles.zoneRad1,'value')==0, set(handles.zoneRad1,'value',1); end
|
||||
DexpN= get(handles.DN1,'value')
|
||||
DexpN=get(handles.DN1,'value')
|
||||
set(handles.zoneRad2,'value',0)
|
||||
set(handles.zoneRad3,'value',0)
|
||||
orfLstSel=get(handles.GeneOrfTog,'value')
|
||||
@@ -2061,7 +2061,7 @@ function zoneRad2_Callback(hObject, eventdata, handles)
|
||||
global Exp
|
||||
|
||||
if get(handles.zoneRad2,'value')==0, set(handles.zoneRad2,'value',1); end
|
||||
DexpN= get(handles.DN2,'value')
|
||||
DexpN=get(handles.DN2,'value')
|
||||
set(handles.zoneRad1,'value',0)
|
||||
set(handles.zoneRad3,'value',0)
|
||||
|
||||
@@ -2089,7 +2089,7 @@ function zoneRad3_Callback(hObject, eventdata, handles)
|
||||
global Exp
|
||||
|
||||
if get(handles.zoneRad3,'value')==0, set(handles.zoneRad3,'value',1); end
|
||||
DexpN= get(handles.DN3,'value')
|
||||
DexpN=get(handles.DN3,'value')
|
||||
set(handles.zoneRad1,'value',0)
|
||||
set(handles.zoneRad2,'value',0)
|
||||
orfLstSel=get(handles.GeneOrfTog,'value')
|
||||
@@ -2120,7 +2120,7 @@ end
|
||||
% handles structure with handles and user data (see GUIDATA)
|
||||
|
||||
|
||||
% --- If Enable == 'on', executes on mouse press in 5 pixel border.
|
||||
% --- If Enable =='on', executes on mouse press in 5 pixel border.
|
||||
% --- Otherwise, executes on mouse press in 5 pixel border or over printOL1.
|
||||
function printOL1_ButtonDownFcn(hObject, eventdata, handles)
|
||||
% hObject handle to printOL1 (see GCBO)
|
||||
|
||||
Reference in New Issue
Block a user