EZdiagRf refactor

This commit is contained in:
2024-07-29 17:45:16 -04:00
parent 16db20d264
commit d2a5d9e69f
4 changed files with 108 additions and 160 deletions

View File

@@ -1,5 +1,4 @@
%EZvInitLoad
clear Exp
global Exp
global Expaa
global Expbb
@@ -7,15 +6,15 @@ global userPars
global usrExpJobsDir %added 23_0508
global zonePB %added 230828 to fix migration issues
userPars.BPdefault= {'on','on','0.3','8','45','1000'};
userPars.boxplotFlg= 1;
userPars.BPoutliers= 'On';
userPars.BPnotch= 'On';
userPars.BPlblShft= 0.3;
userPars.BPfontSz= 8;
userPars.BProt= 45;
userPars.Trenddefault= {'1000'};
userPars.kfiltLim= str2double(userPars.BPdefault(6));
userPars.BPdefault={'on','on','0.3','8','45','1000'};
userPars.boxplotFlg=1;
userPars.BPoutliers='On';
userPars.BPnotch='On';
userPars.BPlblShft=0.3;
userPars.BPfontSz=8;
userPars.BProt=45;
userPars.Trenddefault={'1000'};
userPars.kfiltLim=str2double(userPars.BPdefault(6));
%Exp(expN).expLoadCnt=0; ??? May need to add in Future
Exp(1).cTraceN= 1; %Added for Cummulative Composite Olay plotting
@@ -367,8 +366,7 @@ for mp=1:MPnum %length(Exp(expN).Dexp(1).MP)
end %if isempty(regexpi(char((Exp(expN).Dexp(1).MP(mp).genename{1}(ind384))),'blank'))...
%**********************************************************************
catch
error='EZexpSel lineAfter 135 EZvInitLoad.m'
catch
mp
ind384
msgBadGeneName= strcat('check genename at mp=',num2str(mp),' indx=',num2str(ind384))
@@ -625,7 +623,6 @@ end
catchissue='Ln408'
Exp(1).Dexp(1).RFmd2pltN= 1; Exp(2).Dexp(1).RFmd2pltN= 1; Exp(3).Dexp(1).RFmd2pltN= 1;
end
error='EZexpSel lineAfter 354'
end %if RF2scanN doesn't exist this addition to list will be skipped
RFcombValList= cat(1,medValList1{d+1},medValList2{d+1});
Exp(1).Dexp(1).RFmean(d+1)= mean(RFcombValList);Exp(2).Dexp(1).RFmean(d+1)= mean(RFcombValList);Exp(3).Dexp(1).RFmean(d+1)= mean(RFcombValList);
@@ -754,7 +751,6 @@ catch %try ln565
catchissue='Ln'
Exp(expN).Dexp(1).RFmdPpltN= 1; %This might keep from breaking BUT ???
end
error='EZexpSel lineAfter 565'
end %try ~ln565
end %for d=0:DMnum