OpenMS  2.4.0
OpenSwathScoring.h
Go to the documentation of this file.
1 // --------------------------------------------------------------------------
2 // OpenMS -- Open-Source Mass Spectrometry
3 // --------------------------------------------------------------------------
4 // Copyright The OpenMS Team -- Eberhard Karls University Tuebingen,
5 // ETH Zurich, and Freie Universitaet Berlin 2002-2018.
6 //
7 // This software is released under a three-clause BSD license:
8 // * Redistributions of source code must retain the above copyright
9 // notice, this list of conditions and the following disclaimer.
10 // * Redistributions in binary form must reproduce the above copyright
11 // notice, this list of conditions and the following disclaimer in the
12 // documentation and/or other materials provided with the distribution.
13 // * Neither the name of any author or any participating institution
14 // may be used to endorse or promote products derived from this software
15 // without specific prior written permission.
16 // For a full list of authors, refer to the file AUTHORS.
17 // --------------------------------------------------------------------------
18 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19 // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21 // ARE DISCLAIMED. IN NO EVENT SHALL ANY OF THE AUTHORS OR THE CONTRIBUTING
22 // INSTITUTIONS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
23 // EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
24 // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
25 // OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
26 // WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
27 // OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
28 // ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 //
30 // --------------------------------------------------------------------------
31 // $Maintainer: Hannes Roest $
32 // $Authors: Hannes Roest $
33 // --------------------------------------------------------------------------
34 
35 #pragma once
36 
37 // data access
43 
44 // scoring
46 
47 #include <vector>
48 #include <boost/shared_ptr.hpp>
49 #include <boost/make_shared.hpp>
50 
51 namespace OpenMS
52 {
53 
58  struct OPENMS_DLLAPI OpenSwath_Scores_Usage
59  {
60  // Which scores to use
76  bool use_ms1_mi;
78 
80  use_coelution_score_(true),
81  use_shape_score_(true),
82  use_rt_score_(true),
83  use_library_score_(true),
84  use_elution_model_score_(true),
85  use_intensity_score_(true),
86  use_total_xic_score_(true),
87  use_total_mi_score_(true),
88  use_nr_peaks_score_(true),
89  use_sn_score_(true),
90  use_mi_score_(true),
91  use_dia_scores_(true),
92  use_sonar_scores(true),
93  use_ms1_correlation(true),
94  use_ms1_fullscan(true),
95  use_ms1_mi(true),
96  use_uis_scores(true)
97  {}
98 
99  };
100 
109  struct OPENMS_DLLAPI OpenSwath_Scores
110  {
112  double library_corr;
120  std::string ind_isotope_overlap;
122  std::string ind_massdev_score;
129  double log_sn_score;
130  std::string ind_log_sn_score;
132  std::string ind_transition_names;
133  std::string ind_area_intensity;
135  std::string ind_intensity_score;
136  std::string ind_apex_intensity;
137  std::string ind_total_mi;
138  std::string ind_log_intensity;
139  std::string ind_intensity_ratio;
140  std::string ind_mi_ratio;
141 
145 
151  double ms1_mi_score;
152 
153  double sonar_sn;
154  double sonar_diff;
155  double sonar_trend;
156  double sonar_rsq;
157  double sonar_shape;
158  double sonar_lag;
159 
162  double intensity;
163  double total_xic;
164  double nr_peaks;
165  double sn_ratio;
166  double mi_score;
167  std::string ind_mi_score;
169 
172  double raw_rt_score;
173 
176 
178  elution_model_fit_score(0),
179  library_corr(0),
180  library_norm_manhattan(0),
181  library_rootmeansquare(0),
182  library_sangle(0),
183  norm_rt_score(0),
184  isotope_correlation(0),
185  ind_isotope_correlation(""),
186  isotope_overlap(0),
187  ind_isotope_overlap(""),
188  massdev_score(0),
189  ind_massdev_score(""),
190  xcorr_coelution_score(0),
191  ind_xcorr_coelution_score(""),
192  xcorr_shape_score(0),
193  ind_xcorr_shape_score(""),
194  yseries_score(0),
195  bseries_score(0),
196  log_sn_score(0),
197  ind_log_sn_score(""),
198  ind_num_transitions(0),
199  ind_transition_names(""),
200  ind_area_intensity(""),
201  ind_total_area_intensity(""),
202  ind_intensity_score(""),
203  ind_apex_intensity(""),
204  ind_total_mi(""),
205  ind_log_intensity(""),
206  ind_intensity_ratio(""),
207  ind_mi_ratio(""),
208  weighted_coelution_score(0),
209  weighted_xcorr_shape(0),
210  weighted_massdev_score(0),
211  xcorr_ms1_coelution_score(0),
212  xcorr_ms1_shape_score(0),
213  ms1_ppm_score(0),
214  ms1_isotope_correlation(0),
215  ms1_isotope_overlap(0),
216  ms1_mi_score(0),
217  sonar_sn(0),
218  sonar_diff(0),
219  sonar_trend(0),
220  sonar_rsq(0),
221  sonar_shape(0),
222  sonar_lag(0),
223  library_manhattan(0),
224  library_dotprod(0),
225  intensity(0),
226  total_xic(0),
227  nr_peaks(0),
228  sn_ratio(0),
229  mi_score(0),
230  ind_mi_score(""),
231  weighted_mi_score(0),
232  dotprod_score_dia(0),
233  manhatt_score_dia(0)
234  {
235  }
236 
237 
238  double get_quick_lda_score(double library_corr_, double library_norm_manhattan_, double norm_rt_score_, double xcorr_coelution_score_,
239  double xcorr_shape_score_, double log_sn_score_) const
240  {
241  // some scores based on manual evaluation of 80 chromatograms
242  // quick LDA average model on 100 2 x Crossvalidated runs (0.85 TPR/0.17 FDR)
243  // true: mean 4.2 with sd 1.055
244  // false: mean -0.07506772 with sd 1.055
245  // below -0.5 removes around 30% of the peaks
246  // below 0 removes around 50% of the peaks
247  // below 0.5 removes around 70% of the peaks
248  // below 1.0 removes around 85% of the peaks
249  // below 1.5 removes around 93% of the peaks
250  // below 2.0 removes around 97% of the peaks
251  //
252  // NOTE this score means "better" if it is more negative!
253  double lda_quick_score =
254  library_corr_ * -0.5319046 +
255  library_norm_manhattan_ * 2.1643962 +
256  norm_rt_score_ * 8.0353047 +
257  xcorr_coelution_score_ * 0.1458914 +
258  xcorr_shape_score_ * -1.6901925 +
259  log_sn_score_ * -0.8002824;
260  return lda_quick_score;
261  }
262 
264  {
265 
266  // LDA average model on 100 2 x Crossvalidated runs (0.91 TPR/0.20 FDR)
267  /*
268  double xx_old_lda_prescore =
269  intensity_score * -2.296679 +
270  library_corr * -0.1223876 +
271  library_norm_manhattan* 2.013638 +
272  nr_peaks_score * 0.01683357 +
273  rt_score * 0.00143999 +
274  sn_score * -0.1619762 +
275  total_xic_score * 0.00000003697898 +
276  xcorr_coelution_score * 0.05909583 +
277  xcorr_shape_score * -0.4699841;
278 
279  // NOTE this score means "better" if it is more negative!
280  */
281 
282  return scores.library_corr * -0.34664267 +
283  scores.library_norm_manhattan * 2.98700722 +
284  scores.norm_rt_score * 7.05496384 +
285  scores.xcorr_coelution_score * 0.09445371 +
286  scores.xcorr_shape_score * -5.71823862 +
287  scores.log_sn_score * -0.72989582 +
288  scores.elution_model_fit_score * 1.88443209;
289  }
290 
292  {
293  // Manually derived scoring model for single transition peakgroups
294  return scores.norm_rt_score * 7.05496384 +
295  scores.log_sn_score * -0.72989582 +
296  scores.elution_model_fit_score * -1.08443209;
297  }
298 
300  {
301 
302  // Swath - LDA average model on 100 2 x Crossvalidated runs (0.76 TPR/0.20 FDR) [without elution model]
303  /*
304  double xx_old_swath_prescore =
305  intensity_score * -3.148838e+00 +
306  library_corr * -7.562403e-02 +
307  library_norm_manhattan * 1.786286e+00 +
308  nr_peaks_score * -7.674263e-03 +
309  rt_score * 1.748377e-03 +
310  sn_score * -1.372636e-01 +
311  total_xic_score * 7.278437e-08 +
312  xcorr_coelution_score * 1.181813e-01 +
313  weighted_coelution_score * -7.661783e-02 +
314  xcorr_shape_score * -6.903933e-02 +
315  weighted_xcorr_shape * -4.234820e-01 +
316  bseries_score * -2.022380e-02 +
317  massdev_score * 2.844948e-02 +
318  massdev_score_weighted * 1.133209e-02 +
319  yseries_score * -9.510874e-02 +
320  isotope_corr * -1.619902e+00 +
321  isotope_overlap * 2.890688e-01 ;
322 
323  // NOTE this score means "better" if it is more negative!
324  */
325 
326  return scores.library_corr * -0.19011762 +
327  scores.library_norm_manhattan * 2.47298914 +
328  scores.norm_rt_score * 5.63906731 +
329  scores.isotope_correlation * -0.62640133 +
330  scores.isotope_overlap * 0.36006925 +
331  scores.massdev_score * 0.08814003 +
332  scores.xcorr_coelution_score * 0.13978311 +
333  scores.xcorr_shape_score * -1.16475032 +
334  scores.yseries_score * -0.19267813 +
335  scores.log_sn_score * -0.61712054;
336 
337 /*
338 
339 
340 Gold standard, best sample
341  main_var_xx_swath_prelim_score 0.291440015642621
342  var_bseries_score 0.0496492555026149
343  var_dotprod_score -0.522561744728316
344  var_elution_model_fit_score -1.99429446109581
345  var_intensity_score 1.70915451039584
346  var_isotope_correlation_score 0.966260829910062
347  var_isotope_overlap_score -14.216079147368
348  var_library_corr 0.061432632721274
349  var_library_dotprod -3.79958938222036
350  var_library_manhattan -1.36520528433508
351  var_library_norm_manhattan -6.44998534845163
352  var_log_sn_score -0.0389995774588385
353  var_manhatt_score -0.0944805864772705
354  var_massdev_score 0.0144460056621709
355  var_massdev_score_weighted -0.0494772144218002
356  var_norm_rt_score -9.04596725429934
357  var_xcorr_coelution -0.141763244951207
358  var_xcorr_coelution_weighted 0.00261409408565438
359  var_xcorr_shape 4.89741810577371
360  var_xcorr_shape_weighted 0.342723332762697
361  var_yseries_score -0.188316503432445
362 
363 
364 Strep Strep0_Repl2_R02/runlogs_mprophet.tar.gz
365 main_var_xx_swath_prelim_score 0.231523019269729
366 var_bseries_score -0.0488528503276347
367 var_elution_model_fit_score -0.47977060647858
368 var_intensity_score -0.80664074459128
369 var_isotope_correlation_score 2.34488326031997
370 var_isotope_overlap_score -2.14735763746488
371 var_library_corr -0.395167010986141
372 var_library_norm_manhattan -13.1295053007338
373 var_log_sn_score 0.265784828465348
374 var_massdev_score 0.0150193500103614
375 var_massdev_score_weighted -0.109859906028132
376 var_norm_rt_score -25.7107556062008
377 var_xcorr_coelution 0.244590396074410
378 var_xcorr_coelution_weighted -0.918578472543494
379 var_xcorr_shape 2.18720521365230
380 var_xcorr_shape_weighted -0.815295893352108
381 var_yseries_score -0.0620070175846356
382 
383 Strep10_Repl2_R02/runlogs_mprophet.tar.gz
384 main_var_xx_swath_prelim_score 0.293470108599468
385 var_bseries_score -0.0129641361717189
386 var_elution_model_fit_score -0.44993587229358
387 var_intensity_score -0.828540564651968
388 var_isotope_correlation_score 2.76284687671386
389 var_isotope_overlap_score -2.26460097307479
390 var_library_corr -0.445369627383142
391 var_library_norm_manhattan -13.2905041886848
392 var_log_sn_score 0.224626177093898
393 var_massdev_score 0.0185003919755981
394 var_massdev_score_weighted -0.0899477179756381
395 var_norm_rt_score -24.4807649346717
396 var_xcorr_coelution 0.218195211767293
397 var_xcorr_coelution_weighted -0.91949559943762
398 var_xcorr_shape 1.77358514815991
399 var_xcorr_shape_weighted -0.616535104461374
400 var_yseries_score -0.0652111196389966
401 
402 
403 
404 
405 // FINAL AQUA gold standard classifier
406 human
407 main_var_xx_swath_prelim_score 0.4384384475524
408 var_bseries_score 0.00227405501436837
409 var_elution_model_fit_score -2.06412570248571
410 var_intensity_score -1.26021147555789
411 var_isotope_correlation_score 1.21887083303546
412 var_isotope_overlap_score -1.60051046353231
413 var_library_corr -0.33958843974352
414 var_library_norm_manhattan -5.20235596662978
415 var_log_sn_score 0.24021015633787
416 var_massdev_score 0.0399855393620327
417 var_massdev_score_weighted -0.0907785715261295
418 var_norm_rt_score -16.2155920223681
419 var_xcorr_coelution 0.0805852135076143
420 var_xcorr_coelution_weighted -0.387927719728573
421 var_xcorr_shape 1.885899937033
422 var_xcorr_shape_weighted 2.45579580649067
423 var_yseries_score 0.138306574987678
424 
425 yeast
426 main_var_xx_swath_prelim_score 0.369009421609329
427 var_bseries_score 0.0157508674154482
428 var_elution_model_fit_score -1.67348268698707
429 var_intensity_score -1.11972743418717
430 var_isotope_correlation_score 1.68717154416093
431 var_isotope_overlap_score -1.38410070381813
432 var_library_corr -0.454409692201745
433 var_library_norm_manhattan -6.08160902837145
434 var_log_sn_score 0.157259477914274
435 var_massdev_score 0.0543919580711367
436 var_massdev_score_weighted -0.137296627160332
437 var_norm_rt_score -28.4381743938298
438 var_xcorr_coelution 0.0256469469673884
439 var_xcorr_coelution_weighted -0.362865323100099
440 var_xcorr_shape 1.88863198062243
441 var_xcorr_shape_weighted 1.3518953353109
442 var_yseries_score 0.115472572686466
443 
444 water
445 main_var_xx_swath_prelim_score 0.174880281226536
446 var_bseries_score -0.0606466737704899
447 var_elution_model_fit_score -0.123252502705892
448 var_intensity_score 1.91714146537607
449 var_isotope_correlation_score 0.914387652486204
450 var_isotope_overlap_score -1.46521560409083
451 var_library_corr -0.485498555013885
452 var_library_norm_manhattan -8.3847526088391
453 var_log_sn_score 0.00644514889704832
454 var_massdev_score 0.0177435175558717
455 var_massdev_score_weighted -0.0899451169038299
456 var_norm_rt_score -15.1458716759687
457 var_xcorr_coelution -0.370050235089866
458 var_xcorr_coelution_weighted 0.21512520647974
459 var_xcorr_shape 0.563413547839886
460 var_xcorr_shape_weighted -0.270773625703933
461 var_yseries_score -0.0327896378737766
462 
463 
464 
465 */
466  }
467 
468  };
469 
475  class OPENMS_DLLAPI OpenSwathScoring
476  {
479 
484 
485  public:
486 
489 
491  ~OpenSwathScoring();
492 
503  void initialize(double rt_normalization_factor,
504  int add_up_spectra,
505  double spacing_for_spectra_resampling,
506  const OpenSwath_Scores_Usage & su);
507 
525  void calculateChromatographicScores(
526  OpenSwath::IMRMFeature* imrmfeature,
527  const std::vector<std::string>& native_ids,
528  const std::string& precursor_chrom_id,
529  const std::vector<double>& normalized_library_intensity,
530  std::vector<OpenSwath::ISignalToNoisePtr>& signal_noise_estimators,
531  OpenSwath_Scores & scores);
532 
551  void calculateChromatographicIdScores(
552  OpenSwath::IMRMFeature* imrmfeature,
553  const std::vector<std::string>& native_ids_identification,
554  const std::vector<std::string>& native_ids_detection,
555  std::vector<OpenSwath::ISignalToNoisePtr>& signal_noise_estimators,
556  OpenSwath_Scores & scores);
557 
573  void calculateLibraryScores(
574  OpenSwath::IMRMFeature* imrmfeature,
575  const std::vector<TransitionType> & transitions,
576  const CompoundType& compound,
577  const double normalized_feature_rt,
578  OpenSwath_Scores & scores);
579 
593  void calculateDIAScores(OpenSwath::IMRMFeature* imrmfeature,
594  const std::vector<TransitionType> & transitions,
595  std::vector<OpenSwath::SwathMap> swath_maps,
597  OpenMS::DIAScoring & diascoring,
598  const CompoundType& compound,
599  OpenSwath_Scores & scores);
600 
612  void calculatePrecursorDIAScores(OpenSwath::SpectrumAccessPtr ms1_map,
613  OpenMS::DIAScoring & diascoring,
614  double precursor_mz,
615  double rt,
616  const CompoundType& compound,
617  OpenSwath_Scores & scores);
618 
630  void calculateDIAIdScores(OpenSwath::IMRMFeature* imrmfeature,
631  const TransitionType & transition,
632  const std::vector<OpenSwath::SwathMap> swath_maps,
633  OpenMS::DIAScoring & diascoring,
634  OpenSwath_Scores & scores);
635 
644  void getNormalized_library_intensities_(const std::vector<TransitionType> & transitions,
645  std::vector<double>& normalized_library_intensity);
646 
660  OpenSwath::SpectrumPtr getAddedSpectra_(OpenSwath::SpectrumAccessPtr swath_map,
661  double RT, int nr_spectra_to_add);
662 
676  OpenSwath::SpectrumPtr getAddedSpectra_(std::vector<OpenSwath::SwathMap> swath_maps,
677  double RT, int nr_spectra_to_add);
678 
679  };
680 }
681 
double dotprod_score_dia
Definition: OpenSwathScoring.h:174
double isotope_overlap
Definition: OpenSwathScoring.h:119
bool use_total_mi_score_
Definition: OpenSwathScoring.h:68
double xcorr_ms1_coelution_score
Definition: OpenSwathScoring.h:146
double isotope_correlation
Definition: OpenSwathScoring.h:117
bool use_dia_scores_
Definition: OpenSwathScoring.h:72
std::string ind_apex_intensity
Definition: OpenSwathScoring.h:136
bool use_nr_peaks_score_
Definition: OpenSwathScoring.h:69
bool use_uis_scores
Definition: OpenSwathScoring.h:77
std::string ind_log_sn_score
Definition: OpenSwathScoring.h:130
double weighted_coelution_score
Definition: OpenSwathScoring.h:142
double sonar_lag
Definition: OpenSwathScoring.h:158
boost::shared_ptr< ISpectrumAccess > SpectrumAccessPtr
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:89
double sonar_trend
Definition: OpenSwathScoring.h:155
std::string ind_mi_ratio
Definition: OpenSwathScoring.h:140
double rt_normalization_factor_
Definition: OpenSwathScoring.h:480
double spacing_for_spectra_resampling_
Definition: OpenSwathScoring.h:482
bool use_elution_model_score_
Definition: OpenSwathScoring.h:65
A class that calls the scoring routines.
Definition: OpenSwathScoring.h:475
OpenSwath_Scores_Usage()
Definition: OpenSwathScoring.h:79
double sn_ratio
Definition: OpenSwathScoring.h:165
boost::shared_ptr< Spectrum > SpectrumPtr
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/DataStructures.h:270
double weighted_xcorr_shape
Definition: OpenSwathScoring.h:143
bool use_ms1_fullscan
Definition: OpenSwathScoring.h:75
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
int add_up_spectra_
Definition: OpenSwathScoring.h:481
std::string ind_log_intensity
Definition: OpenSwathScoring.h:138
double total_xic
Definition: OpenSwathScoring.h:163
std::string ind_area_intensity
Definition: OpenSwathScoring.h:133
double xcorr_ms1_shape_score
Definition: OpenSwathScoring.h:147
bool use_library_score_
Definition: OpenSwathScoring.h:64
double raw_rt_score
Definition: OpenSwathScoring.h:172
OpenSwath_Scores()
Definition: OpenSwathScoring.h:177
bool use_mi_score_
Definition: OpenSwathScoring.h:71
double library_manhattan
Definition: OpenSwathScoring.h:160
double library_sangle
Definition: OpenSwathScoring.h:115
double sonar_sn
Definition: OpenSwathScoring.h:153
double normalized_experimental_rt
Definition: OpenSwathScoring.h:171
std::string ind_isotope_correlation
Definition: OpenSwathScoring.h:118
std::string ind_total_mi
Definition: OpenSwathScoring.h:137
double get_quick_lda_score(double library_corr_, double library_norm_manhattan_, double norm_rt_score_, double xcorr_coelution_score_, double xcorr_shape_score_, double log_sn_score_) const
Definition: OpenSwathScoring.h:238
double ms1_isotope_correlation
Definition: OpenSwathScoring.h:149
double ms1_ppm_score
Definition: OpenSwathScoring.h:148
std::string ind_xcorr_coelution_score
Definition: OpenSwathScoring.h:124
bool use_sn_score_
Definition: OpenSwathScoring.h:70
double log_sn_score
Definition: OpenSwathScoring.h:129
Scoring of an spectrum at the peak apex of an chromatographic elution peak.
Definition: DIAScoring.h:83
double massdev_score
Definition: OpenSwathScoring.h:121
double yseries_score
Definition: OpenSwathScoring.h:127
std::string ind_total_area_intensity
Definition: OpenSwathScoring.h:134
std::string ind_massdev_score
Definition: OpenSwathScoring.h:122
double sonar_diff
Definition: OpenSwathScoring.h:154
Definition: TransitionExperiment.h:149
double manhatt_score_dia
Definition: OpenSwathScoring.h:175
double ms1_isotope_overlap
Definition: OpenSwathScoring.h:150
double xcorr_coelution_score
Definition: OpenSwathScoring.h:123
bool use_sonar_scores
Definition: OpenSwathScoring.h:73
Definition: TransitionExperiment.h:46
std::string ind_xcorr_shape_score
Definition: OpenSwathScoring.h:126
double calculate_swath_lda_prescore(OpenSwath_Scores scores) const
Definition: OpenSwathScoring.h:299
A structure to store which scores should be used by the Algorithm.
Definition: OpenSwathScoring.h:58
Definition: ITransition.h:55
double ms1_mi_score
Definition: OpenSwathScoring.h:151
std::string ind_mi_score
Definition: OpenSwathScoring.h:167
std::string ind_isotope_overlap
Definition: OpenSwathScoring.h:120
OpenSwath::LightTransition TransitionType
Definition: OpenSwathScoring.h:478
A structure to hold the different scores computed by OpenSWATH.
Definition: OpenSwathScoring.h:109
double library_norm_manhattan
Definition: OpenSwathScoring.h:113
double sonar_shape
Definition: OpenSwathScoring.h:157
OpenSwath_Scores_Usage su_
Definition: OpenSwathScoring.h:483
double xcorr_shape_score
Definition: OpenSwathScoring.h:125
double mi_score
Definition: OpenSwathScoring.h:166
std::string ind_intensity_score
Definition: OpenSwathScoring.h:135
bool use_ms1_correlation
Definition: OpenSwathScoring.h:74
double norm_rt_score
Definition: OpenSwathScoring.h:116
OpenSwath::LightCompound CompoundType
Definition: OpenSwathScoring.h:477
double calculate_lda_single_transition(OpenSwath_Scores scores) const
Definition: OpenSwathScoring.h:291
std::string ind_intensity_ratio
Definition: OpenSwathScoring.h:139
double rt_difference
Definition: OpenSwathScoring.h:170
std::string ind_transition_names
Definition: OpenSwathScoring.h:132
double library_rootmeansquare
Definition: OpenSwathScoring.h:114
double elution_model_fit_score
Definition: OpenSwathScoring.h:111
bool use_ms1_mi
Definition: OpenSwathScoring.h:76
double weighted_massdev_score
Definition: OpenSwathScoring.h:144
double intensity
Definition: OpenSwathScoring.h:162
double sonar_rsq
Definition: OpenSwathScoring.h:156
int ind_num_transitions
Definition: OpenSwathScoring.h:131
bool use_rt_score_
Definition: OpenSwathScoring.h:63
double weighted_mi_score
Definition: OpenSwathScoring.h:168
double bseries_score
Definition: OpenSwathScoring.h:128
double library_dotprod
Definition: OpenSwathScoring.h:161
double library_corr
Definition: OpenSwathScoring.h:112
double nr_peaks
Definition: OpenSwathScoring.h:164
bool use_intensity_score_
Definition: OpenSwathScoring.h:66
bool use_coelution_score_
Definition: OpenSwathScoring.h:61
bool use_total_xic_score_
Definition: OpenSwathScoring.h:67
double calculate_lda_prescore(OpenSwath_Scores scores) const
Definition: OpenSwathScoring.h:263
bool use_shape_score_
Definition: OpenSwathScoring.h:62