Skip to content
Snippets Groups Projects
Commit 79b54719 authored by Langella Olivier's avatar Langella Olivier
Browse files

display Mascot Evalue

parent 91d9d33d
No related branches found
Tags xtpcpp_0.2.17-1
No related merge requests found
......@@ -152,7 +152,8 @@ PeptideTableModel::columnCount(const QModelIndex &parent) const
return 40;
}
QVariant
PeptideTableModel::headerData(int section, Qt::Orientation orientation,
PeptideTableModel::headerData(int section,
Qt::Orientation orientation,
int role) const
{
if(orientation == Qt::Horizontal)
......@@ -399,6 +400,12 @@ PeptideTableModel::data(const QModelIndex &index, int role) const
.getPeptideEvidence()
->getParam(PeptideEvidenceParam::mascot_score);
break;
case(std::int8_t)PeptideListColumn::mascot_expectation_value:
return _p_protein_match->getPeptideMatchList()
.at(row)
.getPeptideEvidence()
->getParam(PeptideEvidenceParam::mascot_expectation_value);
break;
case(std::int8_t)PeptideListColumn::peptide_prophet_probability:
return _p_protein_match->getPeptideMatchList()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment