                                                                                                                          Global-Local Dirichlet Process

                        Colon Cancer              Esophageal Cancer                      Rectal Cancer              Stomach Cancer
            10



                                                                                                                                                                                                                                                       +   12e + 12j + 26a + 26d
                                                                                                                                                                                                                                    Cluster + 12f              + 12l + 26b + 26g
                5                                                                                                                                                                                                                                      +   12h + 12m + 26c

                                                                                                                                                                                        1.00   ++ + ++++ + ++ + +++ + ++ ++ +
                                                                                                                                                                                                    + ++++++++++++
                                                                                                                                                                                                                 +++++++++++++++
                                                                                                                                                                                                                                                                +                   +
                                                                                                                                                                                                                               +++++++++++ +++++++++++
                                                                                                                                                                                                                     + ++ + +
                                                                                                                                                                                                                                     + ++            + ++++ ++




                                                                                                                                                                 Survival probability
                                                                                                                                           Clusters                                                                                                          ++++
                                                                                                                                                                                        0.75
    UMAP2




                0                                                                                                                               2                                                                                                                  +                +           +                 +    +            +
                                                                                                                                                12
                                                                                                                                                                                                                                                                    +
                                                                                                                                                26
                                                                                                                                                15                                      0.50


            −5                                                                                                                                                                          0.25
                                                                                                                                                                                                                                                                                                    +



                                                                                                                                                                                        0.00
                                                                                                                                                                                               0                                           1000                                                     2000                                3000
           −10
                                                                                                                                                                                                                                                                       Time

                    −10 −5      0      5    10 −10 −5       0       5    10 −10 −5                 0     5   10 −10 −5     0    5     10                                                                                            (a) Colon Cancer.
                                                                        UMAP1


                                                   (a) Global-level clusters.                                                                                                                                                Cluster + 12a + 12b + 12c + 12d + 12e

                                                                                                                                                                                        1.00   ++    ++++ +
                                                                                                                                                                                                     +     ++++++++++ ++++ ++ + +
                                                                                                                                                                                                         +++                              +
                                                                                                                                                                                                                         +++ ++++++
                                                                                                                                                                                                                   ++++ ++
                        Colon Cancer            Esophageal Cancer              Rectal Cancer                  Stomach Cancer                                                                                                        +
            10                                                                                                                                                                                             + +                        ++++




                                                                                                                                                                 Survival probability
                                                                                                                                                                                        0.75                 +                 +       +
                                                                                                                                                                                                                                                     +
                                                                                                                                                                                                                                                   +++
                                                                                                                                                                                                                                                           + +          + +                 +           +                   +
                                                                                                                                                                                                                       +        +
                                                                                                                                                                                        0.50
                5                                                                                                                    Clusters
                                                                                                                                        2a       12f                                                                                    +
                                                                                                                                        2b       12h
                                                                                                                                        2c       12j                                    0.25
                                                                                                                                        2e       12l
                                                                                                                                        2f       12m
                                                                                                                                        2g       26a
    UMAP2




                0
                                                                                                                                        2h       26b
                                                                                                                                        2i       26c
                                                                                                                                                                                        0.00
                                                                                                                                        2j       26d                                           0                              1000                                     2000                                     3000                    4000
                                                                                                                                        2k       26g                                                                                                                   Time
                                                                                                                                        12a      15a
                                                                                                                                        12b      15b
            −5                                                                                                                          12c
                                                                                                                                        12d
                                                                                                                                                 15c
                                                                                                                                                 15d
                                                                                                                                                                                                                                    (b) Rectal Cancer.
                                                                                                                                        12e


                                                                                                                                                                                                                                    Cluster + 15a + 15b + 15c + 15d

           −10
                                                                                                                                                                                        1.00   ++ +++
                                                                                                                                                                                                   +
                                                                                                                                                                                                      +
                                                                                                                                                                                                    + ++
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                   +
                    −10 −5      0     5    10−10 −5     0       5    10−10 −5                 0     5    10−10 −5     0    5   10                                                                                           +++++ +++
                                                                                                                                                                                                                        + + +                          +
                                                                                                                                                                 Survival probability




                                                                    UMAP1                                                                                                               0.75           +            +           +                                                                           +
                                                                                                                                                                                                                                + ++                   ++
                                                                                                                                                                                                                                                                               +                ++                                             +
                                                      (b) Local-level clusters.                                                                                                                                                                +
                                                                                                                                                                                                                                                                           + + +                        +
                                                                                                                                                                                        0.50
                                                                                                                                                                                                                                                                   +
                                                                                                                                                                                                                                                                                                                                +
Figure 2. Global variables. (a) The colors indicate global-level                                                                                                                        0.25
                                                                                                                                                                                                                                                                                        +


clusters estimated from GLocal DP. (b) The colors indicate the                                                                                                                                                                                                                                                                           +
estimated local-level clusters.                                                                                                                                                         0.00
                                                                                                                                                                                               0                               400                                      800                                     1200                    1600
                             Colon Cancer                                                               Esophageal Cancer                                                                                                                                              Time
                                                                    Cluster
          50                                                            12e
                                                                        12f
                                                                                        2.0                                                                                                                                (c) Esophageal Cancer.
                                                                        12h                                                                Cluster
          40                                                            12j             1.5
                                                                              Density




                                                                                                                                                15a
BMI




                                                                        12l                                                                                                                                                                            +   2a + 2c + 2f + 2h + 2j
                                                                                                                                                15b
                                                                        12m             1.0                                                                                                                                         Cluster +
          30                                                            26a
                                                                                                                                                15c                                                                                                        2b + 2e + 2g + 2i + 2k
                                                                                                                                                15d
                                                                        26b
                                                                        26c             0.5                                                                                             1.00   ++
                                                                                                                                                                                               ++
                                                                                                                                                                                               +  ++ +
                                                                                                                                                                                                +++
          20                                                            26d                                                                                                                      + ++
                                                                                                                                                                                                    ++++++ +
                                                                                                                                                                                                       +++++
                                                                        26g                                                                                                                                +++++
                                                                                                                                                                                                          ++
                                                                                        0.0                                                                                                               ++ +++++++
                                                                                                                                                                                                                 +
                                                                                                                                                                 Survival probability




                0            100       200               300                                  0           2             4                                                                                 + + +++++
                               CEA level                                                           Number of cigarettes per day
                                                                                                                                                                                        0.75          + + + + ++ +++     ++++++
                                                                                                                                                                                                                  ++++        +++
                                                                                                                                                                                                                                ++++++++ ++++++                +           +                        +
                                                                                                                                                                                                                    ++++               ++++ + +            +
                             Rectal Cancer                                                               Stomach Cancer                                                                                      +         ++++ +
                                                                                                                                                                                                                                                                   +
                                                                                                                                                                                                                        + + +++                    +           +           +
                                                                                                                                           Cluster                                      0.50                                      ++++ +                                    ++
                                                                                                                                                                                                                     ++        + + +++ +
                                                                                                                                                2a                                                               + ++ + +                        +
                                                                                        0.9                                                                                                                             +         +
                                                                                                                                                2b                                                           +
          0.4                                                                                                                                                                                                                                                  +                   + ++
                                                                    Cluster                                                                     2c                                                                +                           ++                                                                           ++
                                                                                                                                                                                        0.25
Density




                                                                              Density




                                                                        12b                                                                     2e                                                                                                                     +
                                                                                        0.6                                                                                                                                                        +                                                                                +
                                                                        12c                                                                     2f
                                                                        12d                                                                     2g                                                                                            +
          0.2                                                           12e                                                                     2h
                                                                                        0.3                                                     2i                                      0.00
                                                                                                                                                2j                                             0                              1000                                     2000                                     3000                    4000
                                                                                                                                                2k                                                                                                                     Time
          0.0                                                                           0.0
                    0      50         100       150      200                                  0            20           40
                                    CEA level                                                     Number of positive lymph nodes                                                                                               (d) Stomach Cancer.

Figure 3. Kernel density/scatter plot of local variables, colored by                                                                                       Figure 4. Survival curves according to local-level clusters for the
the estimated local-level clusters.                                                                                                                        different cancers.




                                                                                                                                                       9
