Mass Spectrometry, Tutorial, Python, Data Analysis, Research.
plt.colorbar(shrink=0.7) plt.title("Modified Cosine spectra similarities") plt.xlabel("Spectrum #ID") plt.ylabel("Spectrum #ID") Figure 5. Modified Cosine scores for all possible pairs between the first 50 imported spectrums. As to be expected, the diagonal is always =1 (score for spectrum with