33#include <boost/numeric/ublas/matrix.hpp>
66 const std::vector<uint32_t> &code_list_from_spectrum);
79 const boost::numeric::ublas::matrix<
81 getPresenceAbsenceMatrix()
const;
85 double convolutionKernel(std::size_t position)
const;
86 double getScore(std::size_t seq_position, std::size_t aa_fragment_size)
const;
90 boost::numeric::ublas::matrix<ProteinPresenceAbsenceMatrixElement>
std::vector< double > convolution() const
process convolution of spectrum code list along protein sequence
ProteinPresenceAbsenceMatrix & operator=(const ProteinPresenceAbsenceMatrix &other)
ProteinPresenceAbsenceMatrix()
ProteinPresenceAbsenceMatrixElement
@ present
the aa sequence code is present
@ absent
the aa sequence code is not present
void fillMatrix(const pappso::ProteinIntegerCode &coded_protein, const std::vector< uint32_t > &code_list_from_spectrum)
boost::numeric::ublas::matrix< ProteinPresenceAbsenceMatrixElement > m_presenceAbsenceMatrix
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...