17#ifndef MS_MS1QUANT_MATCH_HPP
18#define MS_MS1QUANT_MATCH_HPP
24namespace matrix_science
32 class ms_ms1quant_match_body;
35 class ms_quant_component;
60 static std::string getXmlCode(chargeType code);
63 static chargeType getCodeFromXml(std::string text);
73 ms_ms1quant_match_body * body();
75 const ms_ms1quant_match_body * body()
const;
78 bool addProteinHit(
const int hit,
const int member);
80 void setKey(
const int id);
82 void applyThresholds();
89 bool hasIdentifiedComponent()
const;
92 bool allComponentsIdentified()
const;
95 std::string getPeptideString()
const;
98 std::string getVarMods()
const;
101 int getFirstXicScanId()
const;
104 void setFirstXicScanId(
int value) ;
107 int getLastXicScanId()
const;
110 void setLastXicScanId(
int value) ;
113 double getDisplayIntensity()
const;
116 void setDisplayIntensity(
double value);
119 int getChargeState()
const;
122 chargeType getChargeType()
const;
125 std::string getLabelFreeVarMods()
const;
128 std::string getReadableLabelFreeVarMods()
const;
131 std::string getConciseLabelFreeVarMods()
const;
134 int getDataSourceId()
const;
137 const ms_matrix & getCorrectionMatrix()
const;
139#if !defined(SWIGJAVA) && !defined(SWIGCSHARP)
144 const ms_matrix & getPerfectObservedMatrix()
const;
146#if !defined(SWIGJAVA) && !defined(SWIGCSHARP)
151 const ms_matrix & getPredictionMatrix()
const;
153#if !defined(SWIGJAVA) && !defined(SWIGCSHARP)
158 int getNumHits()
const;
163 int getNumComponents()
const;
168 bool hasComponent(std::string componentName)
const;
187 bool removeComponent(
const std::string & componentName);
195 int getNumPeptideRatios()
const;
200 bool hasPeptideRatio(
const std::string & ratioName)
const;
212 bool isHitRatioOutlier(
const std::string & ratioName,
int hitId,
int memberNumber)
const;
214 bool isHitRatioUsedForAverage(
const std::string & ratioName,
int hitId,
int memberNumber)
const;
216 bool isHitRatioExcluded(
const std::string & ratioName,
int hitId,
int memberNumber)
const;
219 void setHitRatioExcluded(
const std::string & ratioName,
int hitId,
int memberNumber);
222 void clearHitRatioExcluded(
const std::string & ratioName,
int hitId,
int memberNumber);
225 void setHitRatioOutlier(
const std::string & ratioName,
int hitId,
int memberNumber);
228 void clearHitRatioOutlier(
const std::string & ratioName,
int hitId,
int memberNumber);
A two-dimensional matrix of numbers.
Definition: ms_matrix.hpp:36
A result from a charge state calculation.
Definition: ms_ms1quant_charge_state.hpp:37
A component within a match.
Definition: ms_ms1quant_match_component.hpp:40
The status resulting ratio for a peptide found in a match.
Definition: ms_ms1quant_match_ratio.hpp:43
A peptide that has been matched, in quantitation, to a protein hit.
Definition: ms_ms1quant_match.hpp:47
chargeType
Types of charge state used when matching.
Definition: ms_ms1quant_match.hpp:54
@ CHARGETYPE_ORIGINAL
Charge state found in result file.
Definition: ms_ms1quant_match.hpp:55
Feature key identifying a peptide ratio.
Definition: ms_peptide_quant_key.hpp:69
This class encapsulates a peptide from the mascot results file.
Definition: ms_peptide.hpp:57
This class encapsulates a protein in the mascot results file.
Definition: ms_protein.hpp:57
An object of this class represent a single component element in quantitation.xml.
Definition: ms_quant_component.hpp:48
static const int file_index_value_not_set
A file_index value is a 1 based number. In cases where file_index values are not used (e....
Definition: ms_quant_file_index.hpp:112