38 #include <boost/math/special_functions/fpclassify.hpp>
39 #include <boost/numeric/conversion/cast.hpp>
41 #include <OpenMS/OPENSWATHALGO/OpenSwathAlgoConfig.h>
103 const std::vector< std::vector<double> > & getMIMatrix()
const;
112 void initializeMS1XCorr(
OpenSwath::IMRMFeature* mrmfeature,
const std::vector<String>& native_ids,
const std::string& precursor_id);
115 void initializeXCorrIdMatrix(
OpenSwath::IMRMFeature* mrmfeature,
const std::vector<String>& native_ids_identification,
const std::vector<String>& native_ids_detection);
118 double calcXcorrCoelutionScore();
119 std::string calcIndXcorrIdCoelutionScore();
122 double calcXcorrShape_score();
123 std::string calcIndXcorrIdShape_score();
126 double calcXcorrShape_score_weighted(
const std::vector<double>& normalized_library_intensity);
129 double calcXcorrCoelutionScore_weighted(
const std::vector<double>& normalized_library_intensity);
132 double calcMS1XcorrCoelutionScore();
135 double calcMS1XcorrShape_score();
139 const std::vector<TransitionType>& transitions,
double& correlation,
140 double& norm_manhattan,
double& manhattan,
double& dotprod,
141 double& spectral_angle,
double& rmsd);
144 static double calcRTScore(
const PeptideType& peptide,
double normalized_experimental_rt);
150 std::vector<OpenSwath::ISignalToNoisePtr>& signal_noise_estimators);
153 std::vector<OpenSwath::ISignalToNoisePtr>& signal_noise_estimators);
159 void initializeMS1MI(
OpenSwath::IMRMFeature* mrmfeature, std::vector<String> native_ids, std::string precursor_id);
162 void initializeMIIdMatrix(
OpenSwath::IMRMFeature* mrmfeature, std::vector<String> native_ids_identification, std::vector<String> native_ids_detection);
164 double calcMIScore();
165 double calcMIScore_weighted(
const std::vector<double>& normalized_library_intensity);
166 double calcMS1MIScore();
167 std::string calcIndMIIdScore();