Commit e9663006 authored by Jens Behrmann's avatar Jens Behrmann

Delete copyMSFiles.m

parent 39b0587d
% This file can be used to copy current implementations of the reduced
% MSClassifyLib into some desired folder
fullMSPath = '~/Arbeit/MSClassifyLib/MSClassifyLib/';
targetPath = '~/Arbeit/ReducedClassifyLib/'
%%
%%%% Core
core = dir([fullMSPath 'Core/']);
clear coreFiles
for l=3:length(core)
coreFiles{l-2} = core(l).name;
end
for i=1:length(coreFiles)
coreFiles{i} = ['Core/' coreFiles{i}];
end
%%%% Classification
classification = {'Classification/MSLDAClassifier.m',...
'Classification/MSLDAModel.m'};
%%%% Classification study
study = dir([fullMSPath 'ClassificationValidation/']);
clear studyFiles
for l=3:length(study)
studyFiles{l-2} = study(l).name;
end
for i=1:length(studyFiles)
studyFiles{i} = ['ClassificationValidation/' studyFiles{i}];
end
%%%% Feature Extraction
featureExtraction = {'MSBasisMap.m','MSDummyFeatureExtraction.m',...
'MSDummyMapModifier.m','MSLinearBasisMap.m','MSMzValuesMap.m',...
'MSNeuralNetFeatureExtraction.m','MSNeuralNetFeatureMap.m',...
'MSROCPicking.m','MSMapModifier.m'};
for i=1:length(featureExtraction)
featureExtraction{i} = ['FeatureExtraction/' featureExtraction{i}];
end
%%%% Helpers
helpers = {'MSCheckItemMask.m', 'MSConfusionMeasure.m', 'MSDataPath.m', 'MSGenerateDataPartition.m', 'MSMeanAndBounds.m', 'MSPlotRegionContour.m', 'MSROCRanking.m', 'MSRegExpMap.m', 'MSShowFalseSamples.m', ...
'MSComputeROCCurve.m', 'MSContingencyTable.m', 'MSFindLargestPeaks.m', 'MSGenerateReport.m','MSNormalize.m', 'MSQuantilPlot.m', 'MSRandomSubsets.m', 'MSResolveDataPath.m', ...
'MSConcatenate1DStructs.m', 'MSCorridorPlot.m' , 'MSFitTiling.m', 'MSMaldiUnion.m', 'MSOmitMissingSpectra.m', 'MSROC.m', 'MSReduceROCCurve.m', 'MSResorter.m'};
for i=1:length(helpers)
helpers{i} = ['Helpers/' helpers{i}];
end
%%%% Preprocessing
preprocessing = {'MSPreprocessingTrigger.m','MSReduceTrigger.m',...
'MSNormalizationTrigger.m'};
for i=1:length(preprocessing)
preprocessing{i} = ['Preprocessing/' preprocessing{i}];
end
fileList = [coreFiles, studyFiles, classification, featureExtraction,...
helpers,preprocessing]';
%%
mkdir([targetPath 'Classification'])
mkdir([targetPath 'ClassificationValidation'])
mkdir([targetPath 'Core'])
mkdir([targetPath 'Preprocessing'])
mkdir([targetPath 'Helpers'])
mkdir([targetPath 'FeatureExtraction'])
mkdir([targetPath 'DataLoaders'])
for i=1:length(fileList)
copyfile([fullMSPath fileList{i}],[targetPath fileList{i}],'f')
end
% copyfile([fullMSPath 'DataLoaders/Load_Lung_Pancreas_BBA16.m'],...
% [targetPath 'DataLoaders/Load_Lung_Pancreas.m'])
%
% copyfile([fullMSPath '../Projects/CNNs_JournalProteomics/setup_dataLungPancreas.m'],...
% [targetPath 'DataLoaders/setup_dataLungPancreas.m'])
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment