Projection of archetypes into cancer data stratifies cohorts by lesion features and prognosis. A, Scatterplot of first two PCs computed from GSVA scores for PML-derived modules in the full Lung PCA cohort, with annotated projection of PML archetypes into the Lung PCA PC space. Samples in the top 0.125 proportion of distances from each archetype were assigned archetypes, whereas other samples were labeled as “secondary,” with colors representing samples closest to each respective archetype. Shapes designate sample histology. B, Visualization of χ2 residuals from χ2 test of association of archetypes with histology in Lung PCA samples. Plot shows contribution of each cell to the test statistic, in which circle size is proportional to cell contribution. Positive (red) values specify a positive association between the corresponding row and column variables (P = 0.00053). C–E, Heatmap of t-statistics for linear models testing the association between distance from each archetype (columns) and tumor histologic pattern (rows), *, P < 0.05, for: C, Lung PCA tumor samples (linear mixed-effects models with histologic pattern and stage as fixed effects and patient as a random effect). D, GSE166720 tumor samples (linear models with histologic pattern as a fixed effect) and (E) TRACERx tumor samples, with histology indicating overall histology of tumor (linear mixed-effects models with histologic pattern and stage as fixed effects and patient as a random effect). F and G, Kaplan Meier curves stratified by archetype with Cox proportional-hazards model used to estimate disease-free survival probability for samples closest to each archetype in F. TRACERx stage I tumor samples (n = 158 samples, n = 77, patients, n = 100 secondary, n = 20 normal-like, n = 21 inflammation, n = 7 cell adhesion, n = 10 proliferation, Cox proportional-hazards model, P = 0.00016, HR = 4.50 for samples assigned to proliferation archetype). G, GSE31210 stage I tumor samples (n = 168 samples, n = 168 patients, n = 92 secondary, n = 27 normal-like, n = 23 inflammation, n = 11 cell adhesion, n = 15 proliferation, Cox proportional-hazards model, P = 0.00027, HR = 4.12 for samples assigned to proliferation archetype).