prolfquabenchmark 0.3.4
Withdrawn: the identification-confidence and peptide-consistency benchmark work, the ProteoBench and MetaMorpheus datasets and the pAUC_5 views, all made after the 1.9.10 run, move to a separate development branch; scores are again those of prolfqua 1.9.10.
Benchmark_resultsis a tabbed Quarto page in the FGCZ template: Overview (datasets), Methods (methods table, score definitions, report provenance, session info), Summary (pAUC_10 and pAUC_5 of every method on every dataset, sorted by the median) and Benchresults, one tab per dataset with Data, Scores, Pareto front, ROC and Calibration. Tables are interactive (DT). Content and scores are those of the previous page.prolfqua_ropeca_impute_nestedandprolfqua_ropecaV2_impute_nestedare out again: they ranked last or next to last on all three peptide datasets, and prolfqua 1.9.10 removed them. Their 1.9.9 scores stay inscore_history.tsv;Score_historyshows only the models of the latest release. prolfquabenchmark now requires prolfqua 1.9.10.New benchmark methods
prolfqua_rlm,prolfqua_ropeca_impute_nestedandprolfqua_ropecaV2_impute_nested(ROPECA on peptide models refit at the limit of detection, prolfqua 1.9.9); prolfquabenchmark now requires prolfqua 1.9.9.Benchmark_resultsplots pAUC_5 against the number of contrasts computed (protein and contrast pairs with a result, all contrasts together) instead of the proteins tested averaged over the contrasts; the Pareto front is the same. The same-pairs panels andbenchmark_same_pairs.tsvgive the front method’s contrasts computed (columncontrasts).Same pairs: a method may be on the Pareto front because it tests fewer, easier proteins. The new pipeline step
score_same_pairsscores every method that tests all the pairs of a front method’s protein and contrast pairs on exactly these pairs (inst/extdata/benchmark_same_pairs.tsv), andBenchmark_resultsshows them per dataset in a figure after the Pareto front: one panel per front method’s set of contrasts, each with its own x axis, the methods scored on these contrasts on a dashed line. New exported functionssame_pairs_scores(),score_on_pairs()andpareto_optimal(); the pairs come from prolfqua’sContrastsComparison, so prolfquabenchmark now requires prolfqua 1.9.8.Benchmark rerun with prolfqua 1.9.7 and its scores added to the score history. prolfqua 1.9.6 computes each protein’s limma contrasts from its own observed samples:
prolfqua_limma,prolfqua_deqms_voom,prolfqua_limpaandprolfqua_limpa_nestedscore higher (pAUC_5 on IonStar MaxQuant: limma 63.9 to 69.2, deqms_voom 57.9 to 64.5, limpa 60.0 to 67.0), and the vooma methods test more proteins; the other methods are unchanged.The documentation site is built with altdoc (
make site, GitHub workflowaltdoc.yml) instead of pkgdown; the vignettes are athttps://prolfqua.github.io/prolfquabenchmark/vignettes/<name>.html(formerlyarticles/). The vignettes read the benchmark tables of the installed package, so runmake installaftermake benchmarkbefore rendering them.Benchmark_resultslists the methods once each (16 rows instead of one per dataset and method), with the number of datasets they ran on; the per-dataset rows and fit times are in the linkedbenchmark_methods.tsv.New
method_scales(): ggplot2 colour, shape and line type scales by method, from prolfqua’sfacade_styles.tsv(colour of the facade’s family in the prolfqua factory figure, shape and line type per facade) plus dark grey open shapes for MSstats, proDA and msqrob2. Both vignettes style every method plot with it.The benchmarks run in a Snakemake pipeline (
workflow/Snakefile,config/config.yaml;make benchmark) instead of in the vignettes. Each dataset is one input file (IonStar MaxQuant peptides.txt and proteinGroups.txt, IonStar FragPipe MSstats.csv and combined_protein.tsv, CPTAC study 6 peptides.txt) and is prepared once, every method (prolfqua facades, MSstats, proDA, msqrob2) is fitted to every dataset that provides its input (peptides, proteins, the search software’s protein table or MSstats’ feature table; the external tools take only their own input, never the proteins prolfqua aggregated) and scored, and the results are exported toinst/extdata. Snakemake comes from a uv environment (pyproject.toml).New vignette
Benchmark_results: per dataset its preprocessing steps (fromconfig/config.yaml, exported asbenchmark_preprocessing.tsv), the scores of every method with the number of contrasts it computed, ROC curves up to a false positive rate of 0.2, the partial AUC up to a false positive rate of 0.05 (pAUC_5, new column ofbenchmark_scores.tsv) against the number of proteins tested (as in ProteoBench, first in each section; points labelled with the method, ggrepel in Suggests; the Pareto front drawn) and the false discovery proportion against the nominal FDR. Every figure and table has a caption naming the metric, the axes, the encoding and the changed and unchanged proteins (new columnspositiveandnegativeofbenchmark_datasets.tsv). Colour marks the model family of the prolfqua factory figure (linear models, limma, limpa, LOD imputation, peptide level, hurdle), point shape and line type the model within its family, and MSstats, proDA and msqrob2 are dark grey with open shapes; a method looks the same in every plot of both vignettes. The analysis vignettesBenchmark_prolfqua,Benchmark_MSStats,Benchmark_proDA,Benchmark_msqrob2,Benchmark_hurdleandBenchmark_ropecaand the studiesBenchmark_null_split,Benchmark_pipeline_demo,Benchmark_Model_IonStar_With2FactorsandSqueezeVar_comparisonare removed.New vignette
Score_historywith the partial AUC (pAUC_10, all contrasts pooled) and step timings of each recorded prolfqua release: per dataset a captioned figure of pAUC_10 per release and model, then a table of each model’s latest pAUC_10 with the change from its previous release (MSstats, proDA and msqrob2 at their latest run only), and figures of the elapsed time of the lm, limma, lm_impute and rlm facades and of transform, aggregate, lm fit and contrasts. Every other score, also per contrast, is in the linkedinst/extdata/score_history.tsv.make score-historyappends the pipeline’s scores and timings for the installed prolfqua (REPLACE=1reruns a recorded version). The history starts with prolfqua 1.9.0, rerun with the pipeline:make score-history-release V=1.9.0 PROLFQUA=f4dfb7f3 PROLFQUAPP=18914707installs that release and the prolfquapp of its time into a library of their own (inst/scripts/install_release.sh), fits every prolfqua method whose facade the release has (all exceptropecaV2_nested, 42 fits on the five datasets) and records the rows with the date of the prolfqua commit. Each tagged prolfqua release adds its block.The hurdle model is benchmarked as prolfqua’s
hurdle_nestedfacade (prolfqua_hurdle_nested); the hand-built variantshurdle_binomial,hurdle_binomial_firth_unboundandhurdle_binomial_firth_df4are dropped (Firth against plain binomial detection and msqrob2’s combination rule changed the scores by less than 0.2 points; without the dispersion bound the ranking was worse). New methodmsqrob2_protein: msqrob2 without its detection model, fitted to the search software’s protein table (MaxQuant LFQ intensities, FragPipe combined_protein.tsv).prolfqua models are named
prolfqua_<facade>:prolfqua_lm,prolfqua_lm_impute,prolfqua_limma,prolfqua_deqms,prolfqua_deqms_voomandprolfqua_limpaon proteins,prolfqua_lmer_nested,prolfqua_ropeca_nested,prolfqua_ropecaV2_nested,prolfqua_limpa_nestedandprolfqua_hurdle_nestedon peptides; DEqMS and limpa are new. The formerprolfqua_lm(lm_missing, now in prolfquatakeoutmissing) is dropped from the benchmark and the score history; prolfquabenchmark no longer uses prolfquatakeoutmissing.Each dataset and method has one name: the MaxQuant results formerly under
IonStar_MQ,IonStar_MQ_LFQandIonStar_MQ_medpolishareIonStar_MaxQuant(peptides.txt),IonStar_MaxQuant_protein(proteinGroups.txt LFQ intensities; proDA runs here only, proDA on the proteins prolfqua aggregated is dropped); MSstats on MaxQuant’s evidence.txt, the only method on that file, is dropped, and the duplicatelimmaof the ROPECA benchmark is dropped (same model asprolfqua_limma).CPTAC is benchmarked again; its MaxQuant peptides come from Bioconductor
MsDataHub(cptac_a_b_peptides.txt(), the filemsdata::quant()provided before its deprecation).MSstats on FragPipe’s MSstats.csv gets proteins with at least 2 peptides, like the other methods (it tested 1152 single-peptide proteins more), and its infinite fold changes (one condition without observations, no test) are no longer ranked.
proDA results are reproducible: its fit draws random numbers, so it is now seeded; two unseeded fits of the same data differed by up to 1.3 in log fold change. msqrob2 results carry each protein’s average intensity instead of one value per contrast, proDA results their average abundance, and CPTAC uses
_YEASTas the negative pattern for every tool.Uses no prolfqua function that prolfqua 1.9.5 deprecates: the msqrob2 and hurdle vignettes and
tolong()convert result tables withtibble::as_tibble(rownames = )instead ofprolfqua::matrix_to_tibble(), and the paper supplement applies ROPECA withContrastsROPECAand shows contrast weights withContrasts$get_linfct().The vignettes and the squeezeVar benchmark script no longer set an isotope label, which label-free prolfqua 1.9.5 removed.
Requires prolfqua >= 1.9.5; the vignettes call its renamed functions and simulator arguments (
lfqdata_to_summarized_experiment(),n_proteins).New vignette
Benchmark_null_split: splits the runs of each IonStar dilution at random into two pseudo-groups and tests them against each other withlm,limmaandlm_imputeafter no normalization,robscale()or human-subsetrobscale_subset(). It reports the share of p < 0.05 and p < 0.01, FDR hits, KS distance and p-value histograms over 20 splits, plus a split along the two run blocks. Both normalizations are calibrated; without normalization single splits are far off; the run-block split gives about 100 FDR hits per 1000 proteins.New vignette
Benchmark_ropecacomparing prolfqua’sropeca_nestedwith the newropecaV2_nested,lmer_nestedandlimma: on simulated proteins with correlated peptides and on the unchanged human proteins of IonStar it tabulates the share of p < 0.05 and p < 0.01 by number of peptides, and on IonStar it scores the E. coli vs human ranking (AUC, partial AUC, FDR vs FDP). Requires prolfqua >= 1.9.4.Benchmark_hurdledropsfirth_nested, which prolfqua 1.9.3 removed, and its hurdle variants; the msqrob2-rule variant now combineslm_imputewithbinomial_firth_nested(hurdle_binomial_firth_df4). The calibration text keeps thefirth_nestedresult: the share of unchanged proteins with detection p < 0.05 rose from 1.3% to 7.7% with the number of peptides.New vignette
Benchmark_hurdlebenchmarking prolfqua’s hurdle contrasts (ContrastsHurdleFacade:lm_imputecombined withfirth_nested,binomial_nestedorbinomial_firth_nested) againstlm_imputealone and msqrob2’s hurdle model on the IonStar MaxQuant peptides. It also scores msqrob2’s rule of combining the detection p-value for fully detected proteins too, and tabulates how often each detection model calls the unchanged human proteins significant, by number of peptides.The example datasets
data_benchmarkExampleanddata_test_confusion_matrix_scoresnow ship with prolfquabenchmark (they were removed from prolfqua 1.9.0); load them withprolfqua::prolfqua_data(<name>, package = "prolfquabenchmark").SqueezeVar_comparisonno longer listslm_missingamong the prolfqua facades that feed variance moderation.New vignette
SqueezeVar_comparisoncomparing variance moderation acrosslimma::squeezeVar(),msqrob2, andprolfqua::squeezeVarRob(). It shows msqrob2 delegates to limma, and thatprolfqua::squeezeVarRob()is limma’s classicfitFDistplus amin_dffilter — explaining why old MSqRob forked it (classic limma collapses todf.prior = Infon fractional/low-df features). It documents thatprolfquareaches this regime through itsrlm/rfit,lmer_nested, and imputation facades (fractional / low residual df;firthis not a consumer), and includes a benchmark (synthetic + real IonStar spike-in data) showing the former fork and modernlimma::squeezeVar()give near-identical results — the evidence behind prolfqua migrating its moderation tolimma::squeezeVar().Began tracking user-visible changes in
NEWS.md. For changes before this version, see the git history.