40 #include <OpenMS/OPENSWATHALGO/OpenSwathAlgoConfig.h> 113 void initializeXCorrMatrix(
const std::vector< std::vector< double > >& data);
116 void initializeXCorrMatrix(
OpenSwath::IMRMFeature* mrmfeature,
const std::vector<std::string>& native_ids);
119 void initializeXCorrContrastMatrix(
OpenSwath::IMRMFeature* mrmfeature,
const std::vector<std::string>& native_ids_set1,
const std::vector<std::string>& native_ids_set2);
122 void initializeXCorrPrecursorMatrix(
OpenSwath::IMRMFeature* mrmfeature,
const std::vector<std::string>& precursor_ids);
125 void initializeXCorrPrecursorContrastMatrix(
OpenSwath::IMRMFeature* mrmfeature,
const std::vector<std::string>& precursor_ids,
const std::vector<std::string>& native_ids);
128 void initializeXCorrPrecursorContrastMatrix(
const std::vector< std::vector< double > >& data_precursor,
const std::vector< std::vector< double > >& data_fragments);
131 void initializeXCorrPrecursorCombinedMatrix(
OpenSwath::IMRMFeature* mrmfeature,
const std::vector<std::string>& precursor_ids,
const std::vector<std::string>& native_ids);
138 double calcXcorrCoelutionScore();
147 double calcXcorrCoelutionWeightedScore(
const std::vector<double>& normalized_library_intensity);
150 double calcXcorrContrastCoelutionScore();
153 std::vector<double> calcSeparateXcorrContrastCoelutionScore();
156 double calcXcorrPrecursorCoelutionScore();
163 double calcXcorrPrecursorContrastCoelutionScore();
171 double calcXcorrPrecursorContrastSumFragCoelutionScore();
174 double calcXcorrPrecursorCombinedCoelutionScore();
182 double calcXcorrShapeScore();
192 double calcXcorrShapeWeightedScore(
const std::vector<double>& normalized_library_intensity);
195 double calcXcorrContrastShapeScore();
198 std::vector<double> calcSeparateXcorrContrastShapeScore();
201 double calcXcorrPrecursorShapeScore();
204 double calcXcorrPrecursorContrastShapeScore();
212 double calcXcorrPrecursorContrastSumFragShapeScore();
215 double calcXcorrPrecursorCombinedShapeScore();
219 const std::vector<TransitionType>& transitions,
double& correlation,
220 double& norm_manhattan,
double& manhattan,
double& dotprod,
221 double& spectral_angle,
double& rmsd);
224 static double calcRTScore(
const PeptideType& peptide,
double normalized_experimental_rt);
230 std::vector<OpenSwath::ISignalToNoisePtr>& signal_noise_estimators);
233 std::vector<OpenSwath::ISignalToNoisePtr>& signal_noise_estimators);
255 void initializeMIContrastMatrix(
OpenSwath::IMRMFeature* mrmfeature,
const std::vector<std::string>& native_ids_set1,
const std::vector<std::string>& native_ids_set2);
258 void initializeMIPrecursorMatrix(
OpenSwath::IMRMFeature* mrmfeature,
const std::vector<std::string>& precursor_ids);
261 void initializeMIPrecursorContrastMatrix(
OpenSwath::IMRMFeature* mrmfeature,
const std::vector<std::string>& precursor_ids,
const std::vector<std::string>& native_ids);
264 void initializeMIPrecursorCombinedMatrix(
OpenSwath::IMRMFeature* mrmfeature,
const std::vector<std::string>& precursor_ids,
const std::vector<std::string>& native_ids);
266 double calcMIScore();
267 double calcMIWeightedScore(
const std::vector<double>& normalized_library_intensity);
268 double calcMIPrecursorScore();
269 double calcMIPrecursorContrastScore();
270 double calcMIPrecursorCombinedScore();
271 std::vector<double> calcSeparateMIContrastScore();
OpenMS::Matrix< double > mi_precursor_matrix_
the precomputed mutual information matrix of the MS1 trace
Definition: MRMScoring.h:310
This class implements different scores for peaks found in SRM/MRM.
Definition: MRMScoring.h:72
OpenMS::Matrix< double > mi_precursor_contrast_matrix_
the precomputed contrast mutual information matrix against the MS1 trace
Definition: MRMScoring.h:313
OpenMS::Matrix< double > xcorr_contrast_matrix_max_peak_sec_
contains max Peaks from xcorr_contrast_matrix_
Definition: MRMScoring.h:290
boost::shared_ptr< Spectrum > SpectrumPtr
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/DataStructures.h:296
OpenMS::Matrix< double > xcorr_matrix_max_peak_sec_
Definition: MRMScoring.h:283
OpenSwath::SpectrumPtr SpectrumType
Definition: MRMScoring.h:83
boost::shared_ptr< OpenSwath::IFeature > FeatureType
Definition: MRMScoring.h:88
OpenMS::Matrix< double > mi_precursor_combined_matrix_
the precomputed contrast mutual information matrix with the MS1 trace
Definition: MRMScoring.h:317
OpenMS::Matrix< double > mi_contrast_matrix_
the precomputed contrast mutual information matrix
Definition: MRMScoring.h:307
OpenMS::Matrix< double > mi_matrix_
the precomputed mutual information matrix
Definition: MRMScoring.h:305
XCorrMatrixType xcorr_precursor_matrix_
the precomputed cross correlation matrix of the MS1 trace
Definition: MRMScoring.h:293
Definition: TransitionExperiment.h:160
OpenMS::Matrix< XCorrArrayType > XCorrMatrixType
Cross Correlation matrix.
Definition: MRMScoring.h:81
Definition: TransitionExperiment.h:45
XCorrMatrixType xcorr_contrast_matrix_
the precomputed contrast cross correlation
Definition: MRMScoring.h:286
Definition: ITransition.h:56
OpenSwath::LightTransition TransitionType
Definition: MRMScoring.h:84
XCorrMatrixType xcorr_precursor_combined_matrix_
the precomputed cross correlation with the MS1 trace
Definition: MRMScoring.h:300
OpenMS::Matrix< int > xcorr_matrix_max_peak_
contains max Peaks from xcorr_matrix_
Definition: MRMScoring.h:282
OpenSwath::LightCompound PeptideType
Definition: MRMScoring.h:85
XCorrMatrixType xcorr_precursor_contrast_matrix_
the precomputed cross correlation against the MS1 trace
Definition: MRMScoring.h:296
OpenSwath::LightProtein ProteinType
Definition: MRMScoring.h:86
Definition: TransitionExperiment.h:212