The NIR imaging method opens for automated, quantitative imaging of PI3K pathway activity in tumor samples. Here, PIK3CA is linked to neoplasm.