Specifically, for a given rank n, we selected the reference library compounds up to the n-th largest similarity scores. A query spectrum was then considered correctly identified if the correct compound was included among these n selected reference compounds. The results of these performance evaluations are presented in Figure and Supplementary Table .