Render an MS/MS spectrum — or a mirror plot of two — from a Universal Spectrum Identifier. Peaks are fetched once from the GNPS2 metabolomics-USI resolver and drawn in your browser — instant and zoomable, no server-side image rendering. Give a second USI to mirror them and get a client-side spectral cosine.
metabolomics-usi.gnps2.org over CORS (works on the deployed site).
Data via the GNPS2 metabolomics-USI resolver /json/ endpoint. Rendering by
Plotly; cosine is a client-side
greedy match within the m/z tolerance on sqrt-weighted intensities.