These findings indicate that CD161 is closely correlated with immune infiltration and plays a significant role in regulating the tumor immune microenvironment in HCC. This evidence concerns the gene KLRB1 and neoplasm.