Scoring functions used by MRMScoring. More...
Typedefs | |
Type defs | |
| typedef std::map< int, double > | XCorrArrayType |
| Cross Correlation array. | |
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. | |
| OPENSWATHALGO_DLLAPI XCorrArrayType | calcxcorr (std::vector< double > &data1, std::vector< double > &data2, bool normalize) |
| Calculate crosscorrelation on std::vector data. | |
| 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). | |
| 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. | |
| OPENSWATHALGO_DLLAPI XCorrArrayType::iterator | xcorrArrayGetMaxPeak (XCorrArrayType &array) |
| Find best peak in an cross-correlation (highest apex). | |
| OPENSWATHALGO_DLLAPI void | standardize_data (std::vector< double > &data) |
| Standardize a vector (subtract mean, divide by standard deviation). | |
| OPENSWATHALGO_DLLAPI void | normalize_sum (double x[], unsigned int n) |
| divide each element of x by the sum of the vector | |
Scoring functions used by MRMScoring.
Many helper functions to calculate crosscorrelations between data
| typedef std::map<int, double> XCorrArrayType |
Cross Correlation array.
| 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).
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.10.0 | Documentation generated on Thu Mar 7 2013 09:43:01 using doxygen 1.7.1 |