libpappsomspp
Library for mass spectrometry
|
Go to the documentation of this file.
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();
bool merge(GrpSubGroup *p_subgroup)
const QString & getFirstAccession() const
const GrpPeptideSet & getPeptideSet() const
unsigned int getGroupNumber() const
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
unsigned int getSubGroupNumber() const
std::shared_ptr< GrpSubGroup > GrpSubGroupSp
unsigned int maxCount() const
bool includes(const GrpSubGroup *p_subgroup) const
GrpSubGroup(GrpProtein *p_protein)
GrpSubGroupSp makeGrpSubGroupSp()
std::vector< GrpProtein * > m_grpProteinPtrList
unsigned int m_groupNumber
unsigned int m_subGroupNumber
const std::vector< GrpProtein * > & getGrpProteinList() const
const QString getGroupingId() const
bool operator<(const GrpSubGroup &other) const
sort subgroups between each other a subgroup containing less peptides is weaker (less) than the other
void setGroupNumber(unsigned int i)
void setSubGroupNumber(unsigned int i)
unsigned int size() const
bool biggerAndContainsAll(const GrpPeptideSet &peptideSet) const
GrpPeptideSet m_peptidePtrList
static const QString getLexicalOrderedString(unsigned int num)
std::size_t peptideListSize() const