Sex (female vs. male, OR, 3.645, 95%CI, 1.398–9.504, P = 0.008), HBsAg (positive vs. negative, OR, 2.747, 95% CI, 1.054–7.159, P = 0.039), cirrhosis (Yes vs. No, OR, 6.590, 95% CI, 2.648–16.398, P < 0.001), MPV (OR, 1.590, 95% CI, (1.171–2.159), P = 0.003), AST (OR, 1.002, 95% CI, 1.000–1.003, P = 0.018), AFP (OR, 0.974, 95% CI, (0.957–0.991), P = 0.003), and CA19-9 (OR, 1.069, 95% CI, (1.015–1.126), P = 0.011) were the independent risk factors for distinguishing HCC from ICC (Table 3). The gene discussed is AFP; the disease is intrahepatic cholangiocarcinoma.