Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages

BernNorm Class Reference
[Spectra Preprocessors]

BernNorm scales the peaks by ranking them and then scaling them according to rank. More...

#include <OpenMS/FILTERING/TRANSFORMERS/BernNorm.h>

Inheritance diagram for BernNorm:
DefaultParamHandler

List of all members.

Public Member Functions

 BernNorm ()
 default constructor
 BernNorm (const BernNorm &source)
 copy constructor
virtual ~BernNorm ()
 destructor

BernNormoperator= (const BernNorm &source)
 assignment operator



DoubleReal c1_
DoubleReal c2_
DoubleReal th_
template<typename SpectrumType >
void filterSpectrum (SpectrumType &spectrum)
void filterPeakSpectrum (PeakSpectrum &spectrum)
void filterPeakMap (PeakMap &exp)

Detailed Description

BernNorm scales the peaks by ranking them and then scaling them according to rank.

For exact formula look in Bioinformatics, Aug 2004; 20: i49 - i54

Improvement:
read paper and try to confirm implementation (andreas)
Parameters of this class are:

NameTypeDefaultRestrictionsDescription
C1 float28  C1 value of the normalization.
C2 float400  C2 value of the normalization.
threshold float0.1  Threshold of the Bern et al. normalization.

Note:

Constructor & Destructor Documentation

BernNorm (  ) 

default constructor

BernNorm ( const BernNorm source  ) 

copy constructor

virtual ~BernNorm (  )  [virtual]

destructor


Member Function Documentation

void filterPeakMap ( PeakMap exp  ) 
void filterPeakSpectrum ( PeakSpectrum spectrum  ) 
void filterSpectrum ( SpectrumType &  spectrum  )  [inline]
BernNorm& operator= ( const BernNorm source  ) 

assignment operator


Member Data Documentation

DoubleReal c1_ [private]
DoubleReal c2_ [private]
DoubleReal th_ [private]

OpenMS / TOPP release 1.10.0 Documentation generated on Thu Mar 7 2013 09:42:53 using doxygen 1.7.1