Observed mutation patterns for known cancer genes in the COSMIC reference database. Visualization of missense (blue), protein-truncating (green) and silent mutations (black) on the EGFR gene (A) as an example of a typical oncogene and the PTEN gene (B) as an example of a typical tumour suppressor gene. Hot spots (red) indicate gene positions where a significant clustering of mutations was detected by SomInaClust across tumour samples. (C) and (D). Boxplots show the proportion of clustering (C) and protein-truncating (D) mutations for known oncogenes (OG) and tumour suppressor genes (TSG) for which hot spots were detected.