78 const std::vector<TransitionType> & transitions,
80 const double drift_target,
82 const double dia_extraction_window_,
83 const bool dia_extraction_ppm_,
84 const double drift_extra,
85 const bool apply_im_peak_picking);
102 const std::vector<TransitionType> & transitions,
104 const double drift_target,
106 const double dia_extraction_window_,
107 const bool dia_extraction_ppm_,
108 const double drift_extra);
125 const std::vector<TransitionType> & transitions,
128 const double dia_extraction_window_,
129 const bool dia_extraction_ppm_,
130 const double drift_extra);
147 const std::vector<TransitionType> & transitions,
150 const double drift_target,
152 const double dia_extract_window_,
153 const bool dia_extraction_ppm_,
154 const double drift_extra,
155 const bool apply_im_peak_picking);
182 static std::vector<double>
computeGrid_(
const std::vector< Mobilogram >& mobilograms,
double eps);
199 const std::vector<double>& im_grid,
202 Size & max_peak_idx);
218 std::vector<std::vector<double>>& int_values);
A class that calls the ion mobility scoring routines.
Definition: IonMobilityScoring.h:47
MRMTransitionGroup< MSChromatogram, TransitionType > MRMTransitionGroupType
Definition: IonMobilityScoring.h:50
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 double drift_extra)
Performs scoring of the ion mobility dimension in MS1.
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 double drift_extra, const bool apply_im_peak_picking)
Performs scoring of the ion mobility dimension in MS2.
static void driftIdScoring(const SpectrumSequence &spectra, const std::vector< TransitionType > &transitions, MRMTransitionGroupType &transition_group_detection, OpenSwath_Scores &scores, const double drift_target, RangeMobility im_range, const double dia_extract_window_, const bool dia_extraction_ppm_, const double drift_extra, const bool apply_im_peak_picking)
Performs scoring of the ion mobility dimension for identification transitions against detection trans...
~IonMobilityScoring()
Destructor.
OpenSwath::LightTransition TransitionType
Definition: IonMobilityScoring.h:49
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:48
static void alignToGrid_(const Mobilogram &profile, const std::vector< double > &im_grid, Mobilogram &aligned_profile, double eps, Size &max_peak_idx)
static std::vector< double > extractIntensities(const Mobilogram &mobilogram)
Extracts intensity values from a single Mobilogram object.
IonMobilityScoring()
Constructor.
The representation of a group of transitions in a targeted proteomics experiment.
Definition: MRMTransitionGroup.h:42
The representation of a 1D ion mobilogram.
Definition: Mobilogram.h:32
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
OpenMS::Mobilogram sumAlignedMobilograms(const std::vector< OpenMS::Mobilogram > &aligned_mobilograms)
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:57
Definition: RangeManager.h:346
Definition: RangeManager.h:466
Definition: TransitionExperiment.h:127
Definition: TransitionExperiment.h:20