In patients with B cell enrichment, NAIP and BIRC6 expression showed a significant negative correlation with OS rates, and high levels of XIAP and BIRC7 were associated with shorter OS rates when HCC patients were enriched with macrophages. Here, NAIP is linked to hepatocellular carcinoma.