We analysed the relationship between liver cancer immune scores and TP53, AXIN1, and TP53 gene mutations, and found that StromalScore was significantly smaller in the TP53 mutant group than in the wild group (P<0.05). This evidence concerns the gene TP53 and liver cancer.