Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Namespaces
Scoring.h File Reference
#include <numeric>
#include <map>
#include <vector>
#include <OpenMS/ANALYSIS/OPENSWATH/OPENSWATHALGO/OpenSwathAlgoConfig.h>

Go to the source code of this file.

Namespaces

 OpenSwath
 
 OpenSwath::Scoring
 Scoring functions used by MRMScoring.
 

Typedefs

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

Functions

Helper functions
OPENSWATHALGO_DLLAPI double NormalizedManhattanDist (double x[], double y[], int n)
 Calculate the normalized Manhattan distance between two arrays. More...
 
OPENSWATHALGO_DLLAPI double RootMeanSquareDeviation (double x[], double y[], int n)
 Calculate the RMSD (root means square deviation) More...
 
OPENSWATHALGO_DLLAPI double SpectralAngle (double x[], double y[], int n)
 Calculate the Spectral angle (acosine of the normalized dotproduct) More...
 
OPENSWATHALGO_DLLAPI XCorrArrayType calcxcorr_legacy_mquest_ (std::vector< double > &data1, std::vector< double > &data2, bool normalize)
 
OPENSWATHALGO_DLLAPI XCorrArrayType normalizedCrossCorrelation (std::vector< double > &data1, std::vector< double > &data2, int maxdelay, int lag)
 
OPENSWATHALGO_DLLAPI XCorrArrayType calculateCrossCorrelation (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...
 

OpenMS / TOPP release 2.3.0 Documentation generated on Tue Jan 9 2018 18:22:05 using doxygen 1.8.13