17#ifndef MS_MS1QUANT_MATCH_COMPONENT_HPP
18#define MS_MS1QUANT_MATCH_COMPONENT_HPP
24namespace matrix_science
32 class ms_ms1quant_match_component_body;
50 ms_ms1quant_match_component_body * body();
52 const ms_ms1quant_match_component_body * body()
const;
56 std::string getComponent()
const;
59 int getNumFileIndexesMatched()
const;
62 int getFileIndex(
const int idx)
const;
65 bool isComponentIdentified(
const int file_index = -1)
const;
68 double getRelativeMass()
const;
71 double getMoverz()
const;
74 std::string getVarModsStr()
const;
77 std::string getSummedModsStr()
const;
80 bool hasAbsoluteValue(
const int file_index = -1)
const;
83 double getAbsoluteValue(
const int file_index = -1)
const;
86 void setAbsoluteValue(
double value);
89 void setAbsoluteValue(
const int file_index,
double value);
92 bool hasMatchedRho(
const int file_index = -1)
const;
95 double getMatchedRho(
const int file_index = -1)
const;
98 void setMatchedRho(
const int file_index,
double value);
101 bool hasMatchedFraction(
const int file_index = -1)
const;
104 double getMatchedFraction(
const int file_index = -1)
const;
107 void setMatchedFraction(
const int file_index,
double value);
111 ms_xic getXic(
const int file_index = ms_quant_file_index::file_index_value_not_set)
const;
114 ms_xic * getXicPtr(
const int file_index = ms_quant_file_index::file_index_value_not_set);
117 int getNumRanges(
const int file_index = ms_quant_file_index::file_index_value_not_set)
const;
125 void setRanges(std::vector<ms_ms1quant_match_range> ranges);
126 void setRanges(
const int file_index, std::vector<ms_ms1quant_match_range> ranges);
129 int getNumPeptides(
const int file_index = ms_quant_file_index::file_index_value_not_set)
const;
132 void getPeptideKey(
int index,
int & q,
int & p)
const;
135 void getPeptideKey(
const int file_index,
int index,
int & q,
int & p)
const;
138 void removePeptide(
const int file_index,
const int q,
const int p);
140 void getPeptideKey(
int index,
int & OUTPUT,
int & OUTPUT)
const;
141 void getPeptideKey(
const int file_index,
int index,
int & OUTPUT,
int & OUTPUT)
const;
145 std::size_t getIdxFromFileIndex(
const int file_index)
const;
154namespace msparser_internal
156 MS_PARSERINTERNAL_API
double calcRelMassFromMz(
double mz,
long charge);
157 MS_PARSERINTERNAL_API
double calcMzFromRelMass(
double mr,
long charge);
A component within a match.
Definition: ms_ms1quant_match_component.hpp:40
A range for a component of a peptide match.
Definition: ms_ms1quant_match_range.hpp:37
An eXtracted Ion Chromatogram (XIC).
Definition: ms_xic.hpp:69