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

fixing underestimation of FDR : this should be doubled, prior to Joshua et al 2007

parent fdc69f0e
No related branches found
No related tags found
No related merge requests found
...@@ -287,11 +287,11 @@ ProjectWindow::computeFdr() ...@@ -287,11 +287,11 @@ ProjectWindow::computeFdr()
identification_group->countDecoyPeptideMassSample(state); identification_group->countDecoyPeptideMassSample(state);
} }
ui->protein_fdr_label->setText(QString("%1 %").arg( ui->protein_fdr_label->setText(QString("%1 %").arg(
QString::number((false_prot / total_prot) * 100.0, 'f', 2))); QString::number(((false_prot * 2) / total_prot) * 100.0, 'f', 2)));
ui->peptide_fdr_label->setText(QString("%1 %").arg( ui->peptide_fdr_label->setText(QString("%1 %").arg(QString::number(
QString::number((false_peptide / total_peptide) * 100.0, 'f', 2))); ((false_peptide * 2) / total_peptide) * 100.0, 'f', 2)));
ui->psm_fdr_label->setText(QString("%1 %").arg( ui->psm_fdr_label->setText(QString("%1 %").arg(
QString::number((false_psm / total_psm) * 100.0, 'f', 2))); QString::number(((false_psm * 2) / total_psm) * 100.0, 'f', 2)));
} }
catch(pappso::PappsoException exception_pappso) catch(pappso::PappsoException exception_pappso)
{ {
......
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