Computational pathology algorithms for precision oncology