The tissue localizations of tumor-infiltrating lymphocyte (TIL) subpopulations; CD3+ T cells, CD8+ T cells, CD3+FOXP3+ T cells (regulatory T cells, Tregs), and CD20+ B cells in tumor cell nest and surrounding stroma were profiled and quantified by automated quantitative pathology imaging system in primary and metastatic tumors. The gene discussed is CD8A; the disease is metastatic neoplasm.