libpappsomspp
Library for mass spectrometry
|
#include <grpsubgroup.h>
Public Member Functions | |
GrpSubGroup (GrpProtein *p_protein) | |
GrpSubGroup (const GrpSubGroup &other) | |
bool | operator< (const GrpSubGroup &other) const |
sort subgroups between each other a subgroup containing less peptides is weaker (less) than the other More... | |
~GrpSubGroup () | |
GrpSubGroupSp | makeGrpSubGroupSp () |
const GrpPeptideSet & | getPeptideSet () const |
bool | merge (GrpSubGroup *p_subgroup) |
bool | includes (const GrpSubGroup *p_subgroup) const |
void | numbering () |
void | setSubGroupNumber (unsigned int i) |
void | setGroupNumber (unsigned int i) |
const QString & | getFirstAccession () const |
std::size_t | peptideListSize () const |
unsigned int | maxCount () const |
const QString | getGroupingId () const |
unsigned int | getGroupNumber () const |
unsigned int | getSubGroupNumber () const |
const std::vector< GrpProtein * > & | getGrpProteinList () const |
Private Attributes | |
std::vector< GrpProtein * > | m_grpProteinPtrList |
GrpPeptideSet | m_peptidePtrList |
unsigned int | m_subGroupNumber = 0 |
unsigned int | m_groupNumber = 0 |
Definition at line 42 of file grpsubgroup.h.
pappso::GrpSubGroup::GrpSubGroup | ( | GrpProtein * | p_protein | ) |
Definition at line 36 of file grpsubgroup.cpp.
References m_grpProteinPtrList.
pappso::GrpSubGroup::GrpSubGroup | ( | const GrpSubGroup & | other | ) |
Definition at line 41 of file grpsubgroup.cpp.
pappso::GrpSubGroup::~GrpSubGroup | ( | ) |
Definition at line 124 of file grpsubgroup.cpp.
const QString & pappso::GrpSubGroup::getFirstAccession | ( | ) | const |
Definition at line 226 of file grpsubgroup.cpp.
References m_grpProteinPtrList.
Referenced by pappso::GrpMapPeptideToSubGroupSet::hasSpecificPeptide(), merge(), and pappso::GrpMapPeptideToSubGroupSet::remove().
const QString pappso::GrpSubGroup::getGroupingId | ( | ) | const |
Definition at line 63 of file grpsubgroup.cpp.
References pappso::Utils::getLexicalOrderedString(), m_groupNumber, and m_subGroupNumber.
unsigned int pappso::GrpSubGroup::getGroupNumber | ( | ) | const |
Definition at line 48 of file grpsubgroup.cpp.
References m_groupNumber.
const std::vector< GrpProtein * > & pappso::GrpSubGroup::getGrpProteinList | ( | ) | const |
Definition at line 58 of file grpsubgroup.cpp.
References m_grpProteinPtrList.
const GrpPeptideSet & pappso::GrpSubGroup::getPeptideSet | ( | ) | const |
Definition at line 134 of file grpsubgroup.cpp.
References m_peptidePtrList.
Referenced by pappso::GrpMapPeptideToSubGroupSet::add(), pappso::GrpMapPeptideToSubGroupSet::hasSpecificPeptide(), includes(), and pappso::GrpMapPeptideToSubGroupSet::remove().
unsigned int pappso::GrpSubGroup::getSubGroupNumber | ( | ) | const |
Definition at line 53 of file grpsubgroup.cpp.
References m_subGroupNumber.
bool pappso::GrpSubGroup::includes | ( | const GrpSubGroup * | p_subgroup | ) | const |
Definition at line 166 of file grpsubgroup.cpp.
References pappso::GrpPeptideSet::biggerAndContainsAll(), getPeptideSet(), and m_peptidePtrList.
GrpSubGroupSp pappso::GrpSubGroup::makeGrpSubGroupSp | ( | ) |
Definition at line 128 of file grpsubgroup.cpp.
Referenced by pappso::GrpExperiment::startGrouping().
unsigned int pappso::GrpSubGroup::maxCount | ( | ) | const |
Definition at line 74 of file grpsubgroup.cpp.
References m_grpProteinPtrList, and pappso::max.
Referenced by operator<().
bool pappso::GrpSubGroup::merge | ( | GrpSubGroup * | p_subgroup | ) |
Definition at line 140 of file grpsubgroup.cpp.
References getFirstAccession(), m_grpProteinPtrList, and m_peptidePtrList.
void pappso::GrpSubGroup::numbering | ( | ) |
bool pappso::GrpSubGroup::operator< | ( | const GrpSubGroup & | other | ) | const |
sort subgroups between each other a subgroup containing less peptides is weaker (less) than the other
Definition at line 86 of file grpsubgroup.cpp.
References m_grpProteinPtrList, m_peptidePtrList, maxCount(), and pappso::GrpPeptideSet::size().
std::size_t pappso::GrpSubGroup::peptideListSize | ( | ) | const |
Definition at line 240 of file grpsubgroup.cpp.
References m_peptidePtrList, and pappso::GrpPeptideSet::size().
void pappso::GrpSubGroup::setGroupNumber | ( | unsigned int | i | ) |
void pappso::GrpSubGroup::setSubGroupNumber | ( | unsigned int | i | ) |
Definition at line 189 of file grpsubgroup.cpp.
References m_grpProteinPtrList, and m_subGroupNumber.
|
private |
Definition at line 48 of file grpsubgroup.h.
Referenced by getGroupingId(), getGroupNumber(), and setGroupNumber().
|
private |
Definition at line 45 of file grpsubgroup.h.
Referenced by GrpSubGroup(), getFirstAccession(), getGrpProteinList(), maxCount(), merge(), numbering(), operator<(), setGroupNumber(), and setSubGroupNumber().
|
private |
Definition at line 46 of file grpsubgroup.h.
Referenced by getPeptideSet(), includes(), merge(), operator<(), and peptideListSize().
|
private |
Definition at line 47 of file grpsubgroup.h.
Referenced by getGroupingId(), getSubGroupNumber(), and setSubGroupNumber().