private void CreatePeaksForChromSourceData()
        {
            var parameters = new PeakDetectAndExportWorkflowParameters();
            var deconParam = (TargetedWorkflowParameters)this._workflowParameters;

            parameters.PeakBR            = deconParam.ChromGenSourceDataPeakBR;
            parameters.PeakFitType       = DeconTools.Backend.Globals.PeakFitType.QUADRATIC;
            parameters.SigNoiseThreshold = deconParam.ChromGenSourceDataSigNoise;
            parameters.ProcessMSMS       = deconParam.ProcessMsMs;
            var peakCreator = new PeakDetectAndExportWorkflow(this.Run, parameters, _backgroundWorker);

            peakCreator.Execute();
        }
Beispiel #2
0
        private string CreatePeaksForChromSourceData()
        {
            var parameters = new PeakDetectAndExportWorkflowParameters();

            parameters.PeakBR            = Parameters.ChromGenSourceDataPeakBR;
            parameters.PeakFitType       = DeconTools.Backend.Globals.PeakFitType.QUADRATIC;
            parameters.SigNoiseThreshold = Parameters.ChromGenSourceDataSigNoise;
            parameters.ProcessMSMS       = Parameters.ChromGenSourceDataProcessMsMs;
            parameters.IsDataThresholded = Parameters.ChromGenSourceDataIsThresholded;
            parameters.LCScanMin         = this.Run.GetMinPossibleLCScanNum();
            parameters.LCScanMax         = this.Run.GetMaxPossibleLCScanNum();

            var peakCreator = new PeakDetectAndExportWorkflow(this.Run, parameters, _backgroundWorker);

            peakCreator.Execute();

            var peaksFilename = Path.Combine(this.Run.DataSetPath, this.Run.DatasetName + "_peaks.txt");

            return(peaksFilename);
        }