Through Lasso regression, two intersecting genes were acquired as predictors of HCC and PD-1 treatment prognosis, including HAMP and FOS. This evidence concerns the gene PDCD1 and hepatocellular carcinoma.