To elucidate whether PTPN1 was related to immune infiltration cells in liver cancer, the TIMER database was used to analyze the correlation between the expression of PTPN1 and six types of immune infiltration cells, including B cell, CD8+ T cell, CD4+ T cell, macrophage, neutrophil, and dendritic cell. The gene discussed is CD8A; the disease is liver cancer.