Rollup for java clustering
This commit is contained in:
@@ -50,9 +50,6 @@ end
|
||||
% localprojectScansDir=projectScansDir;
|
||||
% end
|
||||
|
||||
% TODO this seems weird
|
||||
drivePos=min(strfind(projectScansDir,'/'));
|
||||
drive=projectScansDir(1:(drivePos-1));
|
||||
% DBupload=fullfile(drive,'EZdbFiles','DBupLOADfiles');
|
||||
|
||||
resultsFilename=fullfile(printResultsDir, 'results_elr.txt');
|
||||
@@ -106,7 +103,7 @@ for s=1:size(scan,2)
|
||||
clear outCmat
|
||||
outCmat=scan(s).plate(p).CFout;
|
||||
|
||||
%Print Time Point HEADER for each plate for newly added intensity data
|
||||
% Print Time Point HEADER for each plate for newly added intensity data
|
||||
if isequal(opt,'Res')||isequal(opt,'Both')
|
||||
fprintf(fid, '\n');
|
||||
ln=ln+1;
|
||||
@@ -125,7 +122,7 @@ for s=1:size(scan,2)
|
||||
fprintf(fid, '\triseTm\tK\tr\tl\tR-squared\tK-lower\tK-upper\tr-lower\tr-upper\tl-lower\tl-upper\tArea\tLastInten\tSplineMaxRateTm\tLastFitTm\t1stFitTm\tMedianBase\tFitBase\tMinTm\tThreshTm');
|
||||
|
||||
if size(outCmat,2)==27
|
||||
fprintf(fid, '\ttc11Cut\ttc12Cut\ttc21Cut\ttc22Cut'); %'\tEarly1\tEarly2\tLate1\tLate2'); 17_0629 MinBaseIntens update for MedianBase label
|
||||
fprintf(fid, '\ttc11Cut\ttc12Cut\ttc21Cut\ttc22Cut'); % '\tEarly1\tEarly2\tLate1\tLate2'); 17_0629 MinBaseIntens update for MedianBase label
|
||||
end
|
||||
fprintf(fid, '\tTotFitPts\tPostThreshFitPts\t1stBackgrd\tLstBackgrd\t1stMeanTotBackgrd\tLstMeanTotBackgrd');
|
||||
end
|
||||
@@ -152,9 +149,9 @@ for s=1:size(scan,2)
|
||||
end
|
||||
end
|
||||
|
||||
numBlkCol=(maxNumIntens - dataLength); %size(outTseries,1));
|
||||
numBlkCol=(maxNumIntens - dataLength); % size(outTseries,1));
|
||||
if isequal(opt,'Res')||isequal(opt,'Both')
|
||||
for nn=1:numBlkCol %extend to col beyond longest rawDataSet
|
||||
for nn=1:numBlkCol % extend to col beyond longest rawDataSet
|
||||
fprintf(fid, '\t');
|
||||
end
|
||||
fprintf(fid,'\tOrfRep');
|
||||
@@ -179,8 +176,8 @@ for s=1:size(scan,2)
|
||||
if rSq<.97 && rSq>0, selcode=strcat(selcode,' rSqLo');end
|
||||
if lval>(0.85*(max(outTseries))), selcode=strcat(selcode,' late');end
|
||||
if isnan(outCmat(n,7))||isnan(outCmat(n,8))||isnan(outCmat(n,9))...
|
||||
||isnan(outCmat(n,10))||isnan(outCmat(n,11))...
|
||||
||isnan(outCmat(n,12)), selcode=strcat(selcode,' NaN');
|
||||
|| isnan(outCmat(n,10))||isnan(outCmat(n,11))...
|
||||
|| isnan(outCmat(n,12)), selcode=strcat(selcode,' NaN');
|
||||
end
|
||||
|
||||
% RiseTime Calculation
|
||||
@@ -318,7 +315,7 @@ for s=1:size(scan,2)
|
||||
fprintf(fid,'%d\t',ln);
|
||||
end
|
||||
|
||||
%DB Raw Intensities and Timepoints
|
||||
% DB Raw Intensities and Timepoints
|
||||
if isequal(opt,'DB')||isequal(opt,'Both')
|
||||
fprintf(fid2, '\t%s\t%s',intensBlob,tmBlob );
|
||||
% Masterplate sheet
|
||||
@@ -339,11 +336,11 @@ for s=1:size(scan,2)
|
||||
end
|
||||
fprintf(fid2, '\n');
|
||||
end
|
||||
end %if ~isempty(outCmat)
|
||||
end %c
|
||||
end %r
|
||||
end %p
|
||||
end %s
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
if isequal(opt,'Res')||isequal(opt,'Both')
|
||||
fclose(fid);
|
||||
@@ -604,7 +601,6 @@ try
|
||||
fprintf(fid,'%d\t',ln);
|
||||
end
|
||||
|
||||
|
||||
% Raw Intensities and Timepoints
|
||||
if isequal(opt,'DB')||isequal(opt,'Both')
|
||||
fprintf(fid2, '\t%s\t%s',intensBlob,tmBlob );
|
||||
|
||||
Reference in New Issue
Block a user