OpenMS
TopDownIsobaricQuantification.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: Kyowon Jeon $
6 // $Authors: Kyowon Jeong $
7 // --------------------------------------------------------------------------
8 
9 #pragma once
10 
16 #include <iomanip>
17 #include <iostream>
18 
19 namespace OpenMS
20 {
28  {
29  public:
32 
34  ~TopDownIsobaricQuantification() override = default;
35 
38 
41 
44 
51  void quantify(const MSExperiment& exp, std::vector<DeconvolvedSpectrum>& deconvolved_spectra, const std::vector<FLASHHelperClasses::MassFeature>& mass_features);
52 
53  protected:
54  void updateMembers_() override;
57 
58  private:
60  std::map<String, std::unique_ptr<IsobaricQuantitationMethod>> quant_methods_;
62  bool only_fully_quantified_ = false;
63  void addMethod_(std::unique_ptr<IsobaricQuantitationMethod> ptr)
64  {
65  std::string internal_name = ptr->getMethodName();
66  quant_methods_[internal_name] = std::move(ptr);
67  }
68  };
69 } // namespace OpenMS
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:66
In-Memory representation of a mass spectrometry run.
Definition: MSExperiment.h:49
Isobaric quantification for Top down proteomics. The report ion ratios from multiple MS2 are merged w...
Definition: TopDownIsobaricQuantification.h:28
TopDownIsobaricQuantification(const TopDownIsobaricQuantification &)
copy constructor
void addMethod_(std::unique_ptr< IsobaricQuantitationMethod > ptr)
Definition: TopDownIsobaricQuantification.h:63
~TopDownIsobaricQuantification() override=default
destructor
TopDownIsobaricQuantification(TopDownIsobaricQuantification &&other)=default
move constructor
void setDefaultParams_()
implemented for DefaultParamHandler
TopDownIsobaricQuantification & operator=(const TopDownIsobaricQuantification &other)
assignment operator
std::map< String, std::unique_ptr< IsobaricQuantitationMethod > > quant_methods_
The quantification method used for the dataset to be analyzed.
Definition: TopDownIsobaricQuantification.h:60
void updateMembers_() override
This method is used to update extra member variables at the end of the setParameters() method.
void quantify(const MSExperiment &exp, std::vector< DeconvolvedSpectrum > &deconvolved_spectra, const std::vector< FLASHHelperClasses::MassFeature > &mass_features)
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19