56const std::vector<GrpProtein *> &
68 return QString(
"%1.%2")
78 if(max < p_protein->getCount())
80 max = p_protein->getCount();
128 return std::make_shared<GrpSubGroup>(*
this);
181 p_protein->setGroupNumber(i);
191 p_protein->setSubGroupNumber(i);
198 qDebug() <<
"GrpSubGroup::numbering begin";
207 return (first->getAccession() < second->getAccession());
217 p_protein->setRank(i);
220 qDebug() <<
"GrpSubGroup::numbering end";
232 return (*it)->getAccession();
unsigned int size() 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