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();
std::string String
Definition: MRMScoring.h:86
std::vector< XCorrArrayType > ms1_xcorr_vector_
the precomputed cross correlation with the MS1 trace
Definition: MRMScoring.h:179
This class implements different scores for peaks found in SRM/MRM.
Definition: MRMScoring.h:74
boost::shared_ptr< Spectrum > SpectrumPtr
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/DataStructures.h:270
std::vector< std::vector< XCorrArrayType > > XCorrMatrixType
Cross Correlation matrix.
Definition: MRMScoring.h:84
std::vector< std::vector< double > > mi_matrix_
the precomputed mutual information matrix
Definition: MRMScoring.h:183
OpenSwath::SpectrumPtr SpectrumType
Definition: MRMScoring.h:88
Definition: MRMScoring.h:50
boost::shared_ptr< OpenSwath::IFeature > FeatureType
Definition: MRMScoring.h:93
Definition: TransitionExperiment.h:149
Definition: TransitionExperiment.h:46
Definition: ITransition.h:55
OpenSwath::LightTransition TransitionType
Definition: MRMScoring.h:89
OpenSwath::LightCompound PeptideType
Definition: MRMScoring.h:90
OpenSwath::LightProtein ProteinType
Definition: MRMScoring.h:91
Definition: TransitionExperiment.h:200
std::vector< double > ms1_mi_vector_
the precomputed mutual information with the MS1 trace
Definition: MRMScoring.h:186