![]() |
OpenMS
|
Algorithms of ConsensusMapNormalizer. More...
#include <OpenMS/ANALYSIS/MAPMATCHING/ConsensusMapNormalizerAlgorithmMedian.h>
Public Types | |
| enum | NormalizationMethod { NM_SCALE , NM_SHIFT } |
| The NormalizationMethod enum Whether to scale to same median using division/multiplication or shift using subtraction/addition. More... | |
Public Member Functions | |
| ConsensusMapNormalizerAlgorithmMedian () | |
| default constructor is not implemented -> private | |
| virtual | ~ConsensusMapNormalizerAlgorithmMedian () |
| destructor is not implemented -> private | |
Static Public Member Functions | |
| static void | normalizeMaps (ConsensusMap &map, NormalizationMethod method, const String &acc_filter, const String &desc_filter) |
| normalizes the maps of the consensusMap | |
| static Size | computeMedians (const ConsensusMap &map, std::vector< double > &medians, const String &acc_filter, const String &desc_filter) |
| computes medians of all maps and returns index of map with most features | |
| static bool | passesFilters_ (ConsensusMap::ConstIterator cf_it, const ConsensusMap &map, const String &acc_filter, const String &desc_filter) |
returns whether consensus feature passes filters returns whether consensus feature cf_it in map passes accession regexp acc_filter and description regexp desc_filter | |
Private Member Functions | |
| ConsensusMapNormalizerAlgorithmMedian (const ConsensusMapNormalizerAlgorithmMedian ©in) | |
| copy constructor is not implemented -> private | |
| ConsensusMapNormalizerAlgorithmMedian & | operator= (const ConsensusMapNormalizerAlgorithmMedian &rhs) |
| assignment operator is not implemented -> private | |
Friends | |
| class | ConsensusMapNormalizerAlgorithmThreshold |
| our friend can use our passesWhitelist_() method in order to avoid code duplication (without overdesigning this) | |
Algorithms of ConsensusMapNormalizer.
| enum NormalizationMethod |
|
private |
copy constructor is not implemented -> private
default constructor is not implemented -> private
|
virtual |
destructor is not implemented -> private
|
static |
computes medians of all maps and returns index of map with most features
| [in] | map | ConsensusMap |
| [out] | medians | vector of medians to be filled |
| [in] | acc_filter | string describing the regular expression for filtering accessions |
| [in] | desc_filter | string describing the regular expression for filtering descriptions |
|
static |
normalizes the maps of the consensusMap
| [in] | map | ConsensusMap |
| [in] | method | whether to use scaling or shifting to same median |
| [in] | acc_filter | string describing the regular expression for filtering accessions |
| [in] | desc_filter | string describing the regular expression for filtering descriptions |
|
private |
assignment operator is not implemented -> private
|
static |
returns whether consensus feature passes filters returns whether consensus feature cf_it in map passes accession regexp acc_filter and description regexp desc_filter
| [in] | cf_it | consensus feature |
| [in] | map | consensus map |
| [in] | acc_filter | string describing the regular expression for filtering accessions |
| [in] | desc_filter | string describing the regular expression for filtering descriptions |
|
friend |
our friend can use our passesWhitelist_() method in order to avoid code duplication (without overdesigning this)