public DeconToolsPeakDetector(PeakDetectorParameters parameters) { IsDataThresholded = parameters.IsDataThresholded; PeakFitType = parameters.PeakFitType; SignalToNoiseThreshold = parameters.SignalToNoiseThreshold; PeakToBackgroundRatio = parameters.PeakToBackgroundRatio; PeaksAreStored = parameters.PeaksAreStored; MinX = parameters.MinX; MaxX = parameters.MaxX; }
private void CreatePeaksFile(PeakDetectorParameters peakDetectorParameters, string outputFolderPath) { var parameters = new PeakDetectAndExportWorkflowParameters { OutputFolder = outputFolderPath, LCScanMin = Run.MinLCScan, LCScanMax = Run.MaxLCScan, IsDataThresholded = Run.IsDataThresholded, ProcessMSMS = false, PeakBR = peakDetectorParameters.PeakToBackgroundRatio, Num_LC_TimePointsSummed = 1, SigNoiseThreshold = peakDetectorParameters.SignalToNoiseThreshold }; var peakDetectAndExporter = new PeakDetectAndExportWorkflow(Run, parameters); peakDetectAndExporter.Execute(); }