In both HCC and EC, patients with TP53 mutation exhibited depleted abundance of stromal cells, such as endothelial cells and CAFs. Here, TP53 is linked to hepatocellular carcinoma.