Mass Spectrometry, Tutorial, Python, Data Analysis, Research.
:50]["ModifiedCosine_score"] \ * (scores_array[:50, :50]["ModifiedCosine_matches"] >= min_match), cmap="viridis") plt.colorbar(shrink=0.7) plt.title("Modified Cosine spectra similarities (min_match=5)") plt.xlabel("Spectrum #ID") plt.ylabel("Spectrum #ID") Figure 6. Modified Cosine scores for all