81 const std::vector<TransitionType> & transitions,
83 const double drift_target,
85 const double dia_extraction_window_,
86 const bool dia_extraction_ppm_,
87 const bool use_spline,
88 const double drift_extra);
106 const std::vector<TransitionType> & transitions,
108 const double drift_target,
110 const double dia_extraction_window_,
111 const bool dia_extraction_ppm_,
112 const bool use_spline,
113 const double drift_extra);
130 const std::vector<TransitionType> & transitions,
133 const double dia_extraction_window_,
134 const bool dia_extraction_ppm_,
135 const double drift_extra);
162 static std::vector<double>
computeGrid_(
const std::vector< IonMobilogram >& mobilograms,
double eps);
181 const std::vector<double>& im_grid,
182 std::vector< double >& al_int_values,
183 std::vector< double >& al_im_values,
185 Size & max_peak_idx);
A class that calls the ion mobility scoring routines.
Definition: IonMobilityScoring.h:41
static void driftScoring(const SpectrumSequence &spectra, const std::vector< TransitionType > &transitions, OpenSwath_Scores &scores, const double drift_target, RangeMobility im_range, const double dia_extraction_window_, const bool dia_extraction_ppm_, const bool use_spline, const double drift_extra)
Performs scoring of the ion mobility dimension in MS2.
~IonMobilityScoring()
Destructor.
static void computeIonMobilogram(const SpectrumSequence &spectra, const RangeMZ &mz_range, const RangeMobility &im_range, double &im, double &intensity, IonMobilogram &res, double eps)
computes ion mobilogram to be used in scoring based on mz_range and im_range. Also integrates intensi...
std::vector< MobilityPeak > IonMobilogram
Definition: IonMobilityScoring.h:55
static void driftScoringMS1(const SpectrumSequence &spectra, const std::vector< TransitionType > &transitions, OpenSwath_Scores &scores, const double drift_target, RangeMobility im_range, const double dia_extraction_window_, const bool dia_extraction_ppm_, const bool use_spline, const double drift_extra)
Performs scoring of the ion mobility dimension in MS1.
OpenSwath::LightTransition TransitionType
Definition: IonMobilityScoring.h:43
static void alignToGrid_(const IonMobilogram &profile, const std::vector< double > &im_grid, std::vector< double > &al_int_values, std::vector< double > &al_im_values, double eps, Size &max_peak_idx)
static void driftScoringMS1Contrast(const SpectrumSequence &spectra, const SpectrumSequence &ms1spectrum, const std::vector< TransitionType > &transitions, OpenSwath_Scores &scores, RangeMobility im_range, const double dia_extraction_window_, const bool dia_extraction_ppm_, const double drift_extra)
Performs scoring of the ion mobility dimension in MS1 and MS2 (contrast)
OpenSwath::LightCompound CompoundType
Definition: IonMobilityScoring.h:42
static std::vector< double > computeGrid_(const std::vector< IonMobilogram > &mobilograms, double eps)
helper function to computeIonMobilogram. Discretizes ion mobility values into a grid.
IonMobilityScoring()
Constructor.
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:97
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
std::vector< OpenSwath::SpectrumPtr > SpectrumSequence
a vector of spectrum pointers that DIA scores can operate on, allows for clever integration of only t...
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:20
Definition: IonMobilityScoring.h:46
double intensity
Definition: IonMobilityScoring.h:48
double im
Definition: IonMobilityScoring.h:47
MobilityPeak(double im_, double int_)
Definition: IonMobilityScoring.h:50
A structure to hold the different scores computed by OpenSWATH.
Definition: OpenSwathScores.h:58
Definition: RangeManager.h:345
Definition: RangeManager.h:463
Definition: TransitionExperiment.h:127
Definition: TransitionExperiment.h:20