OpenMS
Loading...
Searching...
No Matches
MRMChromHandler.h
Go to the documentation of this file.
1// Copyright (c) 2002-present, OpenMS Inc. -- EKU Tuebingen, ETH Zurich, and FU Berlin
2// SPDX-License-Identifier: BSD-3-Clause
3//
4// --------------------------------------------------------------------------
5// $Maintainer: Justin Sing $
6// $Authors: Justin Sing $
7// --------------------------------------------------------------------------
8#pragma once
9
14// Need ChromExtractParams (defined in OpenSwathWorkflow.h)
17
18// LightTargetedExperiment is defined in OpenSwath (openswathalgo). Forward-declare here to avoid
19// including a non-existent OpenMS header location.
20namespace OpenSwath { struct LightTargetedExperiment; }
21
22
23namespace OpenMS
24{
38class OPENMS_DLLAPI MRMChromHandler : public IChromatogramHandler
39{
40public:
42 ~MRMChromHandler() override;
43
44 std::vector<MSChromatogram> collectIrtChromatogramsForIrt(
45 const std::vector< OpenSwath::SwathMap > & swath_maps,
46 const OpenSwath::LightTargetedExperiment & irt_transitions,
47 const Param & mrm_mapping_param,
48 const ChromExtractParams & cp,
50 bool pasef = false,
51 bool load_into_memory = false) override;
52
53 std::vector<MSChromatogram> extractAndMapChromatogramsForTransitions(
54 const std::vector< OpenSwath::SwathMap > & swath_maps,
55 const OpenSwath::LightTargetedExperiment & transition_exp,
56 const ChromExtractParams & cp,
57 const Param & mrm_mapping_param) override;
58
62
63};
64
65} // namespace OpenMS
Abstract interface for providing chromatograms.
Definition IChromatogramHandler.h:41
Default SRM/MRM chromatogram provider declaration.
Definition MRMChromHandler.h:39
std::vector< MSChromatogram > collectIrtChromatogramsForIrt(const std::vector< OpenSwath::SwathMap > &swath_maps, const OpenSwath::LightTargetedExperiment &irt_transitions, const Param &mrm_mapping_param, const ChromExtractParams &cp, const TransformationDescription &trafo=TransformationDescription(), bool pasef=false, bool load_into_memory=false) override
Collect iRT chromatograms from the swath maps and try to map them to the provided iRT transitions.
static void normalizeChromatogramMZ(MSChromatogram &chrom)
std::vector< MSChromatogram > extractAndMapChromatogramsForTransitions(const std::vector< OpenSwath::SwathMap > &swath_maps, const OpenSwath::LightTargetedExperiment &transition_exp, const ChromExtractParams &cp, const Param &mrm_mapping_param) override
Extract (or select) chromatograms for the given transitions and return mapped & filtered chromatogram...
The representation of a chromatogram.
Definition MSChromatogram.h:30
Management and storage of parameters / INI files.
Definition Param.h:46
Generic description of a coordinate transformation.
Definition TransformationDescription.h:37
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
ChromatogramExtractor parameters.
Definition OpenSwathWorkflow.h:54
Definition Scoring.h:18
Definition TransitionExperiment.h:356