libpappsomspp
Library for mass spectrometry
|
#include <peptidenaturalisotopelist.h>
Public Types | |
typedef std::list< PeptideNaturalIsotopeSp >::const_iterator | const_iterator |
Public Member Functions | |
PeptideNaturalIsotopeList (const PeptideInterfaceSp &peptide, pappso_double minimum_ratio_to_compute=0.001) | |
compute the list of possible isotopes for a peptide More... | |
PeptideNaturalIsotopeList (const PeptideNaturalIsotopeList &other) | |
~PeptideNaturalIsotopeList () | |
PeptideNaturalIsotopeListSp | makePeptideNaturalIsotopeListSp () const |
const_iterator | begin () const |
const_iterator | end () const |
const std::map< unsigned int, pappso_double > | getIntensityRatioPerIsotopeNumber () const |
std::vector< PeptideNaturalIsotopeSp > | getByIsotopeNumber (unsigned int isotopeLevel, unsigned int charge) const |
std::vector< PeptideNaturalIsotopeAverageSp > | getByIntensityRatio (unsigned int charge, PrecisionPtr precision, pappso_double minimum_isotope_pattern_ratio) const |
get the list of natural isotopes representing at least a minimum ratio of the whole isotope pattern More... | |
unsigned int | size () const |
const PeptideInterfaceSp & | getPeptideInterfaceSp () const |
Private Attributes | |
const PeptideInterfaceSp | msp_peptide |
std::list< PeptideNaturalIsotopeSp > | msp_peptide_natural_isotope_list |
Definition at line 69 of file peptidenaturalisotopelist.h.
typedef std::list<PeptideNaturalIsotopeSp>::const_iterator pappso::PeptideNaturalIsotopeList::const_iterator |
Definition at line 88 of file peptidenaturalisotopelist.h.
pappso::PeptideNaturalIsotopeList::PeptideNaturalIsotopeList | ( | const PeptideInterfaceSp & | peptide, |
pappso_double | minimum_ratio_to_compute = 0.001 |
||
) |
compute the list of possible isotopes for a peptide
peptide | the peptide |
minimu_ratio_to_compute | the limit under which we stop to compute because the ratio is too thin and not informative (default is 0.001). This limit is the same for each atom to survey : CHNOS |
Definition at line 59 of file peptidenaturalisotopelist.cpp.
References pappso::C13.
pappso::PeptideNaturalIsotopeList::PeptideNaturalIsotopeList | ( | const PeptideNaturalIsotopeList & | other | ) |
Definition at line 302 of file peptidenaturalisotopelist.cpp.
pappso::PeptideNaturalIsotopeList::~PeptideNaturalIsotopeList | ( | ) |
Definition at line 309 of file peptidenaturalisotopelist.cpp.
PeptideNaturalIsotopeList::const_iterator pappso::PeptideNaturalIsotopeList::begin | ( | ) | const |
Definition at line 534 of file peptidenaturalisotopelist.cpp.
PeptideNaturalIsotopeList::const_iterator pappso::PeptideNaturalIsotopeList::end | ( | ) | const |
Definition at line 540 of file peptidenaturalisotopelist.cpp.
std::vector< PeptideNaturalIsotopeAverageSp > pappso::PeptideNaturalIsotopeList::getByIntensityRatio | ( | unsigned int | charge, |
PrecisionPtr | precision, | ||
pappso_double | minimumIntensityRatio | ||
) | const |
get the list of natural isotopes representing at least a minimum ratio of the whole isotope pattern
charge | gives the number of H+, important to take into account for isotope ratio |
precision | the mass accuracy to take into acount each isotope (C13 != H2) |
minimum_isotope_pattern_ratio | the minimum ratio of the isotope pattern to represent |
/brief get a sorted (by expected intensity) vector of natural isotope average
Definition at line 446 of file peptidenaturalisotopelist.cpp.
References pappso::PeptideNaturalIsotopeAverage::getIntensityRatio(), pappso::PeptideNaturalIsotopeAverage::getIsotopeRank(), and pappso::PeptideNaturalIsotopeAverage::makePeptideNaturalIsotopeAverageSp().
std::vector< PeptideNaturalIsotopeSp > pappso::PeptideNaturalIsotopeList::getByIsotopeNumber | ( | unsigned int | isotope_number, |
unsigned int | charge | ||
) | const |
/brief get a sorted (by expected intensity) vector of isotopes of the same level
Definition at line 344 of file peptidenaturalisotopelist.cpp.
const std::map< unsigned int, pappso_double > pappso::PeptideNaturalIsotopeList::getIntensityRatioPerIsotopeNumber | ( | ) | const |
Definition at line 314 of file peptidenaturalisotopelist.cpp.
Referenced by pappso::MassSpectrumWidget::computeIsotopeMassList().
const PeptideInterfaceSp & pappso::PeptideNaturalIsotopeList::getPeptideInterfaceSp | ( | ) | const |
Definition at line 552 of file peptidenaturalisotopelist.cpp.
PeptideNaturalIsotopeListSp pappso::PeptideNaturalIsotopeList::makePeptideNaturalIsotopeListSp | ( | ) | const |
Definition at line 297 of file peptidenaturalisotopelist.cpp.
unsigned int pappso::PeptideNaturalIsotopeList::size | ( | ) | const |
Definition at line 546 of file peptidenaturalisotopelist.cpp.
|
private |
Definition at line 72 of file peptidenaturalisotopelist.h.
|
private |
Definition at line 73 of file peptidenaturalisotopelist.h.