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

display FDR in percent

parent 85e3d1cf
No related branches found
No related tags found
No related merge requests found
......@@ -150,8 +150,8 @@ void ProjectWindow::computeFdr(ValidationState state) {
total_peptide += identification_group->countPeptideMatch(state);
false_peptide += identification_group->countDecoyPeptideMatch(state);
}
ui->protein_fdr_label->setText(QString("%1 %").arg(false_prot/total_prot));
ui->peptide_fdr_label->setText(QString("%1 %").arg(false_peptide/total_peptide));
ui->protein_fdr_label->setText(QString("%1 %").arg(QString::number((false_prot/total_prot)*100.0,'f',10)));
ui->peptide_fdr_label->setText(QString("%1 %").arg(QString::number((false_peptide/total_peptide)*100.0,'f',10)));
}
void ProjectWindow::computeMassPrecision(ValidationState state) {
......
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