![]() |
OpenMS
2.4.0
|
#include <numeric>
#include <map>
#include <vector>
#include <OpenMS/OPENSWATHALGO/OpenSwathAlgoConfig.h>
#include <boost/lambda/casts.hpp>
#include <boost/lambda/lambda.hpp>
Go to the source code of this file.
Classes | |
struct | XCorrArrayType |
Namespaces | |
OpenSwath | |
OpenSwath::Scoring | |
Scoring functions used by MRMScoring. | |
Typedefs | |
Type defs and helper structures | |
typedef std::pair< int, double > | XCorrEntry |
Cross Correlation array contains (lag,correlation) pairs. More... | |
Type defs and helper structures | |
typedef std::pair< int, double > | XCorrEntry |
Cross Correlation array contains (lag,correlation) pairs. 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, const int &maxdelay, const int &lag) |
OPENSWATHALGO_DLLAPI XCorrArrayType | calculateCrossCorrelation (const std::vector< double > &data1, const std::vector< double > &data2, const int &maxdelay, const int &lag) |
Calculate crosscorrelation on std::vector data without normalization. More... | |
OPENSWATHALGO_DLLAPI XCorrArrayType::const_iterator | xcorrArrayGetMaxPeak (const 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... | |
OPENSWATHALGO_DLLAPI std::vector< unsigned int > | computeRank (const std::vector< double > &w) |
OPENSWATHALGO_DLLAPI double | rankedMutualInformation (std::vector< double > &data1, std::vector< double > &data2) |
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, const int &maxdelay, const int &lag) |
OPENSWATHALGO_DLLAPI XCorrArrayType | calculateCrossCorrelation (const std::vector< double > &data1, const std::vector< double > &data2, const int &maxdelay, const int &lag) |
Calculate crosscorrelation on std::vector data without normalization. More... | |
OPENSWATHALGO_DLLAPI XCorrArrayType::const_iterator | xcorrArrayGetMaxPeak (const 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... | |
OPENSWATHALGO_DLLAPI std::vector< unsigned int > | computeRank (const std::vector< double > &w) |
OPENSWATHALGO_DLLAPI double | rankedMutualInformation (std::vector< double > &data1, std::vector< double > &data2) |