OpenMS
ConsensusMapNormalizerAlgorithmThreshold.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: Lars Nilse $
6 // $Authors: Hendrik Brauer, Oliver Kohlbacher, Johannes Junker $
7 // --------------------------------------------------------------------------
8 
9 #pragma once
10 
12 
13 namespace OpenMS
14 {
15 
21  {
22 private:
25 
28 
29 public:
32 
35 
43  static std::vector<double> computeCorrelation(const ConsensusMap & map, const double & ratio_threshold, const String & acc_filter, const String & desc_filter);
44 
50  static void normalizeMaps(ConsensusMap & map, const std::vector<double> & ratios);
51  };
52 
53 } // namespace OpenMS
54 
Algorithms of ConsensusMapNormalizer.
Definition: ConsensusMapNormalizerAlgorithmThreshold.h:21
static void normalizeMaps(ConsensusMap &map, const std::vector< double > &ratios)
applies the given ratio to the maps of the consensusMap
ConsensusMapNormalizerAlgorithmThreshold()
default constructor is not implemented -> private
ConsensusMapNormalizerAlgorithmThreshold(const ConsensusMapNormalizerAlgorithmThreshold &copyin)
copy constructor is not implemented -> private
ConsensusMapNormalizerAlgorithmThreshold & operator=(const ConsensusMapNormalizerAlgorithmThreshold &rhs)
assignment operator is not implemented -> private
static std::vector< double > computeCorrelation(const ConsensusMap &map, const double &ratio_threshold, const String &acc_filter, const String &desc_filter)
determines the ratio of all maps to the map with the most features
virtual ~ConsensusMapNormalizerAlgorithmThreshold()
destructor is not implemented -> private
A container for consensus elements.
Definition: ConsensusMap.h:66
A more convenient string class.
Definition: String.h:34
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19