OpenMS
ConsensusIDAlgorithmAverage.h
Go to the documentation of this file.
1 // Copyright (c) 2002-present, The OpenMS Team -- EKU Tuebingen, ETH Zurich, and FU Berlin
2 // SPDX-License-Identifier: BSD-3-Clause
3 //
4 // --------------------------------------------------------------------------
5 // $Maintainer: Hendrik Weisser $
6 // $Authors: Andreas Bertsch, Marc Sturm, Sven Nahnsen, Hendrik Weisser $
7 // --------------------------------------------------------------------------
8 
9 #pragma once
10 
12 
13 namespace OpenMS
14 {
22  class OPENMS_DLLAPI ConsensusIDAlgorithmAverage :
24  {
25  public:
28 
29  private:
32 
35 
37  double getAggregateScore_(std::vector<double>& scores,
38  bool higher_better) override;
39  };
40 
41 } // namespace OpenMS
42 
Calculates a consensus from multiple ID runs by averaging the search scores.
Definition: ConsensusIDAlgorithmAverage.h:24
ConsensusIDAlgorithmAverage(const ConsensusIDAlgorithmAverage &)
Not implemented.
double getAggregateScore_(std::vector< double > &scores, bool higher_better) override
Aggregate peptide scores into one final score (by averaging)
ConsensusIDAlgorithmAverage & operator=(const ConsensusIDAlgorithmAverage &)
Not implemented.
ConsensusIDAlgorithmAverage()
Default constructor.
Abstract base class for ConsensusID algorithms that compare only identical sequences.
Definition: ConsensusIDAlgorithmIdentity.h:28
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19