All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
ConsensusIDAlgorithmRanks.h
Go to the documentation of this file.
1 // Copyright (c) 2002-present, OpenMS Inc. -- 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 
13 
14 namespace OpenMS
15 {
23  class OPENMS_DLLAPI ConsensusIDAlgorithmRanks :
25  {
26  public:
29 
30  private:
33 
36 
39 
42 
45 
47  double getAggregateScore_(std::vector<double>& scores,
48  bool higher_better) override;
49  };
50 
51 } // namespace OpenMS
52 
Abstract base class for ConsensusID algorithms that compare only identical sequences.
Definition: ConsensusIDAlgorithmIdentity.h:29
Calculates a consensus from multiple ID runs based on the ranks of the search hits.
Definition: ConsensusIDAlgorithmRanks.h:25
ConsensusIDAlgorithmRanks & operator=(const ConsensusIDAlgorithmRanks &)
Not implemented.
ConsensusIDAlgorithmRanks()
Default constructor.
double getAggregateScore_(std::vector< double > &scores, bool higher_better) override
Aggregate peptide scores into one final score (by averaging ranks)
ConsensusIDAlgorithmRanks(const ConsensusIDAlgorithmRanks &)
Not implemented.
void preprocess_(PeptideIdentificationList &ids) override
Assign peptide scores based on search ranks.
Size current_number_of_runs_
Number of ID runs for current analysis.
Definition: ConsensusIDAlgorithmRanks.h:32
Size current_considered_hits_
Number of considered hits for current analysis.
Definition: ConsensusIDAlgorithmRanks.h:35
Container for peptide identifications from multiple spectra.
Definition: PeptideIdentificationList.h:66
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:97
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19