OpenMS
|
A class that calls the ion mobility scoring routines. More...
#include <OpenMS/ANALYSIS/OPENSWATH/IonMobilityScoring.h>
Classes | |
struct | MobilityPeak |
Public Member Functions | |
IonMobilityScoring () | |
Constructor. More... | |
~IonMobilityScoring () | |
Destructor. More... | |
Static Public Member Functions | |
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. More... | |
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. More... | |
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) More... | |
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 intensity in the resulting ion mobility mobilogram in mz_range and im_range across all the entire SpectrumSequence. More... | |
Private Types | |
typedef OpenSwath::LightCompound | CompoundType |
typedef OpenSwath::LightTransition | TransitionType |
typedef std::vector< MobilityPeak > | IonMobilogram |
Static Private Member Functions | |
static std::vector< double > | computeGrid_ (const std::vector< IonMobilogram > &mobilograms, double eps) |
helper function to computeIonMobilogram. Discretizes ion mobility values into a grid. More... | |
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) |
A class that calls the ion mobility scoring routines.
Use this class to invoke the individual OpenSWATH ion mobility scoring routines. These scores use the ion mobilograms from individual peptides in one (or more) frames to compute additional scores.
|
private |
|
private |
|
private |
Constructor.
~IonMobilityScoring | ( | ) |
Destructor.
|
staticprivate |
|
staticprivate |
helper function to computeIonMobilogram. Discretizes ion mobility values into a grid.
|
static |
computes ion mobilogram to be used in scoring based on mz_range and im_range. Also integrates intensity in the resulting ion mobility mobilogram in mz_range and im_range across all the entire SpectrumSequence.
[in] | spectra | Raw data in a spectrumSequence object (can contain 1 or multiple spectra centered around peak apex) |
[in] | mz_range | the range across mz to extract |
[in] | im_range | the range across im to extract |
[out] | im | computed weighted average ion mobility |
[out] | intensity | intensity computed intensity |
[out] | res | outputted ion mobilogram |
[in] | eps | minimum distance to allow for two seperate points |
|
static |
Performs scoring of the ion mobility dimension in MS2.
Populates additional scores in the scores
object
spectra | Sequence of segments of the DIA MS2 spectrum found at (and around) the peak apex |
transitions | The transitions used for scoring |
scores | The output scores |
drift_target | Ion Mobility extraction target |
im_range | Ion Mobility extraction range |
dia_extraction_window_ | m/z extraction width |
dia_extraction_ppm_ | Whether m/z extraction width is in ppm |
use_spline | Whether to use spline for fitting |
drift_extra | Extend the extraction window to gain a larger field of view beyond drift_upper - drift_lower (in percent) |
|
static |
Performs scoring of the ion mobility dimension in MS1.
Populates additional scores in the scores
object
spectra | vector containing the DIA MS1 spectra found at (or around) the peak apex |
transitions | The transitions used for scoring |
scores | The output scores |
im_range | Ion Mobility extraction range |
drift_target | Ion Mobility extraction target |
dia_extraction_window_ | m/z extraction width |
dia_extraction_ppm_ | Whether m/z extraction width is in ppm |
use_spline | Whether to use spline for fitting |
drift_extra | Extra extraction to use for drift time (in percent) |
|
static |
Performs scoring of the ion mobility dimension in MS1 and MS2 (contrast)
Populates additional scores in the scores
object
spectra | Vector of the DIA MS2 spectrum found in SpectrumSequence object (can contain 1 or multiple spectra centered around peak apex) |
ms1spectrum | The DIA MS1 spectrum found in SpectrumSequence object (can contain 1 or multiple spectra centered around peak apex) |
transitions | The transitions used for scoring |
scores | The output scores |
im_range | the ion mobility range |
dia_extraction_window_ | m/z extraction width |
dia_extraction_ppm_ | Whether m/z extraction width is in ppm |
drift_extra | Extra extraction to use for drift time (in percent) |