OpenMS
TopDownIsobaricQuantification.h
Go to the documentation of this file.
1 // Copyright (c) 2002-2023, The OpenMS Team -- 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 {
27  {
28  public:
29 
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_;
61  bool only_fully_quantified_ = false;
62  void addMethod_(std::unique_ptr<IsobaricQuantitationMethod> ptr)
63  {
64  std::string internal_name = ptr->getMethodName();
65  quant_methods_[internal_name] = std::move(ptr);
66  }
67  };
68 } // 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:46
Definition: TopDownIsobaricQuantification.h:27
TopDownIsobaricQuantification(const TopDownIsobaricQuantification &)
copy constructor
void addMethod_(std::unique_ptr< IsobaricQuantitationMethod > ptr)
Definition: TopDownIsobaricQuantification.h:62
~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)
FLASHIda C++ to C# (or vice versa) bridge functions The functions here are called in C# to invoke fun...
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19