a | Heat maps comparing abundance of B cells and plasma cells (PCs) in normal and tumour tissues. Data from Genotype-Tissue Expression consortium (GTEx v. 8, n = 16,704 samples) and The Cancer Genome Atlas (TCGA) consortium (harmonized dataset, n = 9,922 primary solid tumours) were analysed using xCell199 to generate cell type enrichment scores for naive B cells (B naive), memory B cells (B memory) and PCs. Scores averaged across samples of the same origin, scaled across columns and ranked by decreasing order. Asterisk indicates an identical normal tissue comparator was not available, so a closely related tissue was used instead. Log-fold change for B cell (average of naive B cells and memory B cells) and PC scores between tumours and their normal counterparts are reported (right). Red, tumour tissue > normal tissue; no colour, tumour tissue ~ normal tissue; blue, tumour tissue < normal tissue. b | Heat map summarizing prognostic associations for intratumoural B cells, PCs, IgG and IgA based on an update of previous literature searches93,200. Tumour sites are deemed positive, neutral, or negative based on the majority of cohorts. Supplementary Tables 1 and 2 provide supporting data and references. ACC, adrenocortical carcinoma; BLCA, bladder urothelial carcinoma; BRCA, breast invasive carcinoma; CESC, cervical squamous cell carcinoma and endocervical adenocarcinoma; CHOL, cholangiocarcinoma; COAD, colon adenocarcinoma; ESCA, oesophageal carcinoma; GBM, glioblastoma multiforme; HNSC, head and neck squamous cell carcinoma; KICH, kidney chromophobe; KIRC, kidney renal clear cell carcinoma; KIRP, kidney renal papillary cell carcinoma; LGG, brain lower grade glioma; LIHC, liver hepatocellular carcinoma; LUAD, lung adenocarcinoma; LUSC, lung squamous cell carcinoma; MESO, mesothelioma; OV, ovarian serous cystadeno-carcinoma; PAAD, pancreatic adenocarcinoma; PCPG, pheochromocytoma and paraganglioma; PRAD, prostate adenocarcinoma; READ, rectum adenocarcinoma; SARC, sarcoma; SKCM, skin cutaneous melanoma and squamous cell carcinoma; STAD, stomach adenocarcinoma; TGCT, testicular germ cell tumours; THCA, thyroid carcinoma; THYM, thymoma; UCEC, uterine corpus endometrial carcinoma; UCS, uterine carcinosarcoma; UVM, uveal melanoma.