Ejemplo n.º 1
0
 private IList <KeyValuePair <PeptideFileAnalysis, double> > ListScores()
 {
     return(PeptideAnalysis.GetFileAnalyses(true)
            .Select(peptideFileAnalysis => new KeyValuePair <PeptideFileAnalysis, double?>(peptideFileAnalysis, peptideFileAnalysis.PeakData.DeconvolutionScore))
            .Where(kvp => kvp.Value.HasValue)
            .Select(kvp => new KeyValuePair <PeptideFileAnalysis, double>(kvp.Key, kvp.Value.GetValueOrDefault()))
            .ToArray());
 }
Ejemplo n.º 2
0
 protected override void OnHandleCreated(EventArgs e)
 {
     base.OnHandleCreated(e);
     foreach (PeptideFileAnalysis peptideFileAnalysis in PeptideAnalysis.GetFileAnalyses())
     {
         UpdateRow(AddRow(peptideFileAnalysis));
     }
     OnPeptideAnalysisChanged();
 }
Ejemplo n.º 3
0
 protected override void OnHandleCreated(EventArgs e)
 {
     base.OnHandleCreated(e);
     foreach (PeptideFileAnalysis peptideFileAnalysis in PeptideAnalysis.GetFileAnalyses(false))
     {
         UpdateRow(AddRow(peptideFileAnalysis));
     }
     OnPeptideAnalysisChanged();
     InitializeOriginalMinMaxCharge();
 }