Matrix Science Mascot Parser toolkit
 
Loading...
Searching...
No Matches
ms_peptide_quant_ratio.hpp
1/*
2##############################################################################
3# file: ms_peptide_quant_ratio.hpp #
4# 'msparser' toolkit #
5# Peptide intensity ratio for relative quantitation #
6##############################################################################
7# COPYRIGHT NOTICE #
8# Copyright 1998-2012 Matrix Science Limited All Rights Reserved. #
9# #
10##############################################################################
11# $Author: villek@matrixscience.com $ #
12# $Date: 2018-07-30 16:23:53 +0100 $ #
13# $Revision: 1b450440f9c97e1e41d0fc6016a27d68951d4532 | MSPARSER_REL_3_0_0-2024-09-24-0-g93ebaeb4f4 $ #
14# $NoKeywords:: $ #
15##############################################################################
16*/
17
18#ifndef MS_PEPTIDE_QUANT_RATIO_HPP
19#define MS_PEPTIDE_QUANT_RATIO_HPP
20
21
22// Includes from the standard template library
23#include <string>
24#include <vector>
25
26namespace matrix_science {
27 class ms_peptide_quant_key;
28
35
60 class MS_MASCOTRESFILE_API ms_peptide_quant_ratio
61 {
62 public:
64 ms_peptide_quant_ratio(const ms_peptide_quant_key &key, const std::string &ratioName, bool isInfinite = false);
65
67 ms_peptide_quant_ratio(const ms_peptide_quant_key &key, const std::string &ratioName, double value, bool isExcluded = false, double weight = 1.0);
68
71
74
75#ifndef SWIG
77 ms_peptide_quant_ratio& operator=(const ms_peptide_quant_ratio& right);
78#endif
80 void copyFrom(const ms_peptide_quant_ratio *src);
81
83 bool isMissing() const;
84
86 bool isInfinite() const;
87
89 double getValue() const;
90
92 ms_peptide_quant_key getKey() const;
93
95 std::string getRatioName() const;
96
98 bool isExcluded() const;
99
101 double getWeight() const;
102
103 private:
104 bool isMissing_;
105 bool isInfinite_;
106 double value_;
107
108 ms_peptide_quant_key *peptideQuantKey_;
109 std::string ratioName_;
110
111 bool isExcluded_;
112 double weight_;
113 }; // end of quantitation_group
115} // matrix_science namespace
116
117#endif // MS_PEPTIDE_QUANT_RATIO_HPP
118
119/*------------------------------- End of File -------------------------------*/
Feature key identifying a peptide ratio.
Definition: ms_peptide_quant_key.hpp:69
Peptide abundance in one component relative to another in a quantitation experiment.
Definition: ms_peptide_quant_ratio.hpp:61