To overcome these limitations, when training our model, we only considered p53-positive cells as cancer if they come from a cancer slide and only p53-negative cells from slides where the cells have a normal morphology (Fig. 3d). Here, TP53 is linked to cancer.