28 #include "../pappsoexception.h"
42 : m_grpProteinPtrList(other.m_grpProteinPtrList),
43 m_peptidePtrList(other.m_peptidePtrList)
57 const std::vector<GrpProtein *> &
69 return QString(
"%1.%2")
79 if(max < p_protein->getCount())
81 max = p_protein->getCount();
130 return std::make_shared<GrpSubGroup>(*
this);
184 p_protein->setGroupNumber(i);
194 p_protein->setSubGroupNumber(i);
201 qDebug() <<
"GrpSubGroup::numbering begin";
210 return (first->getAccession() < second->getAccession());
220 p_protein->setRank(i);
223 qDebug() <<
"GrpSubGroup::numbering end";
235 return (*it)->getAccession();
unsigned int size() const
bool biggerAndContainsAll(const GrpPeptideSet &peptideSet) const
bool operator<(const GrpSubGroup &other) const
sort subgroups between each other a subgroup containing less peptides is weaker (less) than the other
std::vector< GrpProtein * > m_grpProteinPtrList
unsigned int getSubGroupNumber() const
unsigned int getGroupNumber() const
void setSubGroupNumber(unsigned int i)
const GrpPeptideSet & getPeptideSet() const
GrpSubGroup(GrpProtein *p_protein)
const QString getGroupingId() const
void setGroupNumber(unsigned int i)
bool includes(const GrpSubGroup *p_subgroup) const
std::size_t peptideListSize() const
unsigned int maxCount() const
unsigned int m_groupNumber
const QString & getFirstAccession() const
bool merge(GrpSubGroup *p_subgroup)
unsigned int m_subGroupNumber
const std::vector< GrpProtein * > & getGrpProteinList() const
GrpPeptideSet m_peptidePtrList
GrpSubGroupSp makeGrpSubGroupSp()
static const QString getLexicalOrderedString(unsigned int num)
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
std::shared_ptr< GrpSubGroup > GrpSubGroupSp
@ max
maximum of intensities