In the present work, based on integrated analysis of scRNA and bulk RNA sequencing data and machine learning algorithms, we identified CD8+ T-cell and B-cell subsets with high expression of CD103 and LAG3 and developed a CLTRP scoring system based on signature genes from the above subsets as a predictive model for immunotherapy outcomes of breast cancer patients. The gene discussed is CD8A; the disease is breast carcinoma.