A component within a match. More...
#include <ms_ms1quant_match_component.hpp>
Inherits matrix_science::ms_handle.
Public Member Functions | |
ms_ms1quant_match_component () | |
Default constructor. | |
ms_ms1quant_match_component (const ms_ms1quant_match_component_body &body) | |
Populated constructor. | |
double | getAbsoluteValue () const |
Get the summed intensity values for this component across the XIC peak. Required for normalisation. | |
std::string | getComponent () const |
Get the component. | |
double | getMoverz () const |
Get the m/z value. | |
int | getNumPeptides () const |
Get the number of related peptides. | |
int | getNumRanges () const |
Get the number of ranges. | |
void | getPeptideKey (int index, int &q, int &p) const |
Get a related peptide's feature key by its index (1..n). | |
ms_ms1quant_match_range | getRange (int index) const |
Get a range value by its index (1..n). | |
double | getRelativeMass () const |
Get the relative mass value. | |
std::string | getSummedModsStr () const |
Returns the string for any 'summed' modifications for this particular match. | |
std::string | getVarModsStr () const |
Returns the string for any 'variable' modifications for this particular match. | |
ms_xic | getXic () const |
Get the extracted ion chromatogram (XIC). | |
bool | hasAbsoluteValue () const |
Check if the absolute value is available. | |
bool | isComponentIdentified () const |
Check if the component has been identified. |
A component within a match.
This is stored in XML in "partner" and "absoluteValue" entities.
Default constructor.
Assigns reasonable default values to all internal members.
ms_ms1quant_match_component | ( | const ms_ms1quant_match_component_body & | body ) |
Populated constructor.
body | The data loaded from the result file. |
double getAbsoluteValue | ( | ) | const |
Get the summed intensity values for this component across the XIC peak. Required for normalisation.
If ratio values not are absolute use total intensity as absolute value
std::string getComponent | ( | ) | const |
Get the component.
double getMoverz | ( | ) | const |
Get the m/z value.
int getNumPeptides | ( | ) | const |
Get the number of related peptides.
int getNumRanges | ( | ) | const |
Get the number of ranges.
void getPeptideKey | ( | int | index, |
int & | q, | ||
int & | p | ||
) | const |
Get a related peptide's feature key by its index (1..n).
See Multiple return values in Perl, Java, Python and C#.
The returned keys can be used to get the ms_peptide using ms_mascotresults::getPeptide().
index | The index of the required peptide (1..getNumPeptides()). |
q | The query number. |
p | The rank. |
matrix_science::ms_ms1quant_match_range getRange | ( | int | index ) | const |
Get a range value by its index (1..n).
index | The index of the required range (1..getNumRanges()). |
double getRelativeMass | ( | ) | const |
Get the relative mass value.
std::string getSummedModsStr | ( | ) | const |
Returns the string for any 'summed' modifications for this particular match.
See ms_peptide::getSummedModsStr for details of the format
std::string getVarModsStr | ( | ) | const |
Returns the string for any 'variable' modifications for this particular match.
See ms_peptide::getVarModsStr for details of the format
matrix_science::ms_xic getXic | ( | ) | const |
Get the extracted ion chromatogram (XIC).
bool hasAbsoluteValue | ( | ) | const |
Check if the absolute value is available.
bool isComponentIdentified | ( | ) | const |
Check if the component has been identified.
Copyright © 2022 Matrix Science Ltd. All Rights Reserved. Generated on Thu Mar 31 2022 01:12:34 |