Spatial metabolomics via high mass resolution imaging mass spectrometry was performed in pretherapeutic biopsies of patients with HER2-positive advanced gastric cancer in a prospective multicentre observational study. The gene discussed is ERBB2; the disease is gastric cancer.