OpenMS
Loading...
Searching...
No Matches
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
13namespace OpenMS
14{
15
36 {
37private:
40
43
44public:
49
54
82 static std::vector<double> computeCorrelation(const ConsensusMap & map, const double & ratio_threshold, const std::string & acc_filter, const std::string & desc_filter);
83
95 static void normalizeMaps(ConsensusMap & map, const std::vector<double> & ratios);
96 };
97
98} // namespace OpenMS
99
Intensity normalisation of a ConsensusMap by averaging per-feature intensity ratios against a referen...
Definition ConsensusMapNormalizerAlgorithmThreshold.h:36
static void normalizeMaps(ConsensusMap &map, const std::vector< double > &ratios)
Multiply every feature handle's intensity by its map's factor.
ConsensusMapNormalizerAlgorithmThreshold()
Default constructor.
ConsensusMapNormalizerAlgorithmThreshold(const ConsensusMapNormalizerAlgorithmThreshold &copyin)
Copy construction is deliberately suppressed.
ConsensusMapNormalizerAlgorithmThreshold & operator=(const ConsensusMapNormalizerAlgorithmThreshold &rhs)
Assignment is deliberately suppressed.
static std::vector< double > computeCorrelation(const ConsensusMap &map, const double &ratio_threshold, const std::string &acc_filter, const std::string &desc_filter)
Compute one normalisation factor per map.
virtual ~ConsensusMapNormalizerAlgorithmThreshold()
Destructor.
A container for consensus elements.
Definition ConsensusMap.h:67
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19