| OpenMS 2.5.0

Public Member Functions | Static Public Member Functions | Private Member Functions | List of all members
ConsensusMapNormalizerAlgorithmThreshold Class Reference

Algorithms of ConsensusMapNormalizer. More...

`#include <OpenMS/ANALYSIS/MAPMATCHING/ConsensusMapNormalizerAlgorithmThreshold.h>`

## Public Member Functions

| ConsensusMapNormalizerAlgorithmThreshold ()
| default constructor is not implemented -> private More...
virtual | ~ConsensusMapNormalizerAlgorithmThreshold ()
| destructor is not implemented -> private More...

## Static Public Member Functions

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 More...
static void | normalizeMaps (ConsensusMap &map, const std::vector< double > &ratios)
| applies the given ratio to the maps of the consensusMap More...

## Private Member Functions

| ConsensusMapNormalizerAlgorithmThreshold (const ConsensusMapNormalizerAlgorithmThreshold &copyin)
| copy constructor is not implemented -> private More...
ConsensusMapNormalizerAlgorithmThreshold & | operator= (const ConsensusMapNormalizerAlgorithmThreshold &rhs)
| assignment operator is not implemented -> private More...

## Detailed Description

Algorithms of ConsensusMapNormalizer.

## Constructor & Destructor Documentation

## ◆ ConsensusMapNormalizerAlgorithmThreshold() [1/2]

ConsensusMapNormalizerAlgorithmThreshold | ( | const ConsensusMapNormalizerAlgorithmThreshold & | copyin | ) |

private

copy constructor is not implemented -> private

## ◆ ConsensusMapNormalizerAlgorithmThreshold() [2/2]

ConsensusMapNormalizerAlgorithmThreshold | ( |  | ) |

default constructor is not implemented -> private

## ◆ ~ConsensusMapNormalizerAlgorithmThreshold()

virtual ~ConsensusMapNormalizerAlgorithmThreshold | ( |  | ) |

virtual

destructor is not implemented -> private

## Member Function Documentation

## ◆ computeCorrelation()

static std::vector<double> computeCorrelation | ( | const ConsensusMap & | map,
|  | const double & | ratio_threshold,
|  | const String & | acc_filter,
|  | const String & | desc_filter
| ) |  |

static

determines the ratio of all maps to the map with the most features

Parameters

  map | ConsensusMap
  ratio_threshold | threshold for the ratio
  acc_filter | string describing the regular expression for filtering accessions
  desc_filter | string describing the regular expression for filtering descriptions

## ◆ normalizeMaps()

static void normalizeMaps | ( | ConsensusMap & | map,
|  | const std::vector< double > & | ratios
| ) |  |

static

applies the given ratio to the maps of the consensusMap

Parameters

  map | ConsensusMap
  ratios | ratios for the normalization

## ◆ operator=()

ConsensusMapNormalizerAlgorithmThreshold& operator= | ( | const ConsensusMapNormalizerAlgorithmThreshold & | rhs | ) |

private

assignment operator is not implemented -> private