Kaplan–Meier distributions of OS (left) and TIS ssGSEA enrichment score (ES) distributions (violin plots, right) comparing patients with primary or acquired resistance. Median OS, 80% CIs and numbers of patients at risk are shown in each Kaplan–Meier plot. Violin plots show data from individual patients (dots), color-coded by site of sample, the median value (text box) and the probability density distribution smoothed using a kernel density estimator (shaded areas). ssGSEA ES distributions were compared using two-sided Wilcoxon rank-sum tests, with no correction for multiplicity of testing; associated P values and the number of tumor samples in each group are reported for each comparison.