A system and method for ample analysis including acquiring a tissue sample, preparing the tissue sample for mass spectrometry imaging, conducting a mass spectrometry procedure on the tissue sample to produce an image, analyzing the image to determine the presence or absence of a biomarker and generating a report indicating a presence or absence of cancer.