The cellular components of the CD8+ T cell subpopulation in liver cancer patients under different states of liver cirrhosis, grade, stage, age, and body weight were determined, and the activity analysis of metabolic pathway and hallmark pathway was carried out based on the pipeline analysis of pathway activity based on single-cell sequencing data. The gene discussed is CD8A; the disease is liver cancer.