OpenMS
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...
 
ConsensusMapNormalizerAlgorithmThresholdoperator= (const ConsensusMapNormalizerAlgorithmThreshold &rhs)
 assignment operator is not implemented -> private More...
 

Detailed Description

Algorithms of ConsensusMapNormalizer.

Constructor & Destructor Documentation

◆ ConsensusMapNormalizerAlgorithmThreshold() [1/2]

copy constructor is not implemented -> private

◆ ConsensusMapNormalizerAlgorithmThreshold() [2/2]

default constructor is not implemented -> private

◆ ~ConsensusMapNormalizerAlgorithmThreshold()

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
mapConsensusMap
ratio_thresholdthreshold for the ratio
acc_filterstring describing the regular expression for filtering accessions
desc_filterstring 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
mapConsensusMap
ratiosratios for the normalization

◆ operator=()

assignment operator is not implemented -> private