70 const std::vector<TransitionType> & transitions,
72 const double drift_target,
74 const double dia_extraction_window_,
75 const bool dia_extraction_ppm_,
76 const bool use_spline,
77 const double drift_extra);
95 const std::vector<TransitionType> & transitions,
97 const double drift_target,
99 const double dia_extraction_window_,
100 const bool dia_extraction_ppm_,
101 const bool use_spline,
102 const double drift_extra);
119 const std::vector<TransitionType> & transitions,
122 const double dia_extraction_window_,
123 const bool dia_extraction_ppm_,
124 const double drift_extra);
151 static std::vector<double>
computeGrid_(
const std::vector< Mobilogram >& mobilograms,
double eps);
168 const std::vector<double>& im_grid,
171 Size & max_peak_idx);
187 std::vector<std::vector<double>>& int_values);
A class that calls the ion mobility scoring routines.
Definition: IonMobilityScoring.h:42
static void extractIntensities(const std::vector< Mobilogram > &mobilograms, std::vector< std::vector< double >> &int_values)
static std::vector< double > computeGrid_(const std::vector< Mobilogram > &mobilograms, double eps)
helper function to computeIonMobilogram. Discretizes ion mobility values into a grid.
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 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:44
static void computeIonMobilogram(const SpectrumSequence &spectra, const RangeMZ &mz_range, const RangeMobility &im_range, double &im, double &intensity, Mobilogram &res, double eps)
computes ion mobilogram to be used in scoring based on mz_range and im_range. Also integrates intensi...
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:43
static void alignToGrid_(const Mobilogram &profile, const std::vector< double > &im_grid, Mobilogram &aligned_profile, double eps, Size &max_peak_idx)
IonMobilityScoring()
Constructor.
The representation of a 1D ion mobilogram.
Definition: Mobilogram.h:29
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
A structure to hold the different scores computed by OpenSWATH.
Definition: OpenSwathScores.h:58
Definition: RangeManager.h:346
Definition: RangeManager.h:466
Definition: TransitionExperiment.h:127
Definition: TransitionExperiment.h:20