Performing Selection on a Monotonic Function in Lieu of Sorting Using Layer-Ordered Heaps
Performing Selection on a Monotonic Function in Lieu of Sorting Using Layer-Ordered Heaps
复制标题
使用层序堆对单调函数执行选择来代替排序
DOI:
10.1021/acs.jproteome.0c00711
复制
发表时间:
2021
影响因子:
4.4
通讯作者:
Serang, Oliver
中科院分区:
文献类型:
--
作者:
Lucke, Kyle;Pennington, Jake;Kreitzberg, Patrick;Serang, Oliver
Nonparametric statistical tests are an integral part of scientific experiments in a diverse range of fields. When performing such tests, it is standard to sort values; however, this requires Ω(n log(n)) time to sortnvalues. Thus given enough data, sorting becomes the computational bottleneck, even with very optimized implementations such as the C++ standard library routine, std::sort. Frequently, a nonparametric statistical test is only used to partition values above and below a threshold in the sorted ordering, where the threshold corresponds to a significant statistical result. Linear-time selection and partitioning algorithms cannot be directly used because the selection and partitioning are performed on the transformed statistical significance values rather than on the sorted statistics. Usually, those transformed statistical significance values (e.g., thepvalue when investigating the family-wise error rate andqvalues when investigating the false discovery rate (FDR)) can only be computed at a threshold. Because this threshold is unknown, this leads to sorting the data. Layer-ordered heaps, which can be constructed inO(n), only partially sort values and thus can be used to get around the slow runtime required to fully sort. Here we introduce a layer-ordering-based method for selection and partitioning on the transformed values (e.g.,pvalues orqvalues). We demonstrate the use of this method to partition peptides using an FDR threshold. This approach is applied to speed up Percolator, a postprocessing algorithm used in mass-spectrometry-based proteomics to evaluate the quality of peptide-spectrum matches (PSMs), by >70% on data sets with 100 million PSMs.