Analytic algorithms were developed to count intratumoral and peritumoral immune cells (respectively those that directly contact tumor cells versus stromal immune cells located within 25 μm of the closest tumor cells, relative to K17 status). The gene discussed is KRT17; the disease is neoplasm.