Mass Spectrometry, Tutorial, Python, Data Analysis, Research.
slicing the first 5x5 entries: scores_array = scores.scores.to_array() scores_array[:5, :5]["CosineGreedy_score"] or access the corresponding number of matching peaks by running: scores_array = scores.scores.to_array() scores_array[:5, :5]["CosineGreedy_matches"] Get most similar spectra for