Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
OpenSwath::Scoring Namespace Reference

Scoring functions used by MRMScoring. More...

Typedefs

Type defs
typedef std::map< int, doubleXCorrArrayType
 Cross Correlation array. More...
 

Functions

Helper functions
OPENSWATHALGO_DLLAPI double RMSD (double x[], double y[], int n)
 Fxn "deltaRatioSum" from mQuest to calculate similarity between library intensity and experimental ones. More...
 
OPENSWATHALGO_DLLAPI XCorrArrayType calcxcorr (std::vector< double > &data1, std::vector< double > &data2, bool normalize)
 Calculate crosscorrelation on std::vector data. More...
 
OPENSWATHALGO_DLLAPI XCorrArrayType normalizedCalcxcorr (std::vector< double > &data1, std::vector< double > &data2, int maxdelay, int lag)
 Calculate crosscorrelation on std::vector data (which is first normalized) More...
 
OPENSWATHALGO_DLLAPI XCorrArrayType calcxcorr_new (std::vector< double > &data1, std::vector< double > &data2, int maxdelay, int lag)
 Calculate crosscorrelation on std::vector data without normalization. More...
 
OPENSWATHALGO_DLLAPI
XCorrArrayType::iterator 
xcorrArrayGetMaxPeak (XCorrArrayType &array)
 Find best peak in an cross-correlation (highest apex) More...
 
OPENSWATHALGO_DLLAPI void standardize_data (std::vector< double > &data)
 Standardize a vector (subtract mean, divide by standard deviation) More...
 
OPENSWATHALGO_DLLAPI void normalize_sum (double x[], unsigned int n)
 divide each element of x by the sum of the vector More...
 

Detailed Description

Scoring functions used by MRMScoring.

Many helper functions to calculate crosscorrelations between data

Typedef Documentation

typedef std::map<int, double> XCorrArrayType

Cross Correlation array.

Function Documentation

OPENSWATHALGO_DLLAPI XCorrArrayType OpenSwath::Scoring::calcxcorr ( std::vector< double > &  data1,
std::vector< double > &  data2,
bool  normalize 
)

Calculate crosscorrelation on std::vector data.

OPENSWATHALGO_DLLAPI XCorrArrayType OpenSwath::Scoring::calcxcorr_new ( std::vector< double > &  data1,
std::vector< double > &  data2,
int  maxdelay,
int  lag 
)

Calculate crosscorrelation on std::vector data without normalization.

OPENSWATHALGO_DLLAPI void OpenSwath::Scoring::normalize_sum ( double  x[],
unsigned int  n 
)

divide each element of x by the sum of the vector

Referenced by MRMFeatureFinderScoring::scorePeakgroups_().

OPENSWATHALGO_DLLAPI XCorrArrayType OpenSwath::Scoring::normalizedCalcxcorr ( std::vector< double > &  data1,
std::vector< double > &  data2,
int  maxdelay,
int  lag 
)

Calculate crosscorrelation on std::vector data (which is first normalized)

OPENSWATHALGO_DLLAPI double OpenSwath::Scoring::RMSD ( double  x[],
double  y[],
int  n 
)

Fxn "deltaRatioSum" from mQuest to calculate similarity between library intensity and experimental ones.

OPENSWATHALGO_DLLAPI void OpenSwath::Scoring::standardize_data ( std::vector< double > &  data)

Standardize a vector (subtract mean, divide by standard deviation)

OPENSWATHALGO_DLLAPI XCorrArrayType::iterator OpenSwath::Scoring::xcorrArrayGetMaxPeak ( XCorrArrayType &  array)

Find best peak in an cross-correlation (highest apex)


OpenMS / TOPP release 1.11.1 Documentation generated on Thu Nov 14 2013 11:19:38 using doxygen 1.8.5