cola Report for Hierarchical Partitioning - 'TCGA_KIRP_methylation'

Date: 2021-07-22 17:34:06 CEST, cola version: 1.9.4

Document is loading...


Summary

First the variable is renamed to res_rh.

res_rh = rh

The partition hierarchy and all available functions which can be applied to res_rh object.

res_rh
#> A 'HierarchicalPartition' object with 4 combinations of top-value methods and partitioning methods.
#>   On a matrix with 376053 rows and 321 columns.
#>   Performed in total 75600 partitions.
#>   There are 37 groups under the following parameters:
#>     - min_samples: 6
#>     - mean_silhouette_cutoff: 0.9
#>     - min_n_signatures: 1000 (signatures are selected based on:)
#>       - fdr_cutoff: 0.05
#>       - group_diff: 0.25
#> 
#> Hierarchy of the partition:
#>   0, 321 cols
#>   |-- 01, 79 cols, 2544 signatures
#>   |   |-- 011, 33 cols, 424 signatures (c)
#>   |   |-- 012, 27 cols, 4789 signatures
#>   |   |   |-- 0121, 4 cols (b)
#>   |   |   |-- 0122, 10 cols (b)
#>   |   |   |-- 0123, 5 cols (b)
#>   |   |   `-- 0124, 8 cols (b)
#>   |   `-- 013, 19 cols, 3199 signatures
#>   |       |-- 0131, 14 cols, 1212 signatures
#>   |       |   |-- 01311, 12 cols, 139 signatures (c)
#>   |       |   `-- 01312, 2 cols (b)
#>   |       `-- 0132, 5 cols (b)
#>   |-- 02, 56 cols, 6551 signatures
#>   |   |-- 021, 31 cols, 454 signatures (c)
#>   |   |-- 022, 17 cols, 8085 signatures
#>   |   |   |-- 0221, 12 cols, 52 signatures (c)
#>   |   |   |-- 0222, 3 cols (b)
#>   |   |   `-- 0223, 2 cols (b)
#>   |   `-- 023, 8 cols (b)
#>   |-- 03, 59 cols, 26826 signatures
#>   |   |-- 031, 33 cols, 5590 signatures
#>   |   |   |-- 0311, 17 cols, 2840 signatures
#>   |   |   |   |-- 03111, 9 cols (b)
#>   |   |   |   |-- 03112, 3 cols (b)
#>   |   |   |   `-- 03113, 5 cols (b)
#>   |   |   |-- 0312, 4 cols (b)
#>   |   |   `-- 0313, 12 cols, 25 signatures (c)
#>   |   |-- 032, 22 cols, 2274 signatures
#>   |   |   |-- 0321, 12 cols, 1 signatures (c)
#>   |   |   `-- 0322, 10 cols (b)
#>   |   `-- 033, 4 cols (b)
#>   |-- 04, 44 cols, 36795 signatures
#>   |   |-- 041, 10 cols (b)
#>   |   |-- 042, 11 cols (b)
#>   |   |-- 043, 12 cols, 1141 signatures
#>   |   |   |-- 0431, 4 cols (b)
#>   |   |   |-- 0432, 4 cols (b)
#>   |   |   `-- 0433, 4 cols (b)
#>   |   `-- 044, 11 cols (b)
#>   `-- 05, 83 cols, 9931 signatures
#>       |-- 051, 32 cols, 1801 signatures
#>       |   |-- 0511, 15 cols, 9 signatures (c)
#>       |   |-- 0512, 7 cols (b)
#>       |   `-- 0513, 10 cols (b)
#>       |-- 052, 13 cols, 3659 signatures
#>       |   |-- 0521, 3 cols (b)
#>       |   |-- 0522, 8 cols (b)
#>       |   `-- 0523, 2 cols (b)
#>       |-- 053, 32 cols, 4193 signatures
#>       |   |-- 0531, 17 cols, 417 signatures (c)
#>       |   |-- 0532, 11 cols (b)
#>       |   `-- 0533, 4 cols (b)
#>       `-- 054, 6 cols (b)
#> Stop reason:
#>   b) Subgroup had too few columns.
#>   c) There were too few signatures.
#> 
#> Following methods can be applied to this 'HierarchicalPartition' object:
#>  [1] "all_leaves"            "all_nodes"             "cola_report"           "collect_classes"      
#>  [5] "colnames"              "compare_signatures"    "dimension_reduction"   "functional_enrichment"
#>  [9] "get_anno_col"          "get_anno"              "get_children_nodes"    "get_classes"          
#> [13] "get_matrix"            "get_signatures"        "is_leaf_node"          "max_depth"            
#> [17] "merge_node"            "ncol"                  "node_info"             "node_level"           
#> [21] "nrow"                  "rownames"              "show"                  "split_node"           
#> [25] "suggest_best_k"        "test_to_known_factors" "top_rows_heatmap"      "top_rows_overlap"     
#> 
#> You can get result for a single node by e.g. object["01"]

The call of hierarchical_partition() was:

#> hierarchical_partition(data = mat, top_n = 1000, top_value_method = c("SD", "ATC"), 
#>     partition_method = c("kmeans", "skmeans"), subset = 500, group_diff = 0.25, min_n_signatures = 1000, 
#>     filter_fun = function(mat) {
#>         s = rowSds(mat)
#>         order(-s)[1:30000]
#>     }, max_k = 8, scale_rows = FALSE, cores = 4)

Dimension of the input matrix:

mat = get_matrix(res_rh)
dim(mat)
#> [1] 376053    321

All the methods that were tried:

res_rh@param$combination_method
#> [[1]]
#> [1] "SD"     "kmeans"
#> 
#> [[2]]
#> [1] "ATC"    "kmeans"
#> 
#> [[3]]
#> [1] "SD"      "skmeans"
#> 
#> [[4]]
#> [1] "ATC"     "skmeans"

Density distribution

The density distribution for each sample is visualized as one column in the following heatmap. The clustering is based on the distance which is the Kolmogorov-Smirnov statistic between two distributions.

library(ComplexHeatmap)
densityHeatmap(mat, ylab = "value", cluster_columns = TRUE, show_column_names = FALSE,
    mc.cores = 1)

plot of chunk density-heatmap

Some values about the hierarchy:

all_nodes(res_rh)
#>  [1] "0"     "01"    "011"   "012"   "0121"  "0122"  "0123"  "0124"  "013"   "0131"  "01311" "01312"
#> [13] "0132"  "02"    "021"   "022"   "0221"  "0222"  "0223"  "023"   "03"    "031"   "0311"  "03111"
#> [25] "03112" "03113" "0312"  "0313"  "032"   "0321"  "0322"  "033"   "04"    "041"   "042"   "043"  
#> [37] "0431"  "0432"  "0433"  "044"   "05"    "051"   "0511"  "0512"  "0513"  "052"   "0521"  "0522" 
#> [49] "0523"  "053"   "0531"  "0532"  "0533"  "054"
all_leaves(res_rh)
#>  [1] "011"   "0121"  "0122"  "0123"  "0124"  "01311" "01312" "0132"  "021"   "0221"  "0222"  "0223" 
#> [13] "023"   "03111" "03112" "03113" "0312"  "0313"  "0321"  "0322"  "033"   "041"   "042"   "0431" 
#> [25] "0432"  "0433"  "044"   "0511"  "0512"  "0513"  "0521"  "0522"  "0523"  "0531"  "0532"  "0533" 
#> [37] "054"
node_info(res_rh)
#>       id best_method depth best_k n_columns n_signatures p_signatures is_leaf
#> 1      0 ATC:skmeans     1      5       321        40190     1.07e-01   FALSE
#> 2     01  SD:skmeans     2      3        79         2544     6.77e-03   FALSE
#> 3    011 ATC:skmeans     3      2        33          424     1.13e-03    TRUE
#> 4    012  ATC:kmeans     3      4        27         4789     1.27e-02   FALSE
#> 5   0121 not applied     4     NA         4           NA           NA    TRUE
#> 6   0122 not applied     4     NA        10           NA           NA    TRUE
#> 7   0123 not applied     4     NA         5           NA           NA    TRUE
#> 8   0124 not applied     4     NA         8           NA           NA    TRUE
#> 9    013  ATC:kmeans     3      2        19         3199     8.51e-03   FALSE
#> 10  0131  ATC:kmeans     4      2        14         1212     3.22e-03   FALSE
#> 11 01311  ATC:kmeans     5      2        12          139     3.70e-04    TRUE
#> 12 01312 not applied     5     NA         2           NA           NA    TRUE
#> 13  0132 not applied     4     NA         5           NA           NA    TRUE
#> 14    02  SD:skmeans     2      3        56         6551     1.74e-02   FALSE
#> 15   021 ATC:skmeans     3      4        31          454     1.21e-03    TRUE
#> 16   022   SD:kmeans     3      3        17         8085     2.15e-02   FALSE
#> 17  0221  ATC:kmeans     4      3        12           52     1.38e-04    TRUE
#> 18  0222 not applied     4     NA         3           NA           NA    TRUE
#> 19  0223 not applied     4     NA         2           NA           NA    TRUE
#> 20   023 not applied     3     NA         8           NA           NA    TRUE
#> 21    03  ATC:kmeans     2      3        59        26826     7.13e-02   FALSE
#> 22   031  ATC:kmeans     3      3        33         5590     1.49e-02   FALSE
#> 23  0311   SD:kmeans     4      3        17         2840     7.55e-03   FALSE
#> 24 03111 not applied     5     NA         9           NA           NA    TRUE
#> 25 03112 not applied     5     NA         3           NA           NA    TRUE
#> 26 03113 not applied     5     NA         5           NA           NA    TRUE
#> 27  0312 not applied     4     NA         4           NA           NA    TRUE
#> 28  0313 ATC:skmeans     4      3        12           25     6.65e-05    TRUE
#> 29   032   SD:kmeans     3      2        22         2274     6.05e-03   FALSE
#> 30  0321  ATC:kmeans     4      3        12            1     2.66e-06    TRUE
#> 31  0322 not applied     4     NA        10           NA           NA    TRUE
#> 32   033 not applied     3     NA         4           NA           NA    TRUE
#> 33    04   SD:kmeans     2      4        44        36795     9.78e-02   FALSE
#> 34   041 not applied     3     NA        10           NA           NA    TRUE
#> 35   042 not applied     3     NA        11           NA           NA    TRUE
#> 36   043 ATC:skmeans     3      3        12         1141     3.03e-03   FALSE
#> 37  0431 not applied     4     NA         4           NA           NA    TRUE
#> 38  0432 not applied     4     NA         4           NA           NA    TRUE
#> 39  0433 not applied     4     NA         4           NA           NA    TRUE
#> 40   044 not applied     3     NA        11           NA           NA    TRUE
#> 41    05 ATC:skmeans     2      4        83         9931     2.64e-02   FALSE
#> 42   051  ATC:kmeans     3      3        32         1801     4.79e-03   FALSE
#> 43  0511  ATC:kmeans     4      2        15            9     2.39e-05    TRUE
#> 44  0512 not applied     4     NA         7           NA           NA    TRUE
#> 45  0513 not applied     4     NA        10           NA           NA    TRUE
#> 46   052 ATC:skmeans     3      3        13         3659     9.73e-03   FALSE
#> 47  0521 not applied     4     NA         3           NA           NA    TRUE
#> 48  0522 not applied     4     NA         8           NA           NA    TRUE
#> 49  0523 not applied     4     NA         2           NA           NA    TRUE
#> 50   053  ATC:kmeans     3      3        32         4193     1.12e-02   FALSE
#> 51  0531  ATC:kmeans     4      3        17          417     1.11e-03    TRUE
#> 52  0532 not applied     4     NA        11           NA           NA    TRUE
#> 53  0533 not applied     4     NA         4           NA           NA    TRUE
#> 54   054 not applied     3     NA         6           NA           NA    TRUE

In the output from node_info(), there are the following columns:

Labels of nodes are encoded in a special way. The number of digits correspond to the depth of the node in the hierarchy and the value of the digits correspond to the index of the subgroup in the current node, E.g. a label of “012” means the node is the second subgroup of the partition which is the first subgroup of the root node.

Suggest the best k

Following table shows the best k (number of partitions) for each node in the partition hierarchy. Clicking on the node name in the table goes to the corresponding section for the partitioning on that node.

The cola vignette explains the definition of the metrics used for determining the best number of partitions.

suggest_best_k(res_rh)
Node Best method Is leaf Best k 1-PAC Mean silhouette Concordance #samples
Node0 ATC:skmeans 7 0.95 0.89 0.95 321 *
Node01 SD:skmeans 3 1.00 0.96 0.98 79 **
Node011-leaf ATC:skmeans ✓ (c) 6 0.59 0.46 0.78 33
Node012 ATC:kmeans 8 0.92 0.77 0.88 27 *
Node0121-leaf not applied ✓ (b) 4
Node0122-leaf not applied ✓ (b) 10
Node0123-leaf not applied ✓ (b) 5
Node0124-leaf not applied ✓ (b) 8
Node013 ATC:kmeans 2 1.00 1.00 1.00 19 **
Node0131 ATC:kmeans 8 1.00 0.55 0.98 14 **
Node01311-leaf ATC:kmeans ✓ (c) 8 0.95 0.43 0.97 12 **
Node01312-leaf not applied ✓ (b) 2
Node0132-leaf not applied ✓ (b) 5
Node02 SD:skmeans 3 1.00 0.97 0.99 56 **
Node021-leaf ATC:skmeans ✓ (c) 7 0.97 0.91 0.96 31 **
Node022 SD:kmeans 4 0.84 0.85 0.96 17
Node0221-leaf ATC:kmeans ✓ (c) 8 0.92 0.44 0.88 12 *
Node0222-leaf not applied ✓ (b) 3
Node0223-leaf not applied ✓ (b) 2
Node023-leaf not applied ✓ (b) 8
Node03 ATC:kmeans 3 1.00 0.99 0.98 59 **
Node031 ATC:kmeans 3 1.00 0.96 0.99 33 **
Node0311 SD:kmeans 7 0.90 0.79 0.89 17 *
Node03111-leaf not applied ✓ (b) 9
Node03112-leaf not applied ✓ (b) 3
Node03113-leaf not applied ✓ (b) 5
Node0312-leaf not applied ✓ (b) 4
Node0313-leaf ATC:skmeans ✓ (c) 8 0.94 0.60 0.97 12 *
Node032 SD:kmeans 2 1.00 0.98 0.98 22 **
Node0321-leaf ATC:kmeans ✓ (c) 7 1.00 0.66 1.00 12 **
Node0322-leaf not applied ✓ (b) 10
Node033-leaf not applied ✓ (b) 4
Node04 SD:kmeans 6 0.90 0.84 0.88 44 *
Node041-leaf not applied ✓ (b) 10
Node042-leaf not applied ✓ (b) 11
Node043 ATC:skmeans 7 0.92 0.64 0.94 12 *
Node0431-leaf not applied ✓ (b) 4
Node0432-leaf not applied ✓ (b) 4
Node0433-leaf not applied ✓ (b) 4
Node044-leaf not applied ✓ (b) 11
Node05 ATC:skmeans 8 0.91 0.88 0.92 83 *
Node051 ATC:kmeans 3 1.00 1.00 1.00 32 **
Node0511-leaf ATC:kmeans ✓ (c) 2 1.00 1.00 1.00 15 **
Node0512-leaf not applied ✓ (b) 7
Node0513-leaf not applied ✓ (b) 10
Node052 ATC:skmeans 4 1.00 0.91 0.99 13 **
Node0521-leaf not applied ✓ (b) 3
Node0522-leaf not applied ✓ (b) 8
Node0523-leaf not applied ✓ (b) 2
Node053 ATC:kmeans 3 1.00 1.00 1.00 32 **
Node0531-leaf ATC:kmeans ✓ (c) 3 1.00 1.00 1.00 17 **
Node0532-leaf not applied ✓ (b) 11
Node0533-leaf not applied ✓ (b) 4
Node054-leaf not applied ✓ (b) 6

Stop reason: b) Subgroup had too few columns. c) There were too few signatures.

**: 1-PAC > 0.95, *: 1-PAC > 0.9

Partition hierarchy

The nodes of the hierarchy can be merged by setting the merge_node parameters. Here we control the hierarchy with the min_n_signatures parameter. The value of min_n_signatures is from node_info().

collect_classes(res_rh, merge_node = merge_node_param(min_n_signatures = 1141))

plot of chunk tab-collect-classes-from-hierarchical-partition-1

collect_classes(res_rh, merge_node = merge_node_param(min_n_signatures = 1212))

plot of chunk tab-collect-classes-from-hierarchical-partition-2

collect_classes(res_rh, merge_node = merge_node_param(min_n_signatures = 1801))

plot of chunk tab-collect-classes-from-hierarchical-partition-3

collect_classes(res_rh, merge_node = merge_node_param(min_n_signatures = 2274))

plot of chunk tab-collect-classes-from-hierarchical-partition-4

collect_classes(res_rh, merge_node = merge_node_param(min_n_signatures = 2544))

plot of chunk tab-collect-classes-from-hierarchical-partition-5

collect_classes(res_rh, merge_node = merge_node_param(min_n_signatures = 2840))

plot of chunk tab-collect-classes-from-hierarchical-partition-6

collect_classes(res_rh, merge_node = merge_node_param(min_n_signatures = 3199))

plot of chunk tab-collect-classes-from-hierarchical-partition-7

collect_classes(res_rh, merge_node = merge_node_param(min_n_signatures = 3659))

plot of chunk tab-collect-classes-from-hierarchical-partition-8

collect_classes(res_rh, merge_node = merge_node_param(min_n_signatures = 4193))

plot of chunk tab-collect-classes-from-hierarchical-partition-9

collect_classes(res_rh, merge_node = merge_node_param(min_n_signatures = 4789))

plot of chunk tab-collect-classes-from-hierarchical-partition-10

collect_classes(res_rh, merge_node = merge_node_param(min_n_signatures = 5590))

plot of chunk tab-collect-classes-from-hierarchical-partition-11

collect_classes(res_rh, merge_node = merge_node_param(min_n_signatures = 6551))

plot of chunk tab-collect-classes-from-hierarchical-partition-12

collect_classes(res_rh, merge_node = merge_node_param(min_n_signatures = 8085))

plot of chunk tab-collect-classes-from-hierarchical-partition-13

collect_classes(res_rh, merge_node = merge_node_param(min_n_signatures = 9931))

plot of chunk tab-collect-classes-from-hierarchical-partition-14

collect_classes(res_rh, merge_node = merge_node_param(min_n_signatures = 26826))

plot of chunk tab-collect-classes-from-hierarchical-partition-15

collect_classes(res_rh, merge_node = merge_node_param(min_n_signatures = 36795))

plot of chunk tab-collect-classes-from-hierarchical-partition-16

collect_classes(res_rh, merge_node = merge_node_param(min_n_signatures = 40190))

plot of chunk tab-collect-classes-from-hierarchical-partition-17

Following shows the table of the partitions (You need to click the show/hide code output link to see it).

show/hide code output

get_classes(res_rh, merge_node = merge_node_param(min_n_signatures = 1141))
#> TCGA.SX.A7SM.01 TCGA.IA.A83W.01 TCGA.B1.A656.01 TCGA.4A.A93X.01 TCGA.G7.A8LC.01 TCGA.SX.A7SS.01 
#>           "042"          "0512"          "0312"           "042"          "0533"           "011" 
#> TCGA.B9.A69E.01 TCGA.BQ.5878.01 TCGA.DW.5561.01 TCGA.PJ.A8JU.01 TCGA.EV.5901.01 TCGA.SX.A7SR.01 
#>          "0313"           "011"         "01312"          "0322"           "054"          "0511" 
#> TCGA.BQ.5894.01 TCGA.KV.A6GE.01 TCGA.BQ.5882.01 TCGA.SX.A7SQ.01 TCGA.F9.A7Q0.01 TCGA.IZ.A6M8.01 
#>           "041"           "011"          "0432"         "01311"          "0321"          "0531" 
#> TCGA.B1.A654.01 TCGA.B3.8121.01 TCGA.MH.A856.01 TCGA.G7.A4TM.01 TCGA.IZ.8196.01 TCGA.B9.A5W7.01 
#>          "0132"         "03112"          "0512"         "01311"          "0123"         "01311" 
#> TCGA.B9.5156.01 TCGA.A4.A7UZ.01 TCGA.Y8.A897.01 TCGA.SX.A7SP.01 TCGA.Y8.A8RZ.01 TCGA.A4.A5XZ.01 
#>          "0513"          "0321"          "0511"          "0522"          "0523"          "0532" 
#> TCGA.Y8.A898.01 TCGA.BQ.5893.01 TCGA.SX.A7SU.01 TCGA.IZ.8195.01 TCGA.GL.8500.01 TCGA.EV.5902.01 
#>          "0511"           "041"         "01311"           "044"          "0124"          "0123" 
#> TCGA.J7.A8I2.01 TCGA.A4.8516.01 TCGA.A4.8312.01 TCGA.BQ.5880.01 TCGA.Y8.A8RY.01 TCGA.SX.A7SN.01 
#>           "033"          "0122"           "023"          "0321"          "0511"          "0513" 
#> TCGA.MH.A854.01 TCGA.A4.8517.01 TCGA.GL.A9DD.01 TCGA.A4.8630.01 TCGA.4A.A93W.01 TCGA.SX.A7SO.01 
#>          "0121"          "0531"         "03111"           "011"          "0132"          "0521" 
#> TCGA.GL.A9DC.01 TCGA.A4.8515.01 TCGA.IZ.A6M9.01 TCGA.BQ.5880.11 TCGA.B1.A657.01 TCGA.G7.A8LD.01 
#>          "0121"           "011"           "011"           "021"          "0511"          "0433" 
#> TCGA.Y8.A8S1.01 TCGA.IA.A83S.01 TCGA.Y8.A8S0.01 TCGA.BQ.5884.11 TCGA.B1.A655.01 TCGA.BQ.5877.11 
#>          "0313"         "03111"           "011"          "0221"          "0322"           "021" 
#> TCGA.EV.5903.01 TCGA.J7.8537.01 TCGA.A4.A6HP.01 TCGA.BQ.5890.01 TCGA.Y8.A896.01 TCGA.BQ.5888.01 
#>          "0513"          "0432"          "0513"           "042"          "0321"          "0322" 
#> TCGA.BQ.5879.01 TCGA.GL.A9DE.01 TCGA.G7.A8LB.01 TCGA.IA.A83T.01 TCGA.IA.A83V.01 TCGA.BQ.5876.11 
#>           "041"           "042"           "011"          "0313"          "0321"           "021" 
#> TCGA.BQ.5885.11 TCGA.KV.A6GD.01 TCGA.SX.A7SL.01 TCGA.B9.A8YI.01 TCGA.B9.A8YH.01 TCGA.4A.A93Y.01 
#>           "021"         "03111"           "011"           "044"          "0122"          "0322" 
#> TCGA.BQ.5886.01 TCGA.A4.A5Y0.01 TCGA.A4.8098.01 TCGA.MH.A857.01 TCGA.BQ.5889.11 TCGA.DW.5560.01 
#>          "0531"          "0522"          "0533"           "023"           "021"           "054" 
#> TCGA.F9.A8NY.01 TCGA.BQ.5894.11 TCGA.BQ.5891.11 TCGA.G7.A8LE.01 TCGA.SX.A71W.01 TCGA.Y8.A894.01 
#>           "041"           "021"          "0221"         "01311"           "011"          "0121" 
#> TCGA.WN.A9G9.01 TCGA.A4.8310.01 TCGA.A4.8518.01 TCGA.BQ.5881.11 TCGA.BQ.5893.11 TCGA.A4.8311.01 
#>          "0313"          "0532"          "0321"           "021"           "021"           "011" 
#> TCGA.BQ.5891.01 TCGA.Y8.A895.01 TCGA.BQ.5876.01 TCGA.MH.A855.01 TCGA.P4.AAVO.01 TCGA.BQ.5886.11 
#>          "0431"           "011"          "0312"          "0322"           "044"           "021" 
#> TCGA.2Z.A9JS.01 TCGA.BQ.5888.11 TCGA.2Z.A9J8.01 TCGA.KV.A74V.01 TCGA.A4.A5Y1.01 TCGA.BQ.5875.01 
#>           "011"          "0221"          "0523"           "011"          "0431"           "042" 
#> TCGA.UZ.A9PZ.01 TCGA.Q2.A5QZ.01 TCGA.P4.A5E8.01 TCGA.B9.5155.01 TCGA.B9.A5W9.01 TCGA.5P.A9K4.01 
#>          "0122"           "044"           "041"           "011"           "044"           "011" 
#> TCGA.P4.A5E7.01 TCGA.PJ.A5Z9.01 TCGA.5P.A9K8.01 TCGA.5P.A9KF.01 TCGA.P4.AAVK.01 TCGA.2Z.A9JM.01 
#>           "054"           "011"          "0223"          "0122"           "042"          "0513" 
#> TCGA.A4.A48D.01 TCGA.BQ.5889.01 TCGA.2Z.A9JD.01 TCGA.5P.A9K2.01 TCGA.2Z.A9JO.01 TCGA.5P.A9K9.01 
#>          "0313"         "03113"          "0531"           "011"          "0322"          "0433" 
#> TCGA.UZ.A9PV.01 TCGA.SX.A71V.01 TCGA.BQ.5892.11 TCGA.UZ.A9Q0.01 TCGA.UZ.A9PX.01 TCGA.UZ.A9PR.01 
#>           "011"          "0532"           "021"           "011"          "0122"          "0122" 
#> TCGA.IA.A40X.01 TCGA.5P.A9JW.01 TCGA.IA.A40Y.01 TCGA.BQ.5883.11 TCGA.BQ.5878.11 TCGA.P4.A5EA.01 
#>          "0522"          "0313"          "0431"          "0221"          "0221"           "041" 
#> TCGA.5P.A9KE.01 TCGA.5P.A9K3.01 TCGA.B1.A47N.01 TCGA.5P.A9KA.01 TCGA.BQ.5879.11 TCGA.P4.A5ED.01 
#>          "0531"           "042"         "01311"          "0512"          "0221"           "023" 
#> TCGA.A4.A772.01 TCGA.B1.A47O.01 TCGA.IA.A40U.01 TCGA.2Z.A9JE.01 TCGA.B9.A44B.01 TCGA.AT.A5NU.01 
#>          "0511"         "03112"          "0532"          "0123"           "042"           "011" 
#> TCGA.BQ.5882.11 TCGA.BQ.5877.01 TCGA.DW.7963.01 TCGA.2Z.A9JL.01 TCGA.2Z.A9JQ.01 TCGA.2Z.A9JK.01 
#>           "021"          "0431"          "0531"          "0512"          "0123"          "0321" 
#> TCGA.UZ.A9PU.01 TCGA.P4.A5EB.01 TCGA.BQ.5892.01 TCGA.B1.A47M.11 TCGA.2Z.A9J9.01 TCGA.UZ.A9PS.05 
#>          "0122"          "0124"          "0321"           "023"           "023"          "0312" 
#> TCGA.P4.AAVM.01 TCGA.PJ.A5Z8.01 TCGA.5P.A9JZ.01 TCGA.2Z.A9JG.01 TCGA.BQ.5884.01 TCGA.2Z.A9JI.01 
#>          "0531"          "0313"           "054"           "044"          "0322"          "0432" 
#> TCGA.BQ.5890.11 TCGA.BQ.5881.01 TCGA.UZ.A9PP.01 TCGA.5P.A9JU.01 TCGA.2Z.A9JN.01 TCGA.UZ.A9PS.01 
#>           "021"          "0531"         "01311"           "042"          "0222"          "0522" 
#> TCGA.BQ.5875.11 TCGA.5P.A9JY.01 TCGA.B9.A5W8.01 TCGA.F9.A4JJ.01 TCGA.BQ.5883.01 TCGA.5P.A9K0.01 
#>          "0221"           "011"         "03111"           "041"          "0222"          "0531" 
#> TCGA.P4.AAVL.01 TCGA.B1.5398.01 TCGA.5P.A9K6.01 TCGA.UZ.A9PQ.01 TCGA.P4.A5E6.01 TCGA.BQ.5885.01 
#>          "0124"          "0313"          "0531"           "044"          "0532"          "0532" 
#> TCGA.UZ.A9Q1.01 TCGA.2Z.A9JP.01 TCGA.5P.A9KC.01 TCGA.5P.A9KH.01 TCGA.2Z.A9JR.01 TCGA.GL.A59T.01 
#>           "044"          "0531"          "0322"           "023"          "0511"          "0511" 
#> TCGA.5P.A9JV.01 TCGA.WN.AB4C.01 TCGA.SX.A71R.01 TCGA.A4.A5DU.01 TCGA.B1.A47M.01 TCGA.2Z.A9JJ.01 
#>           "023"          "0322"          "0122"          "0132"          "0511"           "054" 
#> TCGA.2Z.A9JT.01 TCGA.GL.A4EM.01 TCGA.HE.7129.01 TCGA.HE.7128.01 TCGA.HE.A5NL.01 TCGA.G7.7502.01 
#>          "0531"          "0313"           "011"         "03111"          "0513"          "0532" 
#> TCGA.BQ.7059.01 TCGA.DZ.6134.11 TCGA.HE.A5NJ.01 TCGA.BQ.7053.11 TCGA.GL.6846.11 TCGA.GL.6846.01 
#>         "03111"           "021"           "011"          "0221"           "021"           "044" 
#> TCGA.DW.7839.01 TCGA.DW.7841.01 TCGA.BQ.7049.01 TCGA.G7.6793.01 TCGA.BQ.7051.01 TCGA.BQ.7045.01 
#>          "0132"          "0513"         "03113"           "041"           "011"          "0531" 
#> TCGA.HE.A5NF.01 TCGA.A4.7996.01 TCGA.BQ.7046.01 TCGA.DZ.6132.11 TCGA.G7.7501.01 TCGA.O9.A75Z.01 
#>         "03111"          "0532"          "0531"           "021"          "0521"         "01311" 
#> TCGA.DW.7834.01 TCGA.DZ.6133.01 TCGA.A4.A4ZT.01 TCGA.BQ.7060.01 TCGA.G7.6792.01 TCGA.HE.7130.01 
#>          "0511"          "0122"           "011"          "0531"          "0512"           "033" 
#> TCGA.GL.7773.01 TCGA.DZ.6133.11 TCGA.B1.7332.01 TCGA.BQ.7053.01 TCGA.DZ.6131.01 TCGA.BQ.7062.01 
#>           "054"          "0221"           "011"          "0522"           "033"          "0532" 
#> TCGA.BQ.7046.11 TCGA.A4.7288.01 TCGA.DZ.6131.11 TCGA.BQ.7062.11 TCGA.BQ.7061.01 TCGA.A4.7286.01 
#>           "021"          "0522"           "021"           "021"           "042"          "0532" 
#> TCGA.G7.6797.01 TCGA.BQ.7058.01 TCGA.G7.6795.01 TCGA.HE.A5NH.01 TCGA.MH.A55W.01 TCGA.G7.6790.01 
#>           "011"           "042"          "0511"          "0124"          "0532"          "0531" 
#> TCGA.MH.A560.01 TCGA.A4.7997.01 TCGA.MH.A561.01 TCGA.BQ.7056.11 TCGA.B9.7268.01 TCGA.BQ.7055.11 
#>          "0312"          "0512"          "0511"          "0221"           "011"           "021" 
#> TCGA.HE.A5NI.01 TCGA.GL.7966.01 TCGA.BQ.7059.11 TCGA.A4.A57E.01 TCGA.A4.7288.11 TCGA.AL.A5DJ.01 
#>           "011"           "041"           "021"          "0521"          "0221"          "0433" 
#> TCGA.G7.6796.01 TCGA.DW.7837.01 TCGA.BQ.7051.11 TCGA.BQ.7048.01 TCGA.F9.A7VF.01 TCGA.BQ.7049.11 
#>          "0321"          "0513"           "021"           "044"           "011"           "021" 
#> TCGA.DZ.6134.01 TCGA.BQ.5887.01 TCGA.DZ.6135.01 TCGA.MH.A55Z.01 TCGA.A4.7915.01 TCGA.BQ.7048.11 
#>          "0313"          "0432"          "0124"          "0122"           "041"           "021" 
#> TCGA.HE.A5NK.01 TCGA.G7.6789.01 TCGA.AL.7173.01 TCGA.SX.A71S.01 TCGA.BQ.7061.11 TCGA.DW.7840.01 
#>         "03111"          "0433"         "03112"          "0121"          "0223"          "0124" 
#> TCGA.GL.A59R.01 TCGA.BQ.7050.11 TCGA.BQ.7058.11 TCGA.DW.7838.01 TCGA.SX.A71U.01 TCGA.DZ.6135.11 
#>          "0123"          "0221"           "021"         "03113"          "0511"           "021" 
#> TCGA.BQ.7044.11 TCGA.V9.A7HT.01 TCGA.DW.7842.01 TCGA.BQ.7050.01 TCGA.BQ.7055.01 TCGA.J7.6720.01 
#>           "021"         "03111"         "01311"          "0522"           "023"          "0511" 
#> TCGA.BQ.7060.11 TCGA.BQ.7044.01 TCGA.DZ.6132.01 TCGA.DW.7836.01 TCGA.A4.7828.01 TCGA.BQ.5887.11 
#>           "021"           "044"         "03113"         "01311"          "0222"           "021" 
#> TCGA.B3.A6W5.01 TCGA.MH.A562.01 TCGA.A4.7734.01 TCGA.BQ.7045.11 TCGA.A4.7584.01 TCGA.BQ.7056.01 
#>           "011"          "0513"          "0132"           "021"          "0531"          "0522" 
#> TCGA.A4.7287.01 TCGA.UZ.A9PJ.01 TCGA.2Z.A9J1.01 TCGA.UN.AAZ9.01 TCGA.UZ.A9PO.01 TCGA.UZ.A9PL.01 
#>           "033"         "01311"          "0512"          "0533"          "0313"          "0124" 
#> TCGA.A4.7732.11 TCGA.A4.7732.01 TCGA.2Z.A9J2.01 TCGA.2Z.A9J3.01 TCGA.2Z.A9J6.01 TCGA.F9.A97G.01 
#>           "021"         "01311"          "0322"          "0124"          "0513"          "0313" 
#> TCGA.UZ.A9PM.01 TCGA.A4.7585.11 TCGA.2K.A9WE.01 TCGA.A4.7583.01 TCGA.UZ.A9PK.01 TCGA.UZ.A9PN.01 
#>          "0321"           "021"         "03113"          "0533"           "011"          "0321" 
#> TCGA.2Z.A9J7.01 TCGA.2Z.A9J5.01 TCGA.A4.7585.01 
#>         "01312"          "0511"          "0321"

show/hide code output

get_classes(res_rh, merge_node = merge_node_param(min_n_signatures = 1212))
#> TCGA.SX.A7SM.01 TCGA.IA.A83W.01 TCGA.B1.A656.01 TCGA.4A.A93X.01 TCGA.G7.A8LC.01 TCGA.SX.A7SS.01 
#>           "042"          "0512"          "0312"           "042"          "0533"           "011" 
#> TCGA.B9.A69E.01 TCGA.BQ.5878.01 TCGA.DW.5561.01 TCGA.PJ.A8JU.01 TCGA.EV.5901.01 TCGA.SX.A7SR.01 
#>          "0313"           "011"         "01312"          "0322"           "054"          "0511" 
#> TCGA.BQ.5894.01 TCGA.KV.A6GE.01 TCGA.BQ.5882.01 TCGA.SX.A7SQ.01 TCGA.F9.A7Q0.01 TCGA.IZ.A6M8.01 
#>           "041"           "011"           "043"         "01311"          "0321"          "0531" 
#> TCGA.B1.A654.01 TCGA.B3.8121.01 TCGA.MH.A856.01 TCGA.G7.A4TM.01 TCGA.IZ.8196.01 TCGA.B9.A5W7.01 
#>          "0132"         "03112"          "0512"         "01311"          "0123"         "01311" 
#> TCGA.B9.5156.01 TCGA.A4.A7UZ.01 TCGA.Y8.A897.01 TCGA.SX.A7SP.01 TCGA.Y8.A8RZ.01 TCGA.A4.A5XZ.01 
#>          "0513"          "0321"          "0511"          "0522"          "0523"          "0532" 
#> TCGA.Y8.A898.01 TCGA.BQ.5893.01 TCGA.SX.A7SU.01 TCGA.IZ.8195.01 TCGA.GL.8500.01 TCGA.EV.5902.01 
#>          "0511"           "041"         "01311"           "044"          "0124"          "0123" 
#> TCGA.J7.A8I2.01 TCGA.A4.8516.01 TCGA.A4.8312.01 TCGA.BQ.5880.01 TCGA.Y8.A8RY.01 TCGA.SX.A7SN.01 
#>           "033"          "0122"           "023"          "0321"          "0511"          "0513" 
#> TCGA.MH.A854.01 TCGA.A4.8517.01 TCGA.GL.A9DD.01 TCGA.A4.8630.01 TCGA.4A.A93W.01 TCGA.SX.A7SO.01 
#>          "0121"          "0531"         "03111"           "011"          "0132"          "0521" 
#> TCGA.GL.A9DC.01 TCGA.A4.8515.01 TCGA.IZ.A6M9.01 TCGA.BQ.5880.11 TCGA.B1.A657.01 TCGA.G7.A8LD.01 
#>          "0121"           "011"           "011"           "021"          "0511"           "043" 
#> TCGA.Y8.A8S1.01 TCGA.IA.A83S.01 TCGA.Y8.A8S0.01 TCGA.BQ.5884.11 TCGA.B1.A655.01 TCGA.BQ.5877.11 
#>          "0313"         "03111"           "011"          "0221"          "0322"           "021" 
#> TCGA.EV.5903.01 TCGA.J7.8537.01 TCGA.A4.A6HP.01 TCGA.BQ.5890.01 TCGA.Y8.A896.01 TCGA.BQ.5888.01 
#>          "0513"           "043"          "0513"           "042"          "0321"          "0322" 
#> TCGA.BQ.5879.01 TCGA.GL.A9DE.01 TCGA.G7.A8LB.01 TCGA.IA.A83T.01 TCGA.IA.A83V.01 TCGA.BQ.5876.11 
#>           "041"           "042"           "011"          "0313"          "0321"           "021" 
#> TCGA.BQ.5885.11 TCGA.KV.A6GD.01 TCGA.SX.A7SL.01 TCGA.B9.A8YI.01 TCGA.B9.A8YH.01 TCGA.4A.A93Y.01 
#>           "021"         "03111"           "011"           "044"          "0122"          "0322" 
#> TCGA.BQ.5886.01 TCGA.A4.A5Y0.01 TCGA.A4.8098.01 TCGA.MH.A857.01 TCGA.BQ.5889.11 TCGA.DW.5560.01 
#>          "0531"          "0522"          "0533"           "023"           "021"           "054" 
#> TCGA.F9.A8NY.01 TCGA.BQ.5894.11 TCGA.BQ.5891.11 TCGA.G7.A8LE.01 TCGA.SX.A71W.01 TCGA.Y8.A894.01 
#>           "041"           "021"          "0221"         "01311"           "011"          "0121" 
#> TCGA.WN.A9G9.01 TCGA.A4.8310.01 TCGA.A4.8518.01 TCGA.BQ.5881.11 TCGA.BQ.5893.11 TCGA.A4.8311.01 
#>          "0313"          "0532"          "0321"           "021"           "021"           "011" 
#> TCGA.BQ.5891.01 TCGA.Y8.A895.01 TCGA.BQ.5876.01 TCGA.MH.A855.01 TCGA.P4.AAVO.01 TCGA.BQ.5886.11 
#>           "043"           "011"          "0312"          "0322"           "044"           "021" 
#> TCGA.2Z.A9JS.01 TCGA.BQ.5888.11 TCGA.2Z.A9J8.01 TCGA.KV.A74V.01 TCGA.A4.A5Y1.01 TCGA.BQ.5875.01 
#>           "011"          "0221"          "0523"           "011"           "043"           "042" 
#> TCGA.UZ.A9PZ.01 TCGA.Q2.A5QZ.01 TCGA.P4.A5E8.01 TCGA.B9.5155.01 TCGA.B9.A5W9.01 TCGA.5P.A9K4.01 
#>          "0122"           "044"           "041"           "011"           "044"           "011" 
#> TCGA.P4.A5E7.01 TCGA.PJ.A5Z9.01 TCGA.5P.A9K8.01 TCGA.5P.A9KF.01 TCGA.P4.AAVK.01 TCGA.2Z.A9JM.01 
#>           "054"           "011"          "0223"          "0122"           "042"          "0513" 
#> TCGA.A4.A48D.01 TCGA.BQ.5889.01 TCGA.2Z.A9JD.01 TCGA.5P.A9K2.01 TCGA.2Z.A9JO.01 TCGA.5P.A9K9.01 
#>          "0313"         "03113"          "0531"           "011"          "0322"           "043" 
#> TCGA.UZ.A9PV.01 TCGA.SX.A71V.01 TCGA.BQ.5892.11 TCGA.UZ.A9Q0.01 TCGA.UZ.A9PX.01 TCGA.UZ.A9PR.01 
#>           "011"          "0532"           "021"           "011"          "0122"          "0122" 
#> TCGA.IA.A40X.01 TCGA.5P.A9JW.01 TCGA.IA.A40Y.01 TCGA.BQ.5883.11 TCGA.BQ.5878.11 TCGA.P4.A5EA.01 
#>          "0522"          "0313"           "043"          "0221"          "0221"           "041" 
#> TCGA.5P.A9KE.01 TCGA.5P.A9K3.01 TCGA.B1.A47N.01 TCGA.5P.A9KA.01 TCGA.BQ.5879.11 TCGA.P4.A5ED.01 
#>          "0531"           "042"         "01311"          "0512"          "0221"           "023" 
#> TCGA.A4.A772.01 TCGA.B1.A47O.01 TCGA.IA.A40U.01 TCGA.2Z.A9JE.01 TCGA.B9.A44B.01 TCGA.AT.A5NU.01 
#>          "0511"         "03112"          "0532"          "0123"           "042"           "011" 
#> TCGA.BQ.5882.11 TCGA.BQ.5877.01 TCGA.DW.7963.01 TCGA.2Z.A9JL.01 TCGA.2Z.A9JQ.01 TCGA.2Z.A9JK.01 
#>           "021"           "043"          "0531"          "0512"          "0123"          "0321" 
#> TCGA.UZ.A9PU.01 TCGA.P4.A5EB.01 TCGA.BQ.5892.01 TCGA.B1.A47M.11 TCGA.2Z.A9J9.01 TCGA.UZ.A9PS.05 
#>          "0122"          "0124"          "0321"           "023"           "023"          "0312" 
#> TCGA.P4.AAVM.01 TCGA.PJ.A5Z8.01 TCGA.5P.A9JZ.01 TCGA.2Z.A9JG.01 TCGA.BQ.5884.01 TCGA.2Z.A9JI.01 
#>          "0531"          "0313"           "054"           "044"          "0322"           "043" 
#> TCGA.BQ.5890.11 TCGA.BQ.5881.01 TCGA.UZ.A9PP.01 TCGA.5P.A9JU.01 TCGA.2Z.A9JN.01 TCGA.UZ.A9PS.01 
#>           "021"          "0531"         "01311"           "042"          "0222"          "0522" 
#> TCGA.BQ.5875.11 TCGA.5P.A9JY.01 TCGA.B9.A5W8.01 TCGA.F9.A4JJ.01 TCGA.BQ.5883.01 TCGA.5P.A9K0.01 
#>          "0221"           "011"         "03111"           "041"          "0222"          "0531" 
#> TCGA.P4.AAVL.01 TCGA.B1.5398.01 TCGA.5P.A9K6.01 TCGA.UZ.A9PQ.01 TCGA.P4.A5E6.01 TCGA.BQ.5885.01 
#>          "0124"          "0313"          "0531"           "044"          "0532"          "0532" 
#> TCGA.UZ.A9Q1.01 TCGA.2Z.A9JP.01 TCGA.5P.A9KC.01 TCGA.5P.A9KH.01 TCGA.2Z.A9JR.01 TCGA.GL.A59T.01 
#>           "044"          "0531"          "0322"           "023"          "0511"          "0511" 
#> TCGA.5P.A9JV.01 TCGA.WN.AB4C.01 TCGA.SX.A71R.01 TCGA.A4.A5DU.01 TCGA.B1.A47M.01 TCGA.2Z.A9JJ.01 
#>           "023"          "0322"          "0122"          "0132"          "0511"           "054" 
#> TCGA.2Z.A9JT.01 TCGA.GL.A4EM.01 TCGA.HE.7129.01 TCGA.HE.7128.01 TCGA.HE.A5NL.01 TCGA.G7.7502.01 
#>          "0531"          "0313"           "011"         "03111"          "0513"          "0532" 
#> TCGA.BQ.7059.01 TCGA.DZ.6134.11 TCGA.HE.A5NJ.01 TCGA.BQ.7053.11 TCGA.GL.6846.11 TCGA.GL.6846.01 
#>         "03111"           "021"           "011"          "0221"           "021"           "044" 
#> TCGA.DW.7839.01 TCGA.DW.7841.01 TCGA.BQ.7049.01 TCGA.G7.6793.01 TCGA.BQ.7051.01 TCGA.BQ.7045.01 
#>          "0132"          "0513"         "03113"           "041"           "011"          "0531" 
#> TCGA.HE.A5NF.01 TCGA.A4.7996.01 TCGA.BQ.7046.01 TCGA.DZ.6132.11 TCGA.G7.7501.01 TCGA.O9.A75Z.01 
#>         "03111"          "0532"          "0531"           "021"          "0521"         "01311" 
#> TCGA.DW.7834.01 TCGA.DZ.6133.01 TCGA.A4.A4ZT.01 TCGA.BQ.7060.01 TCGA.G7.6792.01 TCGA.HE.7130.01 
#>          "0511"          "0122"           "011"          "0531"          "0512"           "033" 
#> TCGA.GL.7773.01 TCGA.DZ.6133.11 TCGA.B1.7332.01 TCGA.BQ.7053.01 TCGA.DZ.6131.01 TCGA.BQ.7062.01 
#>           "054"          "0221"           "011"          "0522"           "033"          "0532" 
#> TCGA.BQ.7046.11 TCGA.A4.7288.01 TCGA.DZ.6131.11 TCGA.BQ.7062.11 TCGA.BQ.7061.01 TCGA.A4.7286.01 
#>           "021"          "0522"           "021"           "021"           "042"          "0532" 
#> TCGA.G7.6797.01 TCGA.BQ.7058.01 TCGA.G7.6795.01 TCGA.HE.A5NH.01 TCGA.MH.A55W.01 TCGA.G7.6790.01 
#>           "011"           "042"          "0511"          "0124"          "0532"          "0531" 
#> TCGA.MH.A560.01 TCGA.A4.7997.01 TCGA.MH.A561.01 TCGA.BQ.7056.11 TCGA.B9.7268.01 TCGA.BQ.7055.11 
#>          "0312"          "0512"          "0511"          "0221"           "011"           "021" 
#> TCGA.HE.A5NI.01 TCGA.GL.7966.01 TCGA.BQ.7059.11 TCGA.A4.A57E.01 TCGA.A4.7288.11 TCGA.AL.A5DJ.01 
#>           "011"           "041"           "021"          "0521"          "0221"           "043" 
#> TCGA.G7.6796.01 TCGA.DW.7837.01 TCGA.BQ.7051.11 TCGA.BQ.7048.01 TCGA.F9.A7VF.01 TCGA.BQ.7049.11 
#>          "0321"          "0513"           "021"           "044"           "011"           "021" 
#> TCGA.DZ.6134.01 TCGA.BQ.5887.01 TCGA.DZ.6135.01 TCGA.MH.A55Z.01 TCGA.A4.7915.01 TCGA.BQ.7048.11 
#>          "0313"           "043"          "0124"          "0122"           "041"           "021" 
#> TCGA.HE.A5NK.01 TCGA.G7.6789.01 TCGA.AL.7173.01 TCGA.SX.A71S.01 TCGA.BQ.7061.11 TCGA.DW.7840.01 
#>         "03111"           "043"         "03112"          "0121"          "0223"          "0124" 
#> TCGA.GL.A59R.01 TCGA.BQ.7050.11 TCGA.BQ.7058.11 TCGA.DW.7838.01 TCGA.SX.A71U.01 TCGA.DZ.6135.11 
#>          "0123"          "0221"           "021"         "03113"          "0511"           "021" 
#> TCGA.BQ.7044.11 TCGA.V9.A7HT.01 TCGA.DW.7842.01 TCGA.BQ.7050.01 TCGA.BQ.7055.01 TCGA.J7.6720.01 
#>           "021"         "03111"         "01311"          "0522"           "023"          "0511" 
#> TCGA.BQ.7060.11 TCGA.BQ.7044.01 TCGA.DZ.6132.01 TCGA.DW.7836.01 TCGA.A4.7828.01 TCGA.BQ.5887.11 
#>           "021"           "044"         "03113"         "01311"          "0222"           "021" 
#> TCGA.B3.A6W5.01 TCGA.MH.A562.01 TCGA.A4.7734.01 TCGA.BQ.7045.11 TCGA.A4.7584.01 TCGA.BQ.7056.01 
#>           "011"          "0513"          "0132"           "021"          "0531"          "0522" 
#> TCGA.A4.7287.01 TCGA.UZ.A9PJ.01 TCGA.2Z.A9J1.01 TCGA.UN.AAZ9.01 TCGA.UZ.A9PO.01 TCGA.UZ.A9PL.01 
#>           "033"         "01311"          "0512"          "0533"          "0313"          "0124" 
#> TCGA.A4.7732.11 TCGA.A4.7732.01 TCGA.2Z.A9J2.01 TCGA.2Z.A9J3.01 TCGA.2Z.A9J6.01 TCGA.F9.A97G.01 
#>           "021"         "01311"          "0322"          "0124"          "0513"          "0313" 
#> TCGA.UZ.A9PM.01 TCGA.A4.7585.11 TCGA.2K.A9WE.01 TCGA.A4.7583.01 TCGA.UZ.A9PK.01 TCGA.UZ.A9PN.01 
#>          "0321"           "021"         "03113"          "0533"           "011"          "0321" 
#> TCGA.2Z.A9J7.01 TCGA.2Z.A9J5.01 TCGA.A4.7585.01 
#>         "01312"          "0511"          "0321"

show/hide code output

get_classes(res_rh, merge_node = merge_node_param(min_n_signatures = 1801))
#> TCGA.SX.A7SM.01 TCGA.IA.A83W.01 TCGA.B1.A656.01 TCGA.4A.A93X.01 TCGA.G7.A8LC.01 TCGA.SX.A7SS.01 
#>           "042"          "0512"          "0312"           "042"          "0533"           "011" 
#> TCGA.B9.A69E.01 TCGA.BQ.5878.01 TCGA.DW.5561.01 TCGA.PJ.A8JU.01 TCGA.EV.5901.01 TCGA.SX.A7SR.01 
#>          "0313"           "011"          "0131"          "0322"           "054"          "0511" 
#> TCGA.BQ.5894.01 TCGA.KV.A6GE.01 TCGA.BQ.5882.01 TCGA.SX.A7SQ.01 TCGA.F9.A7Q0.01 TCGA.IZ.A6M8.01 
#>           "041"           "011"           "043"          "0131"          "0321"          "0531" 
#> TCGA.B1.A654.01 TCGA.B3.8121.01 TCGA.MH.A856.01 TCGA.G7.A4TM.01 TCGA.IZ.8196.01 TCGA.B9.A5W7.01 
#>          "0132"         "03112"          "0512"          "0131"          "0123"          "0131" 
#> TCGA.B9.5156.01 TCGA.A4.A7UZ.01 TCGA.Y8.A897.01 TCGA.SX.A7SP.01 TCGA.Y8.A8RZ.01 TCGA.A4.A5XZ.01 
#>          "0513"          "0321"          "0511"          "0522"          "0523"          "0532" 
#> TCGA.Y8.A898.01 TCGA.BQ.5893.01 TCGA.SX.A7SU.01 TCGA.IZ.8195.01 TCGA.GL.8500.01 TCGA.EV.5902.01 
#>          "0511"           "041"          "0131"           "044"          "0124"          "0123" 
#> TCGA.J7.A8I2.01 TCGA.A4.8516.01 TCGA.A4.8312.01 TCGA.BQ.5880.01 TCGA.Y8.A8RY.01 TCGA.SX.A7SN.01 
#>           "033"          "0122"           "023"          "0321"          "0511"          "0513" 
#> TCGA.MH.A854.01 TCGA.A4.8517.01 TCGA.GL.A9DD.01 TCGA.A4.8630.01 TCGA.4A.A93W.01 TCGA.SX.A7SO.01 
#>          "0121"          "0531"         "03111"           "011"          "0132"          "0521" 
#> TCGA.GL.A9DC.01 TCGA.A4.8515.01 TCGA.IZ.A6M9.01 TCGA.BQ.5880.11 TCGA.B1.A657.01 TCGA.G7.A8LD.01 
#>          "0121"           "011"           "011"           "021"          "0511"           "043" 
#> TCGA.Y8.A8S1.01 TCGA.IA.A83S.01 TCGA.Y8.A8S0.01 TCGA.BQ.5884.11 TCGA.B1.A655.01 TCGA.BQ.5877.11 
#>          "0313"         "03111"           "011"          "0221"          "0322"           "021" 
#> TCGA.EV.5903.01 TCGA.J7.8537.01 TCGA.A4.A6HP.01 TCGA.BQ.5890.01 TCGA.Y8.A896.01 TCGA.BQ.5888.01 
#>          "0513"           "043"          "0513"           "042"          "0321"          "0322" 
#> TCGA.BQ.5879.01 TCGA.GL.A9DE.01 TCGA.G7.A8LB.01 TCGA.IA.A83T.01 TCGA.IA.A83V.01 TCGA.BQ.5876.11 
#>           "041"           "042"           "011"          "0313"          "0321"           "021" 
#> TCGA.BQ.5885.11 TCGA.KV.A6GD.01 TCGA.SX.A7SL.01 TCGA.B9.A8YI.01 TCGA.B9.A8YH.01 TCGA.4A.A93Y.01 
#>           "021"         "03111"           "011"           "044"          "0122"          "0322" 
#> TCGA.BQ.5886.01 TCGA.A4.A5Y0.01 TCGA.A4.8098.01 TCGA.MH.A857.01 TCGA.BQ.5889.11 TCGA.DW.5560.01 
#>          "0531"          "0522"          "0533"           "023"           "021"           "054" 
#> TCGA.F9.A8NY.01 TCGA.BQ.5894.11 TCGA.BQ.5891.11 TCGA.G7.A8LE.01 TCGA.SX.A71W.01 TCGA.Y8.A894.01 
#>           "041"           "021"          "0221"          "0131"           "011"          "0121" 
#> TCGA.WN.A9G9.01 TCGA.A4.8310.01 TCGA.A4.8518.01 TCGA.BQ.5881.11 TCGA.BQ.5893.11 TCGA.A4.8311.01 
#>          "0313"          "0532"          "0321"           "021"           "021"           "011" 
#> TCGA.BQ.5891.01 TCGA.Y8.A895.01 TCGA.BQ.5876.01 TCGA.MH.A855.01 TCGA.P4.AAVO.01 TCGA.BQ.5886.11 
#>           "043"           "011"          "0312"          "0322"           "044"           "021" 
#> TCGA.2Z.A9JS.01 TCGA.BQ.5888.11 TCGA.2Z.A9J8.01 TCGA.KV.A74V.01 TCGA.A4.A5Y1.01 TCGA.BQ.5875.01 
#>           "011"          "0221"          "0523"           "011"           "043"           "042" 
#> TCGA.UZ.A9PZ.01 TCGA.Q2.A5QZ.01 TCGA.P4.A5E8.01 TCGA.B9.5155.01 TCGA.B9.A5W9.01 TCGA.5P.A9K4.01 
#>          "0122"           "044"           "041"           "011"           "044"           "011" 
#> TCGA.P4.A5E7.01 TCGA.PJ.A5Z9.01 TCGA.5P.A9K8.01 TCGA.5P.A9KF.01 TCGA.P4.AAVK.01 TCGA.2Z.A9JM.01 
#>           "054"           "011"          "0223"          "0122"           "042"          "0513" 
#> TCGA.A4.A48D.01 TCGA.BQ.5889.01 TCGA.2Z.A9JD.01 TCGA.5P.A9K2.01 TCGA.2Z.A9JO.01 TCGA.5P.A9K9.01 
#>          "0313"         "03113"          "0531"           "011"          "0322"           "043" 
#> TCGA.UZ.A9PV.01 TCGA.SX.A71V.01 TCGA.BQ.5892.11 TCGA.UZ.A9Q0.01 TCGA.UZ.A9PX.01 TCGA.UZ.A9PR.01 
#>           "011"          "0532"           "021"           "011"          "0122"          "0122" 
#> TCGA.IA.A40X.01 TCGA.5P.A9JW.01 TCGA.IA.A40Y.01 TCGA.BQ.5883.11 TCGA.BQ.5878.11 TCGA.P4.A5EA.01 
#>          "0522"          "0313"           "043"          "0221"          "0221"           "041" 
#> TCGA.5P.A9KE.01 TCGA.5P.A9K3.01 TCGA.B1.A47N.01 TCGA.5P.A9KA.01 TCGA.BQ.5879.11 TCGA.P4.A5ED.01 
#>          "0531"           "042"          "0131"          "0512"          "0221"           "023" 
#> TCGA.A4.A772.01 TCGA.B1.A47O.01 TCGA.IA.A40U.01 TCGA.2Z.A9JE.01 TCGA.B9.A44B.01 TCGA.AT.A5NU.01 
#>          "0511"         "03112"          "0532"          "0123"           "042"           "011" 
#> TCGA.BQ.5882.11 TCGA.BQ.5877.01 TCGA.DW.7963.01 TCGA.2Z.A9JL.01 TCGA.2Z.A9JQ.01 TCGA.2Z.A9JK.01 
#>           "021"           "043"          "0531"          "0512"          "0123"          "0321" 
#> TCGA.UZ.A9PU.01 TCGA.P4.A5EB.01 TCGA.BQ.5892.01 TCGA.B1.A47M.11 TCGA.2Z.A9J9.01 TCGA.UZ.A9PS.05 
#>          "0122"          "0124"          "0321"           "023"           "023"          "0312" 
#> TCGA.P4.AAVM.01 TCGA.PJ.A5Z8.01 TCGA.5P.A9JZ.01 TCGA.2Z.A9JG.01 TCGA.BQ.5884.01 TCGA.2Z.A9JI.01 
#>          "0531"          "0313"           "054"           "044"          "0322"           "043" 
#> TCGA.BQ.5890.11 TCGA.BQ.5881.01 TCGA.UZ.A9PP.01 TCGA.5P.A9JU.01 TCGA.2Z.A9JN.01 TCGA.UZ.A9PS.01 
#>           "021"          "0531"          "0131"           "042"          "0222"          "0522" 
#> TCGA.BQ.5875.11 TCGA.5P.A9JY.01 TCGA.B9.A5W8.01 TCGA.F9.A4JJ.01 TCGA.BQ.5883.01 TCGA.5P.A9K0.01 
#>          "0221"           "011"         "03111"           "041"          "0222"          "0531" 
#> TCGA.P4.AAVL.01 TCGA.B1.5398.01 TCGA.5P.A9K6.01 TCGA.UZ.A9PQ.01 TCGA.P4.A5E6.01 TCGA.BQ.5885.01 
#>          "0124"          "0313"          "0531"           "044"          "0532"          "0532" 
#> TCGA.UZ.A9Q1.01 TCGA.2Z.A9JP.01 TCGA.5P.A9KC.01 TCGA.5P.A9KH.01 TCGA.2Z.A9JR.01 TCGA.GL.A59T.01 
#>           "044"          "0531"          "0322"           "023"          "0511"          "0511" 
#> TCGA.5P.A9JV.01 TCGA.WN.AB4C.01 TCGA.SX.A71R.01 TCGA.A4.A5DU.01 TCGA.B1.A47M.01 TCGA.2Z.A9JJ.01 
#>           "023"          "0322"          "0122"          "0132"          "0511"           "054" 
#> TCGA.2Z.A9JT.01 TCGA.GL.A4EM.01 TCGA.HE.7129.01 TCGA.HE.7128.01 TCGA.HE.A5NL.01 TCGA.G7.7502.01 
#>          "0531"          "0313"           "011"         "03111"          "0513"          "0532" 
#> TCGA.BQ.7059.01 TCGA.DZ.6134.11 TCGA.HE.A5NJ.01 TCGA.BQ.7053.11 TCGA.GL.6846.11 TCGA.GL.6846.01 
#>         "03111"           "021"           "011"          "0221"           "021"           "044" 
#> TCGA.DW.7839.01 TCGA.DW.7841.01 TCGA.BQ.7049.01 TCGA.G7.6793.01 TCGA.BQ.7051.01 TCGA.BQ.7045.01 
#>          "0132"          "0513"         "03113"           "041"           "011"          "0531" 
#> TCGA.HE.A5NF.01 TCGA.A4.7996.01 TCGA.BQ.7046.01 TCGA.DZ.6132.11 TCGA.G7.7501.01 TCGA.O9.A75Z.01 
#>         "03111"          "0532"          "0531"           "021"          "0521"          "0131" 
#> TCGA.DW.7834.01 TCGA.DZ.6133.01 TCGA.A4.A4ZT.01 TCGA.BQ.7060.01 TCGA.G7.6792.01 TCGA.HE.7130.01 
#>          "0511"          "0122"           "011"          "0531"          "0512"           "033" 
#> TCGA.GL.7773.01 TCGA.DZ.6133.11 TCGA.B1.7332.01 TCGA.BQ.7053.01 TCGA.DZ.6131.01 TCGA.BQ.7062.01 
#>           "054"          "0221"           "011"          "0522"           "033"          "0532" 
#> TCGA.BQ.7046.11 TCGA.A4.7288.01 TCGA.DZ.6131.11 TCGA.BQ.7062.11 TCGA.BQ.7061.01 TCGA.A4.7286.01 
#>           "021"          "0522"           "021"           "021"           "042"          "0532" 
#> TCGA.G7.6797.01 TCGA.BQ.7058.01 TCGA.G7.6795.01 TCGA.HE.A5NH.01 TCGA.MH.A55W.01 TCGA.G7.6790.01 
#>           "011"           "042"          "0511"          "0124"          "0532"          "0531" 
#> TCGA.MH.A560.01 TCGA.A4.7997.01 TCGA.MH.A561.01 TCGA.BQ.7056.11 TCGA.B9.7268.01 TCGA.BQ.7055.11 
#>          "0312"          "0512"          "0511"          "0221"           "011"           "021" 
#> TCGA.HE.A5NI.01 TCGA.GL.7966.01 TCGA.BQ.7059.11 TCGA.A4.A57E.01 TCGA.A4.7288.11 TCGA.AL.A5DJ.01 
#>           "011"           "041"           "021"          "0521"          "0221"           "043" 
#> TCGA.G7.6796.01 TCGA.DW.7837.01 TCGA.BQ.7051.11 TCGA.BQ.7048.01 TCGA.F9.A7VF.01 TCGA.BQ.7049.11 
#>          "0321"          "0513"           "021"           "044"           "011"           "021" 
#> TCGA.DZ.6134.01 TCGA.BQ.5887.01 TCGA.DZ.6135.01 TCGA.MH.A55Z.01 TCGA.A4.7915.01 TCGA.BQ.7048.11 
#>          "0313"           "043"          "0124"          "0122"           "041"           "021" 
#> TCGA.HE.A5NK.01 TCGA.G7.6789.01 TCGA.AL.7173.01 TCGA.SX.A71S.01 TCGA.BQ.7061.11 TCGA.DW.7840.01 
#>         "03111"           "043"         "03112"          "0121"          "0223"          "0124" 
#> TCGA.GL.A59R.01 TCGA.BQ.7050.11 TCGA.BQ.7058.11 TCGA.DW.7838.01 TCGA.SX.A71U.01 TCGA.DZ.6135.11 
#>          "0123"          "0221"           "021"         "03113"          "0511"           "021" 
#> TCGA.BQ.7044.11 TCGA.V9.A7HT.01 TCGA.DW.7842.01 TCGA.BQ.7050.01 TCGA.BQ.7055.01 TCGA.J7.6720.01 
#>           "021"         "03111"          "0131"          "0522"           "023"          "0511" 
#> TCGA.BQ.7060.11 TCGA.BQ.7044.01 TCGA.DZ.6132.01 TCGA.DW.7836.01 TCGA.A4.7828.01 TCGA.BQ.5887.11 
#>           "021"           "044"         "03113"          "0131"          "0222"           "021" 
#> TCGA.B3.A6W5.01 TCGA.MH.A562.01 TCGA.A4.7734.01 TCGA.BQ.7045.11 TCGA.A4.7584.01 TCGA.BQ.7056.01 
#>           "011"          "0513"          "0132"           "021"          "0531"          "0522" 
#> TCGA.A4.7287.01 TCGA.UZ.A9PJ.01 TCGA.2Z.A9J1.01 TCGA.UN.AAZ9.01 TCGA.UZ.A9PO.01 TCGA.UZ.A9PL.01 
#>           "033"          "0131"          "0512"          "0533"          "0313"          "0124" 
#> TCGA.A4.7732.11 TCGA.A4.7732.01 TCGA.2Z.A9J2.01 TCGA.2Z.A9J3.01 TCGA.2Z.A9J6.01 TCGA.F9.A97G.01 
#>           "021"          "0131"          "0322"          "0124"          "0513"          "0313" 
#> TCGA.UZ.A9PM.01 TCGA.A4.7585.11 TCGA.2K.A9WE.01 TCGA.A4.7583.01 TCGA.UZ.A9PK.01 TCGA.UZ.A9PN.01 
#>          "0321"           "021"         "03113"          "0533"           "011"          "0321" 
#> TCGA.2Z.A9J7.01 TCGA.2Z.A9J5.01 TCGA.A4.7585.01 
#>          "0131"          "0511"          "0321"

show/hide code output

get_classes(res_rh, merge_node = merge_node_param(min_n_signatures = 2274))
#> TCGA.SX.A7SM.01 TCGA.IA.A83W.01 TCGA.B1.A656.01 TCGA.4A.A93X.01 TCGA.G7.A8LC.01 TCGA.SX.A7SS.01 
#>           "042"           "051"          "0312"           "042"          "0533"           "011" 
#> TCGA.B9.A69E.01 TCGA.BQ.5878.01 TCGA.DW.5561.01 TCGA.PJ.A8JU.01 TCGA.EV.5901.01 TCGA.SX.A7SR.01 
#>          "0313"           "011"          "0131"          "0322"           "054"           "051" 
#> TCGA.BQ.5894.01 TCGA.KV.A6GE.01 TCGA.BQ.5882.01 TCGA.SX.A7SQ.01 TCGA.F9.A7Q0.01 TCGA.IZ.A6M8.01 
#>           "041"           "011"           "043"          "0131"          "0321"          "0531" 
#> TCGA.B1.A654.01 TCGA.B3.8121.01 TCGA.MH.A856.01 TCGA.G7.A4TM.01 TCGA.IZ.8196.01 TCGA.B9.A5W7.01 
#>          "0132"         "03112"           "051"          "0131"          "0123"          "0131" 
#> TCGA.B9.5156.01 TCGA.A4.A7UZ.01 TCGA.Y8.A897.01 TCGA.SX.A7SP.01 TCGA.Y8.A8RZ.01 TCGA.A4.A5XZ.01 
#>           "051"          "0321"           "051"          "0522"          "0523"          "0532" 
#> TCGA.Y8.A898.01 TCGA.BQ.5893.01 TCGA.SX.A7SU.01 TCGA.IZ.8195.01 TCGA.GL.8500.01 TCGA.EV.5902.01 
#>           "051"           "041"          "0131"           "044"          "0124"          "0123" 
#> TCGA.J7.A8I2.01 TCGA.A4.8516.01 TCGA.A4.8312.01 TCGA.BQ.5880.01 TCGA.Y8.A8RY.01 TCGA.SX.A7SN.01 
#>           "033"          "0122"           "023"          "0321"           "051"           "051" 
#> TCGA.MH.A854.01 TCGA.A4.8517.01 TCGA.GL.A9DD.01 TCGA.A4.8630.01 TCGA.4A.A93W.01 TCGA.SX.A7SO.01 
#>          "0121"          "0531"         "03111"           "011"          "0132"          "0521" 
#> TCGA.GL.A9DC.01 TCGA.A4.8515.01 TCGA.IZ.A6M9.01 TCGA.BQ.5880.11 TCGA.B1.A657.01 TCGA.G7.A8LD.01 
#>          "0121"           "011"           "011"           "021"           "051"           "043" 
#> TCGA.Y8.A8S1.01 TCGA.IA.A83S.01 TCGA.Y8.A8S0.01 TCGA.BQ.5884.11 TCGA.B1.A655.01 TCGA.BQ.5877.11 
#>          "0313"         "03111"           "011"          "0221"          "0322"           "021" 
#> TCGA.EV.5903.01 TCGA.J7.8537.01 TCGA.A4.A6HP.01 TCGA.BQ.5890.01 TCGA.Y8.A896.01 TCGA.BQ.5888.01 
#>           "051"           "043"           "051"           "042"          "0321"          "0322" 
#> TCGA.BQ.5879.01 TCGA.GL.A9DE.01 TCGA.G7.A8LB.01 TCGA.IA.A83T.01 TCGA.IA.A83V.01 TCGA.BQ.5876.11 
#>           "041"           "042"           "011"          "0313"          "0321"           "021" 
#> TCGA.BQ.5885.11 TCGA.KV.A6GD.01 TCGA.SX.A7SL.01 TCGA.B9.A8YI.01 TCGA.B9.A8YH.01 TCGA.4A.A93Y.01 
#>           "021"         "03111"           "011"           "044"          "0122"          "0322" 
#> TCGA.BQ.5886.01 TCGA.A4.A5Y0.01 TCGA.A4.8098.01 TCGA.MH.A857.01 TCGA.BQ.5889.11 TCGA.DW.5560.01 
#>          "0531"          "0522"          "0533"           "023"           "021"           "054" 
#> TCGA.F9.A8NY.01 TCGA.BQ.5894.11 TCGA.BQ.5891.11 TCGA.G7.A8LE.01 TCGA.SX.A71W.01 TCGA.Y8.A894.01 
#>           "041"           "021"          "0221"          "0131"           "011"          "0121" 
#> TCGA.WN.A9G9.01 TCGA.A4.8310.01 TCGA.A4.8518.01 TCGA.BQ.5881.11 TCGA.BQ.5893.11 TCGA.A4.8311.01 
#>          "0313"          "0532"          "0321"           "021"           "021"           "011" 
#> TCGA.BQ.5891.01 TCGA.Y8.A895.01 TCGA.BQ.5876.01 TCGA.MH.A855.01 TCGA.P4.AAVO.01 TCGA.BQ.5886.11 
#>           "043"           "011"          "0312"          "0322"           "044"           "021" 
#> TCGA.2Z.A9JS.01 TCGA.BQ.5888.11 TCGA.2Z.A9J8.01 TCGA.KV.A74V.01 TCGA.A4.A5Y1.01 TCGA.BQ.5875.01 
#>           "011"          "0221"          "0523"           "011"           "043"           "042" 
#> TCGA.UZ.A9PZ.01 TCGA.Q2.A5QZ.01 TCGA.P4.A5E8.01 TCGA.B9.5155.01 TCGA.B9.A5W9.01 TCGA.5P.A9K4.01 
#>          "0122"           "044"           "041"           "011"           "044"           "011" 
#> TCGA.P4.A5E7.01 TCGA.PJ.A5Z9.01 TCGA.5P.A9K8.01 TCGA.5P.A9KF.01 TCGA.P4.AAVK.01 TCGA.2Z.A9JM.01 
#>           "054"           "011"          "0223"          "0122"           "042"           "051" 
#> TCGA.A4.A48D.01 TCGA.BQ.5889.01 TCGA.2Z.A9JD.01 TCGA.5P.A9K2.01 TCGA.2Z.A9JO.01 TCGA.5P.A9K9.01 
#>          "0313"         "03113"          "0531"           "011"          "0322"           "043" 
#> TCGA.UZ.A9PV.01 TCGA.SX.A71V.01 TCGA.BQ.5892.11 TCGA.UZ.A9Q0.01 TCGA.UZ.A9PX.01 TCGA.UZ.A9PR.01 
#>           "011"          "0532"           "021"           "011"          "0122"          "0122" 
#> TCGA.IA.A40X.01 TCGA.5P.A9JW.01 TCGA.IA.A40Y.01 TCGA.BQ.5883.11 TCGA.BQ.5878.11 TCGA.P4.A5EA.01 
#>          "0522"          "0313"           "043"          "0221"          "0221"           "041" 
#> TCGA.5P.A9KE.01 TCGA.5P.A9K3.01 TCGA.B1.A47N.01 TCGA.5P.A9KA.01 TCGA.BQ.5879.11 TCGA.P4.A5ED.01 
#>          "0531"           "042"          "0131"           "051"          "0221"           "023" 
#> TCGA.A4.A772.01 TCGA.B1.A47O.01 TCGA.IA.A40U.01 TCGA.2Z.A9JE.01 TCGA.B9.A44B.01 TCGA.AT.A5NU.01 
#>           "051"         "03112"          "0532"          "0123"           "042"           "011" 
#> TCGA.BQ.5882.11 TCGA.BQ.5877.01 TCGA.DW.7963.01 TCGA.2Z.A9JL.01 TCGA.2Z.A9JQ.01 TCGA.2Z.A9JK.01 
#>           "021"           "043"          "0531"           "051"          "0123"          "0321" 
#> TCGA.UZ.A9PU.01 TCGA.P4.A5EB.01 TCGA.BQ.5892.01 TCGA.B1.A47M.11 TCGA.2Z.A9J9.01 TCGA.UZ.A9PS.05 
#>          "0122"          "0124"          "0321"           "023"           "023"          "0312" 
#> TCGA.P4.AAVM.01 TCGA.PJ.A5Z8.01 TCGA.5P.A9JZ.01 TCGA.2Z.A9JG.01 TCGA.BQ.5884.01 TCGA.2Z.A9JI.01 
#>          "0531"          "0313"           "054"           "044"          "0322"           "043" 
#> TCGA.BQ.5890.11 TCGA.BQ.5881.01 TCGA.UZ.A9PP.01 TCGA.5P.A9JU.01 TCGA.2Z.A9JN.01 TCGA.UZ.A9PS.01 
#>           "021"          "0531"          "0131"           "042"          "0222"          "0522" 
#> TCGA.BQ.5875.11 TCGA.5P.A9JY.01 TCGA.B9.A5W8.01 TCGA.F9.A4JJ.01 TCGA.BQ.5883.01 TCGA.5P.A9K0.01 
#>          "0221"           "011"         "03111"           "041"          "0222"          "0531" 
#> TCGA.P4.AAVL.01 TCGA.B1.5398.01 TCGA.5P.A9K6.01 TCGA.UZ.A9PQ.01 TCGA.P4.A5E6.01 TCGA.BQ.5885.01 
#>          "0124"          "0313"          "0531"           "044"          "0532"          "0532" 
#> TCGA.UZ.A9Q1.01 TCGA.2Z.A9JP.01 TCGA.5P.A9KC.01 TCGA.5P.A9KH.01 TCGA.2Z.A9JR.01 TCGA.GL.A59T.01 
#>           "044"          "0531"          "0322"           "023"           "051"           "051" 
#> TCGA.5P.A9JV.01 TCGA.WN.AB4C.01 TCGA.SX.A71R.01 TCGA.A4.A5DU.01 TCGA.B1.A47M.01 TCGA.2Z.A9JJ.01 
#>           "023"          "0322"          "0122"          "0132"           "051"           "054" 
#> TCGA.2Z.A9JT.01 TCGA.GL.A4EM.01 TCGA.HE.7129.01 TCGA.HE.7128.01 TCGA.HE.A5NL.01 TCGA.G7.7502.01 
#>          "0531"          "0313"           "011"         "03111"           "051"          "0532" 
#> TCGA.BQ.7059.01 TCGA.DZ.6134.11 TCGA.HE.A5NJ.01 TCGA.BQ.7053.11 TCGA.GL.6846.11 TCGA.GL.6846.01 
#>         "03111"           "021"           "011"          "0221"           "021"           "044" 
#> TCGA.DW.7839.01 TCGA.DW.7841.01 TCGA.BQ.7049.01 TCGA.G7.6793.01 TCGA.BQ.7051.01 TCGA.BQ.7045.01 
#>          "0132"           "051"         "03113"           "041"           "011"          "0531" 
#> TCGA.HE.A5NF.01 TCGA.A4.7996.01 TCGA.BQ.7046.01 TCGA.DZ.6132.11 TCGA.G7.7501.01 TCGA.O9.A75Z.01 
#>         "03111"          "0532"          "0531"           "021"          "0521"          "0131" 
#> TCGA.DW.7834.01 TCGA.DZ.6133.01 TCGA.A4.A4ZT.01 TCGA.BQ.7060.01 TCGA.G7.6792.01 TCGA.HE.7130.01 
#>           "051"          "0122"           "011"          "0531"           "051"           "033" 
#> TCGA.GL.7773.01 TCGA.DZ.6133.11 TCGA.B1.7332.01 TCGA.BQ.7053.01 TCGA.DZ.6131.01 TCGA.BQ.7062.01 
#>           "054"          "0221"           "011"          "0522"           "033"          "0532" 
#> TCGA.BQ.7046.11 TCGA.A4.7288.01 TCGA.DZ.6131.11 TCGA.BQ.7062.11 TCGA.BQ.7061.01 TCGA.A4.7286.01 
#>           "021"          "0522"           "021"           "021"           "042"          "0532" 
#> TCGA.G7.6797.01 TCGA.BQ.7058.01 TCGA.G7.6795.01 TCGA.HE.A5NH.01 TCGA.MH.A55W.01 TCGA.G7.6790.01 
#>           "011"           "042"           "051"          "0124"          "0532"          "0531" 
#> TCGA.MH.A560.01 TCGA.A4.7997.01 TCGA.MH.A561.01 TCGA.BQ.7056.11 TCGA.B9.7268.01 TCGA.BQ.7055.11 
#>          "0312"           "051"           "051"          "0221"           "011"           "021" 
#> TCGA.HE.A5NI.01 TCGA.GL.7966.01 TCGA.BQ.7059.11 TCGA.A4.A57E.01 TCGA.A4.7288.11 TCGA.AL.A5DJ.01 
#>           "011"           "041"           "021"          "0521"          "0221"           "043" 
#> TCGA.G7.6796.01 TCGA.DW.7837.01 TCGA.BQ.7051.11 TCGA.BQ.7048.01 TCGA.F9.A7VF.01 TCGA.BQ.7049.11 
#>          "0321"           "051"           "021"           "044"           "011"           "021" 
#> TCGA.DZ.6134.01 TCGA.BQ.5887.01 TCGA.DZ.6135.01 TCGA.MH.A55Z.01 TCGA.A4.7915.01 TCGA.BQ.7048.11 
#>          "0313"           "043"          "0124"          "0122"           "041"           "021" 
#> TCGA.HE.A5NK.01 TCGA.G7.6789.01 TCGA.AL.7173.01 TCGA.SX.A71S.01 TCGA.BQ.7061.11 TCGA.DW.7840.01 
#>         "03111"           "043"         "03112"          "0121"          "0223"          "0124" 
#> TCGA.GL.A59R.01 TCGA.BQ.7050.11 TCGA.BQ.7058.11 TCGA.DW.7838.01 TCGA.SX.A71U.01 TCGA.DZ.6135.11 
#>          "0123"          "0221"           "021"         "03113"           "051"           "021" 
#> TCGA.BQ.7044.11 TCGA.V9.A7HT.01 TCGA.DW.7842.01 TCGA.BQ.7050.01 TCGA.BQ.7055.01 TCGA.J7.6720.01 
#>           "021"         "03111"          "0131"          "0522"           "023"           "051" 
#> TCGA.BQ.7060.11 TCGA.BQ.7044.01 TCGA.DZ.6132.01 TCGA.DW.7836.01 TCGA.A4.7828.01 TCGA.BQ.5887.11 
#>           "021"           "044"         "03113"          "0131"          "0222"           "021" 
#> TCGA.B3.A6W5.01 TCGA.MH.A562.01 TCGA.A4.7734.01 TCGA.BQ.7045.11 TCGA.A4.7584.01 TCGA.BQ.7056.01 
#>           "011"           "051"          "0132"           "021"          "0531"          "0522" 
#> TCGA.A4.7287.01 TCGA.UZ.A9PJ.01 TCGA.2Z.A9J1.01 TCGA.UN.AAZ9.01 TCGA.UZ.A9PO.01 TCGA.UZ.A9PL.01 
#>           "033"          "0131"           "051"          "0533"          "0313"          "0124" 
#> TCGA.A4.7732.11 TCGA.A4.7732.01 TCGA.2Z.A9J2.01 TCGA.2Z.A9J3.01 TCGA.2Z.A9J6.01 TCGA.F9.A97G.01 
#>           "021"          "0131"          "0322"          "0124"           "051"          "0313" 
#> TCGA.UZ.A9PM.01 TCGA.A4.7585.11 TCGA.2K.A9WE.01 TCGA.A4.7583.01 TCGA.UZ.A9PK.01 TCGA.UZ.A9PN.01 
#>          "0321"           "021"         "03113"          "0533"           "011"          "0321" 
#> TCGA.2Z.A9J7.01 TCGA.2Z.A9J5.01 TCGA.A4.7585.01 
#>          "0131"           "051"          "0321"

show/hide code output

get_classes(res_rh, merge_node = merge_node_param(min_n_signatures = 2544))
#> TCGA.SX.A7SM.01 TCGA.IA.A83W.01 TCGA.B1.A656.01 TCGA.4A.A93X.01 TCGA.G7.A8LC.01 TCGA.SX.A7SS.01 
#>           "042"           "051"          "0312"           "042"          "0533"           "011" 
#> TCGA.B9.A69E.01 TCGA.BQ.5878.01 TCGA.DW.5561.01 TCGA.PJ.A8JU.01 TCGA.EV.5901.01 TCGA.SX.A7SR.01 
#>          "0313"           "011"          "0131"           "032"           "054"           "051" 
#> TCGA.BQ.5894.01 TCGA.KV.A6GE.01 TCGA.BQ.5882.01 TCGA.SX.A7SQ.01 TCGA.F9.A7Q0.01 TCGA.IZ.A6M8.01 
#>           "041"           "011"           "043"          "0131"           "032"          "0531" 
#> TCGA.B1.A654.01 TCGA.B3.8121.01 TCGA.MH.A856.01 TCGA.G7.A4TM.01 TCGA.IZ.8196.01 TCGA.B9.A5W7.01 
#>          "0132"         "03112"           "051"          "0131"          "0123"          "0131" 
#> TCGA.B9.5156.01 TCGA.A4.A7UZ.01 TCGA.Y8.A897.01 TCGA.SX.A7SP.01 TCGA.Y8.A8RZ.01 TCGA.A4.A5XZ.01 
#>           "051"           "032"           "051"          "0522"          "0523"          "0532" 
#> TCGA.Y8.A898.01 TCGA.BQ.5893.01 TCGA.SX.A7SU.01 TCGA.IZ.8195.01 TCGA.GL.8500.01 TCGA.EV.5902.01 
#>           "051"           "041"          "0131"           "044"          "0124"          "0123" 
#> TCGA.J7.A8I2.01 TCGA.A4.8516.01 TCGA.A4.8312.01 TCGA.BQ.5880.01 TCGA.Y8.A8RY.01 TCGA.SX.A7SN.01 
#>           "033"          "0122"           "023"           "032"           "051"           "051" 
#> TCGA.MH.A854.01 TCGA.A4.8517.01 TCGA.GL.A9DD.01 TCGA.A4.8630.01 TCGA.4A.A93W.01 TCGA.SX.A7SO.01 
#>          "0121"          "0531"         "03111"           "011"          "0132"          "0521" 
#> TCGA.GL.A9DC.01 TCGA.A4.8515.01 TCGA.IZ.A6M9.01 TCGA.BQ.5880.11 TCGA.B1.A657.01 TCGA.G7.A8LD.01 
#>          "0121"           "011"           "011"           "021"           "051"           "043" 
#> TCGA.Y8.A8S1.01 TCGA.IA.A83S.01 TCGA.Y8.A8S0.01 TCGA.BQ.5884.11 TCGA.B1.A655.01 TCGA.BQ.5877.11 
#>          "0313"         "03111"           "011"          "0221"           "032"           "021" 
#> TCGA.EV.5903.01 TCGA.J7.8537.01 TCGA.A4.A6HP.01 TCGA.BQ.5890.01 TCGA.Y8.A896.01 TCGA.BQ.5888.01 
#>           "051"           "043"           "051"           "042"           "032"           "032" 
#> TCGA.BQ.5879.01 TCGA.GL.A9DE.01 TCGA.G7.A8LB.01 TCGA.IA.A83T.01 TCGA.IA.A83V.01 TCGA.BQ.5876.11 
#>           "041"           "042"           "011"          "0313"           "032"           "021" 
#> TCGA.BQ.5885.11 TCGA.KV.A6GD.01 TCGA.SX.A7SL.01 TCGA.B9.A8YI.01 TCGA.B9.A8YH.01 TCGA.4A.A93Y.01 
#>           "021"         "03111"           "011"           "044"          "0122"           "032" 
#> TCGA.BQ.5886.01 TCGA.A4.A5Y0.01 TCGA.A4.8098.01 TCGA.MH.A857.01 TCGA.BQ.5889.11 TCGA.DW.5560.01 
#>          "0531"          "0522"          "0533"           "023"           "021"           "054" 
#> TCGA.F9.A8NY.01 TCGA.BQ.5894.11 TCGA.BQ.5891.11 TCGA.G7.A8LE.01 TCGA.SX.A71W.01 TCGA.Y8.A894.01 
#>           "041"           "021"          "0221"          "0131"           "011"          "0121" 
#> TCGA.WN.A9G9.01 TCGA.A4.8310.01 TCGA.A4.8518.01 TCGA.BQ.5881.11 TCGA.BQ.5893.11 TCGA.A4.8311.01 
#>          "0313"          "0532"           "032"           "021"           "021"           "011" 
#> TCGA.BQ.5891.01 TCGA.Y8.A895.01 TCGA.BQ.5876.01 TCGA.MH.A855.01 TCGA.P4.AAVO.01 TCGA.BQ.5886.11 
#>           "043"           "011"          "0312"           "032"           "044"           "021" 
#> TCGA.2Z.A9JS.01 TCGA.BQ.5888.11 TCGA.2Z.A9J8.01 TCGA.KV.A74V.01 TCGA.A4.A5Y1.01 TCGA.BQ.5875.01 
#>           "011"          "0221"          "0523"           "011"           "043"           "042" 
#> TCGA.UZ.A9PZ.01 TCGA.Q2.A5QZ.01 TCGA.P4.A5E8.01 TCGA.B9.5155.01 TCGA.B9.A5W9.01 TCGA.5P.A9K4.01 
#>          "0122"           "044"           "041"           "011"           "044"           "011" 
#> TCGA.P4.A5E7.01 TCGA.PJ.A5Z9.01 TCGA.5P.A9K8.01 TCGA.5P.A9KF.01 TCGA.P4.AAVK.01 TCGA.2Z.A9JM.01 
#>           "054"           "011"          "0223"          "0122"           "042"           "051" 
#> TCGA.A4.A48D.01 TCGA.BQ.5889.01 TCGA.2Z.A9JD.01 TCGA.5P.A9K2.01 TCGA.2Z.A9JO.01 TCGA.5P.A9K9.01 
#>          "0313"         "03113"          "0531"           "011"           "032"           "043" 
#> TCGA.UZ.A9PV.01 TCGA.SX.A71V.01 TCGA.BQ.5892.11 TCGA.UZ.A9Q0.01 TCGA.UZ.A9PX.01 TCGA.UZ.A9PR.01 
#>           "011"          "0532"           "021"           "011"          "0122"          "0122" 
#> TCGA.IA.A40X.01 TCGA.5P.A9JW.01 TCGA.IA.A40Y.01 TCGA.BQ.5883.11 TCGA.BQ.5878.11 TCGA.P4.A5EA.01 
#>          "0522"          "0313"           "043"          "0221"          "0221"           "041" 
#> TCGA.5P.A9KE.01 TCGA.5P.A9K3.01 TCGA.B1.A47N.01 TCGA.5P.A9KA.01 TCGA.BQ.5879.11 TCGA.P4.A5ED.01 
#>          "0531"           "042"          "0131"           "051"          "0221"           "023" 
#> TCGA.A4.A772.01 TCGA.B1.A47O.01 TCGA.IA.A40U.01 TCGA.2Z.A9JE.01 TCGA.B9.A44B.01 TCGA.AT.A5NU.01 
#>           "051"         "03112"          "0532"          "0123"           "042"           "011" 
#> TCGA.BQ.5882.11 TCGA.BQ.5877.01 TCGA.DW.7963.01 TCGA.2Z.A9JL.01 TCGA.2Z.A9JQ.01 TCGA.2Z.A9JK.01 
#>           "021"           "043"          "0531"           "051"          "0123"           "032" 
#> TCGA.UZ.A9PU.01 TCGA.P4.A5EB.01 TCGA.BQ.5892.01 TCGA.B1.A47M.11 TCGA.2Z.A9J9.01 TCGA.UZ.A9PS.05 
#>          "0122"          "0124"           "032"           "023"           "023"          "0312" 
#> TCGA.P4.AAVM.01 TCGA.PJ.A5Z8.01 TCGA.5P.A9JZ.01 TCGA.2Z.A9JG.01 TCGA.BQ.5884.01 TCGA.2Z.A9JI.01 
#>          "0531"          "0313"           "054"           "044"           "032"           "043" 
#> TCGA.BQ.5890.11 TCGA.BQ.5881.01 TCGA.UZ.A9PP.01 TCGA.5P.A9JU.01 TCGA.2Z.A9JN.01 TCGA.UZ.A9PS.01 
#>           "021"          "0531"          "0131"           "042"          "0222"          "0522" 
#> TCGA.BQ.5875.11 TCGA.5P.A9JY.01 TCGA.B9.A5W8.01 TCGA.F9.A4JJ.01 TCGA.BQ.5883.01 TCGA.5P.A9K0.01 
#>          "0221"           "011"         "03111"           "041"          "0222"          "0531" 
#> TCGA.P4.AAVL.01 TCGA.B1.5398.01 TCGA.5P.A9K6.01 TCGA.UZ.A9PQ.01 TCGA.P4.A5E6.01 TCGA.BQ.5885.01 
#>          "0124"          "0313"          "0531"           "044"          "0532"          "0532" 
#> TCGA.UZ.A9Q1.01 TCGA.2Z.A9JP.01 TCGA.5P.A9KC.01 TCGA.5P.A9KH.01 TCGA.2Z.A9JR.01 TCGA.GL.A59T.01 
#>           "044"          "0531"           "032"           "023"           "051"           "051" 
#> TCGA.5P.A9JV.01 TCGA.WN.AB4C.01 TCGA.SX.A71R.01 TCGA.A4.A5DU.01 TCGA.B1.A47M.01 TCGA.2Z.A9JJ.01 
#>           "023"           "032"          "0122"          "0132"           "051"           "054" 
#> TCGA.2Z.A9JT.01 TCGA.GL.A4EM.01 TCGA.HE.7129.01 TCGA.HE.7128.01 TCGA.HE.A5NL.01 TCGA.G7.7502.01 
#>          "0531"          "0313"           "011"         "03111"           "051"          "0532" 
#> TCGA.BQ.7059.01 TCGA.DZ.6134.11 TCGA.HE.A5NJ.01 TCGA.BQ.7053.11 TCGA.GL.6846.11 TCGA.GL.6846.01 
#>         "03111"           "021"           "011"          "0221"           "021"           "044" 
#> TCGA.DW.7839.01 TCGA.DW.7841.01 TCGA.BQ.7049.01 TCGA.G7.6793.01 TCGA.BQ.7051.01 TCGA.BQ.7045.01 
#>          "0132"           "051"         "03113"           "041"           "011"          "0531" 
#> TCGA.HE.A5NF.01 TCGA.A4.7996.01 TCGA.BQ.7046.01 TCGA.DZ.6132.11 TCGA.G7.7501.01 TCGA.O9.A75Z.01 
#>         "03111"          "0532"          "0531"           "021"          "0521"          "0131" 
#> TCGA.DW.7834.01 TCGA.DZ.6133.01 TCGA.A4.A4ZT.01 TCGA.BQ.7060.01 TCGA.G7.6792.01 TCGA.HE.7130.01 
#>           "051"          "0122"           "011"          "0531"           "051"           "033" 
#> TCGA.GL.7773.01 TCGA.DZ.6133.11 TCGA.B1.7332.01 TCGA.BQ.7053.01 TCGA.DZ.6131.01 TCGA.BQ.7062.01 
#>           "054"          "0221"           "011"          "0522"           "033"          "0532" 
#> TCGA.BQ.7046.11 TCGA.A4.7288.01 TCGA.DZ.6131.11 TCGA.BQ.7062.11 TCGA.BQ.7061.01 TCGA.A4.7286.01 
#>           "021"          "0522"           "021"           "021"           "042"          "0532" 
#> TCGA.G7.6797.01 TCGA.BQ.7058.01 TCGA.G7.6795.01 TCGA.HE.A5NH.01 TCGA.MH.A55W.01 TCGA.G7.6790.01 
#>           "011"           "042"           "051"          "0124"          "0532"          "0531" 
#> TCGA.MH.A560.01 TCGA.A4.7997.01 TCGA.MH.A561.01 TCGA.BQ.7056.11 TCGA.B9.7268.01 TCGA.BQ.7055.11 
#>          "0312"           "051"           "051"          "0221"           "011"           "021" 
#> TCGA.HE.A5NI.01 TCGA.GL.7966.01 TCGA.BQ.7059.11 TCGA.A4.A57E.01 TCGA.A4.7288.11 TCGA.AL.A5DJ.01 
#>           "011"           "041"           "021"          "0521"          "0221"           "043" 
#> TCGA.G7.6796.01 TCGA.DW.7837.01 TCGA.BQ.7051.11 TCGA.BQ.7048.01 TCGA.F9.A7VF.01 TCGA.BQ.7049.11 
#>           "032"           "051"           "021"           "044"           "011"           "021" 
#> TCGA.DZ.6134.01 TCGA.BQ.5887.01 TCGA.DZ.6135.01 TCGA.MH.A55Z.01 TCGA.A4.7915.01 TCGA.BQ.7048.11 
#>          "0313"           "043"          "0124"          "0122"           "041"           "021" 
#> TCGA.HE.A5NK.01 TCGA.G7.6789.01 TCGA.AL.7173.01 TCGA.SX.A71S.01 TCGA.BQ.7061.11 TCGA.DW.7840.01 
#>         "03111"           "043"         "03112"          "0121"          "0223"          "0124" 
#> TCGA.GL.A59R.01 TCGA.BQ.7050.11 TCGA.BQ.7058.11 TCGA.DW.7838.01 TCGA.SX.A71U.01 TCGA.DZ.6135.11 
#>          "0123"          "0221"           "021"         "03113"           "051"           "021" 
#> TCGA.BQ.7044.11 TCGA.V9.A7HT.01 TCGA.DW.7842.01 TCGA.BQ.7050.01 TCGA.BQ.7055.01 TCGA.J7.6720.01 
#>           "021"         "03111"          "0131"          "0522"           "023"           "051" 
#> TCGA.BQ.7060.11 TCGA.BQ.7044.01 TCGA.DZ.6132.01 TCGA.DW.7836.01 TCGA.A4.7828.01 TCGA.BQ.5887.11 
#>           "021"           "044"         "03113"          "0131"          "0222"           "021" 
#> TCGA.B3.A6W5.01 TCGA.MH.A562.01 TCGA.A4.7734.01 TCGA.BQ.7045.11 TCGA.A4.7584.01 TCGA.BQ.7056.01 
#>           "011"           "051"          "0132"           "021"          "0531"          "0522" 
#> TCGA.A4.7287.01 TCGA.UZ.A9PJ.01 TCGA.2Z.A9J1.01 TCGA.UN.AAZ9.01 TCGA.UZ.A9PO.01 TCGA.UZ.A9PL.01 
#>           "033"          "0131"           "051"          "0533"          "0313"          "0124" 
#> TCGA.A4.7732.11 TCGA.A4.7732.01 TCGA.2Z.A9J2.01 TCGA.2Z.A9J3.01 TCGA.2Z.A9J6.01 TCGA.F9.A97G.01 
#>           "021"          "0131"           "032"          "0124"           "051"          "0313" 
#> TCGA.UZ.A9PM.01 TCGA.A4.7585.11 TCGA.2K.A9WE.01 TCGA.A4.7583.01 TCGA.UZ.A9PK.01 TCGA.UZ.A9PN.01 
#>           "032"           "021"         "03113"          "0533"           "011"           "032" 
#> TCGA.2Z.A9J7.01 TCGA.2Z.A9J5.01 TCGA.A4.7585.01 
#>          "0131"           "051"           "032"

show/hide code output

get_classes(res_rh, merge_node = merge_node_param(min_n_signatures = 2840))
#> TCGA.SX.A7SM.01 TCGA.IA.A83W.01 TCGA.B1.A656.01 TCGA.4A.A93X.01 TCGA.G7.A8LC.01 TCGA.SX.A7SS.01 
#>           "042"           "051"          "0312"           "042"          "0533"            "01" 
#> TCGA.B9.A69E.01 TCGA.BQ.5878.01 TCGA.DW.5561.01 TCGA.PJ.A8JU.01 TCGA.EV.5901.01 TCGA.SX.A7SR.01 
#>          "0313"            "01"            "01"           "032"           "054"           "051" 
#> TCGA.BQ.5894.01 TCGA.KV.A6GE.01 TCGA.BQ.5882.01 TCGA.SX.A7SQ.01 TCGA.F9.A7Q0.01 TCGA.IZ.A6M8.01 
#>           "041"            "01"           "043"            "01"           "032"          "0531" 
#> TCGA.B1.A654.01 TCGA.B3.8121.01 TCGA.MH.A856.01 TCGA.G7.A4TM.01 TCGA.IZ.8196.01 TCGA.B9.A5W7.01 
#>            "01"         "03112"           "051"            "01"            "01"            "01" 
#> TCGA.B9.5156.01 TCGA.A4.A7UZ.01 TCGA.Y8.A897.01 TCGA.SX.A7SP.01 TCGA.Y8.A8RZ.01 TCGA.A4.A5XZ.01 
#>           "051"           "032"           "051"          "0522"          "0523"          "0532" 
#> TCGA.Y8.A898.01 TCGA.BQ.5893.01 TCGA.SX.A7SU.01 TCGA.IZ.8195.01 TCGA.GL.8500.01 TCGA.EV.5902.01 
#>           "051"           "041"            "01"           "044"            "01"            "01" 
#> TCGA.J7.A8I2.01 TCGA.A4.8516.01 TCGA.A4.8312.01 TCGA.BQ.5880.01 TCGA.Y8.A8RY.01 TCGA.SX.A7SN.01 
#>           "033"            "01"           "023"           "032"           "051"           "051" 
#> TCGA.MH.A854.01 TCGA.A4.8517.01 TCGA.GL.A9DD.01 TCGA.A4.8630.01 TCGA.4A.A93W.01 TCGA.SX.A7SO.01 
#>            "01"          "0531"         "03111"            "01"            "01"          "0521" 
#> TCGA.GL.A9DC.01 TCGA.A4.8515.01 TCGA.IZ.A6M9.01 TCGA.BQ.5880.11 TCGA.B1.A657.01 TCGA.G7.A8LD.01 
#>            "01"            "01"            "01"           "021"           "051"           "043" 
#> TCGA.Y8.A8S1.01 TCGA.IA.A83S.01 TCGA.Y8.A8S0.01 TCGA.BQ.5884.11 TCGA.B1.A655.01 TCGA.BQ.5877.11 
#>          "0313"         "03111"            "01"          "0221"           "032"           "021" 
#> TCGA.EV.5903.01 TCGA.J7.8537.01 TCGA.A4.A6HP.01 TCGA.BQ.5890.01 TCGA.Y8.A896.01 TCGA.BQ.5888.01 
#>           "051"           "043"           "051"           "042"           "032"           "032" 
#> TCGA.BQ.5879.01 TCGA.GL.A9DE.01 TCGA.G7.A8LB.01 TCGA.IA.A83T.01 TCGA.IA.A83V.01 TCGA.BQ.5876.11 
#>           "041"           "042"            "01"          "0313"           "032"           "021" 
#> TCGA.BQ.5885.11 TCGA.KV.A6GD.01 TCGA.SX.A7SL.01 TCGA.B9.A8YI.01 TCGA.B9.A8YH.01 TCGA.4A.A93Y.01 
#>           "021"         "03111"            "01"           "044"            "01"           "032" 
#> TCGA.BQ.5886.01 TCGA.A4.A5Y0.01 TCGA.A4.8098.01 TCGA.MH.A857.01 TCGA.BQ.5889.11 TCGA.DW.5560.01 
#>          "0531"          "0522"          "0533"           "023"           "021"           "054" 
#> TCGA.F9.A8NY.01 TCGA.BQ.5894.11 TCGA.BQ.5891.11 TCGA.G7.A8LE.01 TCGA.SX.A71W.01 TCGA.Y8.A894.01 
#>           "041"           "021"          "0221"            "01"            "01"            "01" 
#> TCGA.WN.A9G9.01 TCGA.A4.8310.01 TCGA.A4.8518.01 TCGA.BQ.5881.11 TCGA.BQ.5893.11 TCGA.A4.8311.01 
#>          "0313"          "0532"           "032"           "021"           "021"            "01" 
#> TCGA.BQ.5891.01 TCGA.Y8.A895.01 TCGA.BQ.5876.01 TCGA.MH.A855.01 TCGA.P4.AAVO.01 TCGA.BQ.5886.11 
#>           "043"            "01"          "0312"           "032"           "044"           "021" 
#> TCGA.2Z.A9JS.01 TCGA.BQ.5888.11 TCGA.2Z.A9J8.01 TCGA.KV.A74V.01 TCGA.A4.A5Y1.01 TCGA.BQ.5875.01 
#>            "01"          "0221"          "0523"            "01"           "043"           "042" 
#> TCGA.UZ.A9PZ.01 TCGA.Q2.A5QZ.01 TCGA.P4.A5E8.01 TCGA.B9.5155.01 TCGA.B9.A5W9.01 TCGA.5P.A9K4.01 
#>            "01"           "044"           "041"            "01"           "044"            "01" 
#> TCGA.P4.A5E7.01 TCGA.PJ.A5Z9.01 TCGA.5P.A9K8.01 TCGA.5P.A9KF.01 TCGA.P4.AAVK.01 TCGA.2Z.A9JM.01 
#>           "054"            "01"          "0223"            "01"           "042"           "051" 
#> TCGA.A4.A48D.01 TCGA.BQ.5889.01 TCGA.2Z.A9JD.01 TCGA.5P.A9K2.01 TCGA.2Z.A9JO.01 TCGA.5P.A9K9.01 
#>          "0313"         "03113"          "0531"            "01"           "032"           "043" 
#> TCGA.UZ.A9PV.01 TCGA.SX.A71V.01 TCGA.BQ.5892.11 TCGA.UZ.A9Q0.01 TCGA.UZ.A9PX.01 TCGA.UZ.A9PR.01 
#>            "01"          "0532"           "021"            "01"            "01"            "01" 
#> TCGA.IA.A40X.01 TCGA.5P.A9JW.01 TCGA.IA.A40Y.01 TCGA.BQ.5883.11 TCGA.BQ.5878.11 TCGA.P4.A5EA.01 
#>          "0522"          "0313"           "043"          "0221"          "0221"           "041" 
#> TCGA.5P.A9KE.01 TCGA.5P.A9K3.01 TCGA.B1.A47N.01 TCGA.5P.A9KA.01 TCGA.BQ.5879.11 TCGA.P4.A5ED.01 
#>          "0531"           "042"            "01"           "051"          "0221"           "023" 
#> TCGA.A4.A772.01 TCGA.B1.A47O.01 TCGA.IA.A40U.01 TCGA.2Z.A9JE.01 TCGA.B9.A44B.01 TCGA.AT.A5NU.01 
#>           "051"         "03112"          "0532"            "01"           "042"            "01" 
#> TCGA.BQ.5882.11 TCGA.BQ.5877.01 TCGA.DW.7963.01 TCGA.2Z.A9JL.01 TCGA.2Z.A9JQ.01 TCGA.2Z.A9JK.01 
#>           "021"           "043"          "0531"           "051"            "01"           "032" 
#> TCGA.UZ.A9PU.01 TCGA.P4.A5EB.01 TCGA.BQ.5892.01 TCGA.B1.A47M.11 TCGA.2Z.A9J9.01 TCGA.UZ.A9PS.05 
#>            "01"            "01"           "032"           "023"           "023"          "0312" 
#> TCGA.P4.AAVM.01 TCGA.PJ.A5Z8.01 TCGA.5P.A9JZ.01 TCGA.2Z.A9JG.01 TCGA.BQ.5884.01 TCGA.2Z.A9JI.01 
#>          "0531"          "0313"           "054"           "044"           "032"           "043" 
#> TCGA.BQ.5890.11 TCGA.BQ.5881.01 TCGA.UZ.A9PP.01 TCGA.5P.A9JU.01 TCGA.2Z.A9JN.01 TCGA.UZ.A9PS.01 
#>           "021"          "0531"            "01"           "042"          "0222"          "0522" 
#> TCGA.BQ.5875.11 TCGA.5P.A9JY.01 TCGA.B9.A5W8.01 TCGA.F9.A4JJ.01 TCGA.BQ.5883.01 TCGA.5P.A9K0.01 
#>          "0221"            "01"         "03111"           "041"          "0222"          "0531" 
#> TCGA.P4.AAVL.01 TCGA.B1.5398.01 TCGA.5P.A9K6.01 TCGA.UZ.A9PQ.01 TCGA.P4.A5E6.01 TCGA.BQ.5885.01 
#>            "01"          "0313"          "0531"           "044"          "0532"          "0532" 
#> TCGA.UZ.A9Q1.01 TCGA.2Z.A9JP.01 TCGA.5P.A9KC.01 TCGA.5P.A9KH.01 TCGA.2Z.A9JR.01 TCGA.GL.A59T.01 
#>           "044"          "0531"           "032"           "023"           "051"           "051" 
#> TCGA.5P.A9JV.01 TCGA.WN.AB4C.01 TCGA.SX.A71R.01 TCGA.A4.A5DU.01 TCGA.B1.A47M.01 TCGA.2Z.A9JJ.01 
#>           "023"           "032"            "01"            "01"           "051"           "054" 
#> TCGA.2Z.A9JT.01 TCGA.GL.A4EM.01 TCGA.HE.7129.01 TCGA.HE.7128.01 TCGA.HE.A5NL.01 TCGA.G7.7502.01 
#>          "0531"          "0313"            "01"         "03111"           "051"          "0532" 
#> TCGA.BQ.7059.01 TCGA.DZ.6134.11 TCGA.HE.A5NJ.01 TCGA.BQ.7053.11 TCGA.GL.6846.11 TCGA.GL.6846.01 
#>         "03111"           "021"            "01"          "0221"           "021"           "044" 
#> TCGA.DW.7839.01 TCGA.DW.7841.01 TCGA.BQ.7049.01 TCGA.G7.6793.01 TCGA.BQ.7051.01 TCGA.BQ.7045.01 
#>            "01"           "051"         "03113"           "041"            "01"          "0531" 
#> TCGA.HE.A5NF.01 TCGA.A4.7996.01 TCGA.BQ.7046.01 TCGA.DZ.6132.11 TCGA.G7.7501.01 TCGA.O9.A75Z.01 
#>         "03111"          "0532"          "0531"           "021"          "0521"            "01" 
#> TCGA.DW.7834.01 TCGA.DZ.6133.01 TCGA.A4.A4ZT.01 TCGA.BQ.7060.01 TCGA.G7.6792.01 TCGA.HE.7130.01 
#>           "051"            "01"            "01"          "0531"           "051"           "033" 
#> TCGA.GL.7773.01 TCGA.DZ.6133.11 TCGA.B1.7332.01 TCGA.BQ.7053.01 TCGA.DZ.6131.01 TCGA.BQ.7062.01 
#>           "054"          "0221"            "01"          "0522"           "033"          "0532" 
#> TCGA.BQ.7046.11 TCGA.A4.7288.01 TCGA.DZ.6131.11 TCGA.BQ.7062.11 TCGA.BQ.7061.01 TCGA.A4.7286.01 
#>           "021"          "0522"           "021"           "021"           "042"          "0532" 
#> TCGA.G7.6797.01 TCGA.BQ.7058.01 TCGA.G7.6795.01 TCGA.HE.A5NH.01 TCGA.MH.A55W.01 TCGA.G7.6790.01 
#>            "01"           "042"           "051"            "01"          "0532"          "0531" 
#> TCGA.MH.A560.01 TCGA.A4.7997.01 TCGA.MH.A561.01 TCGA.BQ.7056.11 TCGA.B9.7268.01 TCGA.BQ.7055.11 
#>          "0312"           "051"           "051"          "0221"            "01"           "021" 
#> TCGA.HE.A5NI.01 TCGA.GL.7966.01 TCGA.BQ.7059.11 TCGA.A4.A57E.01 TCGA.A4.7288.11 TCGA.AL.A5DJ.01 
#>            "01"           "041"           "021"          "0521"          "0221"           "043" 
#> TCGA.G7.6796.01 TCGA.DW.7837.01 TCGA.BQ.7051.11 TCGA.BQ.7048.01 TCGA.F9.A7VF.01 TCGA.BQ.7049.11 
#>           "032"           "051"           "021"           "044"            "01"           "021" 
#> TCGA.DZ.6134.01 TCGA.BQ.5887.01 TCGA.DZ.6135.01 TCGA.MH.A55Z.01 TCGA.A4.7915.01 TCGA.BQ.7048.11 
#>          "0313"           "043"            "01"            "01"           "041"           "021" 
#> TCGA.HE.A5NK.01 TCGA.G7.6789.01 TCGA.AL.7173.01 TCGA.SX.A71S.01 TCGA.BQ.7061.11 TCGA.DW.7840.01 
#>         "03111"           "043"         "03112"            "01"          "0223"            "01" 
#> TCGA.GL.A59R.01 TCGA.BQ.7050.11 TCGA.BQ.7058.11 TCGA.DW.7838.01 TCGA.SX.A71U.01 TCGA.DZ.6135.11 
#>            "01"          "0221"           "021"         "03113"           "051"           "021" 
#> TCGA.BQ.7044.11 TCGA.V9.A7HT.01 TCGA.DW.7842.01 TCGA.BQ.7050.01 TCGA.BQ.7055.01 TCGA.J7.6720.01 
#>           "021"         "03111"            "01"          "0522"           "023"           "051" 
#> TCGA.BQ.7060.11 TCGA.BQ.7044.01 TCGA.DZ.6132.01 TCGA.DW.7836.01 TCGA.A4.7828.01 TCGA.BQ.5887.11 
#>           "021"           "044"         "03113"            "01"          "0222"           "021" 
#> TCGA.B3.A6W5.01 TCGA.MH.A562.01 TCGA.A4.7734.01 TCGA.BQ.7045.11 TCGA.A4.7584.01 TCGA.BQ.7056.01 
#>            "01"           "051"            "01"           "021"          "0531"          "0522" 
#> TCGA.A4.7287.01 TCGA.UZ.A9PJ.01 TCGA.2Z.A9J1.01 TCGA.UN.AAZ9.01 TCGA.UZ.A9PO.01 TCGA.UZ.A9PL.01 
#>           "033"            "01"           "051"          "0533"          "0313"            "01" 
#> TCGA.A4.7732.11 TCGA.A4.7732.01 TCGA.2Z.A9J2.01 TCGA.2Z.A9J3.01 TCGA.2Z.A9J6.01 TCGA.F9.A97G.01 
#>           "021"            "01"           "032"            "01"           "051"          "0313" 
#> TCGA.UZ.A9PM.01 TCGA.A4.7585.11 TCGA.2K.A9WE.01 TCGA.A4.7583.01 TCGA.UZ.A9PK.01 TCGA.UZ.A9PN.01 
#>           "032"           "021"         "03113"          "0533"            "01"           "032" 
#> TCGA.2Z.A9J7.01 TCGA.2Z.A9J5.01 TCGA.A4.7585.01 
#>            "01"           "051"           "032"

show/hide code output

get_classes(res_rh, merge_node = merge_node_param(min_n_signatures = 3199))
#> TCGA.SX.A7SM.01 TCGA.IA.A83W.01 TCGA.B1.A656.01 TCGA.4A.A93X.01 TCGA.G7.A8LC.01 TCGA.SX.A7SS.01 
#>           "042"           "051"          "0312"           "042"          "0533"            "01" 
#> TCGA.B9.A69E.01 TCGA.BQ.5878.01 TCGA.DW.5561.01 TCGA.PJ.A8JU.01 TCGA.EV.5901.01 TCGA.SX.A7SR.01 
#>          "0313"            "01"            "01"           "032"           "054"           "051" 
#> TCGA.BQ.5894.01 TCGA.KV.A6GE.01 TCGA.BQ.5882.01 TCGA.SX.A7SQ.01 TCGA.F9.A7Q0.01 TCGA.IZ.A6M8.01 
#>           "041"            "01"           "043"            "01"           "032"          "0531" 
#> TCGA.B1.A654.01 TCGA.B3.8121.01 TCGA.MH.A856.01 TCGA.G7.A4TM.01 TCGA.IZ.8196.01 TCGA.B9.A5W7.01 
#>            "01"          "0311"           "051"            "01"            "01"            "01" 
#> TCGA.B9.5156.01 TCGA.A4.A7UZ.01 TCGA.Y8.A897.01 TCGA.SX.A7SP.01 TCGA.Y8.A8RZ.01 TCGA.A4.A5XZ.01 
#>           "051"           "032"           "051"          "0522"          "0523"          "0532" 
#> TCGA.Y8.A898.01 TCGA.BQ.5893.01 TCGA.SX.A7SU.01 TCGA.IZ.8195.01 TCGA.GL.8500.01 TCGA.EV.5902.01 
#>           "051"           "041"            "01"           "044"            "01"            "01" 
#> TCGA.J7.A8I2.01 TCGA.A4.8516.01 TCGA.A4.8312.01 TCGA.BQ.5880.01 TCGA.Y8.A8RY.01 TCGA.SX.A7SN.01 
#>           "033"            "01"           "023"           "032"           "051"           "051" 
#> TCGA.MH.A854.01 TCGA.A4.8517.01 TCGA.GL.A9DD.01 TCGA.A4.8630.01 TCGA.4A.A93W.01 TCGA.SX.A7SO.01 
#>            "01"          "0531"          "0311"            "01"            "01"          "0521" 
#> TCGA.GL.A9DC.01 TCGA.A4.8515.01 TCGA.IZ.A6M9.01 TCGA.BQ.5880.11 TCGA.B1.A657.01 TCGA.G7.A8LD.01 
#>            "01"            "01"            "01"           "021"           "051"           "043" 
#> TCGA.Y8.A8S1.01 TCGA.IA.A83S.01 TCGA.Y8.A8S0.01 TCGA.BQ.5884.11 TCGA.B1.A655.01 TCGA.BQ.5877.11 
#>          "0313"          "0311"            "01"          "0221"           "032"           "021" 
#> TCGA.EV.5903.01 TCGA.J7.8537.01 TCGA.A4.A6HP.01 TCGA.BQ.5890.01 TCGA.Y8.A896.01 TCGA.BQ.5888.01 
#>           "051"           "043"           "051"           "042"           "032"           "032" 
#> TCGA.BQ.5879.01 TCGA.GL.A9DE.01 TCGA.G7.A8LB.01 TCGA.IA.A83T.01 TCGA.IA.A83V.01 TCGA.BQ.5876.11 
#>           "041"           "042"            "01"          "0313"           "032"           "021" 
#> TCGA.BQ.5885.11 TCGA.KV.A6GD.01 TCGA.SX.A7SL.01 TCGA.B9.A8YI.01 TCGA.B9.A8YH.01 TCGA.4A.A93Y.01 
#>           "021"          "0311"            "01"           "044"            "01"           "032" 
#> TCGA.BQ.5886.01 TCGA.A4.A5Y0.01 TCGA.A4.8098.01 TCGA.MH.A857.01 TCGA.BQ.5889.11 TCGA.DW.5560.01 
#>          "0531"          "0522"          "0533"           "023"           "021"           "054" 
#> TCGA.F9.A8NY.01 TCGA.BQ.5894.11 TCGA.BQ.5891.11 TCGA.G7.A8LE.01 TCGA.SX.A71W.01 TCGA.Y8.A894.01 
#>           "041"           "021"          "0221"            "01"            "01"            "01" 
#> TCGA.WN.A9G9.01 TCGA.A4.8310.01 TCGA.A4.8518.01 TCGA.BQ.5881.11 TCGA.BQ.5893.11 TCGA.A4.8311.01 
#>          "0313"          "0532"           "032"           "021"           "021"            "01" 
#> TCGA.BQ.5891.01 TCGA.Y8.A895.01 TCGA.BQ.5876.01 TCGA.MH.A855.01 TCGA.P4.AAVO.01 TCGA.BQ.5886.11 
#>           "043"            "01"          "0312"           "032"           "044"           "021" 
#> TCGA.2Z.A9JS.01 TCGA.BQ.5888.11 TCGA.2Z.A9J8.01 TCGA.KV.A74V.01 TCGA.A4.A5Y1.01 TCGA.BQ.5875.01 
#>            "01"          "0221"          "0523"            "01"           "043"           "042" 
#> TCGA.UZ.A9PZ.01 TCGA.Q2.A5QZ.01 TCGA.P4.A5E8.01 TCGA.B9.5155.01 TCGA.B9.A5W9.01 TCGA.5P.A9K4.01 
#>            "01"           "044"           "041"            "01"           "044"            "01" 
#> TCGA.P4.A5E7.01 TCGA.PJ.A5Z9.01 TCGA.5P.A9K8.01 TCGA.5P.A9KF.01 TCGA.P4.AAVK.01 TCGA.2Z.A9JM.01 
#>           "054"            "01"          "0223"            "01"           "042"           "051" 
#> TCGA.A4.A48D.01 TCGA.BQ.5889.01 TCGA.2Z.A9JD.01 TCGA.5P.A9K2.01 TCGA.2Z.A9JO.01 TCGA.5P.A9K9.01 
#>          "0313"          "0311"          "0531"            "01"           "032"           "043" 
#> TCGA.UZ.A9PV.01 TCGA.SX.A71V.01 TCGA.BQ.5892.11 TCGA.UZ.A9Q0.01 TCGA.UZ.A9PX.01 TCGA.UZ.A9PR.01 
#>            "01"          "0532"           "021"            "01"            "01"            "01" 
#> TCGA.IA.A40X.01 TCGA.5P.A9JW.01 TCGA.IA.A40Y.01 TCGA.BQ.5883.11 TCGA.BQ.5878.11 TCGA.P4.A5EA.01 
#>          "0522"          "0313"           "043"          "0221"          "0221"           "041" 
#> TCGA.5P.A9KE.01 TCGA.5P.A9K3.01 TCGA.B1.A47N.01 TCGA.5P.A9KA.01 TCGA.BQ.5879.11 TCGA.P4.A5ED.01 
#>          "0531"           "042"            "01"           "051"          "0221"           "023" 
#> TCGA.A4.A772.01 TCGA.B1.A47O.01 TCGA.IA.A40U.01 TCGA.2Z.A9JE.01 TCGA.B9.A44B.01 TCGA.AT.A5NU.01 
#>           "051"          "0311"          "0532"            "01"           "042"            "01" 
#> TCGA.BQ.5882.11 TCGA.BQ.5877.01 TCGA.DW.7963.01 TCGA.2Z.A9JL.01 TCGA.2Z.A9JQ.01 TCGA.2Z.A9JK.01 
#>           "021"           "043"          "0531"           "051"            "01"           "032" 
#> TCGA.UZ.A9PU.01 TCGA.P4.A5EB.01 TCGA.BQ.5892.01 TCGA.B1.A47M.11 TCGA.2Z.A9J9.01 TCGA.UZ.A9PS.05 
#>            "01"            "01"           "032"           "023"           "023"          "0312" 
#> TCGA.P4.AAVM.01 TCGA.PJ.A5Z8.01 TCGA.5P.A9JZ.01 TCGA.2Z.A9JG.01 TCGA.BQ.5884.01 TCGA.2Z.A9JI.01 
#>          "0531"          "0313"           "054"           "044"           "032"           "043" 
#> TCGA.BQ.5890.11 TCGA.BQ.5881.01 TCGA.UZ.A9PP.01 TCGA.5P.A9JU.01 TCGA.2Z.A9JN.01 TCGA.UZ.A9PS.01 
#>           "021"          "0531"            "01"           "042"          "0222"          "0522" 
#> TCGA.BQ.5875.11 TCGA.5P.A9JY.01 TCGA.B9.A5W8.01 TCGA.F9.A4JJ.01 TCGA.BQ.5883.01 TCGA.5P.A9K0.01 
#>          "0221"            "01"          "0311"           "041"          "0222"          "0531" 
#> TCGA.P4.AAVL.01 TCGA.B1.5398.01 TCGA.5P.A9K6.01 TCGA.UZ.A9PQ.01 TCGA.P4.A5E6.01 TCGA.BQ.5885.01 
#>            "01"          "0313"          "0531"           "044"          "0532"          "0532" 
#> TCGA.UZ.A9Q1.01 TCGA.2Z.A9JP.01 TCGA.5P.A9KC.01 TCGA.5P.A9KH.01 TCGA.2Z.A9JR.01 TCGA.GL.A59T.01 
#>           "044"          "0531"           "032"           "023"           "051"           "051" 
#> TCGA.5P.A9JV.01 TCGA.WN.AB4C.01 TCGA.SX.A71R.01 TCGA.A4.A5DU.01 TCGA.B1.A47M.01 TCGA.2Z.A9JJ.01 
#>           "023"           "032"            "01"            "01"           "051"           "054" 
#> TCGA.2Z.A9JT.01 TCGA.GL.A4EM.01 TCGA.HE.7129.01 TCGA.HE.7128.01 TCGA.HE.A5NL.01 TCGA.G7.7502.01 
#>          "0531"          "0313"            "01"          "0311"           "051"          "0532" 
#> TCGA.BQ.7059.01 TCGA.DZ.6134.11 TCGA.HE.A5NJ.01 TCGA.BQ.7053.11 TCGA.GL.6846.11 TCGA.GL.6846.01 
#>          "0311"           "021"            "01"          "0221"           "021"           "044" 
#> TCGA.DW.7839.01 TCGA.DW.7841.01 TCGA.BQ.7049.01 TCGA.G7.6793.01 TCGA.BQ.7051.01 TCGA.BQ.7045.01 
#>            "01"           "051"          "0311"           "041"            "01"          "0531" 
#> TCGA.HE.A5NF.01 TCGA.A4.7996.01 TCGA.BQ.7046.01 TCGA.DZ.6132.11 TCGA.G7.7501.01 TCGA.O9.A75Z.01 
#>          "0311"          "0532"          "0531"           "021"          "0521"            "01" 
#> TCGA.DW.7834.01 TCGA.DZ.6133.01 TCGA.A4.A4ZT.01 TCGA.BQ.7060.01 TCGA.G7.6792.01 TCGA.HE.7130.01 
#>           "051"            "01"            "01"          "0531"           "051"           "033" 
#> TCGA.GL.7773.01 TCGA.DZ.6133.11 TCGA.B1.7332.01 TCGA.BQ.7053.01 TCGA.DZ.6131.01 TCGA.BQ.7062.01 
#>           "054"          "0221"            "01"          "0522"           "033"          "0532" 
#> TCGA.BQ.7046.11 TCGA.A4.7288.01 TCGA.DZ.6131.11 TCGA.BQ.7062.11 TCGA.BQ.7061.01 TCGA.A4.7286.01 
#>           "021"          "0522"           "021"           "021"           "042"          "0532" 
#> TCGA.G7.6797.01 TCGA.BQ.7058.01 TCGA.G7.6795.01 TCGA.HE.A5NH.01 TCGA.MH.A55W.01 TCGA.G7.6790.01 
#>            "01"           "042"           "051"            "01"          "0532"          "0531" 
#> TCGA.MH.A560.01 TCGA.A4.7997.01 TCGA.MH.A561.01 TCGA.BQ.7056.11 TCGA.B9.7268.01 TCGA.BQ.7055.11 
#>          "0312"           "051"           "051"          "0221"            "01"           "021" 
#> TCGA.HE.A5NI.01 TCGA.GL.7966.01 TCGA.BQ.7059.11 TCGA.A4.A57E.01 TCGA.A4.7288.11 TCGA.AL.A5DJ.01 
#>            "01"           "041"           "021"          "0521"          "0221"           "043" 
#> TCGA.G7.6796.01 TCGA.DW.7837.01 TCGA.BQ.7051.11 TCGA.BQ.7048.01 TCGA.F9.A7VF.01 TCGA.BQ.7049.11 
#>           "032"           "051"           "021"           "044"            "01"           "021" 
#> TCGA.DZ.6134.01 TCGA.BQ.5887.01 TCGA.DZ.6135.01 TCGA.MH.A55Z.01 TCGA.A4.7915.01 TCGA.BQ.7048.11 
#>          "0313"           "043"            "01"            "01"           "041"           "021" 
#> TCGA.HE.A5NK.01 TCGA.G7.6789.01 TCGA.AL.7173.01 TCGA.SX.A71S.01 TCGA.BQ.7061.11 TCGA.DW.7840.01 
#>          "0311"           "043"          "0311"            "01"          "0223"            "01" 
#> TCGA.GL.A59R.01 TCGA.BQ.7050.11 TCGA.BQ.7058.11 TCGA.DW.7838.01 TCGA.SX.A71U.01 TCGA.DZ.6135.11 
#>            "01"          "0221"           "021"          "0311"           "051"           "021" 
#> TCGA.BQ.7044.11 TCGA.V9.A7HT.01 TCGA.DW.7842.01 TCGA.BQ.7050.01 TCGA.BQ.7055.01 TCGA.J7.6720.01 
#>           "021"          "0311"            "01"          "0522"           "023"           "051" 
#> TCGA.BQ.7060.11 TCGA.BQ.7044.01 TCGA.DZ.6132.01 TCGA.DW.7836.01 TCGA.A4.7828.01 TCGA.BQ.5887.11 
#>           "021"           "044"          "0311"            "01"          "0222"           "021" 
#> TCGA.B3.A6W5.01 TCGA.MH.A562.01 TCGA.A4.7734.01 TCGA.BQ.7045.11 TCGA.A4.7584.01 TCGA.BQ.7056.01 
#>            "01"           "051"            "01"           "021"          "0531"          "0522" 
#> TCGA.A4.7287.01 TCGA.UZ.A9PJ.01 TCGA.2Z.A9J1.01 TCGA.UN.AAZ9.01 TCGA.UZ.A9PO.01 TCGA.UZ.A9PL.01 
#>           "033"            "01"           "051"          "0533"          "0313"            "01" 
#> TCGA.A4.7732.11 TCGA.A4.7732.01 TCGA.2Z.A9J2.01 TCGA.2Z.A9J3.01 TCGA.2Z.A9J6.01 TCGA.F9.A97G.01 
#>           "021"            "01"           "032"            "01"           "051"          "0313" 
#> TCGA.UZ.A9PM.01 TCGA.A4.7585.11 TCGA.2K.A9WE.01 TCGA.A4.7583.01 TCGA.UZ.A9PK.01 TCGA.UZ.A9PN.01 
#>           "032"           "021"          "0311"          "0533"            "01"           "032" 
#> TCGA.2Z.A9J7.01 TCGA.2Z.A9J5.01 TCGA.A4.7585.01 
#>            "01"           "051"           "032"

show/hide code output

get_classes(res_rh, merge_node = merge_node_param(min_n_signatures = 3659))
#> TCGA.SX.A7SM.01 TCGA.IA.A83W.01 TCGA.B1.A656.01 TCGA.4A.A93X.01 TCGA.G7.A8LC.01 TCGA.SX.A7SS.01 
#>           "042"           "051"          "0312"           "042"          "0533"            "01" 
#> TCGA.B9.A69E.01 TCGA.BQ.5878.01 TCGA.DW.5561.01 TCGA.PJ.A8JU.01 TCGA.EV.5901.01 TCGA.SX.A7SR.01 
#>          "0313"            "01"            "01"           "032"           "054"           "051" 
#> TCGA.BQ.5894.01 TCGA.KV.A6GE.01 TCGA.BQ.5882.01 TCGA.SX.A7SQ.01 TCGA.F9.A7Q0.01 TCGA.IZ.A6M8.01 
#>           "041"            "01"           "043"            "01"           "032"          "0531" 
#> TCGA.B1.A654.01 TCGA.B3.8121.01 TCGA.MH.A856.01 TCGA.G7.A4TM.01 TCGA.IZ.8196.01 TCGA.B9.A5W7.01 
#>            "01"          "0311"           "051"            "01"            "01"            "01" 
#> TCGA.B9.5156.01 TCGA.A4.A7UZ.01 TCGA.Y8.A897.01 TCGA.SX.A7SP.01 TCGA.Y8.A8RZ.01 TCGA.A4.A5XZ.01 
#>           "051"           "032"           "051"          "0522"          "0523"          "0532" 
#> TCGA.Y8.A898.01 TCGA.BQ.5893.01 TCGA.SX.A7SU.01 TCGA.IZ.8195.01 TCGA.GL.8500.01 TCGA.EV.5902.01 
#>           "051"           "041"            "01"           "044"            "01"            "01" 
#> TCGA.J7.A8I2.01 TCGA.A4.8516.01 TCGA.A4.8312.01 TCGA.BQ.5880.01 TCGA.Y8.A8RY.01 TCGA.SX.A7SN.01 
#>           "033"            "01"           "023"           "032"           "051"           "051" 
#> TCGA.MH.A854.01 TCGA.A4.8517.01 TCGA.GL.A9DD.01 TCGA.A4.8630.01 TCGA.4A.A93W.01 TCGA.SX.A7SO.01 
#>            "01"          "0531"          "0311"            "01"            "01"          "0521" 
#> TCGA.GL.A9DC.01 TCGA.A4.8515.01 TCGA.IZ.A6M9.01 TCGA.BQ.5880.11 TCGA.B1.A657.01 TCGA.G7.A8LD.01 
#>            "01"            "01"            "01"           "021"           "051"           "043" 
#> TCGA.Y8.A8S1.01 TCGA.IA.A83S.01 TCGA.Y8.A8S0.01 TCGA.BQ.5884.11 TCGA.B1.A655.01 TCGA.BQ.5877.11 
#>          "0313"          "0311"            "01"          "0221"           "032"           "021" 
#> TCGA.EV.5903.01 TCGA.J7.8537.01 TCGA.A4.A6HP.01 TCGA.BQ.5890.01 TCGA.Y8.A896.01 TCGA.BQ.5888.01 
#>           "051"           "043"           "051"           "042"           "032"           "032" 
#> TCGA.BQ.5879.01 TCGA.GL.A9DE.01 TCGA.G7.A8LB.01 TCGA.IA.A83T.01 TCGA.IA.A83V.01 TCGA.BQ.5876.11 
#>           "041"           "042"            "01"          "0313"           "032"           "021" 
#> TCGA.BQ.5885.11 TCGA.KV.A6GD.01 TCGA.SX.A7SL.01 TCGA.B9.A8YI.01 TCGA.B9.A8YH.01 TCGA.4A.A93Y.01 
#>           "021"          "0311"            "01"           "044"            "01"           "032" 
#> TCGA.BQ.5886.01 TCGA.A4.A5Y0.01 TCGA.A4.8098.01 TCGA.MH.A857.01 TCGA.BQ.5889.11 TCGA.DW.5560.01 
#>          "0531"          "0522"          "0533"           "023"           "021"           "054" 
#> TCGA.F9.A8NY.01 TCGA.BQ.5894.11 TCGA.BQ.5891.11 TCGA.G7.A8LE.01 TCGA.SX.A71W.01 TCGA.Y8.A894.01 
#>           "041"           "021"          "0221"            "01"            "01"            "01" 
#> TCGA.WN.A9G9.01 TCGA.A4.8310.01 TCGA.A4.8518.01 TCGA.BQ.5881.11 TCGA.BQ.5893.11 TCGA.A4.8311.01 
#>          "0313"          "0532"           "032"           "021"           "021"            "01" 
#> TCGA.BQ.5891.01 TCGA.Y8.A895.01 TCGA.BQ.5876.01 TCGA.MH.A855.01 TCGA.P4.AAVO.01 TCGA.BQ.5886.11 
#>           "043"            "01"          "0312"           "032"           "044"           "021" 
#> TCGA.2Z.A9JS.01 TCGA.BQ.5888.11 TCGA.2Z.A9J8.01 TCGA.KV.A74V.01 TCGA.A4.A5Y1.01 TCGA.BQ.5875.01 
#>            "01"          "0221"          "0523"            "01"           "043"           "042" 
#> TCGA.UZ.A9PZ.01 TCGA.Q2.A5QZ.01 TCGA.P4.A5E8.01 TCGA.B9.5155.01 TCGA.B9.A5W9.01 TCGA.5P.A9K4.01 
#>            "01"           "044"           "041"            "01"           "044"            "01" 
#> TCGA.P4.A5E7.01 TCGA.PJ.A5Z9.01 TCGA.5P.A9K8.01 TCGA.5P.A9KF.01 TCGA.P4.AAVK.01 TCGA.2Z.A9JM.01 
#>           "054"            "01"          "0223"            "01"           "042"           "051" 
#> TCGA.A4.A48D.01 TCGA.BQ.5889.01 TCGA.2Z.A9JD.01 TCGA.5P.A9K2.01 TCGA.2Z.A9JO.01 TCGA.5P.A9K9.01 
#>          "0313"          "0311"          "0531"            "01"           "032"           "043" 
#> TCGA.UZ.A9PV.01 TCGA.SX.A71V.01 TCGA.BQ.5892.11 TCGA.UZ.A9Q0.01 TCGA.UZ.A9PX.01 TCGA.UZ.A9PR.01 
#>            "01"          "0532"           "021"            "01"            "01"            "01" 
#> TCGA.IA.A40X.01 TCGA.5P.A9JW.01 TCGA.IA.A40Y.01 TCGA.BQ.5883.11 TCGA.BQ.5878.11 TCGA.P4.A5EA.01 
#>          "0522"          "0313"           "043"          "0221"          "0221"           "041" 
#> TCGA.5P.A9KE.01 TCGA.5P.A9K3.01 TCGA.B1.A47N.01 TCGA.5P.A9KA.01 TCGA.BQ.5879.11 TCGA.P4.A5ED.01 
#>          "0531"           "042"            "01"           "051"          "0221"           "023" 
#> TCGA.A4.A772.01 TCGA.B1.A47O.01 TCGA.IA.A40U.01 TCGA.2Z.A9JE.01 TCGA.B9.A44B.01 TCGA.AT.A5NU.01 
#>           "051"          "0311"          "0532"            "01"           "042"            "01" 
#> TCGA.BQ.5882.11 TCGA.BQ.5877.01 TCGA.DW.7963.01 TCGA.2Z.A9JL.01 TCGA.2Z.A9JQ.01 TCGA.2Z.A9JK.01 
#>           "021"           "043"          "0531"           "051"            "01"           "032" 
#> TCGA.UZ.A9PU.01 TCGA.P4.A5EB.01 TCGA.BQ.5892.01 TCGA.B1.A47M.11 TCGA.2Z.A9J9.01 TCGA.UZ.A9PS.05 
#>            "01"            "01"           "032"           "023"           "023"          "0312" 
#> TCGA.P4.AAVM.01 TCGA.PJ.A5Z8.01 TCGA.5P.A9JZ.01 TCGA.2Z.A9JG.01 TCGA.BQ.5884.01 TCGA.2Z.A9JI.01 
#>          "0531"          "0313"           "054"           "044"           "032"           "043" 
#> TCGA.BQ.5890.11 TCGA.BQ.5881.01 TCGA.UZ.A9PP.01 TCGA.5P.A9JU.01 TCGA.2Z.A9JN.01 TCGA.UZ.A9PS.01 
#>           "021"          "0531"            "01"           "042"          "0222"          "0522" 
#> TCGA.BQ.5875.11 TCGA.5P.A9JY.01 TCGA.B9.A5W8.01 TCGA.F9.A4JJ.01 TCGA.BQ.5883.01 TCGA.5P.A9K0.01 
#>          "0221"            "01"          "0311"           "041"          "0222"          "0531" 
#> TCGA.P4.AAVL.01 TCGA.B1.5398.01 TCGA.5P.A9K6.01 TCGA.UZ.A9PQ.01 TCGA.P4.A5E6.01 TCGA.BQ.5885.01 
#>            "01"          "0313"          "0531"           "044"          "0532"          "0532" 
#> TCGA.UZ.A9Q1.01 TCGA.2Z.A9JP.01 TCGA.5P.A9KC.01 TCGA.5P.A9KH.01 TCGA.2Z.A9JR.01 TCGA.GL.A59T.01 
#>           "044"          "0531"           "032"           "023"           "051"           "051" 
#> TCGA.5P.A9JV.01 TCGA.WN.AB4C.01 TCGA.SX.A71R.01 TCGA.A4.A5DU.01 TCGA.B1.A47M.01 TCGA.2Z.A9JJ.01 
#>           "023"           "032"            "01"            "01"           "051"           "054" 
#> TCGA.2Z.A9JT.01 TCGA.GL.A4EM.01 TCGA.HE.7129.01 TCGA.HE.7128.01 TCGA.HE.A5NL.01 TCGA.G7.7502.01 
#>          "0531"          "0313"            "01"          "0311"           "051"          "0532" 
#> TCGA.BQ.7059.01 TCGA.DZ.6134.11 TCGA.HE.A5NJ.01 TCGA.BQ.7053.11 TCGA.GL.6846.11 TCGA.GL.6846.01 
#>          "0311"           "021"            "01"          "0221"           "021"           "044" 
#> TCGA.DW.7839.01 TCGA.DW.7841.01 TCGA.BQ.7049.01 TCGA.G7.6793.01 TCGA.BQ.7051.01 TCGA.BQ.7045.01 
#>            "01"           "051"          "0311"           "041"            "01"          "0531" 
#> TCGA.HE.A5NF.01 TCGA.A4.7996.01 TCGA.BQ.7046.01 TCGA.DZ.6132.11 TCGA.G7.7501.01 TCGA.O9.A75Z.01 
#>          "0311"          "0532"          "0531"           "021"          "0521"            "01" 
#> TCGA.DW.7834.01 TCGA.DZ.6133.01 TCGA.A4.A4ZT.01 TCGA.BQ.7060.01 TCGA.G7.6792.01 TCGA.HE.7130.01 
#>           "051"            "01"            "01"          "0531"           "051"           "033" 
#> TCGA.GL.7773.01 TCGA.DZ.6133.11 TCGA.B1.7332.01 TCGA.BQ.7053.01 TCGA.DZ.6131.01 TCGA.BQ.7062.01 
#>           "054"          "0221"            "01"          "0522"           "033"          "0532" 
#> TCGA.BQ.7046.11 TCGA.A4.7288.01 TCGA.DZ.6131.11 TCGA.BQ.7062.11 TCGA.BQ.7061.01 TCGA.A4.7286.01 
#>           "021"          "0522"           "021"           "021"           "042"          "0532" 
#> TCGA.G7.6797.01 TCGA.BQ.7058.01 TCGA.G7.6795.01 TCGA.HE.A5NH.01 TCGA.MH.A55W.01 TCGA.G7.6790.01 
#>            "01"           "042"           "051"            "01"          "0532"          "0531" 
#> TCGA.MH.A560.01 TCGA.A4.7997.01 TCGA.MH.A561.01 TCGA.BQ.7056.11 TCGA.B9.7268.01 TCGA.BQ.7055.11 
#>          "0312"           "051"           "051"          "0221"            "01"           "021" 
#> TCGA.HE.A5NI.01 TCGA.GL.7966.01 TCGA.BQ.7059.11 TCGA.A4.A57E.01 TCGA.A4.7288.11 TCGA.AL.A5DJ.01 
#>            "01"           "041"           "021"          "0521"          "0221"           "043" 
#> TCGA.G7.6796.01 TCGA.DW.7837.01 TCGA.BQ.7051.11 TCGA.BQ.7048.01 TCGA.F9.A7VF.01 TCGA.BQ.7049.11 
#>           "032"           "051"           "021"           "044"            "01"           "021" 
#> TCGA.DZ.6134.01 TCGA.BQ.5887.01 TCGA.DZ.6135.01 TCGA.MH.A55Z.01 TCGA.A4.7915.01 TCGA.BQ.7048.11 
#>          "0313"           "043"            "01"            "01"           "041"           "021" 
#> TCGA.HE.A5NK.01 TCGA.G7.6789.01 TCGA.AL.7173.01 TCGA.SX.A71S.01 TCGA.BQ.7061.11 TCGA.DW.7840.01 
#>          "0311"           "043"          "0311"            "01"          "0223"            "01" 
#> TCGA.GL.A59R.01 TCGA.BQ.7050.11 TCGA.BQ.7058.11 TCGA.DW.7838.01 TCGA.SX.A71U.01 TCGA.DZ.6135.11 
#>            "01"          "0221"           "021"          "0311"           "051"           "021" 
#> TCGA.BQ.7044.11 TCGA.V9.A7HT.01 TCGA.DW.7842.01 TCGA.BQ.7050.01 TCGA.BQ.7055.01 TCGA.J7.6720.01 
#>           "021"          "0311"            "01"          "0522"           "023"           "051" 
#> TCGA.BQ.7060.11 TCGA.BQ.7044.01 TCGA.DZ.6132.01 TCGA.DW.7836.01 TCGA.A4.7828.01 TCGA.BQ.5887.11 
#>           "021"           "044"          "0311"            "01"          "0222"           "021" 
#> TCGA.B3.A6W5.01 TCGA.MH.A562.01 TCGA.A4.7734.01 TCGA.BQ.7045.11 TCGA.A4.7584.01 TCGA.BQ.7056.01 
#>            "01"           "051"            "01"           "021"          "0531"          "0522" 
#> TCGA.A4.7287.01 TCGA.UZ.A9PJ.01 TCGA.2Z.A9J1.01 TCGA.UN.AAZ9.01 TCGA.UZ.A9PO.01 TCGA.UZ.A9PL.01 
#>           "033"            "01"           "051"          "0533"          "0313"            "01" 
#> TCGA.A4.7732.11 TCGA.A4.7732.01 TCGA.2Z.A9J2.01 TCGA.2Z.A9J3.01 TCGA.2Z.A9J6.01 TCGA.F9.A97G.01 
#>           "021"            "01"           "032"            "01"           "051"          "0313" 
#> TCGA.UZ.A9PM.01 TCGA.A4.7585.11 TCGA.2K.A9WE.01 TCGA.A4.7583.01 TCGA.UZ.A9PK.01 TCGA.UZ.A9PN.01 
#>           "032"           "021"          "0311"          "0533"            "01"           "032" 
#> TCGA.2Z.A9J7.01 TCGA.2Z.A9J5.01 TCGA.A4.7585.01 
#>            "01"           "051"           "032"

show/hide code output

get_classes(res_rh, merge_node = merge_node_param(min_n_signatures = 4193))
#> TCGA.SX.A7SM.01 TCGA.IA.A83W.01 TCGA.B1.A656.01 TCGA.4A.A93X.01 TCGA.G7.A8LC.01 TCGA.SX.A7SS.01 
#>           "042"           "051"          "0312"           "042"          "0533"            "01" 
#> TCGA.B9.A69E.01 TCGA.BQ.5878.01 TCGA.DW.5561.01 TCGA.PJ.A8JU.01 TCGA.EV.5901.01 TCGA.SX.A7SR.01 
#>          "0313"            "01"            "01"           "032"           "054"           "051" 
#> TCGA.BQ.5894.01 TCGA.KV.A6GE.01 TCGA.BQ.5882.01 TCGA.SX.A7SQ.01 TCGA.F9.A7Q0.01 TCGA.IZ.A6M8.01 
#>           "041"            "01"           "043"            "01"           "032"          "0531" 
#> TCGA.B1.A654.01 TCGA.B3.8121.01 TCGA.MH.A856.01 TCGA.G7.A4TM.01 TCGA.IZ.8196.01 TCGA.B9.A5W7.01 
#>            "01"          "0311"           "051"            "01"            "01"            "01" 
#> TCGA.B9.5156.01 TCGA.A4.A7UZ.01 TCGA.Y8.A897.01 TCGA.SX.A7SP.01 TCGA.Y8.A8RZ.01 TCGA.A4.A5XZ.01 
#>           "051"           "032"           "051"           "052"           "052"          "0532" 
#> TCGA.Y8.A898.01 TCGA.BQ.5893.01 TCGA.SX.A7SU.01 TCGA.IZ.8195.01 TCGA.GL.8500.01 TCGA.EV.5902.01 
#>           "051"           "041"            "01"           "044"            "01"            "01" 
#> TCGA.J7.A8I2.01 TCGA.A4.8516.01 TCGA.A4.8312.01 TCGA.BQ.5880.01 TCGA.Y8.A8RY.01 TCGA.SX.A7SN.01 
#>           "033"            "01"           "023"           "032"           "051"           "051" 
#> TCGA.MH.A854.01 TCGA.A4.8517.01 TCGA.GL.A9DD.01 TCGA.A4.8630.01 TCGA.4A.A93W.01 TCGA.SX.A7SO.01 
#>            "01"          "0531"          "0311"            "01"            "01"           "052" 
#> TCGA.GL.A9DC.01 TCGA.A4.8515.01 TCGA.IZ.A6M9.01 TCGA.BQ.5880.11 TCGA.B1.A657.01 TCGA.G7.A8LD.01 
#>            "01"            "01"            "01"           "021"           "051"           "043" 
#> TCGA.Y8.A8S1.01 TCGA.IA.A83S.01 TCGA.Y8.A8S0.01 TCGA.BQ.5884.11 TCGA.B1.A655.01 TCGA.BQ.5877.11 
#>          "0313"          "0311"            "01"          "0221"           "032"           "021" 
#> TCGA.EV.5903.01 TCGA.J7.8537.01 TCGA.A4.A6HP.01 TCGA.BQ.5890.01 TCGA.Y8.A896.01 TCGA.BQ.5888.01 
#>           "051"           "043"           "051"           "042"           "032"           "032" 
#> TCGA.BQ.5879.01 TCGA.GL.A9DE.01 TCGA.G7.A8LB.01 TCGA.IA.A83T.01 TCGA.IA.A83V.01 TCGA.BQ.5876.11 
#>           "041"           "042"            "01"          "0313"           "032"           "021" 
#> TCGA.BQ.5885.11 TCGA.KV.A6GD.01 TCGA.SX.A7SL.01 TCGA.B9.A8YI.01 TCGA.B9.A8YH.01 TCGA.4A.A93Y.01 
#>           "021"          "0311"            "01"           "044"            "01"           "032" 
#> TCGA.BQ.5886.01 TCGA.A4.A5Y0.01 TCGA.A4.8098.01 TCGA.MH.A857.01 TCGA.BQ.5889.11 TCGA.DW.5560.01 
#>          "0531"           "052"          "0533"           "023"           "021"           "054" 
#> TCGA.F9.A8NY.01 TCGA.BQ.5894.11 TCGA.BQ.5891.11 TCGA.G7.A8LE.01 TCGA.SX.A71W.01 TCGA.Y8.A894.01 
#>           "041"           "021"          "0221"            "01"            "01"            "01" 
#> TCGA.WN.A9G9.01 TCGA.A4.8310.01 TCGA.A4.8518.01 TCGA.BQ.5881.11 TCGA.BQ.5893.11 TCGA.A4.8311.01 
#>          "0313"          "0532"           "032"           "021"           "021"            "01" 
#> TCGA.BQ.5891.01 TCGA.Y8.A895.01 TCGA.BQ.5876.01 TCGA.MH.A855.01 TCGA.P4.AAVO.01 TCGA.BQ.5886.11 
#>           "043"            "01"          "0312"           "032"           "044"           "021" 
#> TCGA.2Z.A9JS.01 TCGA.BQ.5888.11 TCGA.2Z.A9J8.01 TCGA.KV.A74V.01 TCGA.A4.A5Y1.01 TCGA.BQ.5875.01 
#>            "01"          "0221"           "052"            "01"           "043"           "042" 
#> TCGA.UZ.A9PZ.01 TCGA.Q2.A5QZ.01 TCGA.P4.A5E8.01 TCGA.B9.5155.01 TCGA.B9.A5W9.01 TCGA.5P.A9K4.01 
#>            "01"           "044"           "041"            "01"           "044"            "01" 
#> TCGA.P4.A5E7.01 TCGA.PJ.A5Z9.01 TCGA.5P.A9K8.01 TCGA.5P.A9KF.01 TCGA.P4.AAVK.01 TCGA.2Z.A9JM.01 
#>           "054"            "01"          "0223"            "01"           "042"           "051" 
#> TCGA.A4.A48D.01 TCGA.BQ.5889.01 TCGA.2Z.A9JD.01 TCGA.5P.A9K2.01 TCGA.2Z.A9JO.01 TCGA.5P.A9K9.01 
#>          "0313"          "0311"          "0531"            "01"           "032"           "043" 
#> TCGA.UZ.A9PV.01 TCGA.SX.A71V.01 TCGA.BQ.5892.11 TCGA.UZ.A9Q0.01 TCGA.UZ.A9PX.01 TCGA.UZ.A9PR.01 
#>            "01"          "0532"           "021"            "01"            "01"            "01" 
#> TCGA.IA.A40X.01 TCGA.5P.A9JW.01 TCGA.IA.A40Y.01 TCGA.BQ.5883.11 TCGA.BQ.5878.11 TCGA.P4.A5EA.01 
#>           "052"          "0313"           "043"          "0221"          "0221"           "041" 
#> TCGA.5P.A9KE.01 TCGA.5P.A9K3.01 TCGA.B1.A47N.01 TCGA.5P.A9KA.01 TCGA.BQ.5879.11 TCGA.P4.A5ED.01 
#>          "0531"           "042"            "01"           "051"          "0221"           "023" 
#> TCGA.A4.A772.01 TCGA.B1.A47O.01 TCGA.IA.A40U.01 TCGA.2Z.A9JE.01 TCGA.B9.A44B.01 TCGA.AT.A5NU.01 
#>           "051"          "0311"          "0532"            "01"           "042"            "01" 
#> TCGA.BQ.5882.11 TCGA.BQ.5877.01 TCGA.DW.7963.01 TCGA.2Z.A9JL.01 TCGA.2Z.A9JQ.01 TCGA.2Z.A9JK.01 
#>           "021"           "043"          "0531"           "051"            "01"           "032" 
#> TCGA.UZ.A9PU.01 TCGA.P4.A5EB.01 TCGA.BQ.5892.01 TCGA.B1.A47M.11 TCGA.2Z.A9J9.01 TCGA.UZ.A9PS.05 
#>            "01"            "01"           "032"           "023"           "023"          "0312" 
#> TCGA.P4.AAVM.01 TCGA.PJ.A5Z8.01 TCGA.5P.A9JZ.01 TCGA.2Z.A9JG.01 TCGA.BQ.5884.01 TCGA.2Z.A9JI.01 
#>          "0531"          "0313"           "054"           "044"           "032"           "043" 
#> TCGA.BQ.5890.11 TCGA.BQ.5881.01 TCGA.UZ.A9PP.01 TCGA.5P.A9JU.01 TCGA.2Z.A9JN.01 TCGA.UZ.A9PS.01 
#>           "021"          "0531"            "01"           "042"          "0222"           "052" 
#> TCGA.BQ.5875.11 TCGA.5P.A9JY.01 TCGA.B9.A5W8.01 TCGA.F9.A4JJ.01 TCGA.BQ.5883.01 TCGA.5P.A9K0.01 
#>          "0221"            "01"          "0311"           "041"          "0222"          "0531" 
#> TCGA.P4.AAVL.01 TCGA.B1.5398.01 TCGA.5P.A9K6.01 TCGA.UZ.A9PQ.01 TCGA.P4.A5E6.01 TCGA.BQ.5885.01 
#>            "01"          "0313"          "0531"           "044"          "0532"          "0532" 
#> TCGA.UZ.A9Q1.01 TCGA.2Z.A9JP.01 TCGA.5P.A9KC.01 TCGA.5P.A9KH.01 TCGA.2Z.A9JR.01 TCGA.GL.A59T.01 
#>           "044"          "0531"           "032"           "023"           "051"           "051" 
#> TCGA.5P.A9JV.01 TCGA.WN.AB4C.01 TCGA.SX.A71R.01 TCGA.A4.A5DU.01 TCGA.B1.A47M.01 TCGA.2Z.A9JJ.01 
#>           "023"           "032"            "01"            "01"           "051"           "054" 
#> TCGA.2Z.A9JT.01 TCGA.GL.A4EM.01 TCGA.HE.7129.01 TCGA.HE.7128.01 TCGA.HE.A5NL.01 TCGA.G7.7502.01 
#>          "0531"          "0313"            "01"          "0311"           "051"          "0532" 
#> TCGA.BQ.7059.01 TCGA.DZ.6134.11 TCGA.HE.A5NJ.01 TCGA.BQ.7053.11 TCGA.GL.6846.11 TCGA.GL.6846.01 
#>          "0311"           "021"            "01"          "0221"           "021"           "044" 
#> TCGA.DW.7839.01 TCGA.DW.7841.01 TCGA.BQ.7049.01 TCGA.G7.6793.01 TCGA.BQ.7051.01 TCGA.BQ.7045.01 
#>            "01"           "051"          "0311"           "041"            "01"          "0531" 
#> TCGA.HE.A5NF.01 TCGA.A4.7996.01 TCGA.BQ.7046.01 TCGA.DZ.6132.11 TCGA.G7.7501.01 TCGA.O9.A75Z.01 
#>          "0311"          "0532"          "0531"           "021"           "052"            "01" 
#> TCGA.DW.7834.01 TCGA.DZ.6133.01 TCGA.A4.A4ZT.01 TCGA.BQ.7060.01 TCGA.G7.6792.01 TCGA.HE.7130.01 
#>           "051"            "01"            "01"          "0531"           "051"           "033" 
#> TCGA.GL.7773.01 TCGA.DZ.6133.11 TCGA.B1.7332.01 TCGA.BQ.7053.01 TCGA.DZ.6131.01 TCGA.BQ.7062.01 
#>           "054"          "0221"            "01"           "052"           "033"          "0532" 
#> TCGA.BQ.7046.11 TCGA.A4.7288.01 TCGA.DZ.6131.11 TCGA.BQ.7062.11 TCGA.BQ.7061.01 TCGA.A4.7286.01 
#>           "021"           "052"           "021"           "021"           "042"          "0532" 
#> TCGA.G7.6797.01 TCGA.BQ.7058.01 TCGA.G7.6795.01 TCGA.HE.A5NH.01 TCGA.MH.A55W.01 TCGA.G7.6790.01 
#>            "01"           "042"           "051"            "01"          "0532"          "0531" 
#> TCGA.MH.A560.01 TCGA.A4.7997.01 TCGA.MH.A561.01 TCGA.BQ.7056.11 TCGA.B9.7268.01 TCGA.BQ.7055.11 
#>          "0312"           "051"           "051"          "0221"            "01"           "021" 
#> TCGA.HE.A5NI.01 TCGA.GL.7966.01 TCGA.BQ.7059.11 TCGA.A4.A57E.01 TCGA.A4.7288.11 TCGA.AL.A5DJ.01 
#>            "01"           "041"           "021"           "052"          "0221"           "043" 
#> TCGA.G7.6796.01 TCGA.DW.7837.01 TCGA.BQ.7051.11 TCGA.BQ.7048.01 TCGA.F9.A7VF.01 TCGA.BQ.7049.11 
#>           "032"           "051"           "021"           "044"            "01"           "021" 
#> TCGA.DZ.6134.01 TCGA.BQ.5887.01 TCGA.DZ.6135.01 TCGA.MH.A55Z.01 TCGA.A4.7915.01 TCGA.BQ.7048.11 
#>          "0313"           "043"            "01"            "01"           "041"           "021" 
#> TCGA.HE.A5NK.01 TCGA.G7.6789.01 TCGA.AL.7173.01 TCGA.SX.A71S.01 TCGA.BQ.7061.11 TCGA.DW.7840.01 
#>          "0311"           "043"          "0311"            "01"          "0223"            "01" 
#> TCGA.GL.A59R.01 TCGA.BQ.7050.11 TCGA.BQ.7058.11 TCGA.DW.7838.01 TCGA.SX.A71U.01 TCGA.DZ.6135.11 
#>            "01"          "0221"           "021"          "0311"           "051"           "021" 
#> TCGA.BQ.7044.11 TCGA.V9.A7HT.01 TCGA.DW.7842.01 TCGA.BQ.7050.01 TCGA.BQ.7055.01 TCGA.J7.6720.01 
#>           "021"          "0311"            "01"           "052"           "023"           "051" 
#> TCGA.BQ.7060.11 TCGA.BQ.7044.01 TCGA.DZ.6132.01 TCGA.DW.7836.01 TCGA.A4.7828.01 TCGA.BQ.5887.11 
#>           "021"           "044"          "0311"            "01"          "0222"           "021" 
#> TCGA.B3.A6W5.01 TCGA.MH.A562.01 TCGA.A4.7734.01 TCGA.BQ.7045.11 TCGA.A4.7584.01 TCGA.BQ.7056.01 
#>            "01"           "051"            "01"           "021"          "0531"           "052" 
#> TCGA.A4.7287.01 TCGA.UZ.A9PJ.01 TCGA.2Z.A9J1.01 TCGA.UN.AAZ9.01 TCGA.UZ.A9PO.01 TCGA.UZ.A9PL.01 
#>           "033"            "01"           "051"          "0533"          "0313"            "01" 
#> TCGA.A4.7732.11 TCGA.A4.7732.01 TCGA.2Z.A9J2.01 TCGA.2Z.A9J3.01 TCGA.2Z.A9J6.01 TCGA.F9.A97G.01 
#>           "021"            "01"           "032"            "01"           "051"          "0313" 
#> TCGA.UZ.A9PM.01 TCGA.A4.7585.11 TCGA.2K.A9WE.01 TCGA.A4.7583.01 TCGA.UZ.A9PK.01 TCGA.UZ.A9PN.01 
#>           "032"           "021"          "0311"          "0533"            "01"           "032" 
#> TCGA.2Z.A9J7.01 TCGA.2Z.A9J5.01 TCGA.A4.7585.01 
#>            "01"           "051"           "032"

show/hide code output

get_classes(res_rh, merge_node = merge_node_param(min_n_signatures = 4789))
#> TCGA.SX.A7SM.01 TCGA.IA.A83W.01 TCGA.B1.A656.01 TCGA.4A.A93X.01 TCGA.G7.A8LC.01 TCGA.SX.A7SS.01 
#>           "042"           "051"          "0312"           "042"           "053"            "01" 
#> TCGA.B9.A69E.01 TCGA.BQ.5878.01 TCGA.DW.5561.01 TCGA.PJ.A8JU.01 TCGA.EV.5901.01 TCGA.SX.A7SR.01 
#>          "0313"            "01"            "01"           "032"           "054"           "051" 
#> TCGA.BQ.5894.01 TCGA.KV.A6GE.01 TCGA.BQ.5882.01 TCGA.SX.A7SQ.01 TCGA.F9.A7Q0.01 TCGA.IZ.A6M8.01 
#>           "041"            "01"           "043"            "01"           "032"           "053" 
#> TCGA.B1.A654.01 TCGA.B3.8121.01 TCGA.MH.A856.01 TCGA.G7.A4TM.01 TCGA.IZ.8196.01 TCGA.B9.A5W7.01 
#>            "01"          "0311"           "051"            "01"            "01"            "01" 
#> TCGA.B9.5156.01 TCGA.A4.A7UZ.01 TCGA.Y8.A897.01 TCGA.SX.A7SP.01 TCGA.Y8.A8RZ.01 TCGA.A4.A5XZ.01 
#>           "051"           "032"           "051"           "052"           "052"           "053" 
#> TCGA.Y8.A898.01 TCGA.BQ.5893.01 TCGA.SX.A7SU.01 TCGA.IZ.8195.01 TCGA.GL.8500.01 TCGA.EV.5902.01 
#>           "051"           "041"            "01"           "044"            "01"            "01" 
#> TCGA.J7.A8I2.01 TCGA.A4.8516.01 TCGA.A4.8312.01 TCGA.BQ.5880.01 TCGA.Y8.A8RY.01 TCGA.SX.A7SN.01 
#>           "033"            "01"           "023"           "032"           "051"           "051" 
#> TCGA.MH.A854.01 TCGA.A4.8517.01 TCGA.GL.A9DD.01 TCGA.A4.8630.01 TCGA.4A.A93W.01 TCGA.SX.A7SO.01 
#>            "01"           "053"          "0311"            "01"            "01"           "052" 
#> TCGA.GL.A9DC.01 TCGA.A4.8515.01 TCGA.IZ.A6M9.01 TCGA.BQ.5880.11 TCGA.B1.A657.01 TCGA.G7.A8LD.01 
#>            "01"            "01"            "01"           "021"           "051"           "043" 
#> TCGA.Y8.A8S1.01 TCGA.IA.A83S.01 TCGA.Y8.A8S0.01 TCGA.BQ.5884.11 TCGA.B1.A655.01 TCGA.BQ.5877.11 
#>          "0313"          "0311"            "01"          "0221"           "032"           "021" 
#> TCGA.EV.5903.01 TCGA.J7.8537.01 TCGA.A4.A6HP.01 TCGA.BQ.5890.01 TCGA.Y8.A896.01 TCGA.BQ.5888.01 
#>           "051"           "043"           "051"           "042"           "032"           "032" 
#> TCGA.BQ.5879.01 TCGA.GL.A9DE.01 TCGA.G7.A8LB.01 TCGA.IA.A83T.01 TCGA.IA.A83V.01 TCGA.BQ.5876.11 
#>           "041"           "042"            "01"          "0313"           "032"           "021" 
#> TCGA.BQ.5885.11 TCGA.KV.A6GD.01 TCGA.SX.A7SL.01 TCGA.B9.A8YI.01 TCGA.B9.A8YH.01 TCGA.4A.A93Y.01 
#>           "021"          "0311"            "01"           "044"            "01"           "032" 
#> TCGA.BQ.5886.01 TCGA.A4.A5Y0.01 TCGA.A4.8098.01 TCGA.MH.A857.01 TCGA.BQ.5889.11 TCGA.DW.5560.01 
#>           "053"           "052"           "053"           "023"           "021"           "054" 
#> TCGA.F9.A8NY.01 TCGA.BQ.5894.11 TCGA.BQ.5891.11 TCGA.G7.A8LE.01 TCGA.SX.A71W.01 TCGA.Y8.A894.01 
#>           "041"           "021"          "0221"            "01"            "01"            "01" 
#> TCGA.WN.A9G9.01 TCGA.A4.8310.01 TCGA.A4.8518.01 TCGA.BQ.5881.11 TCGA.BQ.5893.11 TCGA.A4.8311.01 
#>          "0313"           "053"           "032"           "021"           "021"            "01" 
#> TCGA.BQ.5891.01 TCGA.Y8.A895.01 TCGA.BQ.5876.01 TCGA.MH.A855.01 TCGA.P4.AAVO.01 TCGA.BQ.5886.11 
#>           "043"            "01"          "0312"           "032"           "044"           "021" 
#> TCGA.2Z.A9JS.01 TCGA.BQ.5888.11 TCGA.2Z.A9J8.01 TCGA.KV.A74V.01 TCGA.A4.A5Y1.01 TCGA.BQ.5875.01 
#>            "01"          "0221"           "052"            "01"           "043"           "042" 
#> TCGA.UZ.A9PZ.01 TCGA.Q2.A5QZ.01 TCGA.P4.A5E8.01 TCGA.B9.5155.01 TCGA.B9.A5W9.01 TCGA.5P.A9K4.01 
#>            "01"           "044"           "041"            "01"           "044"            "01" 
#> TCGA.P4.A5E7.01 TCGA.PJ.A5Z9.01 TCGA.5P.A9K8.01 TCGA.5P.A9KF.01 TCGA.P4.AAVK.01 TCGA.2Z.A9JM.01 
#>           "054"            "01"          "0223"            "01"           "042"           "051" 
#> TCGA.A4.A48D.01 TCGA.BQ.5889.01 TCGA.2Z.A9JD.01 TCGA.5P.A9K2.01 TCGA.2Z.A9JO.01 TCGA.5P.A9K9.01 
#>          "0313"          "0311"           "053"            "01"           "032"           "043" 
#> TCGA.UZ.A9PV.01 TCGA.SX.A71V.01 TCGA.BQ.5892.11 TCGA.UZ.A9Q0.01 TCGA.UZ.A9PX.01 TCGA.UZ.A9PR.01 
#>            "01"           "053"           "021"            "01"            "01"            "01" 
#> TCGA.IA.A40X.01 TCGA.5P.A9JW.01 TCGA.IA.A40Y.01 TCGA.BQ.5883.11 TCGA.BQ.5878.11 TCGA.P4.A5EA.01 
#>           "052"          "0313"           "043"          "0221"          "0221"           "041" 
#> TCGA.5P.A9KE.01 TCGA.5P.A9K3.01 TCGA.B1.A47N.01 TCGA.5P.A9KA.01 TCGA.BQ.5879.11 TCGA.P4.A5ED.01 
#>           "053"           "042"            "01"           "051"          "0221"           "023" 
#> TCGA.A4.A772.01 TCGA.B1.A47O.01 TCGA.IA.A40U.01 TCGA.2Z.A9JE.01 TCGA.B9.A44B.01 TCGA.AT.A5NU.01 
#>           "051"          "0311"           "053"            "01"           "042"            "01" 
#> TCGA.BQ.5882.11 TCGA.BQ.5877.01 TCGA.DW.7963.01 TCGA.2Z.A9JL.01 TCGA.2Z.A9JQ.01 TCGA.2Z.A9JK.01 
#>           "021"           "043"           "053"           "051"            "01"           "032" 
#> TCGA.UZ.A9PU.01 TCGA.P4.A5EB.01 TCGA.BQ.5892.01 TCGA.B1.A47M.11 TCGA.2Z.A9J9.01 TCGA.UZ.A9PS.05 
#>            "01"            "01"           "032"           "023"           "023"          "0312" 
#> TCGA.P4.AAVM.01 TCGA.PJ.A5Z8.01 TCGA.5P.A9JZ.01 TCGA.2Z.A9JG.01 TCGA.BQ.5884.01 TCGA.2Z.A9JI.01 
#>           "053"          "0313"           "054"           "044"           "032"           "043" 
#> TCGA.BQ.5890.11 TCGA.BQ.5881.01 TCGA.UZ.A9PP.01 TCGA.5P.A9JU.01 TCGA.2Z.A9JN.01 TCGA.UZ.A9PS.01 
#>           "021"           "053"            "01"           "042"          "0222"           "052" 
#> TCGA.BQ.5875.11 TCGA.5P.A9JY.01 TCGA.B9.A5W8.01 TCGA.F9.A4JJ.01 TCGA.BQ.5883.01 TCGA.5P.A9K0.01 
#>          "0221"            "01"          "0311"           "041"          "0222"           "053" 
#> TCGA.P4.AAVL.01 TCGA.B1.5398.01 TCGA.5P.A9K6.01 TCGA.UZ.A9PQ.01 TCGA.P4.A5E6.01 TCGA.BQ.5885.01 
#>            "01"          "0313"           "053"           "044"           "053"           "053" 
#> TCGA.UZ.A9Q1.01 TCGA.2Z.A9JP.01 TCGA.5P.A9KC.01 TCGA.5P.A9KH.01 TCGA.2Z.A9JR.01 TCGA.GL.A59T.01 
#>           "044"           "053"           "032"           "023"           "051"           "051" 
#> TCGA.5P.A9JV.01 TCGA.WN.AB4C.01 TCGA.SX.A71R.01 TCGA.A4.A5DU.01 TCGA.B1.A47M.01 TCGA.2Z.A9JJ.01 
#>           "023"           "032"            "01"            "01"           "051"           "054" 
#> TCGA.2Z.A9JT.01 TCGA.GL.A4EM.01 TCGA.HE.7129.01 TCGA.HE.7128.01 TCGA.HE.A5NL.01 TCGA.G7.7502.01 
#>           "053"          "0313"            "01"          "0311"           "051"           "053" 
#> TCGA.BQ.7059.01 TCGA.DZ.6134.11 TCGA.HE.A5NJ.01 TCGA.BQ.7053.11 TCGA.GL.6846.11 TCGA.GL.6846.01 
#>          "0311"           "021"            "01"          "0221"           "021"           "044" 
#> TCGA.DW.7839.01 TCGA.DW.7841.01 TCGA.BQ.7049.01 TCGA.G7.6793.01 TCGA.BQ.7051.01 TCGA.BQ.7045.01 
#>            "01"           "051"          "0311"           "041"            "01"           "053" 
#> TCGA.HE.A5NF.01 TCGA.A4.7996.01 TCGA.BQ.7046.01 TCGA.DZ.6132.11 TCGA.G7.7501.01 TCGA.O9.A75Z.01 
#>          "0311"           "053"           "053"           "021"           "052"            "01" 
#> TCGA.DW.7834.01 TCGA.DZ.6133.01 TCGA.A4.A4ZT.01 TCGA.BQ.7060.01 TCGA.G7.6792.01 TCGA.HE.7130.01 
#>           "051"            "01"            "01"           "053"           "051"           "033" 
#> TCGA.GL.7773.01 TCGA.DZ.6133.11 TCGA.B1.7332.01 TCGA.BQ.7053.01 TCGA.DZ.6131.01 TCGA.BQ.7062.01 
#>           "054"          "0221"            "01"           "052"           "033"           "053" 
#> TCGA.BQ.7046.11 TCGA.A4.7288.01 TCGA.DZ.6131.11 TCGA.BQ.7062.11 TCGA.BQ.7061.01 TCGA.A4.7286.01 
#>           "021"           "052"           "021"           "021"           "042"           "053" 
#> TCGA.G7.6797.01 TCGA.BQ.7058.01 TCGA.G7.6795.01 TCGA.HE.A5NH.01 TCGA.MH.A55W.01 TCGA.G7.6790.01 
#>            "01"           "042"           "051"            "01"           "053"           "053" 
#> TCGA.MH.A560.01 TCGA.A4.7997.01 TCGA.MH.A561.01 TCGA.BQ.7056.11 TCGA.B9.7268.01 TCGA.BQ.7055.11 
#>          "0312"           "051"           "051"          "0221"            "01"           "021" 
#> TCGA.HE.A5NI.01 TCGA.GL.7966.01 TCGA.BQ.7059.11 TCGA.A4.A57E.01 TCGA.A4.7288.11 TCGA.AL.A5DJ.01 
#>            "01"           "041"           "021"           "052"          "0221"           "043" 
#> TCGA.G7.6796.01 TCGA.DW.7837.01 TCGA.BQ.7051.11 TCGA.BQ.7048.01 TCGA.F9.A7VF.01 TCGA.BQ.7049.11 
#>           "032"           "051"           "021"           "044"            "01"           "021" 
#> TCGA.DZ.6134.01 TCGA.BQ.5887.01 TCGA.DZ.6135.01 TCGA.MH.A55Z.01 TCGA.A4.7915.01 TCGA.BQ.7048.11 
#>          "0313"           "043"            "01"            "01"           "041"           "021" 
#> TCGA.HE.A5NK.01 TCGA.G7.6789.01 TCGA.AL.7173.01 TCGA.SX.A71S.01 TCGA.BQ.7061.11 TCGA.DW.7840.01 
#>          "0311"           "043"          "0311"            "01"          "0223"            "01" 
#> TCGA.GL.A59R.01 TCGA.BQ.7050.11 TCGA.BQ.7058.11 TCGA.DW.7838.01 TCGA.SX.A71U.01 TCGA.DZ.6135.11 
#>            "01"          "0221"           "021"          "0311"           "051"           "021" 
#> TCGA.BQ.7044.11 TCGA.V9.A7HT.01 TCGA.DW.7842.01 TCGA.BQ.7050.01 TCGA.BQ.7055.01 TCGA.J7.6720.01 
#>           "021"          "0311"            "01"           "052"           "023"           "051" 
#> TCGA.BQ.7060.11 TCGA.BQ.7044.01 TCGA.DZ.6132.01 TCGA.DW.7836.01 TCGA.A4.7828.01 TCGA.BQ.5887.11 
#>           "021"           "044"          "0311"            "01"          "0222"           "021" 
#> TCGA.B3.A6W5.01 TCGA.MH.A562.01 TCGA.A4.7734.01 TCGA.BQ.7045.11 TCGA.A4.7584.01 TCGA.BQ.7056.01 
#>            "01"           "051"            "01"           "021"           "053"           "052" 
#> TCGA.A4.7287.01 TCGA.UZ.A9PJ.01 TCGA.2Z.A9J1.01 TCGA.UN.AAZ9.01 TCGA.UZ.A9PO.01 TCGA.UZ.A9PL.01 
#>           "033"            "01"           "051"           "053"          "0313"            "01" 
#> TCGA.A4.7732.11 TCGA.A4.7732.01 TCGA.2Z.A9J2.01 TCGA.2Z.A9J3.01 TCGA.2Z.A9J6.01 TCGA.F9.A97G.01 
#>           "021"            "01"           "032"            "01"           "051"          "0313" 
#> TCGA.UZ.A9PM.01 TCGA.A4.7585.11 TCGA.2K.A9WE.01 TCGA.A4.7583.01 TCGA.UZ.A9PK.01 TCGA.UZ.A9PN.01 
#>           "032"           "021"          "0311"           "053"            "01"           "032" 
#> TCGA.2Z.A9J7.01 TCGA.2Z.A9J5.01 TCGA.A4.7585.01 
#>            "01"           "051"           "032"

show/hide code output

get_classes(res_rh, merge_node = merge_node_param(min_n_signatures = 5590))
#> TCGA.SX.A7SM.01 TCGA.IA.A83W.01 TCGA.B1.A656.01 TCGA.4A.A93X.01 TCGA.G7.A8LC.01 TCGA.SX.A7SS.01 
#>           "042"           "051"          "0312"           "042"           "053"            "01" 
#> TCGA.B9.A69E.01 TCGA.BQ.5878.01 TCGA.DW.5561.01 TCGA.PJ.A8JU.01 TCGA.EV.5901.01 TCGA.SX.A7SR.01 
#>          "0313"            "01"            "01"           "032"           "054"           "051" 
#> TCGA.BQ.5894.01 TCGA.KV.A6GE.01 TCGA.BQ.5882.01 TCGA.SX.A7SQ.01 TCGA.F9.A7Q0.01 TCGA.IZ.A6M8.01 
#>           "041"            "01"           "043"            "01"           "032"           "053" 
#> TCGA.B1.A654.01 TCGA.B3.8121.01 TCGA.MH.A856.01 TCGA.G7.A4TM.01 TCGA.IZ.8196.01 TCGA.B9.A5W7.01 
#>            "01"          "0311"           "051"            "01"            "01"            "01" 
#> TCGA.B9.5156.01 TCGA.A4.A7UZ.01 TCGA.Y8.A897.01 TCGA.SX.A7SP.01 TCGA.Y8.A8RZ.01 TCGA.A4.A5XZ.01 
#>           "051"           "032"           "051"           "052"           "052"           "053" 
#> TCGA.Y8.A898.01 TCGA.BQ.5893.01 TCGA.SX.A7SU.01 TCGA.IZ.8195.01 TCGA.GL.8500.01 TCGA.EV.5902.01 
#>           "051"           "041"            "01"           "044"            "01"            "01" 
#> TCGA.J7.A8I2.01 TCGA.A4.8516.01 TCGA.A4.8312.01 TCGA.BQ.5880.01 TCGA.Y8.A8RY.01 TCGA.SX.A7SN.01 
#>           "033"            "01"           "023"           "032"           "051"           "051" 
#> TCGA.MH.A854.01 TCGA.A4.8517.01 TCGA.GL.A9DD.01 TCGA.A4.8630.01 TCGA.4A.A93W.01 TCGA.SX.A7SO.01 
#>            "01"           "053"          "0311"            "01"            "01"           "052" 
#> TCGA.GL.A9DC.01 TCGA.A4.8515.01 TCGA.IZ.A6M9.01 TCGA.BQ.5880.11 TCGA.B1.A657.01 TCGA.G7.A8LD.01 
#>            "01"            "01"            "01"           "021"           "051"           "043" 
#> TCGA.Y8.A8S1.01 TCGA.IA.A83S.01 TCGA.Y8.A8S0.01 TCGA.BQ.5884.11 TCGA.B1.A655.01 TCGA.BQ.5877.11 
#>          "0313"          "0311"            "01"          "0221"           "032"           "021" 
#> TCGA.EV.5903.01 TCGA.J7.8537.01 TCGA.A4.A6HP.01 TCGA.BQ.5890.01 TCGA.Y8.A896.01 TCGA.BQ.5888.01 
#>           "051"           "043"           "051"           "042"           "032"           "032" 
#> TCGA.BQ.5879.01 TCGA.GL.A9DE.01 TCGA.G7.A8LB.01 TCGA.IA.A83T.01 TCGA.IA.A83V.01 TCGA.BQ.5876.11 
#>           "041"           "042"            "01"          "0313"           "032"           "021" 
#> TCGA.BQ.5885.11 TCGA.KV.A6GD.01 TCGA.SX.A7SL.01 TCGA.B9.A8YI.01 TCGA.B9.A8YH.01 TCGA.4A.A93Y.01 
#>           "021"          "0311"            "01"           "044"            "01"           "032" 
#> TCGA.BQ.5886.01 TCGA.A4.A5Y0.01 TCGA.A4.8098.01 TCGA.MH.A857.01 TCGA.BQ.5889.11 TCGA.DW.5560.01 
#>           "053"           "052"           "053"           "023"           "021"           "054" 
#> TCGA.F9.A8NY.01 TCGA.BQ.5894.11 TCGA.BQ.5891.11 TCGA.G7.A8LE.01 TCGA.SX.A71W.01 TCGA.Y8.A894.01 
#>           "041"           "021"          "0221"            "01"            "01"            "01" 
#> TCGA.WN.A9G9.01 TCGA.A4.8310.01 TCGA.A4.8518.01 TCGA.BQ.5881.11 TCGA.BQ.5893.11 TCGA.A4.8311.01 
#>          "0313"           "053"           "032"           "021"           "021"            "01" 
#> TCGA.BQ.5891.01 TCGA.Y8.A895.01 TCGA.BQ.5876.01 TCGA.MH.A855.01 TCGA.P4.AAVO.01 TCGA.BQ.5886.11 
#>           "043"            "01"          "0312"           "032"           "044"           "021" 
#> TCGA.2Z.A9JS.01 TCGA.BQ.5888.11 TCGA.2Z.A9J8.01 TCGA.KV.A74V.01 TCGA.A4.A5Y1.01 TCGA.BQ.5875.01 
#>            "01"          "0221"           "052"            "01"           "043"           "042" 
#> TCGA.UZ.A9PZ.01 TCGA.Q2.A5QZ.01 TCGA.P4.A5E8.01 TCGA.B9.5155.01 TCGA.B9.A5W9.01 TCGA.5P.A9K4.01 
#>            "01"           "044"           "041"            "01"           "044"            "01" 
#> TCGA.P4.A5E7.01 TCGA.PJ.A5Z9.01 TCGA.5P.A9K8.01 TCGA.5P.A9KF.01 TCGA.P4.AAVK.01 TCGA.2Z.A9JM.01 
#>           "054"            "01"          "0223"            "01"           "042"           "051" 
#> TCGA.A4.A48D.01 TCGA.BQ.5889.01 TCGA.2Z.A9JD.01 TCGA.5P.A9K2.01 TCGA.2Z.A9JO.01 TCGA.5P.A9K9.01 
#>          "0313"          "0311"           "053"            "01"           "032"           "043" 
#> TCGA.UZ.A9PV.01 TCGA.SX.A71V.01 TCGA.BQ.5892.11 TCGA.UZ.A9Q0.01 TCGA.UZ.A9PX.01 TCGA.UZ.A9PR.01 
#>            "01"           "053"           "021"            "01"            "01"            "01" 
#> TCGA.IA.A40X.01 TCGA.5P.A9JW.01 TCGA.IA.A40Y.01 TCGA.BQ.5883.11 TCGA.BQ.5878.11 TCGA.P4.A5EA.01 
#>           "052"          "0313"           "043"          "0221"          "0221"           "041" 
#> TCGA.5P.A9KE.01 TCGA.5P.A9K3.01 TCGA.B1.A47N.01 TCGA.5P.A9KA.01 TCGA.BQ.5879.11 TCGA.P4.A5ED.01 
#>           "053"           "042"            "01"           "051"          "0221"           "023" 
#> TCGA.A4.A772.01 TCGA.B1.A47O.01 TCGA.IA.A40U.01 TCGA.2Z.A9JE.01 TCGA.B9.A44B.01 TCGA.AT.A5NU.01 
#>           "051"          "0311"           "053"            "01"           "042"            "01" 
#> TCGA.BQ.5882.11 TCGA.BQ.5877.01 TCGA.DW.7963.01 TCGA.2Z.A9JL.01 TCGA.2Z.A9JQ.01 TCGA.2Z.A9JK.01 
#>           "021"           "043"           "053"           "051"            "01"           "032" 
#> TCGA.UZ.A9PU.01 TCGA.P4.A5EB.01 TCGA.BQ.5892.01 TCGA.B1.A47M.11 TCGA.2Z.A9J9.01 TCGA.UZ.A9PS.05 
#>            "01"            "01"           "032"           "023"           "023"          "0312" 
#> TCGA.P4.AAVM.01 TCGA.PJ.A5Z8.01 TCGA.5P.A9JZ.01 TCGA.2Z.A9JG.01 TCGA.BQ.5884.01 TCGA.2Z.A9JI.01 
#>           "053"          "0313"           "054"           "044"           "032"           "043" 
#> TCGA.BQ.5890.11 TCGA.BQ.5881.01 TCGA.UZ.A9PP.01 TCGA.5P.A9JU.01 TCGA.2Z.A9JN.01 TCGA.UZ.A9PS.01 
#>           "021"           "053"            "01"           "042"          "0222"           "052" 
#> TCGA.BQ.5875.11 TCGA.5P.A9JY.01 TCGA.B9.A5W8.01 TCGA.F9.A4JJ.01 TCGA.BQ.5883.01 TCGA.5P.A9K0.01 
#>          "0221"            "01"          "0311"           "041"          "0222"           "053" 
#> TCGA.P4.AAVL.01 TCGA.B1.5398.01 TCGA.5P.A9K6.01 TCGA.UZ.A9PQ.01 TCGA.P4.A5E6.01 TCGA.BQ.5885.01 
#>            "01"          "0313"           "053"           "044"           "053"           "053" 
#> TCGA.UZ.A9Q1.01 TCGA.2Z.A9JP.01 TCGA.5P.A9KC.01 TCGA.5P.A9KH.01 TCGA.2Z.A9JR.01 TCGA.GL.A59T.01 
#>           "044"           "053"           "032"           "023"           "051"           "051" 
#> TCGA.5P.A9JV.01 TCGA.WN.AB4C.01 TCGA.SX.A71R.01 TCGA.A4.A5DU.01 TCGA.B1.A47M.01 TCGA.2Z.A9JJ.01 
#>           "023"           "032"            "01"            "01"           "051"           "054" 
#> TCGA.2Z.A9JT.01 TCGA.GL.A4EM.01 TCGA.HE.7129.01 TCGA.HE.7128.01 TCGA.HE.A5NL.01 TCGA.G7.7502.01 
#>           "053"          "0313"            "01"          "0311"           "051"           "053" 
#> TCGA.BQ.7059.01 TCGA.DZ.6134.11 TCGA.HE.A5NJ.01 TCGA.BQ.7053.11 TCGA.GL.6846.11 TCGA.GL.6846.01 
#>          "0311"           "021"            "01"          "0221"           "021"           "044" 
#> TCGA.DW.7839.01 TCGA.DW.7841.01 TCGA.BQ.7049.01 TCGA.G7.6793.01 TCGA.BQ.7051.01 TCGA.BQ.7045.01 
#>            "01"           "051"          "0311"           "041"            "01"           "053" 
#> TCGA.HE.A5NF.01 TCGA.A4.7996.01 TCGA.BQ.7046.01 TCGA.DZ.6132.11 TCGA.G7.7501.01 TCGA.O9.A75Z.01 
#>          "0311"           "053"           "053"           "021"           "052"            "01" 
#> TCGA.DW.7834.01 TCGA.DZ.6133.01 TCGA.A4.A4ZT.01 TCGA.BQ.7060.01 TCGA.G7.6792.01 TCGA.HE.7130.01 
#>           "051"            "01"            "01"           "053"           "051"           "033" 
#> TCGA.GL.7773.01 TCGA.DZ.6133.11 TCGA.B1.7332.01 TCGA.BQ.7053.01 TCGA.DZ.6131.01 TCGA.BQ.7062.01 
#>           "054"          "0221"            "01"           "052"           "033"           "053" 
#> TCGA.BQ.7046.11 TCGA.A4.7288.01 TCGA.DZ.6131.11 TCGA.BQ.7062.11 TCGA.BQ.7061.01 TCGA.A4.7286.01 
#>           "021"           "052"           "021"           "021"           "042"           "053" 
#> TCGA.G7.6797.01 TCGA.BQ.7058.01 TCGA.G7.6795.01 TCGA.HE.A5NH.01 TCGA.MH.A55W.01 TCGA.G7.6790.01 
#>            "01"           "042"           "051"            "01"           "053"           "053" 
#> TCGA.MH.A560.01 TCGA.A4.7997.01 TCGA.MH.A561.01 TCGA.BQ.7056.11 TCGA.B9.7268.01 TCGA.BQ.7055.11 
#>          "0312"           "051"           "051"          "0221"            "01"           "021" 
#> TCGA.HE.A5NI.01 TCGA.GL.7966.01 TCGA.BQ.7059.11 TCGA.A4.A57E.01 TCGA.A4.7288.11 TCGA.AL.A5DJ.01 
#>            "01"           "041"           "021"           "052"          "0221"           "043" 
#> TCGA.G7.6796.01 TCGA.DW.7837.01 TCGA.BQ.7051.11 TCGA.BQ.7048.01 TCGA.F9.A7VF.01 TCGA.BQ.7049.11 
#>           "032"           "051"           "021"           "044"            "01"           "021" 
#> TCGA.DZ.6134.01 TCGA.BQ.5887.01 TCGA.DZ.6135.01 TCGA.MH.A55Z.01 TCGA.A4.7915.01 TCGA.BQ.7048.11 
#>          "0313"           "043"            "01"            "01"           "041"           "021" 
#> TCGA.HE.A5NK.01 TCGA.G7.6789.01 TCGA.AL.7173.01 TCGA.SX.A71S.01 TCGA.BQ.7061.11 TCGA.DW.7840.01 
#>          "0311"           "043"          "0311"            "01"          "0223"            "01" 
#> TCGA.GL.A59R.01 TCGA.BQ.7050.11 TCGA.BQ.7058.11 TCGA.DW.7838.01 TCGA.SX.A71U.01 TCGA.DZ.6135.11 
#>            "01"          "0221"           "021"          "0311"           "051"           "021" 
#> TCGA.BQ.7044.11 TCGA.V9.A7HT.01 TCGA.DW.7842.01 TCGA.BQ.7050.01 TCGA.BQ.7055.01 TCGA.J7.6720.01 
#>           "021"          "0311"            "01"           "052"           "023"           "051" 
#> TCGA.BQ.7060.11 TCGA.BQ.7044.01 TCGA.DZ.6132.01 TCGA.DW.7836.01 TCGA.A4.7828.01 TCGA.BQ.5887.11 
#>           "021"           "044"          "0311"            "01"          "0222"           "021" 
#> TCGA.B3.A6W5.01 TCGA.MH.A562.01 TCGA.A4.7734.01 TCGA.BQ.7045.11 TCGA.A4.7584.01 TCGA.BQ.7056.01 
#>            "01"           "051"            "01"           "021"           "053"           "052" 
#> TCGA.A4.7287.01 TCGA.UZ.A9PJ.01 TCGA.2Z.A9J1.01 TCGA.UN.AAZ9.01 TCGA.UZ.A9PO.01 TCGA.UZ.A9PL.01 
#>           "033"            "01"           "051"           "053"          "0313"            "01" 
#> TCGA.A4.7732.11 TCGA.A4.7732.01 TCGA.2Z.A9J2.01 TCGA.2Z.A9J3.01 TCGA.2Z.A9J6.01 TCGA.F9.A97G.01 
#>           "021"            "01"           "032"            "01"           "051"          "0313" 
#> TCGA.UZ.A9PM.01 TCGA.A4.7585.11 TCGA.2K.A9WE.01 TCGA.A4.7583.01 TCGA.UZ.A9PK.01 TCGA.UZ.A9PN.01 
#>           "032"           "021"          "0311"           "053"            "01"           "032" 
#> TCGA.2Z.A9J7.01 TCGA.2Z.A9J5.01 TCGA.A4.7585.01 
#>            "01"           "051"           "032"

show/hide code output

get_classes(res_rh, merge_node = merge_node_param(min_n_signatures = 6551))
#> TCGA.SX.A7SM.01 TCGA.IA.A83W.01 TCGA.B1.A656.01 TCGA.4A.A93X.01 TCGA.G7.A8LC.01 TCGA.SX.A7SS.01 
#>           "042"           "051"           "031"           "042"           "053"            "01" 
#> TCGA.B9.A69E.01 TCGA.BQ.5878.01 TCGA.DW.5561.01 TCGA.PJ.A8JU.01 TCGA.EV.5901.01 TCGA.SX.A7SR.01 
#>           "031"            "01"            "01"           "032"           "054"           "051" 
#> TCGA.BQ.5894.01 TCGA.KV.A6GE.01 TCGA.BQ.5882.01 TCGA.SX.A7SQ.01 TCGA.F9.A7Q0.01 TCGA.IZ.A6M8.01 
#>           "041"            "01"           "043"            "01"           "032"           "053" 
#> TCGA.B1.A654.01 TCGA.B3.8121.01 TCGA.MH.A856.01 TCGA.G7.A4TM.01 TCGA.IZ.8196.01 TCGA.B9.A5W7.01 
#>            "01"           "031"           "051"            "01"            "01"            "01" 
#> TCGA.B9.5156.01 TCGA.A4.A7UZ.01 TCGA.Y8.A897.01 TCGA.SX.A7SP.01 TCGA.Y8.A8RZ.01 TCGA.A4.A5XZ.01 
#>           "051"           "032"           "051"           "052"           "052"           "053" 
#> TCGA.Y8.A898.01 TCGA.BQ.5893.01 TCGA.SX.A7SU.01 TCGA.IZ.8195.01 TCGA.GL.8500.01 TCGA.EV.5902.01 
#>           "051"           "041"            "01"           "044"            "01"            "01" 
#> TCGA.J7.A8I2.01 TCGA.A4.8516.01 TCGA.A4.8312.01 TCGA.BQ.5880.01 TCGA.Y8.A8RY.01 TCGA.SX.A7SN.01 
#>           "033"            "01"           "023"           "032"           "051"           "051" 
#> TCGA.MH.A854.01 TCGA.A4.8517.01 TCGA.GL.A9DD.01 TCGA.A4.8630.01 TCGA.4A.A93W.01 TCGA.SX.A7SO.01 
#>            "01"           "053"           "031"            "01"            "01"           "052" 
#> TCGA.GL.A9DC.01 TCGA.A4.8515.01 TCGA.IZ.A6M9.01 TCGA.BQ.5880.11 TCGA.B1.A657.01 TCGA.G7.A8LD.01 
#>            "01"            "01"            "01"           "021"           "051"           "043" 
#> TCGA.Y8.A8S1.01 TCGA.IA.A83S.01 TCGA.Y8.A8S0.01 TCGA.BQ.5884.11 TCGA.B1.A655.01 TCGA.BQ.5877.11 
#>           "031"           "031"            "01"          "0221"           "032"           "021" 
#> TCGA.EV.5903.01 TCGA.J7.8537.01 TCGA.A4.A6HP.01 TCGA.BQ.5890.01 TCGA.Y8.A896.01 TCGA.BQ.5888.01 
#>           "051"           "043"           "051"           "042"           "032"           "032" 
#> TCGA.BQ.5879.01 TCGA.GL.A9DE.01 TCGA.G7.A8LB.01 TCGA.IA.A83T.01 TCGA.IA.A83V.01 TCGA.BQ.5876.11 
#>           "041"           "042"            "01"           "031"           "032"           "021" 
#> TCGA.BQ.5885.11 TCGA.KV.A6GD.01 TCGA.SX.A7SL.01 TCGA.B9.A8YI.01 TCGA.B9.A8YH.01 TCGA.4A.A93Y.01 
#>           "021"           "031"            "01"           "044"            "01"           "032" 
#> TCGA.BQ.5886.01 TCGA.A4.A5Y0.01 TCGA.A4.8098.01 TCGA.MH.A857.01 TCGA.BQ.5889.11 TCGA.DW.5560.01 
#>           "053"           "052"           "053"           "023"           "021"           "054" 
#> TCGA.F9.A8NY.01 TCGA.BQ.5894.11 TCGA.BQ.5891.11 TCGA.G7.A8LE.01 TCGA.SX.A71W.01 TCGA.Y8.A894.01 
#>           "041"           "021"          "0221"            "01"            "01"            "01" 
#> TCGA.WN.A9G9.01 TCGA.A4.8310.01 TCGA.A4.8518.01 TCGA.BQ.5881.11 TCGA.BQ.5893.11 TCGA.A4.8311.01 
#>           "031"           "053"           "032"           "021"           "021"            "01" 
#> TCGA.BQ.5891.01 TCGA.Y8.A895.01 TCGA.BQ.5876.01 TCGA.MH.A855.01 TCGA.P4.AAVO.01 TCGA.BQ.5886.11 
#>           "043"            "01"           "031"           "032"           "044"           "021" 
#> TCGA.2Z.A9JS.01 TCGA.BQ.5888.11 TCGA.2Z.A9J8.01 TCGA.KV.A74V.01 TCGA.A4.A5Y1.01 TCGA.BQ.5875.01 
#>            "01"          "0221"           "052"            "01"           "043"           "042" 
#> TCGA.UZ.A9PZ.01 TCGA.Q2.A5QZ.01 TCGA.P4.A5E8.01 TCGA.B9.5155.01 TCGA.B9.A5W9.01 TCGA.5P.A9K4.01 
#>            "01"           "044"           "041"            "01"           "044"            "01" 
#> TCGA.P4.A5E7.01 TCGA.PJ.A5Z9.01 TCGA.5P.A9K8.01 TCGA.5P.A9KF.01 TCGA.P4.AAVK.01 TCGA.2Z.A9JM.01 
#>           "054"            "01"          "0223"            "01"           "042"           "051" 
#> TCGA.A4.A48D.01 TCGA.BQ.5889.01 TCGA.2Z.A9JD.01 TCGA.5P.A9K2.01 TCGA.2Z.A9JO.01 TCGA.5P.A9K9.01 
#>           "031"           "031"           "053"            "01"           "032"           "043" 
#> TCGA.UZ.A9PV.01 TCGA.SX.A71V.01 TCGA.BQ.5892.11 TCGA.UZ.A9Q0.01 TCGA.UZ.A9PX.01 TCGA.UZ.A9PR.01 
#>            "01"           "053"           "021"            "01"            "01"            "01" 
#> TCGA.IA.A40X.01 TCGA.5P.A9JW.01 TCGA.IA.A40Y.01 TCGA.BQ.5883.11 TCGA.BQ.5878.11 TCGA.P4.A5EA.01 
#>           "052"           "031"           "043"          "0221"          "0221"           "041" 
#> TCGA.5P.A9KE.01 TCGA.5P.A9K3.01 TCGA.B1.A47N.01 TCGA.5P.A9KA.01 TCGA.BQ.5879.11 TCGA.P4.A5ED.01 
#>           "053"           "042"            "01"           "051"          "0221"           "023" 
#> TCGA.A4.A772.01 TCGA.B1.A47O.01 TCGA.IA.A40U.01 TCGA.2Z.A9JE.01 TCGA.B9.A44B.01 TCGA.AT.A5NU.01 
#>           "051"           "031"           "053"            "01"           "042"            "01" 
#> TCGA.BQ.5882.11 TCGA.BQ.5877.01 TCGA.DW.7963.01 TCGA.2Z.A9JL.01 TCGA.2Z.A9JQ.01 TCGA.2Z.A9JK.01 
#>           "021"           "043"           "053"           "051"            "01"           "032" 
#> TCGA.UZ.A9PU.01 TCGA.P4.A5EB.01 TCGA.BQ.5892.01 TCGA.B1.A47M.11 TCGA.2Z.A9J9.01 TCGA.UZ.A9PS.05 
#>            "01"            "01"           "032"           "023"           "023"           "031" 
#> TCGA.P4.AAVM.01 TCGA.PJ.A5Z8.01 TCGA.5P.A9JZ.01 TCGA.2Z.A9JG.01 TCGA.BQ.5884.01 TCGA.2Z.A9JI.01 
#>           "053"           "031"           "054"           "044"           "032"           "043" 
#> TCGA.BQ.5890.11 TCGA.BQ.5881.01 TCGA.UZ.A9PP.01 TCGA.5P.A9JU.01 TCGA.2Z.A9JN.01 TCGA.UZ.A9PS.01 
#>           "021"           "053"            "01"           "042"          "0222"           "052" 
#> TCGA.BQ.5875.11 TCGA.5P.A9JY.01 TCGA.B9.A5W8.01 TCGA.F9.A4JJ.01 TCGA.BQ.5883.01 TCGA.5P.A9K0.01 
#>          "0221"            "01"           "031"           "041"          "0222"           "053" 
#> TCGA.P4.AAVL.01 TCGA.B1.5398.01 TCGA.5P.A9K6.01 TCGA.UZ.A9PQ.01 TCGA.P4.A5E6.01 TCGA.BQ.5885.01 
#>            "01"           "031"           "053"           "044"           "053"           "053" 
#> TCGA.UZ.A9Q1.01 TCGA.2Z.A9JP.01 TCGA.5P.A9KC.01 TCGA.5P.A9KH.01 TCGA.2Z.A9JR.01 TCGA.GL.A59T.01 
#>           "044"           "053"           "032"           "023"           "051"           "051" 
#> TCGA.5P.A9JV.01 TCGA.WN.AB4C.01 TCGA.SX.A71R.01 TCGA.A4.A5DU.01 TCGA.B1.A47M.01 TCGA.2Z.A9JJ.01 
#>           "023"           "032"            "01"            "01"           "051"           "054" 
#> TCGA.2Z.A9JT.01 TCGA.GL.A4EM.01 TCGA.HE.7129.01 TCGA.HE.7128.01 TCGA.HE.A5NL.01 TCGA.G7.7502.01 
#>           "053"           "031"            "01"           "031"           "051"           "053" 
#> TCGA.BQ.7059.01 TCGA.DZ.6134.11 TCGA.HE.A5NJ.01 TCGA.BQ.7053.11 TCGA.GL.6846.11 TCGA.GL.6846.01 
#>           "031"           "021"            "01"          "0221"           "021"           "044" 
#> TCGA.DW.7839.01 TCGA.DW.7841.01 TCGA.BQ.7049.01 TCGA.G7.6793.01 TCGA.BQ.7051.01 TCGA.BQ.7045.01 
#>            "01"           "051"           "031"           "041"            "01"           "053" 
#> TCGA.HE.A5NF.01 TCGA.A4.7996.01 TCGA.BQ.7046.01 TCGA.DZ.6132.11 TCGA.G7.7501.01 TCGA.O9.A75Z.01 
#>           "031"           "053"           "053"           "021"           "052"            "01" 
#> TCGA.DW.7834.01 TCGA.DZ.6133.01 TCGA.A4.A4ZT.01 TCGA.BQ.7060.01 TCGA.G7.6792.01 TCGA.HE.7130.01 
#>           "051"            "01"            "01"           "053"           "051"           "033" 
#> TCGA.GL.7773.01 TCGA.DZ.6133.11 TCGA.B1.7332.01 TCGA.BQ.7053.01 TCGA.DZ.6131.01 TCGA.BQ.7062.01 
#>           "054"          "0221"            "01"           "052"           "033"           "053" 
#> TCGA.BQ.7046.11 TCGA.A4.7288.01 TCGA.DZ.6131.11 TCGA.BQ.7062.11 TCGA.BQ.7061.01 TCGA.A4.7286.01 
#>           "021"           "052"           "021"           "021"           "042"           "053" 
#> TCGA.G7.6797.01 TCGA.BQ.7058.01 TCGA.G7.6795.01 TCGA.HE.A5NH.01 TCGA.MH.A55W.01 TCGA.G7.6790.01 
#>            "01"           "042"           "051"            "01"           "053"           "053" 
#> TCGA.MH.A560.01 TCGA.A4.7997.01 TCGA.MH.A561.01 TCGA.BQ.7056.11 TCGA.B9.7268.01 TCGA.BQ.7055.11 
#>           "031"           "051"           "051"          "0221"            "01"           "021" 
#> TCGA.HE.A5NI.01 TCGA.GL.7966.01 TCGA.BQ.7059.11 TCGA.A4.A57E.01 TCGA.A4.7288.11 TCGA.AL.A5DJ.01 
#>            "01"           "041"           "021"           "052"          "0221"           "043" 
#> TCGA.G7.6796.01 TCGA.DW.7837.01 TCGA.BQ.7051.11 TCGA.BQ.7048.01 TCGA.F9.A7VF.01 TCGA.BQ.7049.11 
#>           "032"           "051"           "021"           "044"            "01"           "021" 
#> TCGA.DZ.6134.01 TCGA.BQ.5887.01 TCGA.DZ.6135.01 TCGA.MH.A55Z.01 TCGA.A4.7915.01 TCGA.BQ.7048.11 
#>           "031"           "043"            "01"            "01"           "041"           "021" 
#> TCGA.HE.A5NK.01 TCGA.G7.6789.01 TCGA.AL.7173.01 TCGA.SX.A71S.01 TCGA.BQ.7061.11 TCGA.DW.7840.01 
#>           "031"           "043"           "031"            "01"          "0223"            "01" 
#> TCGA.GL.A59R.01 TCGA.BQ.7050.11 TCGA.BQ.7058.11 TCGA.DW.7838.01 TCGA.SX.A71U.01 TCGA.DZ.6135.11 
#>            "01"          "0221"           "021"           "031"           "051"           "021" 
#> TCGA.BQ.7044.11 TCGA.V9.A7HT.01 TCGA.DW.7842.01 TCGA.BQ.7050.01 TCGA.BQ.7055.01 TCGA.J7.6720.01 
#>           "021"           "031"            "01"           "052"           "023"           "051" 
#> TCGA.BQ.7060.11 TCGA.BQ.7044.01 TCGA.DZ.6132.01 TCGA.DW.7836.01 TCGA.A4.7828.01 TCGA.BQ.5887.11 
#>           "021"           "044"           "031"            "01"          "0222"           "021" 
#> TCGA.B3.A6W5.01 TCGA.MH.A562.01 TCGA.A4.7734.01 TCGA.BQ.7045.11 TCGA.A4.7584.01 TCGA.BQ.7056.01 
#>            "01"           "051"            "01"           "021"           "053"           "052" 
#> TCGA.A4.7287.01 TCGA.UZ.A9PJ.01 TCGA.2Z.A9J1.01 TCGA.UN.AAZ9.01 TCGA.UZ.A9PO.01 TCGA.UZ.A9PL.01 
#>           "033"            "01"           "051"           "053"           "031"            "01" 
#> TCGA.A4.7732.11 TCGA.A4.7732.01 TCGA.2Z.A9J2.01 TCGA.2Z.A9J3.01 TCGA.2Z.A9J6.01 TCGA.F9.A97G.01 
#>           "021"            "01"           "032"            "01"           "051"           "031" 
#> TCGA.UZ.A9PM.01 TCGA.A4.7585.11 TCGA.2K.A9WE.01 TCGA.A4.7583.01 TCGA.UZ.A9PK.01 TCGA.UZ.A9PN.01 
#>           "032"           "021"           "031"           "053"            "01"           "032" 
#> TCGA.2Z.A9J7.01 TCGA.2Z.A9J5.01 TCGA.A4.7585.01 
#>            "01"           "051"           "032"

show/hide code output

get_classes(res_rh, merge_node = merge_node_param(min_n_signatures = 8085))
#> TCGA.SX.A7SM.01 TCGA.IA.A83W.01 TCGA.B1.A656.01 TCGA.4A.A93X.01 TCGA.G7.A8LC.01 TCGA.SX.A7SS.01 
#>           "042"           "051"           "031"           "042"           "053"            "01" 
#> TCGA.B9.A69E.01 TCGA.BQ.5878.01 TCGA.DW.5561.01 TCGA.PJ.A8JU.01 TCGA.EV.5901.01 TCGA.SX.A7SR.01 
#>           "031"            "01"            "01"           "032"           "054"           "051" 
#> TCGA.BQ.5894.01 TCGA.KV.A6GE.01 TCGA.BQ.5882.01 TCGA.SX.A7SQ.01 TCGA.F9.A7Q0.01 TCGA.IZ.A6M8.01 
#>           "041"            "01"           "043"            "01"           "032"           "053" 
#> TCGA.B1.A654.01 TCGA.B3.8121.01 TCGA.MH.A856.01 TCGA.G7.A4TM.01 TCGA.IZ.8196.01 TCGA.B9.A5W7.01 
#>            "01"           "031"           "051"            "01"            "01"            "01" 
#> TCGA.B9.5156.01 TCGA.A4.A7UZ.01 TCGA.Y8.A897.01 TCGA.SX.A7SP.01 TCGA.Y8.A8RZ.01 TCGA.A4.A5XZ.01 
#>           "051"           "032"           "051"           "052"           "052"           "053" 
#> TCGA.Y8.A898.01 TCGA.BQ.5893.01 TCGA.SX.A7SU.01 TCGA.IZ.8195.01 TCGA.GL.8500.01 TCGA.EV.5902.01 
#>           "051"           "041"            "01"           "044"            "01"            "01" 
#> TCGA.J7.A8I2.01 TCGA.A4.8516.01 TCGA.A4.8312.01 TCGA.BQ.5880.01 TCGA.Y8.A8RY.01 TCGA.SX.A7SN.01 
#>           "033"            "01"            "02"           "032"           "051"           "051" 
#> TCGA.MH.A854.01 TCGA.A4.8517.01 TCGA.GL.A9DD.01 TCGA.A4.8630.01 TCGA.4A.A93W.01 TCGA.SX.A7SO.01 
#>            "01"           "053"           "031"            "01"            "01"           "052" 
#> TCGA.GL.A9DC.01 TCGA.A4.8515.01 TCGA.IZ.A6M9.01 TCGA.BQ.5880.11 TCGA.B1.A657.01 TCGA.G7.A8LD.01 
#>            "01"            "01"            "01"            "02"           "051"           "043" 
#> TCGA.Y8.A8S1.01 TCGA.IA.A83S.01 TCGA.Y8.A8S0.01 TCGA.BQ.5884.11 TCGA.B1.A655.01 TCGA.BQ.5877.11 
#>           "031"           "031"            "01"            "02"           "032"            "02" 
#> TCGA.EV.5903.01 TCGA.J7.8537.01 TCGA.A4.A6HP.01 TCGA.BQ.5890.01 TCGA.Y8.A896.01 TCGA.BQ.5888.01 
#>           "051"           "043"           "051"           "042"           "032"           "032" 
#> TCGA.BQ.5879.01 TCGA.GL.A9DE.01 TCGA.G7.A8LB.01 TCGA.IA.A83T.01 TCGA.IA.A83V.01 TCGA.BQ.5876.11 
#>           "041"           "042"            "01"           "031"           "032"            "02" 
#> TCGA.BQ.5885.11 TCGA.KV.A6GD.01 TCGA.SX.A7SL.01 TCGA.B9.A8YI.01 TCGA.B9.A8YH.01 TCGA.4A.A93Y.01 
#>            "02"           "031"            "01"           "044"            "01"           "032" 
#> TCGA.BQ.5886.01 TCGA.A4.A5Y0.01 TCGA.A4.8098.01 TCGA.MH.A857.01 TCGA.BQ.5889.11 TCGA.DW.5560.01 
#>           "053"           "052"           "053"            "02"            "02"           "054" 
#> TCGA.F9.A8NY.01 TCGA.BQ.5894.11 TCGA.BQ.5891.11 TCGA.G7.A8LE.01 TCGA.SX.A71W.01 TCGA.Y8.A894.01 
#>           "041"            "02"            "02"            "01"            "01"            "01" 
#> TCGA.WN.A9G9.01 TCGA.A4.8310.01 TCGA.A4.8518.01 TCGA.BQ.5881.11 TCGA.BQ.5893.11 TCGA.A4.8311.01 
#>           "031"           "053"           "032"            "02"            "02"            "01" 
#> TCGA.BQ.5891.01 TCGA.Y8.A895.01 TCGA.BQ.5876.01 TCGA.MH.A855.01 TCGA.P4.AAVO.01 TCGA.BQ.5886.11 
#>           "043"            "01"           "031"           "032"           "044"            "02" 
#> TCGA.2Z.A9JS.01 TCGA.BQ.5888.11 TCGA.2Z.A9J8.01 TCGA.KV.A74V.01 TCGA.A4.A5Y1.01 TCGA.BQ.5875.01 
#>            "01"            "02"           "052"            "01"           "043"           "042" 
#> TCGA.UZ.A9PZ.01 TCGA.Q2.A5QZ.01 TCGA.P4.A5E8.01 TCGA.B9.5155.01 TCGA.B9.A5W9.01 TCGA.5P.A9K4.01 
#>            "01"           "044"           "041"            "01"           "044"            "01" 
#> TCGA.P4.A5E7.01 TCGA.PJ.A5Z9.01 TCGA.5P.A9K8.01 TCGA.5P.A9KF.01 TCGA.P4.AAVK.01 TCGA.2Z.A9JM.01 
#>           "054"            "01"            "02"            "01"           "042"           "051" 
#> TCGA.A4.A48D.01 TCGA.BQ.5889.01 TCGA.2Z.A9JD.01 TCGA.5P.A9K2.01 TCGA.2Z.A9JO.01 TCGA.5P.A9K9.01 
#>           "031"           "031"           "053"            "01"           "032"           "043" 
#> TCGA.UZ.A9PV.01 TCGA.SX.A71V.01 TCGA.BQ.5892.11 TCGA.UZ.A9Q0.01 TCGA.UZ.A9PX.01 TCGA.UZ.A9PR.01 
#>            "01"           "053"            "02"            "01"            "01"            "01" 
#> TCGA.IA.A40X.01 TCGA.5P.A9JW.01 TCGA.IA.A40Y.01 TCGA.BQ.5883.11 TCGA.BQ.5878.11 TCGA.P4.A5EA.01 
#>           "052"           "031"           "043"            "02"            "02"           "041" 
#> TCGA.5P.A9KE.01 TCGA.5P.A9K3.01 TCGA.B1.A47N.01 TCGA.5P.A9KA.01 TCGA.BQ.5879.11 TCGA.P4.A5ED.01 
#>           "053"           "042"            "01"           "051"            "02"            "02" 
#> TCGA.A4.A772.01 TCGA.B1.A47O.01 TCGA.IA.A40U.01 TCGA.2Z.A9JE.01 TCGA.B9.A44B.01 TCGA.AT.A5NU.01 
#>           "051"           "031"           "053"            "01"           "042"            "01" 
#> TCGA.BQ.5882.11 TCGA.BQ.5877.01 TCGA.DW.7963.01 TCGA.2Z.A9JL.01 TCGA.2Z.A9JQ.01 TCGA.2Z.A9JK.01 
#>            "02"           "043"           "053"           "051"            "01"           "032" 
#> TCGA.UZ.A9PU.01 TCGA.P4.A5EB.01 TCGA.BQ.5892.01 TCGA.B1.A47M.11 TCGA.2Z.A9J9.01 TCGA.UZ.A9PS.05 
#>            "01"            "01"           "032"            "02"            "02"           "031" 
#> TCGA.P4.AAVM.01 TCGA.PJ.A5Z8.01 TCGA.5P.A9JZ.01 TCGA.2Z.A9JG.01 TCGA.BQ.5884.01 TCGA.2Z.A9JI.01 
#>           "053"           "031"           "054"           "044"           "032"           "043" 
#> TCGA.BQ.5890.11 TCGA.BQ.5881.01 TCGA.UZ.A9PP.01 TCGA.5P.A9JU.01 TCGA.2Z.A9JN.01 TCGA.UZ.A9PS.01 
#>            "02"           "053"            "01"           "042"            "02"           "052" 
#> TCGA.BQ.5875.11 TCGA.5P.A9JY.01 TCGA.B9.A5W8.01 TCGA.F9.A4JJ.01 TCGA.BQ.5883.01 TCGA.5P.A9K0.01 
#>            "02"            "01"           "031"           "041"            "02"           "053" 
#> TCGA.P4.AAVL.01 TCGA.B1.5398.01 TCGA.5P.A9K6.01 TCGA.UZ.A9PQ.01 TCGA.P4.A5E6.01 TCGA.BQ.5885.01 
#>            "01"           "031"           "053"           "044"           "053"           "053" 
#> TCGA.UZ.A9Q1.01 TCGA.2Z.A9JP.01 TCGA.5P.A9KC.01 TCGA.5P.A9KH.01 TCGA.2Z.A9JR.01 TCGA.GL.A59T.01 
#>           "044"           "053"           "032"            "02"           "051"           "051" 
#> TCGA.5P.A9JV.01 TCGA.WN.AB4C.01 TCGA.SX.A71R.01 TCGA.A4.A5DU.01 TCGA.B1.A47M.01 TCGA.2Z.A9JJ.01 
#>            "02"           "032"            "01"            "01"           "051"           "054" 
#> TCGA.2Z.A9JT.01 TCGA.GL.A4EM.01 TCGA.HE.7129.01 TCGA.HE.7128.01 TCGA.HE.A5NL.01 TCGA.G7.7502.01 
#>           "053"           "031"            "01"           "031"           "051"           "053" 
#> TCGA.BQ.7059.01 TCGA.DZ.6134.11 TCGA.HE.A5NJ.01 TCGA.BQ.7053.11 TCGA.GL.6846.11 TCGA.GL.6846.01 
#>           "031"            "02"            "01"            "02"            "02"           "044" 
#> TCGA.DW.7839.01 TCGA.DW.7841.01 TCGA.BQ.7049.01 TCGA.G7.6793.01 TCGA.BQ.7051.01 TCGA.BQ.7045.01 
#>            "01"           "051"           "031"           "041"            "01"           "053" 
#> TCGA.HE.A5NF.01 TCGA.A4.7996.01 TCGA.BQ.7046.01 TCGA.DZ.6132.11 TCGA.G7.7501.01 TCGA.O9.A75Z.01 
#>           "031"           "053"           "053"            "02"           "052"            "01" 
#> TCGA.DW.7834.01 TCGA.DZ.6133.01 TCGA.A4.A4ZT.01 TCGA.BQ.7060.01 TCGA.G7.6792.01 TCGA.HE.7130.01 
#>           "051"            "01"            "01"           "053"           "051"           "033" 
#> TCGA.GL.7773.01 TCGA.DZ.6133.11 TCGA.B1.7332.01 TCGA.BQ.7053.01 TCGA.DZ.6131.01 TCGA.BQ.7062.01 
#>           "054"            "02"            "01"           "052"           "033"           "053" 
#> TCGA.BQ.7046.11 TCGA.A4.7288.01 TCGA.DZ.6131.11 TCGA.BQ.7062.11 TCGA.BQ.7061.01 TCGA.A4.7286.01 
#>            "02"           "052"            "02"            "02"           "042"           "053" 
#> TCGA.G7.6797.01 TCGA.BQ.7058.01 TCGA.G7.6795.01 TCGA.HE.A5NH.01 TCGA.MH.A55W.01 TCGA.G7.6790.01 
#>            "01"           "042"           "051"            "01"           "053"           "053" 
#> TCGA.MH.A560.01 TCGA.A4.7997.01 TCGA.MH.A561.01 TCGA.BQ.7056.11 TCGA.B9.7268.01 TCGA.BQ.7055.11 
#>           "031"           "051"           "051"            "02"            "01"            "02" 
#> TCGA.HE.A5NI.01 TCGA.GL.7966.01 TCGA.BQ.7059.11 TCGA.A4.A57E.01 TCGA.A4.7288.11 TCGA.AL.A5DJ.01 
#>            "01"           "041"            "02"           "052"            "02"           "043" 
#> TCGA.G7.6796.01 TCGA.DW.7837.01 TCGA.BQ.7051.11 TCGA.BQ.7048.01 TCGA.F9.A7VF.01 TCGA.BQ.7049.11 
#>           "032"           "051"            "02"           "044"            "01"            "02" 
#> TCGA.DZ.6134.01 TCGA.BQ.5887.01 TCGA.DZ.6135.01 TCGA.MH.A55Z.01 TCGA.A4.7915.01 TCGA.BQ.7048.11 
#>           "031"           "043"            "01"            "01"           "041"            "02" 
#> TCGA.HE.A5NK.01 TCGA.G7.6789.01 TCGA.AL.7173.01 TCGA.SX.A71S.01 TCGA.BQ.7061.11 TCGA.DW.7840.01 
#>           "031"           "043"           "031"            "01"            "02"            "01" 
#> TCGA.GL.A59R.01 TCGA.BQ.7050.11 TCGA.BQ.7058.11 TCGA.DW.7838.01 TCGA.SX.A71U.01 TCGA.DZ.6135.11 
#>            "01"            "02"            "02"           "031"           "051"            "02" 
#> TCGA.BQ.7044.11 TCGA.V9.A7HT.01 TCGA.DW.7842.01 TCGA.BQ.7050.01 TCGA.BQ.7055.01 TCGA.J7.6720.01 
#>            "02"           "031"            "01"           "052"            "02"           "051" 
#> TCGA.BQ.7060.11 TCGA.BQ.7044.01 TCGA.DZ.6132.01 TCGA.DW.7836.01 TCGA.A4.7828.01 TCGA.BQ.5887.11 
#>            "02"           "044"           "031"            "01"            "02"            "02" 
#> TCGA.B3.A6W5.01 TCGA.MH.A562.01 TCGA.A4.7734.01 TCGA.BQ.7045.11 TCGA.A4.7584.01 TCGA.BQ.7056.01 
#>            "01"           "051"            "01"            "02"           "053"           "052" 
#> TCGA.A4.7287.01 TCGA.UZ.A9PJ.01 TCGA.2Z.A9J1.01 TCGA.UN.AAZ9.01 TCGA.UZ.A9PO.01 TCGA.UZ.A9PL.01 
#>           "033"            "01"           "051"           "053"           "031"            "01" 
#> TCGA.A4.7732.11 TCGA.A4.7732.01 TCGA.2Z.A9J2.01 TCGA.2Z.A9J3.01 TCGA.2Z.A9J6.01 TCGA.F9.A97G.01 
#>            "02"            "01"           "032"            "01"           "051"           "031" 
#> TCGA.UZ.A9PM.01 TCGA.A4.7585.11 TCGA.2K.A9WE.01 TCGA.A4.7583.01 TCGA.UZ.A9PK.01 TCGA.UZ.A9PN.01 
#>           "032"            "02"           "031"           "053"            "01"           "032" 
#> TCGA.2Z.A9J7.01 TCGA.2Z.A9J5.01 TCGA.A4.7585.01 
#>            "01"           "051"           "032"

show/hide code output

get_classes(res_rh, merge_node = merge_node_param(min_n_signatures = 9931))
#> TCGA.SX.A7SM.01 TCGA.IA.A83W.01 TCGA.B1.A656.01 TCGA.4A.A93X.01 TCGA.G7.A8LC.01 TCGA.SX.A7SS.01 
#>           "042"           "051"           "031"           "042"           "053"            "01" 
#> TCGA.B9.A69E.01 TCGA.BQ.5878.01 TCGA.DW.5561.01 TCGA.PJ.A8JU.01 TCGA.EV.5901.01 TCGA.SX.A7SR.01 
#>           "031"            "01"            "01"           "032"           "054"           "051" 
#> TCGA.BQ.5894.01 TCGA.KV.A6GE.01 TCGA.BQ.5882.01 TCGA.SX.A7SQ.01 TCGA.F9.A7Q0.01 TCGA.IZ.A6M8.01 
#>           "041"            "01"           "043"            "01"           "032"           "053" 
#> TCGA.B1.A654.01 TCGA.B3.8121.01 TCGA.MH.A856.01 TCGA.G7.A4TM.01 TCGA.IZ.8196.01 TCGA.B9.A5W7.01 
#>            "01"           "031"           "051"            "01"            "01"            "01" 
#> TCGA.B9.5156.01 TCGA.A4.A7UZ.01 TCGA.Y8.A897.01 TCGA.SX.A7SP.01 TCGA.Y8.A8RZ.01 TCGA.A4.A5XZ.01 
#>           "051"           "032"           "051"           "052"           "052"           "053" 
#> TCGA.Y8.A898.01 TCGA.BQ.5893.01 TCGA.SX.A7SU.01 TCGA.IZ.8195.01 TCGA.GL.8500.01 TCGA.EV.5902.01 
#>           "051"           "041"            "01"           "044"            "01"            "01" 
#> TCGA.J7.A8I2.01 TCGA.A4.8516.01 TCGA.A4.8312.01 TCGA.BQ.5880.01 TCGA.Y8.A8RY.01 TCGA.SX.A7SN.01 
#>           "033"            "01"            "02"           "032"           "051"           "051" 
#> TCGA.MH.A854.01 TCGA.A4.8517.01 TCGA.GL.A9DD.01 TCGA.A4.8630.01 TCGA.4A.A93W.01 TCGA.SX.A7SO.01 
#>            "01"           "053"           "031"            "01"            "01"           "052" 
#> TCGA.GL.A9DC.01 TCGA.A4.8515.01 TCGA.IZ.A6M9.01 TCGA.BQ.5880.11 TCGA.B1.A657.01 TCGA.G7.A8LD.01 
#>            "01"            "01"            "01"            "02"           "051"           "043" 
#> TCGA.Y8.A8S1.01 TCGA.IA.A83S.01 TCGA.Y8.A8S0.01 TCGA.BQ.5884.11 TCGA.B1.A655.01 TCGA.BQ.5877.11 
#>           "031"           "031"            "01"            "02"           "032"            "02" 
#> TCGA.EV.5903.01 TCGA.J7.8537.01 TCGA.A4.A6HP.01 TCGA.BQ.5890.01 TCGA.Y8.A896.01 TCGA.BQ.5888.01 
#>           "051"           "043"           "051"           "042"           "032"           "032" 
#> TCGA.BQ.5879.01 TCGA.GL.A9DE.01 TCGA.G7.A8LB.01 TCGA.IA.A83T.01 TCGA.IA.A83V.01 TCGA.BQ.5876.11 
#>           "041"           "042"            "01"           "031"           "032"            "02" 
#> TCGA.BQ.5885.11 TCGA.KV.A6GD.01 TCGA.SX.A7SL.01 TCGA.B9.A8YI.01 TCGA.B9.A8YH.01 TCGA.4A.A93Y.01 
#>            "02"           "031"            "01"           "044"            "01"           "032" 
#> TCGA.BQ.5886.01 TCGA.A4.A5Y0.01 TCGA.A4.8098.01 TCGA.MH.A857.01 TCGA.BQ.5889.11 TCGA.DW.5560.01 
#>           "053"           "052"           "053"            "02"            "02"           "054" 
#> TCGA.F9.A8NY.01 TCGA.BQ.5894.11 TCGA.BQ.5891.11 TCGA.G7.A8LE.01 TCGA.SX.A71W.01 TCGA.Y8.A894.01 
#>           "041"            "02"            "02"            "01"            "01"            "01" 
#> TCGA.WN.A9G9.01 TCGA.A4.8310.01 TCGA.A4.8518.01 TCGA.BQ.5881.11 TCGA.BQ.5893.11 TCGA.A4.8311.01 
#>           "031"           "053"           "032"            "02"            "02"            "01" 
#> TCGA.BQ.5891.01 TCGA.Y8.A895.01 TCGA.BQ.5876.01 TCGA.MH.A855.01 TCGA.P4.AAVO.01 TCGA.BQ.5886.11 
#>           "043"            "01"           "031"           "032"           "044"            "02" 
#> TCGA.2Z.A9JS.01 TCGA.BQ.5888.11 TCGA.2Z.A9J8.01 TCGA.KV.A74V.01 TCGA.A4.A5Y1.01 TCGA.BQ.5875.01 
#>            "01"            "02"           "052"            "01"           "043"           "042" 
#> TCGA.UZ.A9PZ.01 TCGA.Q2.A5QZ.01 TCGA.P4.A5E8.01 TCGA.B9.5155.01 TCGA.B9.A5W9.01 TCGA.5P.A9K4.01 
#>            "01"           "044"           "041"            "01"           "044"            "01" 
#> TCGA.P4.A5E7.01 TCGA.PJ.A5Z9.01 TCGA.5P.A9K8.01 TCGA.5P.A9KF.01 TCGA.P4.AAVK.01 TCGA.2Z.A9JM.01 
#>           "054"            "01"            "02"            "01"           "042"           "051" 
#> TCGA.A4.A48D.01 TCGA.BQ.5889.01 TCGA.2Z.A9JD.01 TCGA.5P.A9K2.01 TCGA.2Z.A9JO.01 TCGA.5P.A9K9.01 
#>           "031"           "031"           "053"            "01"           "032"           "043" 
#> TCGA.UZ.A9PV.01 TCGA.SX.A71V.01 TCGA.BQ.5892.11 TCGA.UZ.A9Q0.01 TCGA.UZ.A9PX.01 TCGA.UZ.A9PR.01 
#>            "01"           "053"            "02"            "01"            "01"            "01" 
#> TCGA.IA.A40X.01 TCGA.5P.A9JW.01 TCGA.IA.A40Y.01 TCGA.BQ.5883.11 TCGA.BQ.5878.11 TCGA.P4.A5EA.01 
#>           "052"           "031"           "043"            "02"            "02"           "041" 
#> TCGA.5P.A9KE.01 TCGA.5P.A9K3.01 TCGA.B1.A47N.01 TCGA.5P.A9KA.01 TCGA.BQ.5879.11 TCGA.P4.A5ED.01 
#>           "053"           "042"            "01"           "051"            "02"            "02" 
#> TCGA.A4.A772.01 TCGA.B1.A47O.01 TCGA.IA.A40U.01 TCGA.2Z.A9JE.01 TCGA.B9.A44B.01 TCGA.AT.A5NU.01 
#>           "051"           "031"           "053"            "01"           "042"            "01" 
#> TCGA.BQ.5882.11 TCGA.BQ.5877.01 TCGA.DW.7963.01 TCGA.2Z.A9JL.01 TCGA.2Z.A9JQ.01 TCGA.2Z.A9JK.01 
#>            "02"           "043"           "053"           "051"            "01"           "032" 
#> TCGA.UZ.A9PU.01 TCGA.P4.A5EB.01 TCGA.BQ.5892.01 TCGA.B1.A47M.11 TCGA.2Z.A9J9.01 TCGA.UZ.A9PS.05 
#>            "01"            "01"           "032"            "02"            "02"           "031" 
#> TCGA.P4.AAVM.01 TCGA.PJ.A5Z8.01 TCGA.5P.A9JZ.01 TCGA.2Z.A9JG.01 TCGA.BQ.5884.01 TCGA.2Z.A9JI.01 
#>           "053"           "031"           "054"           "044"           "032"           "043" 
#> TCGA.BQ.5890.11 TCGA.BQ.5881.01 TCGA.UZ.A9PP.01 TCGA.5P.A9JU.01 TCGA.2Z.A9JN.01 TCGA.UZ.A9PS.01 
#>            "02"           "053"            "01"           "042"            "02"           "052" 
#> TCGA.BQ.5875.11 TCGA.5P.A9JY.01 TCGA.B9.A5W8.01 TCGA.F9.A4JJ.01 TCGA.BQ.5883.01 TCGA.5P.A9K0.01 
#>            "02"            "01"           "031"           "041"            "02"           "053" 
#> TCGA.P4.AAVL.01 TCGA.B1.5398.01 TCGA.5P.A9K6.01 TCGA.UZ.A9PQ.01 TCGA.P4.A5E6.01 TCGA.BQ.5885.01 
#>            "01"           "031"           "053"           "044"           "053"           "053" 
#> TCGA.UZ.A9Q1.01 TCGA.2Z.A9JP.01 TCGA.5P.A9KC.01 TCGA.5P.A9KH.01 TCGA.2Z.A9JR.01 TCGA.GL.A59T.01 
#>           "044"           "053"           "032"            "02"           "051"           "051" 
#> TCGA.5P.A9JV.01 TCGA.WN.AB4C.01 TCGA.SX.A71R.01 TCGA.A4.A5DU.01 TCGA.B1.A47M.01 TCGA.2Z.A9JJ.01 
#>            "02"           "032"            "01"            "01"           "051"           "054" 
#> TCGA.2Z.A9JT.01 TCGA.GL.A4EM.01 TCGA.HE.7129.01 TCGA.HE.7128.01 TCGA.HE.A5NL.01 TCGA.G7.7502.01 
#>           "053"           "031"            "01"           "031"           "051"           "053" 
#> TCGA.BQ.7059.01 TCGA.DZ.6134.11 TCGA.HE.A5NJ.01 TCGA.BQ.7053.11 TCGA.GL.6846.11 TCGA.GL.6846.01 
#>           "031"            "02"            "01"            "02"            "02"           "044" 
#> TCGA.DW.7839.01 TCGA.DW.7841.01 TCGA.BQ.7049.01 TCGA.G7.6793.01 TCGA.BQ.7051.01 TCGA.BQ.7045.01 
#>            "01"           "051"           "031"           "041"            "01"           "053" 
#> TCGA.HE.A5NF.01 TCGA.A4.7996.01 TCGA.BQ.7046.01 TCGA.DZ.6132.11 TCGA.G7.7501.01 TCGA.O9.A75Z.01 
#>           "031"           "053"           "053"            "02"           "052"            "01" 
#> TCGA.DW.7834.01 TCGA.DZ.6133.01 TCGA.A4.A4ZT.01 TCGA.BQ.7060.01 TCGA.G7.6792.01 TCGA.HE.7130.01 
#>           "051"            "01"            "01"           "053"           "051"           "033" 
#> TCGA.GL.7773.01 TCGA.DZ.6133.11 TCGA.B1.7332.01 TCGA.BQ.7053.01 TCGA.DZ.6131.01 TCGA.BQ.7062.01 
#>           "054"            "02"            "01"           "052"           "033"           "053" 
#> TCGA.BQ.7046.11 TCGA.A4.7288.01 TCGA.DZ.6131.11 TCGA.BQ.7062.11 TCGA.BQ.7061.01 TCGA.A4.7286.01 
#>            "02"           "052"            "02"            "02"           "042"           "053" 
#> TCGA.G7.6797.01 TCGA.BQ.7058.01 TCGA.G7.6795.01 TCGA.HE.A5NH.01 TCGA.MH.A55W.01 TCGA.G7.6790.01 
#>            "01"           "042"           "051"            "01"           "053"           "053" 
#> TCGA.MH.A560.01 TCGA.A4.7997.01 TCGA.MH.A561.01 TCGA.BQ.7056.11 TCGA.B9.7268.01 TCGA.BQ.7055.11 
#>           "031"           "051"           "051"            "02"            "01"            "02" 
#> TCGA.HE.A5NI.01 TCGA.GL.7966.01 TCGA.BQ.7059.11 TCGA.A4.A57E.01 TCGA.A4.7288.11 TCGA.AL.A5DJ.01 
#>            "01"           "041"            "02"           "052"            "02"           "043" 
#> TCGA.G7.6796.01 TCGA.DW.7837.01 TCGA.BQ.7051.11 TCGA.BQ.7048.01 TCGA.F9.A7VF.01 TCGA.BQ.7049.11 
#>           "032"           "051"            "02"           "044"            "01"            "02" 
#> TCGA.DZ.6134.01 TCGA.BQ.5887.01 TCGA.DZ.6135.01 TCGA.MH.A55Z.01 TCGA.A4.7915.01 TCGA.BQ.7048.11 
#>           "031"           "043"            "01"            "01"           "041"            "02" 
#> TCGA.HE.A5NK.01 TCGA.G7.6789.01 TCGA.AL.7173.01 TCGA.SX.A71S.01 TCGA.BQ.7061.11 TCGA.DW.7840.01 
#>           "031"           "043"           "031"            "01"            "02"            "01" 
#> TCGA.GL.A59R.01 TCGA.BQ.7050.11 TCGA.BQ.7058.11 TCGA.DW.7838.01 TCGA.SX.A71U.01 TCGA.DZ.6135.11 
#>            "01"            "02"            "02"           "031"           "051"            "02" 
#> TCGA.BQ.7044.11 TCGA.V9.A7HT.01 TCGA.DW.7842.01 TCGA.BQ.7050.01 TCGA.BQ.7055.01 TCGA.J7.6720.01 
#>            "02"           "031"            "01"           "052"            "02"           "051" 
#> TCGA.BQ.7060.11 TCGA.BQ.7044.01 TCGA.DZ.6132.01 TCGA.DW.7836.01 TCGA.A4.7828.01 TCGA.BQ.5887.11 
#>            "02"           "044"           "031"            "01"            "02"            "02" 
#> TCGA.B3.A6W5.01 TCGA.MH.A562.01 TCGA.A4.7734.01 TCGA.BQ.7045.11 TCGA.A4.7584.01 TCGA.BQ.7056.01 
#>            "01"           "051"            "01"            "02"           "053"           "052" 
#> TCGA.A4.7287.01 TCGA.UZ.A9PJ.01 TCGA.2Z.A9J1.01 TCGA.UN.AAZ9.01 TCGA.UZ.A9PO.01 TCGA.UZ.A9PL.01 
#>           "033"            "01"           "051"           "053"           "031"            "01" 
#> TCGA.A4.7732.11 TCGA.A4.7732.01 TCGA.2Z.A9J2.01 TCGA.2Z.A9J3.01 TCGA.2Z.A9J6.01 TCGA.F9.A97G.01 
#>            "02"            "01"           "032"            "01"           "051"           "031" 
#> TCGA.UZ.A9PM.01 TCGA.A4.7585.11 TCGA.2K.A9WE.01 TCGA.A4.7583.01 TCGA.UZ.A9PK.01 TCGA.UZ.A9PN.01 
#>           "032"            "02"           "031"           "053"            "01"           "032" 
#> TCGA.2Z.A9J7.01 TCGA.2Z.A9J5.01 TCGA.A4.7585.01 
#>            "01"           "051"           "032"

show/hide code output

get_classes(res_rh, merge_node = merge_node_param(min_n_signatures = 26826))
#> TCGA.SX.A7SM.01 TCGA.IA.A83W.01 TCGA.B1.A656.01 TCGA.4A.A93X.01 TCGA.G7.A8LC.01 TCGA.SX.A7SS.01 
#>           "042"            "05"           "031"           "042"            "05"            "01" 
#> TCGA.B9.A69E.01 TCGA.BQ.5878.01 TCGA.DW.5561.01 TCGA.PJ.A8JU.01 TCGA.EV.5901.01 TCGA.SX.A7SR.01 
#>           "031"            "01"            "01"           "032"            "05"            "05" 
#> TCGA.BQ.5894.01 TCGA.KV.A6GE.01 TCGA.BQ.5882.01 TCGA.SX.A7SQ.01 TCGA.F9.A7Q0.01 TCGA.IZ.A6M8.01 
#>           "041"            "01"           "043"            "01"           "032"            "05" 
#> TCGA.B1.A654.01 TCGA.B3.8121.01 TCGA.MH.A856.01 TCGA.G7.A4TM.01 TCGA.IZ.8196.01 TCGA.B9.A5W7.01 
#>            "01"           "031"            "05"            "01"            "01"            "01" 
#> TCGA.B9.5156.01 TCGA.A4.A7UZ.01 TCGA.Y8.A897.01 TCGA.SX.A7SP.01 TCGA.Y8.A8RZ.01 TCGA.A4.A5XZ.01 
#>            "05"           "032"            "05"            "05"            "05"            "05" 
#> TCGA.Y8.A898.01 TCGA.BQ.5893.01 TCGA.SX.A7SU.01 TCGA.IZ.8195.01 TCGA.GL.8500.01 TCGA.EV.5902.01 
#>            "05"           "041"            "01"           "044"            "01"            "01" 
#> TCGA.J7.A8I2.01 TCGA.A4.8516.01 TCGA.A4.8312.01 TCGA.BQ.5880.01 TCGA.Y8.A8RY.01 TCGA.SX.A7SN.01 
#>           "033"            "01"            "02"           "032"            "05"            "05" 
#> TCGA.MH.A854.01 TCGA.A4.8517.01 TCGA.GL.A9DD.01 TCGA.A4.8630.01 TCGA.4A.A93W.01 TCGA.SX.A7SO.01 
#>            "01"            "05"           "031"            "01"            "01"            "05" 
#> TCGA.GL.A9DC.01 TCGA.A4.8515.01 TCGA.IZ.A6M9.01 TCGA.BQ.5880.11 TCGA.B1.A657.01 TCGA.G7.A8LD.01 
#>            "01"            "01"            "01"            "02"            "05"           "043" 
#> TCGA.Y8.A8S1.01 TCGA.IA.A83S.01 TCGA.Y8.A8S0.01 TCGA.BQ.5884.11 TCGA.B1.A655.01 TCGA.BQ.5877.11 
#>           "031"           "031"            "01"            "02"           "032"            "02" 
#> TCGA.EV.5903.01 TCGA.J7.8537.01 TCGA.A4.A6HP.01 TCGA.BQ.5890.01 TCGA.Y8.A896.01 TCGA.BQ.5888.01 
#>            "05"           "043"            "05"           "042"           "032"           "032" 
#> TCGA.BQ.5879.01 TCGA.GL.A9DE.01 TCGA.G7.A8LB.01 TCGA.IA.A83T.01 TCGA.IA.A83V.01 TCGA.BQ.5876.11 
#>           "041"           "042"            "01"           "031"           "032"            "02" 
#> TCGA.BQ.5885.11 TCGA.KV.A6GD.01 TCGA.SX.A7SL.01 TCGA.B9.A8YI.01 TCGA.B9.A8YH.01 TCGA.4A.A93Y.01 
#>            "02"           "031"            "01"           "044"            "01"           "032" 
#> TCGA.BQ.5886.01 TCGA.A4.A5Y0.01 TCGA.A4.8098.01 TCGA.MH.A857.01 TCGA.BQ.5889.11 TCGA.DW.5560.01 
#>            "05"            "05"            "05"            "02"            "02"            "05" 
#> TCGA.F9.A8NY.01 TCGA.BQ.5894.11 TCGA.BQ.5891.11 TCGA.G7.A8LE.01 TCGA.SX.A71W.01 TCGA.Y8.A894.01 
#>           "041"            "02"            "02"            "01"            "01"            "01" 
#> TCGA.WN.A9G9.01 TCGA.A4.8310.01 TCGA.A4.8518.01 TCGA.BQ.5881.11 TCGA.BQ.5893.11 TCGA.A4.8311.01 
#>           "031"            "05"           "032"            "02"            "02"            "01" 
#> TCGA.BQ.5891.01 TCGA.Y8.A895.01 TCGA.BQ.5876.01 TCGA.MH.A855.01 TCGA.P4.AAVO.01 TCGA.BQ.5886.11 
#>           "043"            "01"           "031"           "032"           "044"            "02" 
#> TCGA.2Z.A9JS.01 TCGA.BQ.5888.11 TCGA.2Z.A9J8.01 TCGA.KV.A74V.01 TCGA.A4.A5Y1.01 TCGA.BQ.5875.01 
#>            "01"            "02"            "05"            "01"           "043"           "042" 
#> TCGA.UZ.A9PZ.01 TCGA.Q2.A5QZ.01 TCGA.P4.A5E8.01 TCGA.B9.5155.01 TCGA.B9.A5W9.01 TCGA.5P.A9K4.01 
#>            "01"           "044"           "041"            "01"           "044"            "01" 
#> TCGA.P4.A5E7.01 TCGA.PJ.A5Z9.01 TCGA.5P.A9K8.01 TCGA.5P.A9KF.01 TCGA.P4.AAVK.01 TCGA.2Z.A9JM.01 
#>            "05"            "01"            "02"            "01"           "042"            "05" 
#> TCGA.A4.A48D.01 TCGA.BQ.5889.01 TCGA.2Z.A9JD.01 TCGA.5P.A9K2.01 TCGA.2Z.A9JO.01 TCGA.5P.A9K9.01 
#>           "031"           "031"            "05"            "01"           "032"           "043" 
#> TCGA.UZ.A9PV.01 TCGA.SX.A71V.01 TCGA.BQ.5892.11 TCGA.UZ.A9Q0.01 TCGA.UZ.A9PX.01 TCGA.UZ.A9PR.01 
#>            "01"            "05"            "02"            "01"            "01"            "01" 
#> TCGA.IA.A40X.01 TCGA.5P.A9JW.01 TCGA.IA.A40Y.01 TCGA.BQ.5883.11 TCGA.BQ.5878.11 TCGA.P4.A5EA.01 
#>            "05"           "031"           "043"            "02"            "02"           "041" 
#> TCGA.5P.A9KE.01 TCGA.5P.A9K3.01 TCGA.B1.A47N.01 TCGA.5P.A9KA.01 TCGA.BQ.5879.11 TCGA.P4.A5ED.01 
#>            "05"           "042"            "01"            "05"            "02"            "02" 
#> TCGA.A4.A772.01 TCGA.B1.A47O.01 TCGA.IA.A40U.01 TCGA.2Z.A9JE.01 TCGA.B9.A44B.01 TCGA.AT.A5NU.01 
#>            "05"           "031"            "05"            "01"           "042"            "01" 
#> TCGA.BQ.5882.11 TCGA.BQ.5877.01 TCGA.DW.7963.01 TCGA.2Z.A9JL.01 TCGA.2Z.A9JQ.01 TCGA.2Z.A9JK.01 
#>            "02"           "043"            "05"            "05"            "01"           "032" 
#> TCGA.UZ.A9PU.01 TCGA.P4.A5EB.01 TCGA.BQ.5892.01 TCGA.B1.A47M.11 TCGA.2Z.A9J9.01 TCGA.UZ.A9PS.05 
#>            "01"            "01"           "032"            "02"            "02"           "031" 
#> TCGA.P4.AAVM.01 TCGA.PJ.A5Z8.01 TCGA.5P.A9JZ.01 TCGA.2Z.A9JG.01 TCGA.BQ.5884.01 TCGA.2Z.A9JI.01 
#>            "05"           "031"            "05"           "044"           "032"           "043" 
#> TCGA.BQ.5890.11 TCGA.BQ.5881.01 TCGA.UZ.A9PP.01 TCGA.5P.A9JU.01 TCGA.2Z.A9JN.01 TCGA.UZ.A9PS.01 
#>            "02"            "05"            "01"           "042"            "02"            "05" 
#> TCGA.BQ.5875.11 TCGA.5P.A9JY.01 TCGA.B9.A5W8.01 TCGA.F9.A4JJ.01 TCGA.BQ.5883.01 TCGA.5P.A9K0.01 
#>            "02"            "01"           "031"           "041"            "02"            "05" 
#> TCGA.P4.AAVL.01 TCGA.B1.5398.01 TCGA.5P.A9K6.01 TCGA.UZ.A9PQ.01 TCGA.P4.A5E6.01 TCGA.BQ.5885.01 
#>            "01"           "031"            "05"           "044"            "05"            "05" 
#> TCGA.UZ.A9Q1.01 TCGA.2Z.A9JP.01 TCGA.5P.A9KC.01 TCGA.5P.A9KH.01 TCGA.2Z.A9JR.01 TCGA.GL.A59T.01 
#>           "044"            "05"           "032"            "02"            "05"            "05" 
#> TCGA.5P.A9JV.01 TCGA.WN.AB4C.01 TCGA.SX.A71R.01 TCGA.A4.A5DU.01 TCGA.B1.A47M.01 TCGA.2Z.A9JJ.01 
#>            "02"           "032"            "01"            "01"            "05"            "05" 
#> TCGA.2Z.A9JT.01 TCGA.GL.A4EM.01 TCGA.HE.7129.01 TCGA.HE.7128.01 TCGA.HE.A5NL.01 TCGA.G7.7502.01 
#>            "05"           "031"            "01"           "031"            "05"            "05" 
#> TCGA.BQ.7059.01 TCGA.DZ.6134.11 TCGA.HE.A5NJ.01 TCGA.BQ.7053.11 TCGA.GL.6846.11 TCGA.GL.6846.01 
#>           "031"            "02"            "01"            "02"            "02"           "044" 
#> TCGA.DW.7839.01 TCGA.DW.7841.01 TCGA.BQ.7049.01 TCGA.G7.6793.01 TCGA.BQ.7051.01 TCGA.BQ.7045.01 
#>            "01"            "05"           "031"           "041"            "01"            "05" 
#> TCGA.HE.A5NF.01 TCGA.A4.7996.01 TCGA.BQ.7046.01 TCGA.DZ.6132.11 TCGA.G7.7501.01 TCGA.O9.A75Z.01 
#>           "031"            "05"            "05"            "02"            "05"            "01" 
#> TCGA.DW.7834.01 TCGA.DZ.6133.01 TCGA.A4.A4ZT.01 TCGA.BQ.7060.01 TCGA.G7.6792.01 TCGA.HE.7130.01 
#>            "05"            "01"            "01"            "05"            "05"           "033" 
#> TCGA.GL.7773.01 TCGA.DZ.6133.11 TCGA.B1.7332.01 TCGA.BQ.7053.01 TCGA.DZ.6131.01 TCGA.BQ.7062.01 
#>            "05"            "02"            "01"            "05"           "033"            "05" 
#> TCGA.BQ.7046.11 TCGA.A4.7288.01 TCGA.DZ.6131.11 TCGA.BQ.7062.11 TCGA.BQ.7061.01 TCGA.A4.7286.01 
#>            "02"            "05"            "02"            "02"           "042"            "05" 
#> TCGA.G7.6797.01 TCGA.BQ.7058.01 TCGA.G7.6795.01 TCGA.HE.A5NH.01 TCGA.MH.A55W.01 TCGA.G7.6790.01 
#>            "01"           "042"            "05"            "01"            "05"            "05" 
#> TCGA.MH.A560.01 TCGA.A4.7997.01 TCGA.MH.A561.01 TCGA.BQ.7056.11 TCGA.B9.7268.01 TCGA.BQ.7055.11 
#>           "031"            "05"            "05"            "02"            "01"            "02" 
#> TCGA.HE.A5NI.01 TCGA.GL.7966.01 TCGA.BQ.7059.11 TCGA.A4.A57E.01 TCGA.A4.7288.11 TCGA.AL.A5DJ.01 
#>            "01"           "041"            "02"            "05"            "02"           "043" 
#> TCGA.G7.6796.01 TCGA.DW.7837.01 TCGA.BQ.7051.11 TCGA.BQ.7048.01 TCGA.F9.A7VF.01 TCGA.BQ.7049.11 
#>           "032"            "05"            "02"           "044"            "01"            "02" 
#> TCGA.DZ.6134.01 TCGA.BQ.5887.01 TCGA.DZ.6135.01 TCGA.MH.A55Z.01 TCGA.A4.7915.01 TCGA.BQ.7048.11 
#>           "031"           "043"            "01"            "01"           "041"            "02" 
#> TCGA.HE.A5NK.01 TCGA.G7.6789.01 TCGA.AL.7173.01 TCGA.SX.A71S.01 TCGA.BQ.7061.11 TCGA.DW.7840.01 
#>           "031"           "043"           "031"            "01"            "02"            "01" 
#> TCGA.GL.A59R.01 TCGA.BQ.7050.11 TCGA.BQ.7058.11 TCGA.DW.7838.01 TCGA.SX.A71U.01 TCGA.DZ.6135.11 
#>            "01"            "02"            "02"           "031"            "05"            "02" 
#> TCGA.BQ.7044.11 TCGA.V9.A7HT.01 TCGA.DW.7842.01 TCGA.BQ.7050.01 TCGA.BQ.7055.01 TCGA.J7.6720.01 
#>            "02"           "031"            "01"            "05"            "02"            "05" 
#> TCGA.BQ.7060.11 TCGA.BQ.7044.01 TCGA.DZ.6132.01 TCGA.DW.7836.01 TCGA.A4.7828.01 TCGA.BQ.5887.11 
#>            "02"           "044"           "031"            "01"            "02"            "02" 
#> TCGA.B3.A6W5.01 TCGA.MH.A562.01 TCGA.A4.7734.01 TCGA.BQ.7045.11 TCGA.A4.7584.01 TCGA.BQ.7056.01 
#>            "01"            "05"            "01"            "02"            "05"            "05" 
#> TCGA.A4.7287.01 TCGA.UZ.A9PJ.01 TCGA.2Z.A9J1.01 TCGA.UN.AAZ9.01 TCGA.UZ.A9PO.01 TCGA.UZ.A9PL.01 
#>           "033"            "01"            "05"            "05"           "031"            "01" 
#> TCGA.A4.7732.11 TCGA.A4.7732.01 TCGA.2Z.A9J2.01 TCGA.2Z.A9J3.01 TCGA.2Z.A9J6.01 TCGA.F9.A97G.01 
#>            "02"            "01"           "032"            "01"            "05"           "031" 
#> TCGA.UZ.A9PM.01 TCGA.A4.7585.11 TCGA.2K.A9WE.01 TCGA.A4.7583.01 TCGA.UZ.A9PK.01 TCGA.UZ.A9PN.01 
#>           "032"            "02"           "031"            "05"            "01"           "032" 
#> TCGA.2Z.A9J7.01 TCGA.2Z.A9J5.01 TCGA.A4.7585.01 
#>            "01"            "05"           "032"

show/hide code output

get_classes(res_rh, merge_node = merge_node_param(min_n_signatures = 36795))
#> TCGA.SX.A7SM.01 TCGA.IA.A83W.01 TCGA.B1.A656.01 TCGA.4A.A93X.01 TCGA.G7.A8LC.01 TCGA.SX.A7SS.01 
#>           "042"            "05"            "03"           "042"            "05"            "01" 
#> TCGA.B9.A69E.01 TCGA.BQ.5878.01 TCGA.DW.5561.01 TCGA.PJ.A8JU.01 TCGA.EV.5901.01 TCGA.SX.A7SR.01 
#>            "03"            "01"            "01"            "03"            "05"            "05" 
#> TCGA.BQ.5894.01 TCGA.KV.A6GE.01 TCGA.BQ.5882.01 TCGA.SX.A7SQ.01 TCGA.F9.A7Q0.01 TCGA.IZ.A6M8.01 
#>           "041"            "01"           "043"            "01"            "03"            "05" 
#> TCGA.B1.A654.01 TCGA.B3.8121.01 TCGA.MH.A856.01 TCGA.G7.A4TM.01 TCGA.IZ.8196.01 TCGA.B9.A5W7.01 
#>            "01"            "03"            "05"            "01"            "01"            "01" 
#> TCGA.B9.5156.01 TCGA.A4.A7UZ.01 TCGA.Y8.A897.01 TCGA.SX.A7SP.01 TCGA.Y8.A8RZ.01 TCGA.A4.A5XZ.01 
#>            "05"            "03"            "05"            "05"            "05"            "05" 
#> TCGA.Y8.A898.01 TCGA.BQ.5893.01 TCGA.SX.A7SU.01 TCGA.IZ.8195.01 TCGA.GL.8500.01 TCGA.EV.5902.01 
#>            "05"           "041"            "01"           "044"            "01"            "01" 
#> TCGA.J7.A8I2.01 TCGA.A4.8516.01 TCGA.A4.8312.01 TCGA.BQ.5880.01 TCGA.Y8.A8RY.01 TCGA.SX.A7SN.01 
#>            "03"            "01"            "02"            "03"            "05"            "05" 
#> TCGA.MH.A854.01 TCGA.A4.8517.01 TCGA.GL.A9DD.01 TCGA.A4.8630.01 TCGA.4A.A93W.01 TCGA.SX.A7SO.01 
#>            "01"            "05"            "03"            "01"            "01"            "05" 
#> TCGA.GL.A9DC.01 TCGA.A4.8515.01 TCGA.IZ.A6M9.01 TCGA.BQ.5880.11 TCGA.B1.A657.01 TCGA.G7.A8LD.01 
#>            "01"            "01"            "01"            "02"            "05"           "043" 
#> TCGA.Y8.A8S1.01 TCGA.IA.A83S.01 TCGA.Y8.A8S0.01 TCGA.BQ.5884.11 TCGA.B1.A655.01 TCGA.BQ.5877.11 
#>            "03"            "03"            "01"            "02"            "03"            "02" 
#> TCGA.EV.5903.01 TCGA.J7.8537.01 TCGA.A4.A6HP.01 TCGA.BQ.5890.01 TCGA.Y8.A896.01 TCGA.BQ.5888.01 
#>            "05"           "043"            "05"           "042"            "03"            "03" 
#> TCGA.BQ.5879.01 TCGA.GL.A9DE.01 TCGA.G7.A8LB.01 TCGA.IA.A83T.01 TCGA.IA.A83V.01 TCGA.BQ.5876.11 
#>           "041"           "042"            "01"            "03"            "03"            "02" 
#> TCGA.BQ.5885.11 TCGA.KV.A6GD.01 TCGA.SX.A7SL.01 TCGA.B9.A8YI.01 TCGA.B9.A8YH.01 TCGA.4A.A93Y.01 
#>            "02"            "03"            "01"           "044"            "01"            "03" 
#> TCGA.BQ.5886.01 TCGA.A4.A5Y0.01 TCGA.A4.8098.01 TCGA.MH.A857.01 TCGA.BQ.5889.11 TCGA.DW.5560.01 
#>            "05"            "05"            "05"            "02"            "02"            "05" 
#> TCGA.F9.A8NY.01 TCGA.BQ.5894.11 TCGA.BQ.5891.11 TCGA.G7.A8LE.01 TCGA.SX.A71W.01 TCGA.Y8.A894.01 
#>           "041"            "02"            "02"            "01"            "01"            "01" 
#> TCGA.WN.A9G9.01 TCGA.A4.8310.01 TCGA.A4.8518.01 TCGA.BQ.5881.11 TCGA.BQ.5893.11 TCGA.A4.8311.01 
#>            "03"            "05"            "03"            "02"            "02"            "01" 
#> TCGA.BQ.5891.01 TCGA.Y8.A895.01 TCGA.BQ.5876.01 TCGA.MH.A855.01 TCGA.P4.AAVO.01 TCGA.BQ.5886.11 
#>           "043"            "01"            "03"            "03"           "044"            "02" 
#> TCGA.2Z.A9JS.01 TCGA.BQ.5888.11 TCGA.2Z.A9J8.01 TCGA.KV.A74V.01 TCGA.A4.A5Y1.01 TCGA.BQ.5875.01 
#>            "01"            "02"            "05"            "01"           "043"           "042" 
#> TCGA.UZ.A9PZ.01 TCGA.Q2.A5QZ.01 TCGA.P4.A5E8.01 TCGA.B9.5155.01 TCGA.B9.A5W9.01 TCGA.5P.A9K4.01 
#>            "01"           "044"           "041"            "01"           "044"            "01" 
#> TCGA.P4.A5E7.01 TCGA.PJ.A5Z9.01 TCGA.5P.A9K8.01 TCGA.5P.A9KF.01 TCGA.P4.AAVK.01 TCGA.2Z.A9JM.01 
#>            "05"            "01"            "02"            "01"           "042"            "05" 
#> TCGA.A4.A48D.01 TCGA.BQ.5889.01 TCGA.2Z.A9JD.01 TCGA.5P.A9K2.01 TCGA.2Z.A9JO.01 TCGA.5P.A9K9.01 
#>            "03"            "03"            "05"            "01"            "03"           "043" 
#> TCGA.UZ.A9PV.01 TCGA.SX.A71V.01 TCGA.BQ.5892.11 TCGA.UZ.A9Q0.01 TCGA.UZ.A9PX.01 TCGA.UZ.A9PR.01 
#>            "01"            "05"            "02"            "01"            "01"            "01" 
#> TCGA.IA.A40X.01 TCGA.5P.A9JW.01 TCGA.IA.A40Y.01 TCGA.BQ.5883.11 TCGA.BQ.5878.11 TCGA.P4.A5EA.01 
#>            "05"            "03"           "043"            "02"            "02"           "041" 
#> TCGA.5P.A9KE.01 TCGA.5P.A9K3.01 TCGA.B1.A47N.01 TCGA.5P.A9KA.01 TCGA.BQ.5879.11 TCGA.P4.A5ED.01 
#>            "05"           "042"            "01"            "05"            "02"            "02" 
#> TCGA.A4.A772.01 TCGA.B1.A47O.01 TCGA.IA.A40U.01 TCGA.2Z.A9JE.01 TCGA.B9.A44B.01 TCGA.AT.A5NU.01 
#>            "05"            "03"            "05"            "01"           "042"            "01" 
#> TCGA.BQ.5882.11 TCGA.BQ.5877.01 TCGA.DW.7963.01 TCGA.2Z.A9JL.01 TCGA.2Z.A9JQ.01 TCGA.2Z.A9JK.01 
#>            "02"           "043"            "05"            "05"            "01"            "03" 
#> TCGA.UZ.A9PU.01 TCGA.P4.A5EB.01 TCGA.BQ.5892.01 TCGA.B1.A47M.11 TCGA.2Z.A9J9.01 TCGA.UZ.A9PS.05 
#>            "01"            "01"            "03"            "02"            "02"            "03" 
#> TCGA.P4.AAVM.01 TCGA.PJ.A5Z8.01 TCGA.5P.A9JZ.01 TCGA.2Z.A9JG.01 TCGA.BQ.5884.01 TCGA.2Z.A9JI.01 
#>            "05"            "03"            "05"           "044"            "03"           "043" 
#> TCGA.BQ.5890.11 TCGA.BQ.5881.01 TCGA.UZ.A9PP.01 TCGA.5P.A9JU.01 TCGA.2Z.A9JN.01 TCGA.UZ.A9PS.01 
#>            "02"            "05"            "01"           "042"            "02"            "05" 
#> TCGA.BQ.5875.11 TCGA.5P.A9JY.01 TCGA.B9.A5W8.01 TCGA.F9.A4JJ.01 TCGA.BQ.5883.01 TCGA.5P.A9K0.01 
#>            "02"            "01"            "03"           "041"            "02"            "05" 
#> TCGA.P4.AAVL.01 TCGA.B1.5398.01 TCGA.5P.A9K6.01 TCGA.UZ.A9PQ.01 TCGA.P4.A5E6.01 TCGA.BQ.5885.01 
#>            "01"            "03"            "05"           "044"            "05"            "05" 
#> TCGA.UZ.A9Q1.01 TCGA.2Z.A9JP.01 TCGA.5P.A9KC.01 TCGA.5P.A9KH.01 TCGA.2Z.A9JR.01 TCGA.GL.A59T.01 
#>           "044"            "05"            "03"            "02"            "05"            "05" 
#> TCGA.5P.A9JV.01 TCGA.WN.AB4C.01 TCGA.SX.A71R.01 TCGA.A4.A5DU.01 TCGA.B1.A47M.01 TCGA.2Z.A9JJ.01 
#>            "02"            "03"            "01"            "01"            "05"            "05" 
#> TCGA.2Z.A9JT.01 TCGA.GL.A4EM.01 TCGA.HE.7129.01 TCGA.HE.7128.01 TCGA.HE.A5NL.01 TCGA.G7.7502.01 
#>            "05"            "03"            "01"            "03"            "05"            "05" 
#> TCGA.BQ.7059.01 TCGA.DZ.6134.11 TCGA.HE.A5NJ.01 TCGA.BQ.7053.11 TCGA.GL.6846.11 TCGA.GL.6846.01 
#>            "03"            "02"            "01"            "02"            "02"           "044" 
#> TCGA.DW.7839.01 TCGA.DW.7841.01 TCGA.BQ.7049.01 TCGA.G7.6793.01 TCGA.BQ.7051.01 TCGA.BQ.7045.01 
#>            "01"            "05"            "03"           "041"            "01"            "05" 
#> TCGA.HE.A5NF.01 TCGA.A4.7996.01 TCGA.BQ.7046.01 TCGA.DZ.6132.11 TCGA.G7.7501.01 TCGA.O9.A75Z.01 
#>            "03"            "05"            "05"            "02"            "05"            "01" 
#> TCGA.DW.7834.01 TCGA.DZ.6133.01 TCGA.A4.A4ZT.01 TCGA.BQ.7060.01 TCGA.G7.6792.01 TCGA.HE.7130.01 
#>            "05"            "01"            "01"            "05"            "05"            "03" 
#> TCGA.GL.7773.01 TCGA.DZ.6133.11 TCGA.B1.7332.01 TCGA.BQ.7053.01 TCGA.DZ.6131.01 TCGA.BQ.7062.01 
#>            "05"            "02"            "01"            "05"            "03"            "05" 
#> TCGA.BQ.7046.11 TCGA.A4.7288.01 TCGA.DZ.6131.11 TCGA.BQ.7062.11 TCGA.BQ.7061.01 TCGA.A4.7286.01 
#>            "02"            "05"            "02"            "02"           "042"            "05" 
#> TCGA.G7.6797.01 TCGA.BQ.7058.01 TCGA.G7.6795.01 TCGA.HE.A5NH.01 TCGA.MH.A55W.01 TCGA.G7.6790.01 
#>            "01"           "042"            "05"            "01"            "05"            "05" 
#> TCGA.MH.A560.01 TCGA.A4.7997.01 TCGA.MH.A561.01 TCGA.BQ.7056.11 TCGA.B9.7268.01 TCGA.BQ.7055.11 
#>            "03"            "05"            "05"            "02"            "01"            "02" 
#> TCGA.HE.A5NI.01 TCGA.GL.7966.01 TCGA.BQ.7059.11 TCGA.A4.A57E.01 TCGA.A4.7288.11 TCGA.AL.A5DJ.01 
#>            "01"           "041"            "02"            "05"            "02"           "043" 
#> TCGA.G7.6796.01 TCGA.DW.7837.01 TCGA.BQ.7051.11 TCGA.BQ.7048.01 TCGA.F9.A7VF.01 TCGA.BQ.7049.11 
#>            "03"            "05"            "02"           "044"            "01"            "02" 
#> TCGA.DZ.6134.01 TCGA.BQ.5887.01 TCGA.DZ.6135.01 TCGA.MH.A55Z.01 TCGA.A4.7915.01 TCGA.BQ.7048.11 
#>            "03"           "043"            "01"            "01"           "041"            "02" 
#> TCGA.HE.A5NK.01 TCGA.G7.6789.01 TCGA.AL.7173.01 TCGA.SX.A71S.01 TCGA.BQ.7061.11 TCGA.DW.7840.01 
#>            "03"           "043"            "03"            "01"            "02"            "01" 
#> TCGA.GL.A59R.01 TCGA.BQ.7050.11 TCGA.BQ.7058.11 TCGA.DW.7838.01 TCGA.SX.A71U.01 TCGA.DZ.6135.11 
#>            "01"            "02"            "02"            "03"            "05"            "02" 
#> TCGA.BQ.7044.11 TCGA.V9.A7HT.01 TCGA.DW.7842.01 TCGA.BQ.7050.01 TCGA.BQ.7055.01 TCGA.J7.6720.01 
#>            "02"            "03"            "01"            "05"            "02"            "05" 
#> TCGA.BQ.7060.11 TCGA.BQ.7044.01 TCGA.DZ.6132.01 TCGA.DW.7836.01 TCGA.A4.7828.01 TCGA.BQ.5887.11 
#>            "02"           "044"            "03"            "01"            "02"            "02" 
#> TCGA.B3.A6W5.01 TCGA.MH.A562.01 TCGA.A4.7734.01 TCGA.BQ.7045.11 TCGA.A4.7584.01 TCGA.BQ.7056.01 
#>            "01"            "05"            "01"            "02"            "05"            "05" 
#> TCGA.A4.7287.01 TCGA.UZ.A9PJ.01 TCGA.2Z.A9J1.01 TCGA.UN.AAZ9.01 TCGA.UZ.A9PO.01 TCGA.UZ.A9PL.01 
#>            "03"            "01"            "05"            "05"            "03"            "01" 
#> TCGA.A4.7732.11 TCGA.A4.7732.01 TCGA.2Z.A9J2.01 TCGA.2Z.A9J3.01 TCGA.2Z.A9J6.01 TCGA.F9.A97G.01 
#>            "02"            "01"            "03"            "01"            "05"            "03" 
#> TCGA.UZ.A9PM.01 TCGA.A4.7585.11 TCGA.2K.A9WE.01 TCGA.A4.7583.01 TCGA.UZ.A9PK.01 TCGA.UZ.A9PN.01 
#>            "03"            "02"            "03"            "05"            "01"            "03" 
#> TCGA.2Z.A9J7.01 TCGA.2Z.A9J5.01 TCGA.A4.7585.01 
#>            "01"            "05"            "03"

show/hide code output

get_classes(res_rh, merge_node = merge_node_param(min_n_signatures = 40190))
#> TCGA.SX.A7SM.01 TCGA.IA.A83W.01 TCGA.B1.A656.01 TCGA.4A.A93X.01 TCGA.G7.A8LC.01 TCGA.SX.A7SS.01 
#>            "04"            "05"            "03"            "04"            "05"            "01" 
#> TCGA.B9.A69E.01 TCGA.BQ.5878.01 TCGA.DW.5561.01 TCGA.PJ.A8JU.01 TCGA.EV.5901.01 TCGA.SX.A7SR.01 
#>            "03"            "01"            "01"            "03"            "05"            "05" 
#> TCGA.BQ.5894.01 TCGA.KV.A6GE.01 TCGA.BQ.5882.01 TCGA.SX.A7SQ.01 TCGA.F9.A7Q0.01 TCGA.IZ.A6M8.01 
#>            "04"            "01"            "04"            "01"            "03"            "05" 
#> TCGA.B1.A654.01 TCGA.B3.8121.01 TCGA.MH.A856.01 TCGA.G7.A4TM.01 TCGA.IZ.8196.01 TCGA.B9.A5W7.01 
#>            "01"            "03"            "05"            "01"            "01"            "01" 
#> TCGA.B9.5156.01 TCGA.A4.A7UZ.01 TCGA.Y8.A897.01 TCGA.SX.A7SP.01 TCGA.Y8.A8RZ.01 TCGA.A4.A5XZ.01 
#>            "05"            "03"            "05"            "05"            "05"            "05" 
#> TCGA.Y8.A898.01 TCGA.BQ.5893.01 TCGA.SX.A7SU.01 TCGA.IZ.8195.01 TCGA.GL.8500.01 TCGA.EV.5902.01 
#>            "05"            "04"            "01"            "04"            "01"            "01" 
#> TCGA.J7.A8I2.01 TCGA.A4.8516.01 TCGA.A4.8312.01 TCGA.BQ.5880.01 TCGA.Y8.A8RY.01 TCGA.SX.A7SN.01 
#>            "03"            "01"            "02"            "03"            "05"            "05" 
#> TCGA.MH.A854.01 TCGA.A4.8517.01 TCGA.GL.A9DD.01 TCGA.A4.8630.01 TCGA.4A.A93W.01 TCGA.SX.A7SO.01 
#>            "01"            "05"            "03"            "01"            "01"            "05" 
#> TCGA.GL.A9DC.01 TCGA.A4.8515.01 TCGA.IZ.A6M9.01 TCGA.BQ.5880.11 TCGA.B1.A657.01 TCGA.G7.A8LD.01 
#>            "01"            "01"            "01"            "02"            "05"            "04" 
#> TCGA.Y8.A8S1.01 TCGA.IA.A83S.01 TCGA.Y8.A8S0.01 TCGA.BQ.5884.11 TCGA.B1.A655.01 TCGA.BQ.5877.11 
#>            "03"            "03"            "01"            "02"            "03"            "02" 
#> TCGA.EV.5903.01 TCGA.J7.8537.01 TCGA.A4.A6HP.01 TCGA.BQ.5890.01 TCGA.Y8.A896.01 TCGA.BQ.5888.01 
#>            "05"            "04"            "05"            "04"            "03"            "03" 
#> TCGA.BQ.5879.01 TCGA.GL.A9DE.01 TCGA.G7.A8LB.01 TCGA.IA.A83T.01 TCGA.IA.A83V.01 TCGA.BQ.5876.11 
#>            "04"            "04"            "01"            "03"            "03"            "02" 
#> TCGA.BQ.5885.11 TCGA.KV.A6GD.01 TCGA.SX.A7SL.01 TCGA.B9.A8YI.01 TCGA.B9.A8YH.01 TCGA.4A.A93Y.01 
#>            "02"            "03"            "01"            "04"            "01"            "03" 
#> TCGA.BQ.5886.01 TCGA.A4.A5Y0.01 TCGA.A4.8098.01 TCGA.MH.A857.01 TCGA.BQ.5889.11 TCGA.DW.5560.01 
#>            "05"            "05"            "05"            "02"            "02"            "05" 
#> TCGA.F9.A8NY.01 TCGA.BQ.5894.11 TCGA.BQ.5891.11 TCGA.G7.A8LE.01 TCGA.SX.A71W.01 TCGA.Y8.A894.01 
#>            "04"            "02"            "02"            "01"            "01"            "01" 
#> TCGA.WN.A9G9.01 TCGA.A4.8310.01 TCGA.A4.8518.01 TCGA.BQ.5881.11 TCGA.BQ.5893.11 TCGA.A4.8311.01 
#>            "03"            "05"            "03"            "02"            "02"            "01" 
#> TCGA.BQ.5891.01 TCGA.Y8.A895.01 TCGA.BQ.5876.01 TCGA.MH.A855.01 TCGA.P4.AAVO.01 TCGA.BQ.5886.11 
#>            "04"            "01"            "03"            "03"            "04"            "02" 
#> TCGA.2Z.A9JS.01 TCGA.BQ.5888.11 TCGA.2Z.A9J8.01 TCGA.KV.A74V.01 TCGA.A4.A5Y1.01 TCGA.BQ.5875.01 
#>            "01"            "02"            "05"            "01"            "04"            "04" 
#> TCGA.UZ.A9PZ.01 TCGA.Q2.A5QZ.01 TCGA.P4.A5E8.01 TCGA.B9.5155.01 TCGA.B9.A5W9.01 TCGA.5P.A9K4.01 
#>            "01"            "04"            "04"            "01"            "04"            "01" 
#> TCGA.P4.A5E7.01 TCGA.PJ.A5Z9.01 TCGA.5P.A9K8.01 TCGA.5P.A9KF.01 TCGA.P4.AAVK.01 TCGA.2Z.A9JM.01 
#>            "05"            "01"            "02"            "01"            "04"            "05" 
#> TCGA.A4.A48D.01 TCGA.BQ.5889.01 TCGA.2Z.A9JD.01 TCGA.5P.A9K2.01 TCGA.2Z.A9JO.01 TCGA.5P.A9K9.01 
#>            "03"            "03"            "05"            "01"            "03"            "04" 
#> TCGA.UZ.A9PV.01 TCGA.SX.A71V.01 TCGA.BQ.5892.11 TCGA.UZ.A9Q0.01 TCGA.UZ.A9PX.01 TCGA.UZ.A9PR.01 
#>            "01"            "05"            "02"            "01"            "01"            "01" 
#> TCGA.IA.A40X.01 TCGA.5P.A9JW.01 TCGA.IA.A40Y.01 TCGA.BQ.5883.11 TCGA.BQ.5878.11 TCGA.P4.A5EA.01 
#>            "05"            "03"            "04"            "02"            "02"            "04" 
#> TCGA.5P.A9KE.01 TCGA.5P.A9K3.01 TCGA.B1.A47N.01 TCGA.5P.A9KA.01 TCGA.BQ.5879.11 TCGA.P4.A5ED.01 
#>            "05"            "04"            "01"            "05"            "02"            "02" 
#> TCGA.A4.A772.01 TCGA.B1.A47O.01 TCGA.IA.A40U.01 TCGA.2Z.A9JE.01 TCGA.B9.A44B.01 TCGA.AT.A5NU.01 
#>            "05"            "03"            "05"            "01"            "04"            "01" 
#> TCGA.BQ.5882.11 TCGA.BQ.5877.01 TCGA.DW.7963.01 TCGA.2Z.A9JL.01 TCGA.2Z.A9JQ.01 TCGA.2Z.A9JK.01 
#>            "02"            "04"            "05"            "05"            "01"            "03" 
#> TCGA.UZ.A9PU.01 TCGA.P4.A5EB.01 TCGA.BQ.5892.01 TCGA.B1.A47M.11 TCGA.2Z.A9J9.01 TCGA.UZ.A9PS.05 
#>            "01"            "01"            "03"            "02"            "02"            "03" 
#> TCGA.P4.AAVM.01 TCGA.PJ.A5Z8.01 TCGA.5P.A9JZ.01 TCGA.2Z.A9JG.01 TCGA.BQ.5884.01 TCGA.2Z.A9JI.01 
#>            "05"            "03"            "05"            "04"            "03"            "04" 
#> TCGA.BQ.5890.11 TCGA.BQ.5881.01 TCGA.UZ.A9PP.01 TCGA.5P.A9JU.01 TCGA.2Z.A9JN.01 TCGA.UZ.A9PS.01 
#>            "02"            "05"            "01"            "04"            "02"            "05" 
#> TCGA.BQ.5875.11 TCGA.5P.A9JY.01 TCGA.B9.A5W8.01 TCGA.F9.A4JJ.01 TCGA.BQ.5883.01 TCGA.5P.A9K0.01 
#>            "02"            "01"            "03"            "04"            "02"            "05" 
#> TCGA.P4.AAVL.01 TCGA.B1.5398.01 TCGA.5P.A9K6.01 TCGA.UZ.A9PQ.01 TCGA.P4.A5E6.01 TCGA.BQ.5885.01 
#>            "01"            "03"            "05"            "04"            "05"            "05" 
#> TCGA.UZ.A9Q1.01 TCGA.2Z.A9JP.01 TCGA.5P.A9KC.01 TCGA.5P.A9KH.01 TCGA.2Z.A9JR.01 TCGA.GL.A59T.01 
#>            "04"            "05"            "03"            "02"            "05"            "05" 
#> TCGA.5P.A9JV.01 TCGA.WN.AB4C.01 TCGA.SX.A71R.01 TCGA.A4.A5DU.01 TCGA.B1.A47M.01 TCGA.2Z.A9JJ.01 
#>            "02"            "03"            "01"            "01"            "05"            "05" 
#> TCGA.2Z.A9JT.01 TCGA.GL.A4EM.01 TCGA.HE.7129.01 TCGA.HE.7128.01 TCGA.HE.A5NL.01 TCGA.G7.7502.01 
#>            "05"            "03"            "01"            "03"            "05"            "05" 
#> TCGA.BQ.7059.01 TCGA.DZ.6134.11 TCGA.HE.A5NJ.01 TCGA.BQ.7053.11 TCGA.GL.6846.11 TCGA.GL.6846.01 
#>            "03"            "02"            "01"            "02"            "02"            "04" 
#> TCGA.DW.7839.01 TCGA.DW.7841.01 TCGA.BQ.7049.01 TCGA.G7.6793.01 TCGA.BQ.7051.01 TCGA.BQ.7045.01 
#>            "01"            "05"            "03"            "04"            "01"            "05" 
#> TCGA.HE.A5NF.01 TCGA.A4.7996.01 TCGA.BQ.7046.01 TCGA.DZ.6132.11 TCGA.G7.7501.01 TCGA.O9.A75Z.01 
#>            "03"            "05"            "05"            "02"            "05"            "01" 
#> TCGA.DW.7834.01 TCGA.DZ.6133.01 TCGA.A4.A4ZT.01 TCGA.BQ.7060.01 TCGA.G7.6792.01 TCGA.HE.7130.01 
#>            "05"            "01"            "01"            "05"            "05"            "03" 
#> TCGA.GL.7773.01 TCGA.DZ.6133.11 TCGA.B1.7332.01 TCGA.BQ.7053.01 TCGA.DZ.6131.01 TCGA.BQ.7062.01 
#>            "05"            "02"            "01"            "05"            "03"            "05" 
#> TCGA.BQ.7046.11 TCGA.A4.7288.01 TCGA.DZ.6131.11 TCGA.BQ.7062.11 TCGA.BQ.7061.01 TCGA.A4.7286.01 
#>            "02"            "05"            "02"            "02"            "04"            "05" 
#> TCGA.G7.6797.01 TCGA.BQ.7058.01 TCGA.G7.6795.01 TCGA.HE.A5NH.01 TCGA.MH.A55W.01 TCGA.G7.6790.01 
#>            "01"            "04"            "05"            "01"            "05"            "05" 
#> TCGA.MH.A560.01 TCGA.A4.7997.01 TCGA.MH.A561.01 TCGA.BQ.7056.11 TCGA.B9.7268.01 TCGA.BQ.7055.11 
#>            "03"            "05"            "05"            "02"            "01"            "02" 
#> TCGA.HE.A5NI.01 TCGA.GL.7966.01 TCGA.BQ.7059.11 TCGA.A4.A57E.01 TCGA.A4.7288.11 TCGA.AL.A5DJ.01 
#>            "01"            "04"            "02"            "05"            "02"            "04" 
#> TCGA.G7.6796.01 TCGA.DW.7837.01 TCGA.BQ.7051.11 TCGA.BQ.7048.01 TCGA.F9.A7VF.01 TCGA.BQ.7049.11 
#>            "03"            "05"            "02"            "04"            "01"            "02" 
#> TCGA.DZ.6134.01 TCGA.BQ.5887.01 TCGA.DZ.6135.01 TCGA.MH.A55Z.01 TCGA.A4.7915.01 TCGA.BQ.7048.11 
#>            "03"            "04"            "01"            "01"            "04"            "02" 
#> TCGA.HE.A5NK.01 TCGA.G7.6789.01 TCGA.AL.7173.01 TCGA.SX.A71S.01 TCGA.BQ.7061.11 TCGA.DW.7840.01 
#>            "03"            "04"            "03"            "01"            "02"            "01" 
#> TCGA.GL.A59R.01 TCGA.BQ.7050.11 TCGA.BQ.7058.11 TCGA.DW.7838.01 TCGA.SX.A71U.01 TCGA.DZ.6135.11 
#>            "01"            "02"            "02"            "03"            "05"            "02" 
#> TCGA.BQ.7044.11 TCGA.V9.A7HT.01 TCGA.DW.7842.01 TCGA.BQ.7050.01 TCGA.BQ.7055.01 TCGA.J7.6720.01 
#>            "02"            "03"            "01"            "05"            "02"            "05" 
#> TCGA.BQ.7060.11 TCGA.BQ.7044.01 TCGA.DZ.6132.01 TCGA.DW.7836.01 TCGA.A4.7828.01 TCGA.BQ.5887.11 
#>            "02"            "04"            "03"            "01"            "02"            "02" 
#> TCGA.B3.A6W5.01 TCGA.MH.A562.01 TCGA.A4.7734.01 TCGA.BQ.7045.11 TCGA.A4.7584.01 TCGA.BQ.7056.01 
#>            "01"            "05"            "01"            "02"            "05"            "05" 
#> TCGA.A4.7287.01 TCGA.UZ.A9PJ.01 TCGA.2Z.A9J1.01 TCGA.UN.AAZ9.01 TCGA.UZ.A9PO.01 TCGA.UZ.A9PL.01 
#>            "03"            "01"            "05"            "05"            "03"            "01" 
#> TCGA.A4.7732.11 TCGA.A4.7732.01 TCGA.2Z.A9J2.01 TCGA.2Z.A9J3.01 TCGA.2Z.A9J6.01 TCGA.F9.A97G.01 
#>            "02"            "01"            "03"            "01"            "05"            "03" 
#> TCGA.UZ.A9PM.01 TCGA.A4.7585.11 TCGA.2K.A9WE.01 TCGA.A4.7583.01 TCGA.UZ.A9PK.01 TCGA.UZ.A9PN.01 
#>            "03"            "02"            "03"            "05"            "01"            "03" 
#> TCGA.2Z.A9J7.01 TCGA.2Z.A9J5.01 TCGA.A4.7585.01 
#>            "01"            "05"            "03"

Top rows heatmap

Heatmaps of the top rows:

top_rows_heatmap(res_rh)

plot of chunk top-rows-heatmap

#> Error in h(simpleError(msg, call)) : 
#>   error in evaluating the argument 'object' in selecting a method for function 'draw': no applicable method for 'height' applied to an object of class "list"

Top rows on each node:

top_rows_overlap(res_rh, method = "upset")

plot of chunk top-rows-overlap

UMAP plot

UMAP plot which shows how samples are separated.

par(mfrow = c(1, 2))
dimension_reduction(res_rh, merge_node = merge_node_param(min_n_signatures = 1141),
    method = "UMAP", top_value_method = "SD", top_n = 40000, scale_rows = FALSE)
dimension_reduction(res_rh, merge_node = merge_node_param(min_n_signatures = 1141),
    method = "UMAP", top_value_method = "ATC", top_n = 40000, scale_rows = TRUE)

plot of chunk tab-dimension-reduction-by-depth-1

par(mfrow = c(1, 2))
dimension_reduction(res_rh, merge_node = merge_node_param(min_n_signatures = 1212),
    method = "UMAP", top_value_method = "SD", top_n = 40000, scale_rows = FALSE)
dimension_reduction(res_rh, merge_node = merge_node_param(min_n_signatures = 1212),
    method = "UMAP", top_value_method = "ATC", top_n = 40000, scale_rows = TRUE)

plot of chunk tab-dimension-reduction-by-depth-2

par(mfrow = c(1, 2))
dimension_reduction(res_rh, merge_node = merge_node_param(min_n_signatures = 1801),
    method = "UMAP", top_value_method = "SD", top_n = 40000, scale_rows = FALSE)
dimension_reduction(res_rh, merge_node = merge_node_param(min_n_signatures = 1801),
    method = "UMAP", top_value_method = "ATC", top_n = 40000, scale_rows = TRUE)

plot of chunk tab-dimension-reduction-by-depth-3

par(mfrow = c(1, 2))
dimension_reduction(res_rh, merge_node = merge_node_param(min_n_signatures = 2274),
    method = "UMAP", top_value_method = "SD", top_n = 40000, scale_rows = FALSE)
dimension_reduction(res_rh, merge_node = merge_node_param(min_n_signatures = 2274),
    method = "UMAP", top_value_method = "ATC", top_n = 40000, scale_rows = TRUE)

plot of chunk tab-dimension-reduction-by-depth-4

par(mfrow = c(1, 2))
dimension_reduction(res_rh, merge_node = merge_node_param(min_n_signatures = 2544),
    method = "UMAP", top_value_method = "SD", top_n = 40000, scale_rows = FALSE)
dimension_reduction(res_rh, merge_node = merge_node_param(min_n_signatures = 2544),
    method = "UMAP", top_value_method = "ATC", top_n = 40000, scale_rows = TRUE)

plot of chunk tab-dimension-reduction-by-depth-5

par(mfrow = c(1, 2))
dimension_reduction(res_rh, merge_node = merge_node_param(min_n_signatures = 2840),
    method = "UMAP", top_value_method = "SD", top_n = 40000, scale_rows = FALSE)
dimension_reduction(res_rh, merge_node = merge_node_param(min_n_signatures = 2840),
    method = "UMAP", top_value_method = "ATC", top_n = 40000, scale_rows = TRUE)

plot of chunk tab-dimension-reduction-by-depth-6

par(mfrow = c(1, 2))
dimension_reduction(res_rh, merge_node = merge_node_param(min_n_signatures = 3199),
    method = "UMAP", top_value_method = "SD", top_n = 40000, scale_rows = FALSE)
dimension_reduction(res_rh, merge_node = merge_node_param(min_n_signatures = 3199),
    method = "UMAP", top_value_method = "ATC", top_n = 40000, scale_rows = TRUE)

plot of chunk tab-dimension-reduction-by-depth-7

par(mfrow = c(1, 2))
dimension_reduction(res_rh, merge_node = merge_node_param(min_n_signatures = 3659),
    method = "UMAP", top_value_method = "SD", top_n = 40000, scale_rows = FALSE)
dimension_reduction(res_rh, merge_node = merge_node_param(min_n_signatures = 3659),
    method = "UMAP", top_value_method = "ATC", top_n = 40000, scale_rows = TRUE)

plot of chunk tab-dimension-reduction-by-depth-8

par(mfrow = c(1, 2))
dimension_reduction(res_rh, merge_node = merge_node_param(min_n_signatures = 4193),
    method = "UMAP", top_value_method = "SD", top_n = 40000, scale_rows = FALSE)
dimension_reduction(res_rh, merge_node = merge_node_param(min_n_signatures = 4193),
    method = "UMAP", top_value_method = "ATC", top_n = 40000, scale_rows = TRUE)

plot of chunk tab-dimension-reduction-by-depth-9

par(mfrow = c(1, 2))
dimension_reduction(res_rh, merge_node = merge_node_param(min_n_signatures = 4789),
    method = "UMAP", top_value_method = "SD", top_n = 40000, scale_rows = FALSE)
dimension_reduction(res_rh, merge_node = merge_node_param(min_n_signatures = 4789),
    method = "UMAP", top_value_method = "ATC", top_n = 40000, scale_rows = TRUE)

plot of chunk tab-dimension-reduction-by-depth-10

par(mfrow = c(1, 2))
dimension_reduction(res_rh, merge_node = merge_node_param(min_n_signatures = 5590),
    method = "UMAP", top_value_method = "SD", top_n = 40000, scale_rows = FALSE)
dimension_reduction(res_rh, merge_node = merge_node_param(min_n_signatures = 5590),
    method = "UMAP", top_value_method = "ATC", top_n = 40000, scale_rows = TRUE)

plot of chunk tab-dimension-reduction-by-depth-11

par(mfrow = c(1, 2))
dimension_reduction(res_rh, merge_node = merge_node_param(min_n_signatures = 6551),
    method = "UMAP", top_value_method = "SD", top_n = 40000, scale_rows = FALSE)
dimension_reduction(res_rh, merge_node = merge_node_param(min_n_signatures = 6551),
    method = "UMAP", top_value_method = "ATC", top_n = 40000, scale_rows = TRUE)

plot of chunk tab-dimension-reduction-by-depth-12

par(mfrow = c(1, 2))
dimension_reduction(res_rh, merge_node = merge_node_param(min_n_signatures = 8085),
    method = "UMAP", top_value_method = "SD", top_n = 40000, scale_rows = FALSE)
dimension_reduction(res_rh, merge_node = merge_node_param(min_n_signatures = 8085),
    method = "UMAP", top_value_method = "ATC", top_n = 40000, scale_rows = TRUE)

plot of chunk tab-dimension-reduction-by-depth-13

par(mfrow = c(1, 2))
dimension_reduction(res_rh, merge_node = merge_node_param(min_n_signatures = 9931),
    method = "UMAP", top_value_method = "SD", top_n = 40000, scale_rows = FALSE)
dimension_reduction(res_rh, merge_node = merge_node_param(min_n_signatures = 9931),
    method = "UMAP", top_value_method = "ATC", top_n = 40000, scale_rows = TRUE)

plot of chunk tab-dimension-reduction-by-depth-14

par(mfrow = c(1, 2))
dimension_reduction(res_rh, merge_node = merge_node_param(min_n_signatures = 26826),
    method = "UMAP", top_value_method = "SD", top_n = 40000, scale_rows = FALSE)
dimension_reduction(res_rh, merge_node = merge_node_param(min_n_signatures = 26826),
    method = "UMAP", top_value_method = "ATC", top_n = 40000, scale_rows = TRUE)

plot of chunk tab-dimension-reduction-by-depth-15

par(mfrow = c(1, 2))
dimension_reduction(res_rh, merge_node = merge_node_param(min_n_signatures = 36795),
    method = "UMAP", top_value_method = "SD", top_n = 40000, scale_rows = FALSE)
dimension_reduction(res_rh, merge_node = merge_node_param(min_n_signatures = 36795),
    method = "UMAP", top_value_method = "ATC", top_n = 40000, scale_rows = TRUE)

plot of chunk tab-dimension-reduction-by-depth-16

par(mfrow = c(1, 2))
dimension_reduction(res_rh, merge_node = merge_node_param(min_n_signatures = 40190),
    method = "UMAP", top_value_method = "SD", top_n = 40000, scale_rows = FALSE)
dimension_reduction(res_rh, merge_node = merge_node_param(min_n_signatures = 40190),
    method = "UMAP", top_value_method = "ATC", top_n = 40000, scale_rows = TRUE)

plot of chunk tab-dimension-reduction-by-depth-17

Signature heatmap

Signatures on the heatmap are the union of all signatures found on every node on the hierarchy. The number of k-means on rows are automatically selected by the function.

get_signatures(res_rh, merge_node = merge_node_param(min_n_signatures = 1141))

plot of chunk tab-get-signatures-from-hierarchical-partition-1

get_signatures(res_rh, merge_node = merge_node_param(min_n_signatures = 1212))

plot of chunk tab-get-signatures-from-hierarchical-partition-2

get_signatures(res_rh, merge_node = merge_node_param(min_n_signatures = 1801))

plot of chunk tab-get-signatures-from-hierarchical-partition-3

get_signatures(res_rh, merge_node = merge_node_param(min_n_signatures = 2274))

plot of chunk tab-get-signatures-from-hierarchical-partition-4

get_signatures(res_rh, merge_node = merge_node_param(min_n_signatures = 2544))

plot of chunk tab-get-signatures-from-hierarchical-partition-5

get_signatures(res_rh, merge_node = merge_node_param(min_n_signatures = 2840))

plot of chunk tab-get-signatures-from-hierarchical-partition-6

get_signatures(res_rh, merge_node = merge_node_param(min_n_signatures = 3199))

plot of chunk tab-get-signatures-from-hierarchical-partition-7

get_signatures(res_rh, merge_node = merge_node_param(min_n_signatures = 3659))

plot of chunk tab-get-signatures-from-hierarchical-partition-8

get_signatures(res_rh, merge_node = merge_node_param(min_n_signatures = 4193))

plot of chunk tab-get-signatures-from-hierarchical-partition-9

get_signatures(res_rh, merge_node = merge_node_param(min_n_signatures = 4789))

plot of chunk tab-get-signatures-from-hierarchical-partition-10

get_signatures(res_rh, merge_node = merge_node_param(min_n_signatures = 5590))

plot of chunk tab-get-signatures-from-hierarchical-partition-11

get_signatures(res_rh, merge_node = merge_node_param(min_n_signatures = 6551))

plot of chunk tab-get-signatures-from-hierarchical-partition-12

get_signatures(res_rh, merge_node = merge_node_param(min_n_signatures = 8085))

plot of chunk tab-get-signatures-from-hierarchical-partition-13

get_signatures(res_rh, merge_node = merge_node_param(min_n_signatures = 9931))

plot of chunk tab-get-signatures-from-hierarchical-partition-14

get_signatures(res_rh, merge_node = merge_node_param(min_n_signatures = 26826))

plot of chunk tab-get-signatures-from-hierarchical-partition-15

get_signatures(res_rh, merge_node = merge_node_param(min_n_signatures = 36795))

plot of chunk tab-get-signatures-from-hierarchical-partition-16

get_signatures(res_rh, merge_node = merge_node_param(min_n_signatures = 40190))

plot of chunk tab-get-signatures-from-hierarchical-partition-17

Compare signatures from different nodes:

compare_signatures(res_rh, verbose = FALSE)

plot of chunk unnamed-chunk-24

If there are too many signatures, top_signatures = ... can be set to only show the signatures with the highest FDRs. Note it only works on every node and the final signatures are the union of all signatures of all nodes.

# code only for demonstration
# e.g. to show the top 500 most significant rows on each node.
tb = get_signature(res_rh, top_signatures = 500)

Results for each node


Node0

Child nodes: Node01 , Node02 , Node03 , Node04 , Node05 .

The object with results only for a single top-value method and a single partitioning method can be extracted as:

res = res_rh["0"]

A summary of res and all the functions that can be applied to it:

res
#> A 'ConsensusPartition' object with k = 2, 3, 4, 5, 6, 7, 8.
#>   On a matrix with 30000 rows and 321 columns.
#>   Top rows (1000) are extracted by 'ATC' method.
#>   Subgroups are detected by 'skmeans' method.
#>   Performed in total 350 partitions by row resampling.
#>   Best k for subgroups seems to be 7.
#> 
#> Following methods can be applied to this 'ConsensusPartition' object:
#>  [1] "cola_report"             "collect_classes"         "collect_plots"          
#>  [4] "collect_stats"           "colnames"                "compare_partitions"     
#>  [7] "compare_signatures"      "consensus_heatmap"       "dimension_reduction"    
#> [10] "functional_enrichment"   "get_anno_col"            "get_anno"               
#> [13] "get_classes"             "get_consensus"           "get_matrix"             
#> [16] "get_membership"          "get_param"               "get_signatures"         
#> [19] "get_stats"               "is_best_k"               "is_stable_k"            
#> [22] "membership_heatmap"      "ncol"                    "nrow"                   
#> [25] "plot_ecdf"               "predict_classes"         "rownames"               
#> [28] "select_partition_number" "show"                    "suggest_best_k"         
#> [31] "test_to_known_factors"   "top_rows_heatmap"

collect_plots() function collects all the plots made from res for all k (number of subgroups) into one single page to provide an easy and fast comparison between different k.

collect_plots(res)

plot of chunk node-0-collect-plots

The plots are:

All the plots in panels can be made by individual functions and they are plotted later in this section.

select_partition_number() produces several plots showing different statistics for choosing “optimized” k. There are following statistics:

The detailed explanations of these statistics can be found in the cola vignette.

Generally speaking, higher 1-PAC score, higher mean silhouette score or higher concordance corresponds to better partition. Rand index and Jaccard index measure how similar the current partition is compared to partition with k-1. If they are too similar, we won't accept k is better than k-1.

select_partition_number(res)

plot of chunk node-0-select-partition-number

The numeric values for all these statistics can be obtained by get_stats().

get_stats(res)
#>   k 1-PAC mean_silhouette concordance area_increased  Rand Jaccard
#> 2 2 1.000           0.993       0.997         0.5020 0.498   0.498
#> 3 3 1.000           0.993       0.997         0.3154 0.740   0.526
#> 4 4 1.000           0.971       0.987         0.1092 0.838   0.579
#> 5 5 1.000           0.988       0.995         0.0820 0.842   0.502
#> 6 6 0.913           0.836       0.925         0.0454 0.946   0.751
#> 7 7 0.948           0.887       0.946         0.0314 0.943   0.695
#> 8 8 0.895           0.785       0.895         0.0144 0.971   0.811

suggest_best_k() suggests the best \(k\) based on these statistics. The rules are as follows:

suggest_best_k(res)
#> [1] 7
#> attr(,"optional")
#> [1] 2 3 4 5 6

There is also optional best \(k\) = 2 3 4 5 6 that is worth to check.

Following is the table of the partitions (You need to click the show/hide code output link to see it). The membership matrix (columns with name p*) is inferred by clue::cl_consensus() function with the SE method. Basically the value in the membership matrix represents the probability to belong to a certain group. The finall subgroup label for an item is determined with the group with highest probability it belongs to.

In get_classes() function, the entropy is calculated from the membership matrix and the silhouette score is calculated from the consensus matrix.

show/hide code output

cbind(get_classes(res, k = 2), get_membership(res, k = 2))
#>                 class entropy silhouette   p1   p2
#> TCGA.SX.A7SM.01     2   0.000      0.998 0.00 1.00
#> TCGA.IA.A83W.01     1   0.000      0.996 1.00 0.00
#> TCGA.B1.A656.01     2   0.000      0.998 0.00 1.00
#> TCGA.4A.A93X.01     2   0.000      0.998 0.00 1.00
#> TCGA.G7.A8LC.01     1   0.722      0.752 0.80 0.20
#> TCGA.SX.A7SS.01     1   0.000      0.996 1.00 0.00
#> TCGA.B9.A69E.01     2   0.000      0.998 0.00 1.00
#> TCGA.BQ.5878.01     1   0.000      0.996 1.00 0.00
#> TCGA.DW.5561.01     1   0.000      0.996 1.00 0.00
#> TCGA.PJ.A8JU.01     2   0.000      0.998 0.00 1.00
#> TCGA.EV.5901.01     1   0.000      0.996 1.00 0.00
#> TCGA.SX.A7SR.01     1   0.000      0.996 1.00 0.00
#> TCGA.BQ.5894.01     2   0.000      0.998 0.00 1.00
#> TCGA.KV.A6GE.01     1   0.000      0.996 1.00 0.00
#> TCGA.BQ.5882.01     2   0.000      0.998 0.00 1.00
#> TCGA.SX.A7SQ.01     1   0.000      0.996 1.00 0.00
#> TCGA.F9.A7Q0.01     2   0.000      0.998 0.00 1.00
#> TCGA.IZ.A6M8.01     1   0.855      0.615 0.72 0.28
#> TCGA.B1.A654.01     1   0.000      0.996 1.00 0.00
#> TCGA.B3.8121.01     2   0.000      0.998 0.00 1.00
#> TCGA.MH.A856.01     1   0.000      0.996 1.00 0.00
#> TCGA.G7.A4TM.01     1   0.000      0.996 1.00 0.00
#> TCGA.IZ.8196.01     1   0.000      0.996 1.00 0.00
#> TCGA.B9.A5W7.01     1   0.000      0.996 1.00 0.00
#> TCGA.B9.5156.01     1   0.000      0.996 1.00 0.00
#> TCGA.A4.A7UZ.01     2   0.000      0.998 0.00 1.00
#> TCGA.Y8.A897.01     1   0.000      0.996 1.00 0.00
#> TCGA.SX.A7SP.01     1   0.000      0.996 1.00 0.00
#> TCGA.Y8.A8RZ.01     1   0.000      0.996 1.00 0.00
#> TCGA.A4.A5XZ.01     1   0.000      0.996 1.00 0.00
#> TCGA.Y8.A898.01     1   0.402      0.913 0.92 0.08
#> TCGA.BQ.5893.01     2   0.000      0.998 0.00 1.00
#> TCGA.SX.A7SU.01     1   0.000      0.996 1.00 0.00
#> TCGA.IZ.8195.01     1   0.000      0.996 1.00 0.00
#> TCGA.GL.8500.01     1   0.000      0.996 1.00 0.00
#> TCGA.EV.5902.01     1   0.000      0.996 1.00 0.00
#> TCGA.J7.A8I2.01     2   0.000      0.998 0.00 1.00
#> TCGA.A4.8516.01     1   0.000      0.996 1.00 0.00
#> TCGA.A4.8312.01     2   0.000      0.998 0.00 1.00
#> TCGA.BQ.5880.01     2   0.000      0.998 0.00 1.00
#> TCGA.Y8.A8RY.01     1   0.000      0.996 1.00 0.00
#> TCGA.SX.A7SN.01     1   0.000      0.996 1.00 0.00
#> TCGA.MH.A854.01     1   0.000      0.996 1.00 0.00
#> TCGA.A4.8517.01     1   0.000      0.996 1.00 0.00
#> TCGA.GL.A9DD.01     2   0.000      0.998 0.00 1.00
#> TCGA.A4.8630.01     1   0.000      0.996 1.00 0.00
#> TCGA.4A.A93W.01     1   0.000      0.996 1.00 0.00
#> TCGA.SX.A7SO.01     1   0.000      0.996 1.00 0.00
#> TCGA.GL.A9DC.01     1   0.000      0.996 1.00 0.00
#> TCGA.A4.8515.01     1   0.000      0.996 1.00 0.00
#> TCGA.IZ.A6M9.01     1   0.000      0.996 1.00 0.00
#> TCGA.BQ.5880.11     2   0.000      0.998 0.00 1.00
#> TCGA.B1.A657.01     1   0.000      0.996 1.00 0.00
#> TCGA.G7.A8LD.01     2   0.881      0.568 0.30 0.70
#> TCGA.Y8.A8S1.01     2   0.000      0.998 0.00 1.00
#> TCGA.IA.A83S.01     2   0.000      0.998 0.00 1.00
#> TCGA.Y8.A8S0.01     1   0.000      0.996 1.00 0.00
#> TCGA.BQ.5884.11     2   0.000      0.998 0.00 1.00
#> TCGA.B1.A655.01     2   0.000      0.998 0.00 1.00
#> TCGA.BQ.5877.11     2   0.000      0.998 0.00 1.00
#> TCGA.EV.5903.01     2   0.000      0.998 0.00 1.00
#> TCGA.J7.8537.01     2   0.000      0.998 0.00 1.00
#> TCGA.A4.A6HP.01     1   0.000      0.996 1.00 0.00
#> TCGA.BQ.5890.01     2   0.000      0.998 0.00 1.00
#> TCGA.Y8.A896.01     2   0.000      0.998 0.00 1.00
#> TCGA.BQ.5888.01     2   0.000      0.998 0.00 1.00
#> TCGA.BQ.5879.01     2   0.000      0.998 0.00 1.00
#> TCGA.GL.A9DE.01     2   0.000      0.998 0.00 1.00
#> TCGA.G7.A8LB.01     1   0.000      0.996 1.00 0.00
#> TCGA.IA.A83T.01     2   0.000      0.998 0.00 1.00
#> TCGA.IA.A83V.01     2   0.000      0.998 0.00 1.00
#> TCGA.BQ.5876.11     2   0.000      0.998 0.00 1.00
#> TCGA.BQ.5885.11     2   0.000      0.998 0.00 1.00
#> TCGA.KV.A6GD.01     2   0.000      0.998 0.00 1.00
#> TCGA.SX.A7SL.01     1   0.000      0.996 1.00 0.00
#> TCGA.B9.A8YI.01     2   0.000      0.998 0.00 1.00
#> TCGA.B9.A8YH.01     1   0.000      0.996 1.00 0.00
#> TCGA.4A.A93Y.01     2   0.000      0.998 0.00 1.00
#> TCGA.BQ.5886.01     1   0.327      0.935 0.94 0.06
#> TCGA.A4.A5Y0.01     1   0.000      0.996 1.00 0.00
#> TCGA.A4.8098.01     1   0.000      0.996 1.00 0.00
#> TCGA.MH.A857.01     2   0.000      0.998 0.00 1.00
#> TCGA.BQ.5889.11     2   0.000      0.998 0.00 1.00
#> TCGA.DW.5560.01     1   0.000      0.996 1.00 0.00
#> TCGA.F9.A8NY.01     2   0.000      0.998 0.00 1.00
#> TCGA.BQ.5894.11     2   0.000      0.998 0.00 1.00
#> TCGA.BQ.5891.11     2   0.000      0.998 0.00 1.00
#> TCGA.G7.A8LE.01     1   0.000      0.996 1.00 0.00
#> TCGA.SX.A71W.01     1   0.000      0.996 1.00 0.00
#> TCGA.Y8.A894.01     1   0.000      0.996 1.00 0.00
#> TCGA.WN.A9G9.01     2   0.000      0.998 0.00 1.00
#> TCGA.A4.8310.01     1   0.000      0.996 1.00 0.00
#> TCGA.A4.8518.01     2   0.000      0.998 0.00 1.00
#> TCGA.BQ.5881.11     2   0.000      0.998 0.00 1.00
#> TCGA.BQ.5893.11     2   0.000      0.998 0.00 1.00
#> TCGA.A4.8311.01     1   0.000      0.996 1.00 0.00
#> TCGA.BQ.5891.01     2   0.000      0.998 0.00 1.00
#> TCGA.Y8.A895.01     1   0.000      0.996 1.00 0.00
#> TCGA.BQ.5876.01     2   0.000      0.998 0.00 1.00
#> TCGA.MH.A855.01     2   0.000      0.998 0.00 1.00
#> TCGA.P4.AAVO.01     2   0.000      0.998 0.00 1.00
#> TCGA.BQ.5886.11     2   0.000      0.998 0.00 1.00
#> TCGA.2Z.A9JS.01     1   0.000      0.996 1.00 0.00
#> TCGA.BQ.5888.11     2   0.000      0.998 0.00 1.00
#> TCGA.2Z.A9J8.01     1   0.000      0.996 1.00 0.00
#> TCGA.KV.A74V.01     1   0.000      0.996 1.00 0.00
#> TCGA.A4.A5Y1.01     1   0.000      0.996 1.00 0.00
#> TCGA.BQ.5875.01     2   0.000      0.998 0.00 1.00
#> TCGA.UZ.A9PZ.01     1   0.000      0.996 1.00 0.00
#> TCGA.Q2.A5QZ.01     2   0.000      0.998 0.00 1.00
#> TCGA.P4.A5E8.01     2   0.000      0.998 0.00 1.00
#> TCGA.B9.5155.01     1   0.000      0.996 1.00 0.00
#> TCGA.B9.A5W9.01     1   0.000      0.996 1.00 0.00
#> TCGA.5P.A9K4.01     1   0.000      0.996 1.00 0.00
#> TCGA.P4.A5E7.01     1   0.000      0.996 1.00 0.00
#> TCGA.PJ.A5Z9.01     1   0.000      0.996 1.00 0.00
#> TCGA.5P.A9K8.01     2   0.000      0.998 0.00 1.00
#> TCGA.5P.A9KF.01     1   0.000      0.996 1.00 0.00
#> TCGA.P4.AAVK.01     2   0.000      0.998 0.00 1.00
#> TCGA.2Z.A9JM.01     1   0.000      0.996 1.00 0.00
#> TCGA.A4.A48D.01     2   0.000      0.998 0.00 1.00
#> TCGA.BQ.5889.01     2   0.000      0.998 0.00 1.00
#> TCGA.2Z.A9JD.01     1   0.000      0.996 1.00 0.00
#> TCGA.5P.A9K2.01     1   0.000      0.996 1.00 0.00
#> TCGA.2Z.A9JO.01     2   0.000      0.998 0.00 1.00
#> TCGA.5P.A9K9.01     2   0.000      0.998 0.00 1.00
#> TCGA.UZ.A9PV.01     1   0.000      0.996 1.00 0.00
#> TCGA.SX.A71V.01     1   0.000      0.996 1.00 0.00
#> TCGA.BQ.5892.11     2   0.000      0.998 0.00 1.00
#> TCGA.UZ.A9Q0.01     1   0.000      0.996 1.00 0.00
#> TCGA.UZ.A9PX.01     1   0.000      0.996 1.00 0.00
#> TCGA.UZ.A9PR.01     1   0.000      0.996 1.00 0.00
#> TCGA.IA.A40X.01     1   0.000      0.996 1.00 0.00
#> TCGA.5P.A9JW.01     2   0.000      0.998 0.00 1.00
#> TCGA.IA.A40Y.01     2   0.000      0.998 0.00 1.00
#> TCGA.BQ.5883.11     2   0.000      0.998 0.00 1.00
#> TCGA.BQ.5878.11     2   0.000      0.998 0.00 1.00
#> TCGA.P4.A5EA.01     2   0.000      0.998 0.00 1.00
#> TCGA.5P.A9KE.01     2   0.000      0.998 0.00 1.00
#> TCGA.5P.A9K3.01     2   0.000      0.998 0.00 1.00
#> TCGA.B1.A47N.01     1   0.000      0.996 1.00 0.00
#> TCGA.5P.A9KA.01     1   0.000      0.996 1.00 0.00
#> TCGA.BQ.5879.11     2   0.000      0.998 0.00 1.00
#> TCGA.P4.A5ED.01     2   0.000      0.998 0.00 1.00
#> TCGA.A4.A772.01     1   0.000      0.996 1.00 0.00
#> TCGA.B1.A47O.01     2   0.000      0.998 0.00 1.00
#> TCGA.IA.A40U.01     1   0.000      0.996 1.00 0.00
#> TCGA.2Z.A9JE.01     1   0.000      0.996 1.00 0.00
#> TCGA.B9.A44B.01     2   0.000      0.998 0.00 1.00
#> TCGA.AT.A5NU.01     1   0.000      0.996 1.00 0.00
#> TCGA.BQ.5882.11     2   0.000      0.998 0.00 1.00
#> TCGA.BQ.5877.01     2   0.000      0.998 0.00 1.00
#> TCGA.DW.7963.01     2   0.000      0.998 0.00 1.00
#> TCGA.2Z.A9JL.01     1   0.000      0.996 1.00 0.00
#> TCGA.2Z.A9JQ.01     1   0.000      0.996 1.00 0.00
#> TCGA.2Z.A9JK.01     2   0.000      0.998 0.00 1.00
#> TCGA.UZ.A9PU.01     1   0.000      0.996 1.00 0.00
#> TCGA.P4.A5EB.01     1   0.000      0.996 1.00 0.00
#> TCGA.BQ.5892.01     2   0.000      0.998 0.00 1.00
#> TCGA.B1.A47M.11     2   0.000      0.998 0.00 1.00
#> TCGA.2Z.A9J9.01     2   0.000      0.998 0.00 1.00
#> TCGA.UZ.A9PS.05     2   0.000      0.998 0.00 1.00
#> TCGA.P4.AAVM.01     1   0.000      0.996 1.00 0.00
#> TCGA.PJ.A5Z8.01     2   0.000      0.998 0.00 1.00
#> TCGA.5P.A9JZ.01     1   0.000      0.996 1.00 0.00
#> TCGA.2Z.A9JG.01     1   0.000      0.996 1.00 0.00
#> TCGA.BQ.5884.01     2   0.000      0.998 0.00 1.00
#> TCGA.2Z.A9JI.01     2   0.000      0.998 0.00 1.00
#> TCGA.BQ.5890.11     2   0.000      0.998 0.00 1.00
#> TCGA.BQ.5881.01     2   0.000      0.998 0.00 1.00
#> TCGA.UZ.A9PP.01     1   0.000      0.996 1.00 0.00
#> TCGA.5P.A9JU.01     2   0.000      0.998 0.00 1.00
#> TCGA.2Z.A9JN.01     2   0.000      0.998 0.00 1.00
#> TCGA.UZ.A9PS.01     1   0.000      0.996 1.00 0.00
#> TCGA.BQ.5875.11     2   0.000      0.998 0.00 1.00
#> TCGA.5P.A9JY.01     1   0.000      0.996 1.00 0.00
#> TCGA.B9.A5W8.01     2   0.000      0.998 0.00 1.00
#> TCGA.F9.A4JJ.01     2   0.000      0.998 0.00 1.00
#> TCGA.BQ.5883.01     2   0.000      0.998 0.00 1.00
#> TCGA.5P.A9K0.01     1   0.000      0.996 1.00 0.00
#> TCGA.P4.AAVL.01     1   0.000      0.996 1.00 0.00
#> TCGA.B1.5398.01     2   0.000      0.998 0.00 1.00
#> TCGA.5P.A9K6.01     1   0.000      0.996 1.00 0.00
#> TCGA.UZ.A9PQ.01     2   0.000      0.998 0.00 1.00
#> TCGA.P4.A5E6.01     1   0.000      0.996 1.00 0.00
#> TCGA.BQ.5885.01     1   0.000      0.996 1.00 0.00
#> TCGA.UZ.A9Q1.01     2   0.000      0.998 0.00 1.00
#> TCGA.2Z.A9JP.01     1   0.000      0.996 1.00 0.00
#> TCGA.5P.A9KC.01     2   0.000      0.998 0.00 1.00
#> TCGA.5P.A9KH.01     2   0.000      0.998 0.00 1.00
#> TCGA.2Z.A9JR.01     1   0.000      0.996 1.00 0.00
#> TCGA.GL.A59T.01     1   0.000      0.996 1.00 0.00
#> TCGA.5P.A9JV.01     2   0.000      0.998 0.00 1.00
#> TCGA.WN.AB4C.01     2   0.000      0.998 0.00 1.00
#> TCGA.SX.A71R.01     1   0.000      0.996 1.00 0.00
#> TCGA.A4.A5DU.01     1   0.000      0.996 1.00 0.00
#> TCGA.B1.A47M.01     1   0.000      0.996 1.00 0.00
#> TCGA.2Z.A9JJ.01     2   0.000      0.998 0.00 1.00
#> TCGA.2Z.A9JT.01     2   0.242      0.957 0.04 0.96
#> TCGA.GL.A4EM.01     2   0.000      0.998 0.00 1.00
#> TCGA.HE.7129.01     1   0.000      0.996 1.00 0.00
#> TCGA.HE.7128.01     2   0.000      0.998 0.00 1.00
#> TCGA.HE.A5NL.01     1   0.000      0.996 1.00 0.00
#> TCGA.G7.7502.01     1   0.000      0.996 1.00 0.00
#> TCGA.BQ.7059.01     2   0.000      0.998 0.00 1.00
#> TCGA.DZ.6134.11     2   0.000      0.998 0.00 1.00
#> TCGA.HE.A5NJ.01     1   0.000      0.996 1.00 0.00
#> TCGA.BQ.7053.11     2   0.000      0.998 0.00 1.00
#> TCGA.GL.6846.11     2   0.000      0.998 0.00 1.00
#> TCGA.GL.6846.01     1   0.141      0.976 0.98 0.02
#> TCGA.DW.7839.01     1   0.000      0.996 1.00 0.00
#> TCGA.DW.7841.01     1   0.000      0.996 1.00 0.00
#> TCGA.BQ.7049.01     2   0.000      0.998 0.00 1.00
#> TCGA.G7.6793.01     2   0.000      0.998 0.00 1.00
#> TCGA.BQ.7051.01     1   0.000      0.996 1.00 0.00
#> TCGA.BQ.7045.01     1   0.000      0.996 1.00 0.00
#> TCGA.HE.A5NF.01     2   0.000      0.998 0.00 1.00
#> TCGA.A4.7996.01     1   0.000      0.996 1.00 0.00
#> TCGA.BQ.7046.01     1   0.000      0.996 1.00 0.00
#> TCGA.DZ.6132.11     2   0.000      0.998 0.00 1.00
#> TCGA.G7.7501.01     1   0.000      0.996 1.00 0.00
#> TCGA.O9.A75Z.01     1   0.000      0.996 1.00 0.00
#> TCGA.DW.7834.01     1   0.000      0.996 1.00 0.00
#> TCGA.DZ.6133.01     1   0.000      0.996 1.00 0.00
#> TCGA.A4.A4ZT.01     1   0.000      0.996 1.00 0.00
#> TCGA.BQ.7060.01     1   0.242      0.956 0.96 0.04
#> TCGA.G7.6792.01     1   0.000      0.996 1.00 0.00
#> TCGA.HE.7130.01     2   0.000      0.998 0.00 1.00
#> TCGA.GL.7773.01     1   0.000      0.996 1.00 0.00
#> TCGA.DZ.6133.11     2   0.000      0.998 0.00 1.00
#> TCGA.B1.7332.01     1   0.000      0.996 1.00 0.00
#> TCGA.BQ.7053.01     2   0.000      0.998 0.00 1.00
#> TCGA.DZ.6131.01     2   0.000      0.998 0.00 1.00
#> TCGA.BQ.7062.01     2   0.000      0.998 0.00 1.00
#> TCGA.BQ.7046.11     2   0.000      0.998 0.00 1.00
#> TCGA.A4.7288.01     1   0.000      0.996 1.00 0.00
#> TCGA.DZ.6131.11     2   0.000      0.998 0.00 1.00
#> TCGA.BQ.7062.11     2   0.000      0.998 0.00 1.00
#> TCGA.BQ.7061.01     2   0.000      0.998 0.00 1.00
#> TCGA.A4.7286.01     1   0.000      0.996 1.00 0.00
#> TCGA.G7.6797.01     1   0.000      0.996 1.00 0.00
#> TCGA.BQ.7058.01     2   0.000      0.998 0.00 1.00
#> TCGA.G7.6795.01     1   0.000      0.996 1.00 0.00
#> TCGA.HE.A5NH.01     1   0.000      0.996 1.00 0.00
#> TCGA.MH.A55W.01     1   0.000      0.996 1.00 0.00
#> TCGA.G7.6790.01     1   0.000      0.996 1.00 0.00
#> TCGA.MH.A560.01     2   0.000      0.998 0.00 1.00
#> TCGA.A4.7997.01     1   0.000      0.996 1.00 0.00
#> TCGA.MH.A561.01     1   0.000      0.996 1.00 0.00
#> TCGA.BQ.7056.11     2   0.000      0.998 0.00 1.00
#> TCGA.B9.7268.01     1   0.000      0.996 1.00 0.00
#> TCGA.BQ.7055.11     2   0.000      0.998 0.00 1.00
#> TCGA.HE.A5NI.01     1   0.000      0.996 1.00 0.00
#> TCGA.GL.7966.01     2   0.000      0.998 0.00 1.00
#> TCGA.BQ.7059.11     2   0.000      0.998 0.00 1.00
#> TCGA.A4.A57E.01     1   0.000      0.996 1.00 0.00
#> TCGA.A4.7288.11     2   0.000      0.998 0.00 1.00
#> TCGA.AL.A5DJ.01     2   0.000      0.998 0.00 1.00
#> TCGA.G7.6796.01     2   0.000      0.998 0.00 1.00
#> TCGA.DW.7837.01     1   0.000      0.996 1.00 0.00
#> TCGA.BQ.7051.11     2   0.000      0.998 0.00 1.00
#> TCGA.BQ.7048.01     2   0.000      0.998 0.00 1.00
#> TCGA.F9.A7VF.01     1   0.000      0.996 1.00 0.00
#> TCGA.BQ.7049.11     2   0.000      0.998 0.00 1.00
#> TCGA.DZ.6134.01     2   0.000      0.998 0.00 1.00
#> TCGA.BQ.5887.01     2   0.000      0.998 0.00 1.00
#> TCGA.DZ.6135.01     1   0.000      0.996 1.00 0.00
#> TCGA.MH.A55Z.01     1   0.000      0.996 1.00 0.00
#> TCGA.A4.7915.01     2   0.000      0.998 0.00 1.00
#> TCGA.BQ.7048.11     2   0.000      0.998 0.00 1.00
#> TCGA.HE.A5NK.01     2   0.000      0.998 0.00 1.00
#> TCGA.G7.6789.01     2   0.000      0.998 0.00 1.00
#> TCGA.AL.7173.01     2   0.000      0.998 0.00 1.00
#> TCGA.SX.A71S.01     1   0.000      0.996 1.00 0.00
#> TCGA.BQ.7061.11     2   0.000      0.998 0.00 1.00
#> TCGA.DW.7840.01     1   0.000      0.996 1.00 0.00
#> TCGA.GL.A59R.01     1   0.000      0.996 1.00 0.00
#> TCGA.BQ.7050.11     2   0.000      0.998 0.00 1.00
#> TCGA.BQ.7058.11     2   0.000      0.998 0.00 1.00
#> TCGA.DW.7838.01     2   0.000      0.998 0.00 1.00
#> TCGA.SX.A71U.01     1   0.000      0.996 1.00 0.00
#> TCGA.DZ.6135.11     2   0.000      0.998 0.00 1.00
#> TCGA.BQ.7044.11     2   0.000      0.998 0.00 1.00
#> TCGA.V9.A7HT.01     2   0.000      0.998 0.00 1.00
#> TCGA.DW.7842.01     1   0.000      0.996 1.00 0.00
#> TCGA.BQ.7050.01     1   0.000      0.996 1.00 0.00
#> TCGA.BQ.7055.01     2   0.000      0.998 0.00 1.00
#> TCGA.J7.6720.01     1   0.000      0.996 1.00 0.00
#> TCGA.BQ.7060.11     2   0.000      0.998 0.00 1.00
#> TCGA.BQ.7044.01     1   0.000      0.996 1.00 0.00
#> TCGA.DZ.6132.01     2   0.000      0.998 0.00 1.00
#> TCGA.DW.7836.01     1   0.000      0.996 1.00 0.00
#> TCGA.A4.7828.01     2   0.000      0.998 0.00 1.00
#> TCGA.BQ.5887.11     2   0.000      0.998 0.00 1.00
#> TCGA.B3.A6W5.01     1   0.000      0.996 1.00 0.00
#> TCGA.MH.A562.01     1   0.000      0.996 1.00 0.00
#> TCGA.A4.7734.01     1   0.000      0.996 1.00 0.00
#> TCGA.BQ.7045.11     2   0.000      0.998 0.00 1.00
#> TCGA.A4.7584.01     1   0.000      0.996 1.00 0.00
#> TCGA.BQ.7056.01     1   0.000      0.996 1.00 0.00
#> TCGA.A4.7287.01     2   0.000      0.998 0.00 1.00
#> TCGA.UZ.A9PJ.01     1   0.000      0.996 1.00 0.00
#> TCGA.2Z.A9J1.01     1   0.000      0.996 1.00 0.00
#> TCGA.UN.AAZ9.01     1   0.000      0.996 1.00 0.00
#> TCGA.UZ.A9PO.01     2   0.000      0.998 0.00 1.00
#> TCGA.UZ.A9PL.01     1   0.000      0.996 1.00 0.00
#> TCGA.A4.7732.11     2   0.000      0.998 0.00 1.00
#> TCGA.A4.7732.01     1   0.000      0.996 1.00 0.00
#> TCGA.2Z.A9J2.01     2   0.000      0.998 0.00 1.00
#> TCGA.2Z.A9J3.01     1   0.000      0.996 1.00 0.00
#> TCGA.2Z.A9J6.01     1   0.000      0.996 1.00 0.00
#> TCGA.F9.A97G.01     2   0.000      0.998 0.00 1.00
#> TCGA.UZ.A9PM.01     2   0.000      0.998 0.00 1.00
#> TCGA.A4.7585.11     2   0.000      0.998 0.00 1.00
#> TCGA.2K.A9WE.01     2   0.000      0.998 0.00 1.00
#> TCGA.A4.7583.01     1   0.000      0.996 1.00 0.00
#> TCGA.UZ.A9PK.01     1   0.000      0.996 1.00 0.00
#> TCGA.UZ.A9PN.01     2   0.000      0.998 0.00 1.00
#> TCGA.2Z.A9J7.01     1   0.000      0.996 1.00 0.00
#> TCGA.2Z.A9J5.01     1   0.000      0.996 1.00 0.00
#> TCGA.A4.7585.01     2   0.000      0.998 0.00 1.00

show/hide code output

cbind(get_classes(res, k = 3), get_membership(res, k = 3))
#>                 class entropy silhouette   p1   p2   p3
#> TCGA.SX.A7SM.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.IA.A83W.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.B1.A656.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.4A.A93X.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.G7.A8LC.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.SX.A7SS.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.B9.A69E.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.BQ.5878.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.DW.5561.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.PJ.A8JU.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.EV.5901.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.SX.A7SR.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.BQ.5894.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.KV.A6GE.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.BQ.5882.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.SX.A7SQ.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.F9.A7Q0.01     3  0.4291      0.782 0.00 0.18 0.82
#> TCGA.IZ.A6M8.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.B1.A654.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.B3.8121.01     2  0.0892      0.982 0.00 0.98 0.02
#> TCGA.MH.A856.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.G7.A4TM.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.IZ.8196.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.B9.A5W7.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.B9.5156.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.A4.A7UZ.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.Y8.A897.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.SX.A7SP.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.Y8.A8RZ.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.A4.A5XZ.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.Y8.A898.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.BQ.5893.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.SX.A7SU.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.IZ.8195.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.GL.8500.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.EV.5902.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.J7.A8I2.01     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.A4.8516.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.A4.8312.01     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.BQ.5880.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.Y8.A8RY.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.SX.A7SN.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.MH.A854.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.A4.8517.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.GL.A9DD.01     2  0.0892      0.982 0.00 0.98 0.02
#> TCGA.A4.8630.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.4A.A93W.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.SX.A7SO.01     1  0.5216      0.648 0.74 0.00 0.26
#> TCGA.GL.A9DC.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.A4.8515.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.IZ.A6M9.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.BQ.5880.11     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.B1.A657.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.G7.A8LD.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.Y8.A8S1.01     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.IA.A83S.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.Y8.A8S0.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.BQ.5884.11     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.B1.A655.01     2  0.0892      0.982 0.00 0.98 0.02
#> TCGA.BQ.5877.11     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.EV.5903.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.J7.8537.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.A4.A6HP.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.BQ.5890.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.Y8.A896.01     2  0.0892      0.982 0.00 0.98 0.02
#> TCGA.BQ.5888.01     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.BQ.5879.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.GL.A9DE.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.G7.A8LB.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.IA.A83T.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.IA.A83V.01     2  0.0892      0.982 0.00 0.98 0.02
#> TCGA.BQ.5876.11     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.BQ.5885.11     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.KV.A6GD.01     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.SX.A7SL.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.B9.A8YI.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.B9.A8YH.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.4A.A93Y.01     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.BQ.5886.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.A4.A5Y0.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.A4.8098.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.MH.A857.01     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.BQ.5889.11     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.DW.5560.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.F9.A8NY.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.BQ.5894.11     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.BQ.5891.11     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.G7.A8LE.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.SX.A71W.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.Y8.A894.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.WN.A9G9.01     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.A4.8310.01     3  0.2066      0.930 0.06 0.00 0.94
#> TCGA.A4.8518.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.BQ.5881.11     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.BQ.5893.11     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.A4.8311.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.BQ.5891.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.Y8.A895.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.BQ.5876.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.MH.A855.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.P4.AAVO.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.BQ.5886.11     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.2Z.A9JS.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.BQ.5888.11     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.2Z.A9J8.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.KV.A74V.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.A4.A5Y1.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.BQ.5875.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.UZ.A9PZ.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.Q2.A5QZ.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.P4.A5E8.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.B9.5155.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.B9.A5W9.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.5P.A9K4.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.P4.A5E7.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.PJ.A5Z9.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.5P.A9K8.01     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.5P.A9KF.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.P4.AAVK.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.2Z.A9JM.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.A4.A48D.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.BQ.5889.01     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.2Z.A9JD.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.5P.A9K2.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.2Z.A9JO.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.5P.A9K9.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.UZ.A9PV.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.SX.A71V.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.BQ.5892.11     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.UZ.A9Q0.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.UZ.A9PX.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.UZ.A9PR.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.IA.A40X.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.5P.A9JW.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.IA.A40Y.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.BQ.5883.11     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.BQ.5878.11     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.P4.A5EA.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.5P.A9KE.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.5P.A9K3.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.B1.A47N.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.5P.A9KA.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.BQ.5879.11     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.P4.A5ED.01     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.A4.A772.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.B1.A47O.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.IA.A40U.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.2Z.A9JE.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.B9.A44B.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.AT.A5NU.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.BQ.5882.11     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.BQ.5877.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.DW.7963.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.2Z.A9JL.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.2Z.A9JQ.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.2Z.A9JK.01     2  0.0892      0.982 0.00 0.98 0.02
#> TCGA.UZ.A9PU.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.P4.A5EB.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.BQ.5892.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.B1.A47M.11     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.2Z.A9J9.01     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.UZ.A9PS.05     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.P4.AAVM.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.PJ.A5Z8.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.5P.A9JZ.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.2Z.A9JG.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.BQ.5884.01     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.2Z.A9JI.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.BQ.5890.11     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.BQ.5881.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.UZ.A9PP.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.5P.A9JU.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.2Z.A9JN.01     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.UZ.A9PS.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.BQ.5875.11     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.5P.A9JY.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.B9.A5W8.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.F9.A4JJ.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.BQ.5883.01     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.5P.A9K0.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.P4.AAVL.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.B1.5398.01     2  0.0892      0.982 0.00 0.98 0.02
#> TCGA.5P.A9K6.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.UZ.A9PQ.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.P4.A5E6.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.BQ.5885.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.UZ.A9Q1.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.2Z.A9JP.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.5P.A9KC.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.5P.A9KH.01     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.2Z.A9JR.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.GL.A59T.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.5P.A9JV.01     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.WN.AB4C.01     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.SX.A71R.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.A4.A5DU.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.B1.A47M.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.2Z.A9JJ.01     3  0.1529      0.956 0.00 0.04 0.96
#> TCGA.2Z.A9JT.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.GL.A4EM.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.HE.7129.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.HE.7128.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.HE.A5NL.01     1  0.0892      0.977 0.98 0.00 0.02
#> TCGA.G7.7502.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.BQ.7059.01     2  0.0892      0.982 0.00 0.98 0.02
#> TCGA.DZ.6134.11     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.HE.A5NJ.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.BQ.7053.11     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.GL.6846.11     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.GL.6846.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.DW.7839.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.DW.7841.01     3  0.0892      0.974 0.02 0.00 0.98
#> TCGA.BQ.7049.01     2  0.0892      0.982 0.00 0.98 0.02
#> TCGA.G7.6793.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.BQ.7051.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.BQ.7045.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.HE.A5NF.01     2  0.0892      0.982 0.00 0.98 0.02
#> TCGA.A4.7996.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.BQ.7046.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.DZ.6132.11     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.G7.7501.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.O9.A75Z.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.DW.7834.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.DZ.6133.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.A4.A4ZT.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.BQ.7060.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.G7.6792.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.HE.7130.01     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.GL.7773.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.DZ.6133.11     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.B1.7332.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.BQ.7053.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.DZ.6131.01     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.BQ.7062.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.BQ.7046.11     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.A4.7288.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.DZ.6131.11     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.BQ.7062.11     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.BQ.7061.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.A4.7286.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.G7.6797.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.BQ.7058.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.G7.6795.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.HE.A5NH.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.MH.A55W.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.G7.6790.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.MH.A560.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.A4.7997.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.MH.A561.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.BQ.7056.11     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.B9.7268.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.BQ.7055.11     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.HE.A5NI.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.GL.7966.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.BQ.7059.11     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.A4.A57E.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.A4.7288.11     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.AL.A5DJ.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.G7.6796.01     2  0.0892      0.982 0.00 0.98 0.02
#> TCGA.DW.7837.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.BQ.7051.11     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.BQ.7048.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.F9.A7VF.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.BQ.7049.11     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.DZ.6134.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.BQ.5887.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.DZ.6135.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.MH.A55Z.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.A4.7915.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.BQ.7048.11     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.HE.A5NK.01     2  0.0892      0.982 0.00 0.98 0.02
#> TCGA.G7.6789.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.AL.7173.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.SX.A71S.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.BQ.7061.11     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.DW.7840.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.GL.A59R.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.BQ.7050.11     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.BQ.7058.11     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.DW.7838.01     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.SX.A71U.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.DZ.6135.11     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.BQ.7044.11     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.V9.A7HT.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.DW.7842.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.BQ.7050.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.BQ.7055.01     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.J7.6720.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.BQ.7060.11     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.BQ.7044.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.DZ.6132.01     2  0.0892      0.982 0.00 0.98 0.02
#> TCGA.DW.7836.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.A4.7828.01     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.BQ.5887.11     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.B3.A6W5.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.MH.A562.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.A4.7734.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.BQ.7045.11     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.A4.7584.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.BQ.7056.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.A4.7287.01     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.UZ.A9PJ.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.2Z.A9J1.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.UN.AAZ9.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.UZ.A9PO.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.UZ.A9PL.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.A4.7732.11     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.A4.7732.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.2Z.A9J2.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.2Z.A9J3.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.2Z.A9J6.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.F9.A97G.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.UZ.A9PM.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.A4.7585.11     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.2K.A9WE.01     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.A4.7583.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.UZ.A9PK.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.UZ.A9PN.01     2  0.0000      0.997 0.00 1.00 0.00
#> TCGA.2Z.A9J7.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.2Z.A9J5.01     3  0.0000      0.996 0.00 0.00 1.00
#> TCGA.A4.7585.01     3  0.4291      0.781 0.00 0.18 0.82

show/hide code output

cbind(get_classes(res, k = 4), get_membership(res, k = 4))
#>                 class entropy silhouette   p1   p2   p3   p4
#> TCGA.SX.A7SM.01     4  0.0000      0.992 0.00 0.00 0.00 1.00
#> TCGA.IA.A83W.01     1  0.1211      0.962 0.96 0.00 0.04 0.00
#> TCGA.B1.A656.01     4  0.0000      0.992 0.00 0.00 0.00 1.00
#> TCGA.4A.A93X.01     4  0.0000      0.992 0.00 0.00 0.00 1.00
#> TCGA.G7.A8LC.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.SX.A7SS.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.B9.A69E.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.BQ.5878.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.DW.5561.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.PJ.A8JU.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.EV.5901.01     3  0.1211      0.944 0.04 0.00 0.96 0.00
#> TCGA.SX.A7SR.01     1  0.1211      0.962 0.96 0.00 0.04 0.00
#> TCGA.BQ.5894.01     4  0.0000      0.992 0.00 0.00 0.00 1.00
#> TCGA.KV.A6GE.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.BQ.5882.01     4  0.0000      0.992 0.00 0.00 0.00 1.00
#> TCGA.SX.A7SQ.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.F9.A7Q0.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.IZ.A6M8.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.B1.A654.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.B3.8121.01     3  0.1211      0.959 0.00 0.04 0.96 0.00
#> TCGA.MH.A856.01     1  0.1211      0.962 0.96 0.00 0.04 0.00
#> TCGA.G7.A4TM.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.IZ.8196.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.B9.A5W7.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.B9.5156.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.A4.A7UZ.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.Y8.A897.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.SX.A7SP.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.Y8.A8RZ.01     4  0.1211      0.958 0.00 0.00 0.04 0.96
#> TCGA.A4.A5XZ.01     1  0.1211      0.962 0.96 0.00 0.04 0.00
#> TCGA.Y8.A898.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.BQ.5893.01     4  0.0000      0.992 0.00 0.00 0.00 1.00
#> TCGA.SX.A7SU.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.IZ.8195.01     4  0.0000      0.992 0.00 0.00 0.00 1.00
#> TCGA.GL.8500.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.EV.5902.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.J7.A8I2.01     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.A4.8516.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.A4.8312.01     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.BQ.5880.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.Y8.A8RY.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.SX.A7SN.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.MH.A854.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.A4.8517.01     1  0.1211      0.962 0.96 0.00 0.04 0.00
#> TCGA.GL.A9DD.01     3  0.1211      0.959 0.00 0.04 0.96 0.00
#> TCGA.A4.8630.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.4A.A93W.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.SX.A7SO.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.GL.A9DC.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.A4.8515.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.IZ.A6M9.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.BQ.5880.11     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.B1.A657.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.G7.A8LD.01     4  0.0000      0.992 0.00 0.00 0.00 1.00
#> TCGA.Y8.A8S1.01     2  0.3172      0.803 0.00 0.84 0.16 0.00
#> TCGA.IA.A83S.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.Y8.A8S0.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.BQ.5884.11     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.B1.A655.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.BQ.5877.11     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.EV.5903.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.J7.8537.01     4  0.0000      0.992 0.00 0.00 0.00 1.00
#> TCGA.A4.A6HP.01     1  0.2011      0.921 0.92 0.00 0.08 0.00
#> TCGA.BQ.5890.01     4  0.0000      0.992 0.00 0.00 0.00 1.00
#> TCGA.Y8.A896.01     3  0.1211      0.959 0.00 0.04 0.96 0.00
#> TCGA.BQ.5888.01     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.BQ.5879.01     4  0.0000      0.992 0.00 0.00 0.00 1.00
#> TCGA.GL.A9DE.01     4  0.0000      0.992 0.00 0.00 0.00 1.00
#> TCGA.G7.A8LB.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.IA.A83T.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.IA.A83V.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.BQ.5876.11     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.BQ.5885.11     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.KV.A6GD.01     3  0.1211      0.959 0.00 0.04 0.96 0.00
#> TCGA.SX.A7SL.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.B9.A8YI.01     4  0.0000      0.992 0.00 0.00 0.00 1.00
#> TCGA.B9.A8YH.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.4A.A93Y.01     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.BQ.5886.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.A4.A5Y0.01     4  0.1211      0.958 0.00 0.00 0.04 0.96
#> TCGA.A4.8098.01     4  0.1211      0.958 0.00 0.00 0.04 0.96
#> TCGA.MH.A857.01     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.BQ.5889.11     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.DW.5560.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.F9.A8NY.01     4  0.0000      0.992 0.00 0.00 0.00 1.00
#> TCGA.BQ.5894.11     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.BQ.5891.11     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.G7.A8LE.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.SX.A71W.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.Y8.A894.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.WN.A9G9.01     2  0.1637      0.914 0.00 0.94 0.06 0.00
#> TCGA.A4.8310.01     1  0.1211      0.962 0.96 0.00 0.04 0.00
#> TCGA.A4.8518.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.BQ.5881.11     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.BQ.5893.11     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.A4.8311.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.BQ.5891.01     4  0.0000      0.992 0.00 0.00 0.00 1.00
#> TCGA.Y8.A895.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.BQ.5876.01     4  0.2647      0.861 0.00 0.00 0.12 0.88
#> TCGA.MH.A855.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.P4.AAVO.01     4  0.0000      0.992 0.00 0.00 0.00 1.00
#> TCGA.BQ.5886.11     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.2Z.A9JS.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.BQ.5888.11     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.2Z.A9J8.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.KV.A74V.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.A4.A5Y1.01     4  0.0000      0.992 0.00 0.00 0.00 1.00
#> TCGA.BQ.5875.01     4  0.0000      0.992 0.00 0.00 0.00 1.00
#> TCGA.UZ.A9PZ.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.Q2.A5QZ.01     4  0.0000      0.992 0.00 0.00 0.00 1.00
#> TCGA.P4.A5E8.01     4  0.0000      0.992 0.00 0.00 0.00 1.00
#> TCGA.B9.5155.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.B9.A5W9.01     4  0.0000      0.992 0.00 0.00 0.00 1.00
#> TCGA.5P.A9K4.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.P4.A5E7.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.PJ.A5Z9.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.5P.A9K8.01     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.5P.A9KF.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.P4.AAVK.01     4  0.0000      0.992 0.00 0.00 0.00 1.00
#> TCGA.2Z.A9JM.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.A4.A48D.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.BQ.5889.01     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.2Z.A9JD.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.5P.A9K2.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.2Z.A9JO.01     3  0.1211      0.955 0.00 0.00 0.96 0.04
#> TCGA.5P.A9K9.01     4  0.0000      0.992 0.00 0.00 0.00 1.00
#> TCGA.UZ.A9PV.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.SX.A71V.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.BQ.5892.11     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.UZ.A9Q0.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.UZ.A9PX.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.UZ.A9PR.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.IA.A40X.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.5P.A9JW.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.IA.A40Y.01     4  0.0000      0.992 0.00 0.00 0.00 1.00
#> TCGA.BQ.5883.11     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.BQ.5878.11     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.P4.A5EA.01     4  0.0000      0.992 0.00 0.00 0.00 1.00
#> TCGA.5P.A9KE.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.5P.A9K3.01     4  0.0000      0.992 0.00 0.00 0.00 1.00
#> TCGA.B1.A47N.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.5P.A9KA.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.BQ.5879.11     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.P4.A5ED.01     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.A4.A772.01     1  0.1211      0.962 0.96 0.00 0.04 0.00
#> TCGA.B1.A47O.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.IA.A40U.01     1  0.1211      0.962 0.96 0.00 0.04 0.00
#> TCGA.2Z.A9JE.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.B9.A44B.01     4  0.0000      0.992 0.00 0.00 0.00 1.00
#> TCGA.AT.A5NU.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.BQ.5882.11     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.BQ.5877.01     4  0.0000      0.992 0.00 0.00 0.00 1.00
#> TCGA.DW.7963.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.2Z.A9JL.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.2Z.A9JQ.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.2Z.A9JK.01     3  0.1211      0.959 0.00 0.04 0.96 0.00
#> TCGA.UZ.A9PU.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.P4.A5EB.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.BQ.5892.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.B1.A47M.11     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.2Z.A9J9.01     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.UZ.A9PS.05     3  0.1211      0.955 0.00 0.00 0.96 0.04
#> TCGA.P4.AAVM.01     1  0.1211      0.962 0.96 0.00 0.04 0.00
#> TCGA.PJ.A5Z8.01     3  0.1211      0.959 0.00 0.04 0.96 0.00
#> TCGA.5P.A9JZ.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.2Z.A9JG.01     4  0.0000      0.992 0.00 0.00 0.00 1.00
#> TCGA.BQ.5884.01     2  0.2345      0.871 0.00 0.90 0.10 0.00
#> TCGA.2Z.A9JI.01     4  0.0000      0.992 0.00 0.00 0.00 1.00
#> TCGA.BQ.5890.11     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.BQ.5881.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.UZ.A9PP.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.5P.A9JU.01     4  0.0000      0.992 0.00 0.00 0.00 1.00
#> TCGA.2Z.A9JN.01     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.UZ.A9PS.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.BQ.5875.11     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.5P.A9JY.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.B9.A5W8.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.F9.A4JJ.01     4  0.0000      0.992 0.00 0.00 0.00 1.00
#> TCGA.BQ.5883.01     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.5P.A9K0.01     4  0.1211      0.958 0.00 0.00 0.04 0.96
#> TCGA.P4.AAVL.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.B1.5398.01     3  0.1211      0.959 0.00 0.04 0.96 0.00
#> TCGA.5P.A9K6.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.UZ.A9PQ.01     4  0.0000      0.992 0.00 0.00 0.00 1.00
#> TCGA.P4.A5E6.01     1  0.1211      0.962 0.96 0.00 0.04 0.00
#> TCGA.BQ.5885.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.UZ.A9Q1.01     4  0.0000      0.992 0.00 0.00 0.00 1.00
#> TCGA.2Z.A9JP.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.5P.A9KC.01     3  0.1211      0.959 0.00 0.04 0.96 0.00
#> TCGA.5P.A9KH.01     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.2Z.A9JR.01     1  0.1637      0.943 0.94 0.00 0.06 0.00
#> TCGA.GL.A59T.01     1  0.2647      0.874 0.88 0.00 0.12 0.00
#> TCGA.5P.A9JV.01     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.WN.AB4C.01     3  0.2345      0.896 0.00 0.10 0.90 0.00
#> TCGA.SX.A71R.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.A4.A5DU.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.B1.A47M.01     1  0.1211      0.962 0.96 0.00 0.04 0.00
#> TCGA.2Z.A9JJ.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.2Z.A9JT.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.GL.A4EM.01     3  0.1211      0.959 0.00 0.04 0.96 0.00
#> TCGA.HE.7129.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.HE.7128.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.HE.A5NL.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.G7.7502.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.BQ.7059.01     3  0.1211      0.959 0.00 0.04 0.96 0.00
#> TCGA.DZ.6134.11     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.HE.A5NJ.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.BQ.7053.11     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.GL.6846.11     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.GL.6846.01     4  0.0000      0.992 0.00 0.00 0.00 1.00
#> TCGA.DW.7839.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.DW.7841.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.BQ.7049.01     3  0.1211      0.959 0.00 0.04 0.96 0.00
#> TCGA.G7.6793.01     4  0.0000      0.992 0.00 0.00 0.00 1.00
#> TCGA.BQ.7051.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.BQ.7045.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.HE.A5NF.01     3  0.1211      0.959 0.00 0.04 0.96 0.00
#> TCGA.A4.7996.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.BQ.7046.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.DZ.6132.11     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.G7.7501.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.O9.A75Z.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.DW.7834.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.DZ.6133.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.A4.A4ZT.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.BQ.7060.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.G7.6792.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.HE.7130.01     2  0.4790      0.401 0.00 0.62 0.38 0.00
#> TCGA.GL.7773.01     1  0.1211      0.962 0.96 0.00 0.04 0.00
#> TCGA.DZ.6133.11     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.B1.7332.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.BQ.7053.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.DZ.6131.01     2  0.4948      0.225 0.00 0.56 0.44 0.00
#> TCGA.BQ.7062.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.BQ.7046.11     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.A4.7288.01     1  0.0707      0.974 0.98 0.00 0.00 0.02
#> TCGA.DZ.6131.11     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.BQ.7062.11     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.BQ.7061.01     4  0.0000      0.992 0.00 0.00 0.00 1.00
#> TCGA.A4.7286.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.G7.6797.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.BQ.7058.01     4  0.0000      0.992 0.00 0.00 0.00 1.00
#> TCGA.G7.6795.01     1  0.1211      0.962 0.96 0.00 0.04 0.00
#> TCGA.HE.A5NH.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.MH.A55W.01     1  0.1211      0.962 0.96 0.00 0.04 0.00
#> TCGA.G7.6790.01     3  0.0707      0.965 0.02 0.00 0.98 0.00
#> TCGA.MH.A560.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.A4.7997.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.MH.A561.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.BQ.7056.11     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.B9.7268.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.BQ.7055.11     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.HE.A5NI.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.GL.7966.01     4  0.0000      0.992 0.00 0.00 0.00 1.00
#> TCGA.BQ.7059.11     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.A4.A57E.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.A4.7288.11     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.AL.A5DJ.01     4  0.0000      0.992 0.00 0.00 0.00 1.00
#> TCGA.G7.6796.01     3  0.1211      0.959 0.00 0.04 0.96 0.00
#> TCGA.DW.7837.01     1  0.2011      0.921 0.92 0.00 0.08 0.00
#> TCGA.BQ.7051.11     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.BQ.7048.01     4  0.0000      0.992 0.00 0.00 0.00 1.00
#> TCGA.F9.A7VF.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.BQ.7049.11     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.DZ.6134.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.BQ.5887.01     4  0.0000      0.992 0.00 0.00 0.00 1.00
#> TCGA.DZ.6135.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.MH.A55Z.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.A4.7915.01     4  0.0000      0.992 0.00 0.00 0.00 1.00
#> TCGA.BQ.7048.11     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.HE.A5NK.01     3  0.1211      0.959 0.00 0.04 0.96 0.00
#> TCGA.G7.6789.01     4  0.0000      0.992 0.00 0.00 0.00 1.00
#> TCGA.AL.7173.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.SX.A71S.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.BQ.7061.11     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.DW.7840.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.GL.A59R.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.BQ.7050.11     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.BQ.7058.11     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.DW.7838.01     3  0.1211      0.959 0.00 0.04 0.96 0.00
#> TCGA.SX.A71U.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.DZ.6135.11     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.BQ.7044.11     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.V9.A7HT.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.DW.7842.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.BQ.7050.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.BQ.7055.01     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.J7.6720.01     1  0.1211      0.962 0.96 0.00 0.04 0.00
#> TCGA.BQ.7060.11     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.BQ.7044.01     4  0.0000      0.992 0.00 0.00 0.00 1.00
#> TCGA.DZ.6132.01     3  0.1211      0.959 0.00 0.04 0.96 0.00
#> TCGA.DW.7836.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.A4.7828.01     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.BQ.5887.11     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.B3.A6W5.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.MH.A562.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.A4.7734.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.BQ.7045.11     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.A4.7584.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.BQ.7056.01     4  0.1211      0.958 0.00 0.00 0.04 0.96
#> TCGA.A4.7287.01     2  0.4624      0.496 0.00 0.66 0.34 0.00
#> TCGA.UZ.A9PJ.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.2Z.A9J1.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.UN.AAZ9.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.UZ.A9PO.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.UZ.A9PL.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.A4.7732.11     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.A4.7732.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.2Z.A9J2.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.2Z.A9J3.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.2Z.A9J6.01     1  0.1211      0.962 0.96 0.00 0.04 0.00
#> TCGA.F9.A97G.01     3  0.4624      0.499 0.00 0.00 0.66 0.34
#> TCGA.UZ.A9PM.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.A4.7585.11     2  0.0000      0.973 0.00 1.00 0.00 0.00
#> TCGA.2K.A9WE.01     2  0.2011      0.893 0.00 0.92 0.08 0.00
#> TCGA.A4.7583.01     4  0.1211      0.958 0.00 0.00 0.04 0.96
#> TCGA.UZ.A9PK.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.UZ.A9PN.01     3  0.1211      0.959 0.00 0.04 0.96 0.00
#> TCGA.2Z.A9J7.01     1  0.0000      0.990 1.00 0.00 0.00 0.00
#> TCGA.2Z.A9J5.01     3  0.0000      0.984 0.00 0.00 1.00 0.00
#> TCGA.A4.7585.01     3  0.1211      0.959 0.00 0.04 0.96 0.00

show/hide code output

cbind(get_classes(res, k = 5), get_membership(res, k = 5))
#>                 class entropy silhouette   p1   p2   p3   p4   p5
#> TCGA.SX.A7SM.01     4  0.0000      0.996 0.00 0.00 0.00 1.00 0.00
#> TCGA.IA.A83W.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.B1.A656.01     3  0.3895      0.527 0.00 0.00 0.68 0.32 0.00
#> TCGA.4A.A93X.01     4  0.0000      0.996 0.00 0.00 0.00 1.00 0.00
#> TCGA.G7.A8LC.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.SX.A7SS.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.B9.A69E.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.BQ.5878.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.DW.5561.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.PJ.A8JU.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.EV.5901.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.SX.A7SR.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.BQ.5894.01     4  0.0000      0.996 0.00 0.00 0.00 1.00 0.00
#> TCGA.KV.A6GE.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5882.01     4  0.0000      0.996 0.00 0.00 0.00 1.00 0.00
#> TCGA.SX.A7SQ.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.F9.A7Q0.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.IZ.A6M8.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.B1.A654.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.B3.8121.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.MH.A856.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.G7.A4TM.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.IZ.8196.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.B9.A5W7.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.B9.5156.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.A4.A7UZ.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.Y8.A897.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.SX.A7SP.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.Y8.A8RZ.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.A4.A5XZ.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.Y8.A898.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.BQ.5893.01     4  0.0000      0.996 0.00 0.00 0.00 1.00 0.00
#> TCGA.SX.A7SU.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.IZ.8195.01     4  0.0000      0.996 0.00 0.00 0.00 1.00 0.00
#> TCGA.GL.8500.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.EV.5902.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.J7.A8I2.01     3  0.3895      0.529 0.00 0.32 0.68 0.00 0.00
#> TCGA.A4.8516.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.A4.8312.01     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.BQ.5880.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.Y8.A8RY.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.SX.A7SN.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.MH.A854.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.A4.8517.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.GL.A9DD.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.A4.8630.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.4A.A93W.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.SX.A7SO.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.GL.A9DC.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.A4.8515.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.IZ.A6M9.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5880.11     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.B1.A657.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.G7.A8LD.01     4  0.0000      0.996 0.00 0.00 0.00 1.00 0.00
#> TCGA.Y8.A8S1.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.IA.A83S.01     3  0.1043      0.942 0.00 0.00 0.96 0.00 0.04
#> TCGA.Y8.A8S0.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5884.11     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.B1.A655.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.BQ.5877.11     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.EV.5903.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.J7.8537.01     4  0.2732      0.806 0.00 0.00 0.16 0.84 0.00
#> TCGA.A4.A6HP.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.BQ.5890.01     4  0.0000      0.996 0.00 0.00 0.00 1.00 0.00
#> TCGA.Y8.A896.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.BQ.5888.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.BQ.5879.01     4  0.0000      0.996 0.00 0.00 0.00 1.00 0.00
#> TCGA.GL.A9DE.01     4  0.0000      0.996 0.00 0.00 0.00 1.00 0.00
#> TCGA.G7.A8LB.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.IA.A83T.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.IA.A83V.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.BQ.5876.11     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.BQ.5885.11     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.KV.A6GD.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.SX.A7SL.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.B9.A8YI.01     4  0.0000      0.996 0.00 0.00 0.00 1.00 0.00
#> TCGA.B9.A8YH.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.4A.A93Y.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.BQ.5886.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.A4.A5Y0.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.A4.8098.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.MH.A857.01     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.BQ.5889.11     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.DW.5560.01     5  0.2516      0.827 0.14 0.00 0.00 0.00 0.86
#> TCGA.F9.A8NY.01     4  0.0000      0.996 0.00 0.00 0.00 1.00 0.00
#> TCGA.BQ.5894.11     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.BQ.5891.11     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.G7.A8LE.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.SX.A71W.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.Y8.A894.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.WN.A9G9.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.A4.8310.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.A4.8518.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.BQ.5881.11     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.BQ.5893.11     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.A4.8311.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5891.01     4  0.0000      0.996 0.00 0.00 0.00 1.00 0.00
#> TCGA.Y8.A895.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5876.01     3  0.1410      0.927 0.00 0.00 0.94 0.06 0.00
#> TCGA.MH.A855.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.P4.AAVO.01     4  0.0000      0.996 0.00 0.00 0.00 1.00 0.00
#> TCGA.BQ.5886.11     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.2Z.A9JS.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5888.11     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.2Z.A9J8.01     5  0.0609      0.971 0.02 0.00 0.00 0.00 0.98
#> TCGA.KV.A74V.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.A4.A5Y1.01     4  0.0000      0.996 0.00 0.00 0.00 1.00 0.00
#> TCGA.BQ.5875.01     4  0.0000      0.996 0.00 0.00 0.00 1.00 0.00
#> TCGA.UZ.A9PZ.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.Q2.A5QZ.01     4  0.0000      0.996 0.00 0.00 0.00 1.00 0.00
#> TCGA.P4.A5E8.01     4  0.0000      0.996 0.00 0.00 0.00 1.00 0.00
#> TCGA.B9.5155.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.B9.A5W9.01     4  0.0000      0.996 0.00 0.00 0.00 1.00 0.00
#> TCGA.5P.A9K4.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.P4.A5E7.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.PJ.A5Z9.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.5P.A9K8.01     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.5P.A9KF.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.P4.AAVK.01     4  0.0000      0.996 0.00 0.00 0.00 1.00 0.00
#> TCGA.2Z.A9JM.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.A4.A48D.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.BQ.5889.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.2Z.A9JD.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.5P.A9K2.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.2Z.A9JO.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.5P.A9K9.01     4  0.0000      0.996 0.00 0.00 0.00 1.00 0.00
#> TCGA.UZ.A9PV.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.SX.A71V.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.BQ.5892.11     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.UZ.A9Q0.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.UZ.A9PX.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.UZ.A9PR.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.IA.A40X.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.5P.A9JW.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.IA.A40Y.01     4  0.0000      0.996 0.00 0.00 0.00 1.00 0.00
#> TCGA.BQ.5883.11     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.BQ.5878.11     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.P4.A5EA.01     4  0.0000      0.996 0.00 0.00 0.00 1.00 0.00
#> TCGA.5P.A9KE.01     5  0.2929      0.781 0.00 0.00 0.18 0.00 0.82
#> TCGA.5P.A9K3.01     4  0.0000      0.996 0.00 0.00 0.00 1.00 0.00
#> TCGA.B1.A47N.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.5P.A9KA.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.BQ.5879.11     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.P4.A5ED.01     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.A4.A772.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.B1.A47O.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.IA.A40U.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.2Z.A9JE.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.B9.A44B.01     4  0.0000      0.996 0.00 0.00 0.00 1.00 0.00
#> TCGA.AT.A5NU.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5882.11     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.BQ.5877.01     4  0.0000      0.996 0.00 0.00 0.00 1.00 0.00
#> TCGA.DW.7963.01     5  0.3424      0.687 0.00 0.00 0.24 0.00 0.76
#> TCGA.2Z.A9JL.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.2Z.A9JQ.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.2Z.A9JK.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.UZ.A9PU.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.P4.A5EB.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5892.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.B1.A47M.11     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.2Z.A9J9.01     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.UZ.A9PS.05     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.P4.AAVM.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.PJ.A5Z8.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.5P.A9JZ.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.2Z.A9JG.01     4  0.0000      0.996 0.00 0.00 0.00 1.00 0.00
#> TCGA.BQ.5884.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.2Z.A9JI.01     4  0.0000      0.996 0.00 0.00 0.00 1.00 0.00
#> TCGA.BQ.5890.11     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.BQ.5881.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.UZ.A9PP.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.5P.A9JU.01     4  0.0000      0.996 0.00 0.00 0.00 1.00 0.00
#> TCGA.2Z.A9JN.01     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.UZ.A9PS.01     5  0.0609      0.971 0.02 0.00 0.00 0.00 0.98
#> TCGA.BQ.5875.11     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.5P.A9JY.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.B9.A5W8.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.F9.A4JJ.01     4  0.0000      0.996 0.00 0.00 0.00 1.00 0.00
#> TCGA.BQ.5883.01     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.5P.A9K0.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.P4.AAVL.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.B1.5398.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.5P.A9K6.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.UZ.A9PQ.01     4  0.0000      0.996 0.00 0.00 0.00 1.00 0.00
#> TCGA.P4.A5E6.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.BQ.5885.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.UZ.A9Q1.01     4  0.0000      0.996 0.00 0.00 0.00 1.00 0.00
#> TCGA.2Z.A9JP.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.5P.A9KC.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.5P.A9KH.01     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.2Z.A9JR.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.GL.A59T.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.5P.A9JV.01     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.WN.AB4C.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.SX.A71R.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.A4.A5DU.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.B1.A47M.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.2Z.A9JJ.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.2Z.A9JT.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.GL.A4EM.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.HE.7129.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.HE.7128.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.HE.A5NL.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.G7.7502.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.BQ.7059.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.DZ.6134.11     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.HE.A5NJ.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7053.11     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.GL.6846.11     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.GL.6846.01     4  0.0000      0.996 0.00 0.00 0.00 1.00 0.00
#> TCGA.DW.7839.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.DW.7841.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.BQ.7049.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.G7.6793.01     4  0.0000      0.996 0.00 0.00 0.00 1.00 0.00
#> TCGA.BQ.7051.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7045.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.HE.A5NF.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.A4.7996.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.BQ.7046.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.DZ.6132.11     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.G7.7501.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.O9.A75Z.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.DW.7834.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.DZ.6133.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.A4.A4ZT.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7060.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.G7.6792.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.HE.7130.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.GL.7773.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.DZ.6133.11     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.B1.7332.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7053.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.DZ.6131.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.BQ.7062.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.BQ.7046.11     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.A4.7288.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.DZ.6131.11     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.BQ.7062.11     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.BQ.7061.01     4  0.0000      0.996 0.00 0.00 0.00 1.00 0.00
#> TCGA.A4.7286.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.G7.6797.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7058.01     4  0.0000      0.996 0.00 0.00 0.00 1.00 0.00
#> TCGA.G7.6795.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.HE.A5NH.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.MH.A55W.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.G7.6790.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.MH.A560.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.A4.7997.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.MH.A561.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.BQ.7056.11     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.B9.7268.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7055.11     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.HE.A5NI.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.GL.7966.01     4  0.0000      0.996 0.00 0.00 0.00 1.00 0.00
#> TCGA.BQ.7059.11     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.A4.A57E.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.A4.7288.11     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.AL.A5DJ.01     4  0.0000      0.996 0.00 0.00 0.00 1.00 0.00
#> TCGA.G7.6796.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.DW.7837.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.BQ.7051.11     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.BQ.7048.01     4  0.0000      0.996 0.00 0.00 0.00 1.00 0.00
#> TCGA.F9.A7VF.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7049.11     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.DZ.6134.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.BQ.5887.01     4  0.0000      0.996 0.00 0.00 0.00 1.00 0.00
#> TCGA.DZ.6135.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.MH.A55Z.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.A4.7915.01     4  0.0000      0.996 0.00 0.00 0.00 1.00 0.00
#> TCGA.BQ.7048.11     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.HE.A5NK.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.G7.6789.01     4  0.0000      0.996 0.00 0.00 0.00 1.00 0.00
#> TCGA.AL.7173.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.SX.A71S.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7061.11     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.DW.7840.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.GL.A59R.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7050.11     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.BQ.7058.11     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.DW.7838.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.SX.A71U.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.DZ.6135.11     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.BQ.7044.11     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.V9.A7HT.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.DW.7842.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7050.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.BQ.7055.01     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.J7.6720.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.BQ.7060.11     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.BQ.7044.01     4  0.0000      0.996 0.00 0.00 0.00 1.00 0.00
#> TCGA.DZ.6132.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.DW.7836.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.A4.7828.01     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.BQ.5887.11     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.B3.A6W5.01     1  0.2020      0.878 0.90 0.00 0.00 0.00 0.10
#> TCGA.MH.A562.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.A4.7734.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7045.11     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.A4.7584.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.BQ.7056.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.A4.7287.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.UZ.A9PJ.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.2Z.A9J1.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.UN.AAZ9.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.UZ.A9PO.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.UZ.A9PL.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.A4.7732.11     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.A4.7732.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.2Z.A9J2.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.2Z.A9J3.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.2Z.A9J6.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.F9.A97G.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.UZ.A9PM.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.A4.7585.11     2  0.0000      1.000 0.00 1.00 0.00 0.00 0.00
#> TCGA.2K.A9WE.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.A4.7583.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.UZ.A9PK.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.UZ.A9PN.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00
#> TCGA.2Z.A9J7.01     1  0.0000      0.999 1.00 0.00 0.00 0.00 0.00
#> TCGA.2Z.A9J5.01     5  0.0000      0.992 0.00 0.00 0.00 0.00 1.00
#> TCGA.A4.7585.01     3  0.0000      0.987 0.00 0.00 1.00 0.00 0.00

show/hide code output

cbind(get_classes(res, k = 6), get_membership(res, k = 6))
#>                 class entropy silhouette   p1   p2   p3   p4   p5   p6
#> TCGA.SX.A7SM.01     4  0.0000    0.98355 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.IA.A83W.01     5  0.0000    0.85385 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.B1.A656.01     4  0.3409    0.56488 0.00 0.00 0.30 0.70 0.00 0.00
#> TCGA.4A.A93X.01     4  0.0000    0.98355 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.G7.A8LC.01     5  0.3851    0.52209 0.00 0.00 0.00 0.00 0.54 0.46
#> TCGA.SX.A7SS.01     1  0.0000    0.91089 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.B9.A69E.01     3  0.0000    0.96912 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.BQ.5878.01     1  0.0000    0.91089 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.DW.5561.01     6  0.3828    0.44778 0.44 0.00 0.00 0.00 0.00 0.56
#> TCGA.PJ.A8JU.01     3  0.3647    0.50918 0.00 0.00 0.64 0.00 0.00 0.36
#> TCGA.EV.5901.01     5  0.0000    0.85385 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.SX.A7SR.01     6  0.1267    0.61135 0.00 0.00 0.00 0.00 0.06 0.94
#> TCGA.BQ.5894.01     4  0.0000    0.98355 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.KV.A6GE.01     1  0.2048    0.76726 0.88 0.00 0.00 0.00 0.00 0.12
#> TCGA.BQ.5882.01     4  0.0000    0.98355 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.SX.A7SQ.01     1  0.0000    0.91089 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.F9.A7Q0.01     3  0.2631    0.74301 0.00 0.00 0.82 0.00 0.18 0.00
#> TCGA.IZ.A6M8.01     5  0.0000    0.85385 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.B1.A654.01     1  0.3198    0.51108 0.74 0.00 0.00 0.00 0.00 0.26
#> TCGA.B3.8121.01     3  0.0000    0.96912 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.MH.A856.01     5  0.0000    0.85385 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.G7.A4TM.01     1  0.0547    0.88779 0.98 0.00 0.00 0.00 0.02 0.00
#> TCGA.IZ.8196.01     1  0.0000    0.91089 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.B9.A5W7.01     1  0.1814    0.78340 0.90 0.00 0.00 0.00 0.10 0.00
#> TCGA.B9.5156.01     5  0.0000    0.85385 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.A4.A7UZ.01     3  0.0000    0.96912 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.Y8.A897.01     5  0.0000    0.85385 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.SX.A7SP.01     5  0.3309    0.70920 0.00 0.00 0.00 0.00 0.72 0.28
#> TCGA.Y8.A8RZ.01     6  0.0000    0.64216 0.00 0.00 0.00 0.00 0.00 1.00
#> TCGA.A4.A5XZ.01     6  0.1267    0.61135 0.00 0.00 0.00 0.00 0.06 0.94
#> TCGA.Y8.A898.01     5  0.0000    0.85385 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.BQ.5893.01     4  0.0000    0.98355 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.SX.A7SU.01     1  0.0000    0.91089 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.IZ.8195.01     4  0.0000    0.98355 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.GL.8500.01     1  0.0000    0.91089 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.EV.5902.01     6  0.3828    0.44778 0.44 0.00 0.00 0.00 0.00 0.56
#> TCGA.J7.A8I2.01     3  0.3797    0.27916 0.00 0.42 0.58 0.00 0.00 0.00
#> TCGA.A4.8516.01     1  0.0000    0.91089 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.A4.8312.01     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5880.01     3  0.0000    0.96912 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.Y8.A8RY.01     5  0.0000    0.85385 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.SX.A7SN.01     5  0.0547    0.83859 0.02 0.00 0.00 0.00 0.98 0.00
#> TCGA.MH.A854.01     1  0.0000    0.91089 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.A4.8517.01     6  0.3828   -0.34955 0.00 0.00 0.00 0.00 0.44 0.56
#> TCGA.GL.A9DD.01     3  0.0000    0.96912 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.A4.8630.01     1  0.3851   -0.16398 0.54 0.00 0.00 0.00 0.00 0.46
#> TCGA.4A.A93W.01     1  0.0000    0.91089 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.SX.A7SO.01     5  0.3409    0.69413 0.00 0.00 0.00 0.00 0.70 0.30
#> TCGA.GL.A9DC.01     1  0.0000    0.91089 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.A4.8515.01     1  0.0000    0.91089 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.IZ.A6M9.01     6  0.3828    0.44778 0.44 0.00 0.00 0.00 0.00 0.56
#> TCGA.BQ.5880.11     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.B1.A657.01     5  0.0000    0.85385 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.G7.A8LD.01     4  0.0000    0.98355 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.Y8.A8S1.01     3  0.0000    0.96912 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.IA.A83S.01     5  0.3756    0.40863 0.00 0.00 0.40 0.00 0.60 0.00
#> TCGA.Y8.A8S0.01     1  0.3851   -0.16398 0.54 0.00 0.00 0.00 0.00 0.46
#> TCGA.BQ.5884.11     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.B1.A655.01     3  0.0000    0.96912 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.BQ.5877.11     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.EV.5903.01     5  0.0000    0.85385 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.J7.8537.01     4  0.0937    0.94164 0.00 0.00 0.04 0.96 0.00 0.00
#> TCGA.A4.A6HP.01     5  0.0000    0.85385 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.BQ.5890.01     4  0.0000    0.98355 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.Y8.A896.01     3  0.0000    0.96912 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.BQ.5888.01     3  0.0000    0.96912 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.BQ.5879.01     4  0.0000    0.98355 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.GL.A9DE.01     4  0.0000    0.98355 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.G7.A8LB.01     1  0.0000    0.91089 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.IA.A83T.01     3  0.0000    0.96912 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.IA.A83V.01     3  0.0000    0.96912 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.BQ.5876.11     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5885.11     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.KV.A6GD.01     3  0.0000    0.96912 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.SX.A7SL.01     6  0.3828    0.44778 0.44 0.00 0.00 0.00 0.00 0.56
#> TCGA.B9.A8YI.01     4  0.0000    0.98355 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.B9.A8YH.01     1  0.0000    0.91089 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.4A.A93Y.01     3  0.0000    0.96912 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.BQ.5886.01     5  0.3706    0.61942 0.00 0.00 0.00 0.00 0.62 0.38
#> TCGA.A4.A5Y0.01     6  0.0000    0.64216 0.00 0.00 0.00 0.00 0.00 1.00
#> TCGA.A4.8098.01     6  0.0000    0.64216 0.00 0.00 0.00 0.00 0.00 1.00
#> TCGA.MH.A857.01     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5889.11     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.DW.5560.01     5  0.3756    0.27495 0.40 0.00 0.00 0.00 0.60 0.00
#> TCGA.F9.A8NY.01     4  0.0000    0.98355 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.BQ.5894.11     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5891.11     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.G7.A8LE.01     1  0.0000    0.91089 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.SX.A71W.01     6  0.3828    0.44778 0.44 0.00 0.00 0.00 0.00 0.56
#> TCGA.Y8.A894.01     6  0.3828    0.44778 0.44 0.00 0.00 0.00 0.00 0.56
#> TCGA.WN.A9G9.01     3  0.0000    0.96912 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.A4.8310.01     6  0.0000    0.64216 0.00 0.00 0.00 0.00 0.00 1.00
#> TCGA.A4.8518.01     3  0.0000    0.96912 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.BQ.5881.11     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5893.11     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.A4.8311.01     1  0.0000    0.91089 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5891.01     4  0.0000    0.98355 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.Y8.A895.01     1  0.0000    0.91089 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5876.01     3  0.2941    0.70866 0.00 0.00 0.78 0.22 0.00 0.00
#> TCGA.MH.A855.01     3  0.3578    0.53838 0.00 0.00 0.66 0.00 0.00 0.34
#> TCGA.P4.AAVO.01     4  0.0000    0.98355 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.BQ.5886.11     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.2Z.A9JS.01     1  0.0000    0.91089 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5888.11     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.2Z.A9J8.01     6  0.1092    0.64299 0.02 0.00 0.00 0.00 0.02 0.96
#> TCGA.KV.A74V.01     6  0.3851    0.39470 0.46 0.00 0.00 0.00 0.00 0.54
#> TCGA.A4.A5Y1.01     4  0.1814    0.89644 0.00 0.00 0.00 0.90 0.00 0.10
#> TCGA.BQ.5875.01     4  0.0000    0.98355 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.UZ.A9PZ.01     1  0.0000    0.91089 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.Q2.A5QZ.01     4  0.0000    0.98355 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.P4.A5E8.01     4  0.0000    0.98355 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.B9.5155.01     1  0.3864   -0.23557 0.52 0.00 0.00 0.00 0.00 0.48
#> TCGA.B9.A5W9.01     4  0.2048    0.87571 0.00 0.00 0.00 0.88 0.00 0.12
#> TCGA.5P.A9K4.01     1  0.3797   -0.00993 0.58 0.00 0.00 0.00 0.00 0.42
#> TCGA.P4.A5E7.01     5  0.0000    0.85385 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.PJ.A5Z9.01     6  0.3828    0.44778 0.44 0.00 0.00 0.00 0.00 0.56
#> TCGA.5P.A9K8.01     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.5P.A9KF.01     1  0.0000    0.91089 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.P4.AAVK.01     4  0.0000    0.98355 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.2Z.A9JM.01     5  0.0000    0.85385 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.A4.A48D.01     3  0.0000    0.96912 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.BQ.5889.01     3  0.0000    0.96912 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.2Z.A9JD.01     5  0.0000    0.85385 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.5P.A9K2.01     1  0.0000    0.91089 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.2Z.A9JO.01     3  0.0000    0.96912 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.5P.A9K9.01     4  0.0000    0.98355 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.UZ.A9PV.01     1  0.0000    0.91089 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.SX.A71V.01     6  0.4890    0.58090 0.18 0.00 0.00 0.00 0.16 0.66
#> TCGA.BQ.5892.11     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.UZ.A9Q0.01     1  0.0000    0.91089 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.UZ.A9PX.01     1  0.0000    0.91089 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.UZ.A9PR.01     1  0.0000    0.91089 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.IA.A40X.01     5  0.3828    0.55186 0.00 0.00 0.00 0.00 0.56 0.44
#> TCGA.5P.A9JW.01     3  0.0000    0.96912 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.IA.A40Y.01     4  0.0000    0.98355 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.BQ.5883.11     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5878.11     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.P4.A5EA.01     4  0.0000    0.98355 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.5P.A9KE.01     5  0.3647    0.49478 0.00 0.00 0.36 0.00 0.64 0.00
#> TCGA.5P.A9K3.01     4  0.0000    0.98355 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.B1.A47N.01     1  0.3198    0.51108 0.74 0.00 0.00 0.00 0.00 0.26
#> TCGA.5P.A9KA.01     5  0.0000    0.85385 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.BQ.5879.11     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.P4.A5ED.01     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.A4.A772.01     5  0.0000    0.85385 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.B1.A47O.01     3  0.0000    0.96912 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.IA.A40U.01     5  0.3756    0.58822 0.00 0.00 0.00 0.00 0.60 0.40
#> TCGA.2Z.A9JE.01     1  0.0000    0.91089 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.B9.A44B.01     4  0.0000    0.98355 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.AT.A5NU.01     6  0.3828    0.44778 0.44 0.00 0.00 0.00 0.00 0.56
#> TCGA.BQ.5882.11     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5877.01     4  0.0000    0.98355 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.DW.7963.01     5  0.3409    0.59765 0.00 0.00 0.30 0.00 0.70 0.00
#> TCGA.2Z.A9JL.01     5  0.0000    0.85385 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.2Z.A9JQ.01     1  0.0000    0.91089 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.2Z.A9JK.01     3  0.0000    0.96912 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.UZ.A9PU.01     1  0.0000    0.91089 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.P4.A5EB.01     6  0.3828    0.44778 0.44 0.00 0.00 0.00 0.00 0.56
#> TCGA.BQ.5892.01     3  0.0000    0.96912 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.B1.A47M.11     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.2Z.A9J9.01     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.UZ.A9PS.05     3  0.0000    0.96912 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.P4.AAVM.01     5  0.3499    0.67681 0.00 0.00 0.00 0.00 0.68 0.32
#> TCGA.PJ.A5Z8.01     3  0.0000    0.96912 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.5P.A9JZ.01     5  0.0000    0.85385 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.2Z.A9JG.01     6  0.2793    0.49023 0.00 0.00 0.00 0.20 0.00 0.80
#> TCGA.BQ.5884.01     3  0.0000    0.96912 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.2Z.A9JI.01     4  0.0000    0.98355 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.BQ.5890.11     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5881.01     5  0.3309    0.70920 0.00 0.00 0.00 0.00 0.72 0.28
#> TCGA.UZ.A9PP.01     1  0.0000    0.91089 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.5P.A9JU.01     4  0.0000    0.98355 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.2Z.A9JN.01     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.UZ.A9PS.01     6  0.0000    0.64216 0.00 0.00 0.00 0.00 0.00 1.00
#> TCGA.BQ.5875.11     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.5P.A9JY.01     1  0.0000    0.91089 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.B9.A5W8.01     3  0.0000    0.96912 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.F9.A4JJ.01     4  0.0000    0.98355 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.BQ.5883.01     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.5P.A9K0.01     6  0.5037   -0.25764 0.00 0.00 0.00 0.08 0.38 0.54
#> TCGA.P4.AAVL.01     1  0.0000    0.91089 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.B1.5398.01     3  0.0000    0.96912 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.5P.A9K6.01     5  0.0000    0.85385 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.UZ.A9PQ.01     4  0.0000    0.98355 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.P4.A5E6.01     6  0.0000    0.64216 0.00 0.00 0.00 0.00 0.00 1.00
#> TCGA.BQ.5885.01     5  0.3309    0.70920 0.00 0.00 0.00 0.00 0.72 0.28
#> TCGA.UZ.A9Q1.01     4  0.0000    0.98355 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.2Z.A9JP.01     5  0.3828    0.55186 0.00 0.00 0.00 0.00 0.56 0.44
#> TCGA.5P.A9KC.01     3  0.0000    0.96912 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.5P.A9KH.01     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.2Z.A9JR.01     5  0.0000    0.85385 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.GL.A59T.01     5  0.0000    0.85385 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.5P.A9JV.01     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.WN.AB4C.01     3  0.0000    0.96912 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.SX.A71R.01     1  0.0000    0.91089 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.A4.A5DU.01     1  0.0000    0.91089 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.B1.A47M.01     5  0.0000    0.85385 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.2Z.A9JJ.01     5  0.0000    0.85385 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.2Z.A9JT.01     5  0.3706    0.61942 0.00 0.00 0.00 0.00 0.62 0.38
#> TCGA.GL.A4EM.01     3  0.0000    0.96912 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.HE.7129.01     1  0.0000    0.91089 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.HE.7128.01     3  0.0000    0.96912 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.HE.A5NL.01     5  0.0000    0.85385 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.G7.7502.01     5  0.3706    0.61942 0.00 0.00 0.00 0.00 0.62 0.38
#> TCGA.BQ.7059.01     3  0.0000    0.96912 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.DZ.6134.11     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.HE.A5NJ.01     6  0.0547    0.65049 0.02 0.00 0.00 0.00 0.00 0.98
#> TCGA.BQ.7053.11     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.GL.6846.11     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.GL.6846.01     4  0.1814    0.89644 0.00 0.00 0.00 0.90 0.00 0.10
#> TCGA.DW.7839.01     1  0.0000    0.91089 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.DW.7841.01     5  0.0000    0.85385 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.BQ.7049.01     3  0.0000    0.96912 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.G7.6793.01     4  0.0000    0.98355 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.BQ.7051.01     6  0.3797    0.46718 0.42 0.00 0.00 0.00 0.00 0.58
#> TCGA.BQ.7045.01     5  0.0000    0.85385 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.HE.A5NF.01     3  0.0000    0.96912 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.A4.7996.01     5  0.3706    0.61942 0.00 0.00 0.00 0.00 0.62 0.38
#> TCGA.BQ.7046.01     5  0.3309    0.70920 0.00 0.00 0.00 0.00 0.72 0.28
#> TCGA.DZ.6132.11     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.G7.7501.01     5  0.3869    0.45193 0.00 0.00 0.00 0.00 0.50 0.50
#> TCGA.O9.A75Z.01     1  0.3309    0.50132 0.72 0.00 0.00 0.00 0.28 0.00
#> TCGA.DW.7834.01     5  0.0000    0.85385 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.DZ.6133.01     1  0.0000    0.91089 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.A4.A4ZT.01     6  0.3828    0.44778 0.44 0.00 0.00 0.00 0.00 0.56
#> TCGA.BQ.7060.01     5  0.0000    0.85385 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.G7.6792.01     5  0.0000    0.85385 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.HE.7130.01     3  0.0000    0.96912 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.GL.7773.01     5  0.0000    0.85385 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.DZ.6133.11     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.B1.7332.01     6  0.3828    0.44778 0.44 0.00 0.00 0.00 0.00 0.56
#> TCGA.BQ.7053.01     5  0.3409    0.69413 0.00 0.00 0.00 0.00 0.70 0.30
#> TCGA.DZ.6131.01     3  0.0000    0.96912 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.BQ.7062.01     5  0.3156    0.71797 0.00 0.00 0.18 0.00 0.80 0.02
#> TCGA.BQ.7046.11     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.A4.7288.01     6  0.0000    0.64216 0.00 0.00 0.00 0.00 0.00 1.00
#> TCGA.DZ.6131.11     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7062.11     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7061.01     4  0.0000    0.98355 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.A4.7286.01     5  0.3309    0.70920 0.00 0.00 0.00 0.00 0.72 0.28
#> TCGA.G7.6797.01     6  0.3828    0.44778 0.44 0.00 0.00 0.00 0.00 0.56
#> TCGA.BQ.7058.01     4  0.0000    0.98355 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.G7.6795.01     5  0.1556    0.78971 0.00 0.00 0.00 0.00 0.92 0.08
#> TCGA.HE.A5NH.01     1  0.3309    0.50132 0.72 0.00 0.00 0.00 0.28 0.00
#> TCGA.MH.A55W.01     6  0.2048    0.57403 0.00 0.00 0.00 0.00 0.12 0.88
#> TCGA.G7.6790.01     5  0.0000    0.85385 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.MH.A560.01     3  0.0000    0.96912 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.A4.7997.01     5  0.0000    0.85385 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.MH.A561.01     6  0.3828    0.23575 0.00 0.00 0.00 0.00 0.44 0.56
#> TCGA.BQ.7056.11     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.B9.7268.01     1  0.0000    0.91089 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7055.11     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.HE.A5NI.01     6  0.3828    0.44778 0.44 0.00 0.00 0.00 0.00 0.56
#> TCGA.GL.7966.01     4  0.0000    0.98355 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.BQ.7059.11     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.A4.A57E.01     5  0.3409    0.69413 0.00 0.00 0.00 0.00 0.70 0.30
#> TCGA.A4.7288.11     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.AL.A5DJ.01     4  0.0000    0.98355 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.G7.6796.01     3  0.0000    0.96912 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.DW.7837.01     5  0.0000    0.85385 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.BQ.7051.11     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7048.01     4  0.0000    0.98355 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.F9.A7VF.01     1  0.0000    0.91089 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7049.11     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.DZ.6134.01     3  0.0000    0.96912 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.BQ.5887.01     4  0.0000    0.98355 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.DZ.6135.01     1  0.3797   -0.01256 0.58 0.00 0.00 0.00 0.00 0.42
#> TCGA.MH.A55Z.01     1  0.0000    0.91089 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.A4.7915.01     4  0.0000    0.98355 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.BQ.7048.11     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.HE.A5NK.01     3  0.0000    0.96912 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.G7.6789.01     4  0.0000    0.98355 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.AL.7173.01     3  0.0000    0.96912 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.SX.A71S.01     1  0.0000    0.91089 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7061.11     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.DW.7840.01     1  0.0000    0.91089 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.GL.A59R.01     1  0.0000    0.91089 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7050.11     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7058.11     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.DW.7838.01     3  0.0000    0.96912 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.SX.A71U.01     5  0.0000    0.85385 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.DZ.6135.11     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7044.11     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.V9.A7HT.01     3  0.0000    0.96912 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.DW.7842.01     1  0.0000    0.91089 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7050.01     5  0.3409    0.69413 0.00 0.00 0.00 0.00 0.70 0.30
#> TCGA.BQ.7055.01     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.J7.6720.01     5  0.0000    0.85385 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.BQ.7060.11     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7044.01     4  0.0000    0.98355 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.DZ.6132.01     3  0.0000    0.96912 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.DW.7836.01     1  0.0000    0.91089 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.A4.7828.01     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5887.11     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.B3.A6W5.01     6  0.3647    0.51680 0.36 0.00 0.00 0.00 0.00 0.64
#> TCGA.MH.A562.01     5  0.0000    0.85385 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.A4.7734.01     1  0.1556    0.81135 0.92 0.00 0.00 0.00 0.08 0.00
#> TCGA.BQ.7045.11     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.A4.7584.01     5  0.0547    0.83834 0.02 0.00 0.00 0.00 0.98 0.00
#> TCGA.BQ.7056.01     6  0.0000    0.64216 0.00 0.00 0.00 0.00 0.00 1.00
#> TCGA.A4.7287.01     3  0.0000    0.96912 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.UZ.A9PJ.01     1  0.0000    0.91089 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.2Z.A9J1.01     5  0.0000    0.85385 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.UN.AAZ9.01     5  0.3851    0.52209 0.00 0.00 0.00 0.00 0.54 0.46
#> TCGA.UZ.A9PO.01     3  0.1267    0.91359 0.00 0.00 0.94 0.00 0.00 0.06
#> TCGA.UZ.A9PL.01     1  0.0000    0.91089 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.A4.7732.11     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.A4.7732.01     1  0.0000    0.91089 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.2Z.A9J2.01     3  0.0000    0.96912 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.2Z.A9J3.01     1  0.0000    0.91089 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.2Z.A9J6.01     5  0.0000    0.85385 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.F9.A97G.01     3  0.0000    0.96912 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.UZ.A9PM.01     3  0.0000    0.96912 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.A4.7585.11     2  0.0000    1.00000 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.2K.A9WE.01     3  0.0000    0.96912 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.A4.7583.01     6  0.0937    0.62099 0.00 0.00 0.00 0.04 0.00 0.96
#> TCGA.UZ.A9PK.01     1  0.0000    0.91089 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.UZ.A9PN.01     3  0.0000    0.96912 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.2Z.A9J7.01     1  0.2941    0.59594 0.78 0.00 0.00 0.00 0.00 0.22
#> TCGA.2Z.A9J5.01     5  0.0000    0.85385 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.A4.7585.01     3  0.0000    0.96912 0.00 0.00 1.00 0.00 0.00 0.00

show/hide code output

cbind(get_classes(res, k = 7), get_membership(res, k = 7))
#>                 class entropy silhouette   p1  p2   p3   p4   p5   p6   p7
#> TCGA.SX.A7SM.01     4  0.0000      0.974 0.00 0.0 0.00 1.00 0.00 0.00 0.00
#> TCGA.IA.A83W.01     5  0.0000      0.952 0.00 0.0 0.00 0.00 1.00 0.00 0.00
#> TCGA.B1.A656.01     4  0.2708      0.704 0.00 0.0 0.22 0.78 0.00 0.00 0.00
#> TCGA.4A.A93X.01     4  0.0000      0.974 0.00 0.0 0.00 1.00 0.00 0.00 0.00
#> TCGA.G7.A8LC.01     7  0.0504      0.817 0.00 0.0 0.00 0.00 0.00 0.02 0.98
#> TCGA.SX.A7SS.01     1  0.0000      0.937 1.00 0.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.B9.A69E.01     3  0.0000      0.958 0.00 0.0 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5878.01     1  0.3294      0.461 0.66 0.0 0.00 0.00 0.00 0.34 0.00
#> TCGA.DW.5561.01     6  0.1664      0.867 0.06 0.0 0.00 0.00 0.02 0.92 0.00
#> TCGA.PJ.A8JU.01     7  0.0000      0.820 0.00 0.0 0.00 0.00 0.00 0.00 1.00
#> TCGA.EV.5901.01     5  0.0000      0.952 0.00 0.0 0.00 0.00 1.00 0.00 0.00
#> TCGA.SX.A7SR.01     6  0.5401     -0.127 0.00 0.0 0.00 0.00 0.20 0.44 0.36
#> TCGA.BQ.5894.01     4  0.0000      0.974 0.00 0.0 0.00 1.00 0.00 0.00 0.00
#> TCGA.KV.A6GE.01     6  0.3388      0.726 0.20 0.0 0.00 0.00 0.04 0.76 0.00
#> TCGA.BQ.5882.01     4  0.0000      0.974 0.00 0.0 0.00 1.00 0.00 0.00 0.00
#> TCGA.SX.A7SQ.01     1  0.0000      0.937 1.00 0.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.F9.A7Q0.01     3  0.2259      0.798 0.00 0.0 0.84 0.00 0.00 0.00 0.16
#> TCGA.IZ.A6M8.01     5  0.2422      0.759 0.00 0.0 0.00 0.00 0.82 0.00 0.18
#> TCGA.B1.A654.01     6  0.1166      0.884 0.06 0.0 0.00 0.00 0.00 0.94 0.00
#> TCGA.B3.8121.01     3  0.0000      0.958 0.00 0.0 1.00 0.00 0.00 0.00 0.00
#> TCGA.MH.A856.01     5  0.0000      0.952 0.00 0.0 0.00 0.00 1.00 0.00 0.00
#> TCGA.G7.A4TM.01     1  0.0863      0.912 0.96 0.0 0.00 0.00 0.04 0.00 0.00
#> TCGA.IZ.8196.01     1  0.0000      0.937 1.00 0.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.B9.A5W7.01     1  0.1166      0.896 0.94 0.0 0.00 0.00 0.06 0.00 0.00
#> TCGA.B9.5156.01     5  0.0504      0.949 0.00 0.0 0.00 0.00 0.98 0.00 0.02
#> TCGA.A4.A7UZ.01     3  0.2572      0.745 0.00 0.0 0.80 0.00 0.00 0.00 0.20
#> TCGA.Y8.A897.01     5  0.0504      0.949 0.00 0.0 0.00 0.00 0.98 0.00 0.02
#> TCGA.SX.A7SP.01     7  0.3459      0.407 0.00 0.0 0.00 0.00 0.40 0.00 0.60
#> TCGA.Y8.A8RZ.01     7  0.0863      0.813 0.00 0.0 0.00 0.00 0.00 0.04 0.96
#> TCGA.A4.A5XZ.01     7  0.5207      0.324 0.00 0.0 0.00 0.00 0.16 0.36 0.48
#> TCGA.Y8.A898.01     5  0.0863      0.936 0.00 0.0 0.00 0.00 0.96 0.00 0.04
#> TCGA.BQ.5893.01     4  0.0000      0.974 0.00 0.0 0.00 1.00 0.00 0.00 0.00
#> TCGA.SX.A7SU.01     1  0.0504      0.926 0.98 0.0 0.00 0.00 0.02 0.00 0.00
#> TCGA.IZ.8195.01     4  0.0504      0.961 0.00 0.0 0.00 0.98 0.00 0.02 0.00
#> TCGA.GL.8500.01     1  0.0000      0.937 1.00 0.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.EV.5902.01     6  0.0863      0.888 0.04 0.0 0.00 0.00 0.00 0.96 0.00
#> TCGA.J7.A8I2.01     3  0.3459      0.340 0.00 0.4 0.60 0.00 0.00 0.00 0.00
#> TCGA.A4.8516.01     1  0.0000      0.937 1.00 0.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.A4.8312.01     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5880.01     3  0.0000      0.958 0.00 0.0 1.00 0.00 0.00 0.00 0.00
#> TCGA.Y8.A8RY.01     5  0.0000      0.952 0.00 0.0 0.00 0.00 1.00 0.00 0.00
#> TCGA.SX.A7SN.01     5  0.0000      0.952 0.00 0.0 0.00 0.00 1.00 0.00 0.00
#> TCGA.MH.A854.01     1  0.0504      0.926 0.98 0.0 0.00 0.00 0.02 0.00 0.00
#> TCGA.A4.8517.01     7  0.1006      0.814 0.00 0.0 0.00 0.00 0.02 0.02 0.96
#> TCGA.GL.A9DD.01     3  0.0000      0.958 0.00 0.0 1.00 0.00 0.00 0.00 0.00
#> TCGA.A4.8630.01     6  0.1166      0.884 0.06 0.0 0.00 0.00 0.00 0.94 0.00
#> TCGA.4A.A93W.01     1  0.0000      0.937 1.00 0.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.SX.A7SO.01     7  0.1433      0.812 0.00 0.0 0.00 0.00 0.08 0.00 0.92
#> TCGA.GL.A9DC.01     1  0.3413      0.362 0.62 0.0 0.00 0.00 0.00 0.38 0.00
#> TCGA.A4.8515.01     1  0.0504      0.928 0.98 0.0 0.00 0.00 0.00 0.02 0.00
#> TCGA.IZ.A6M9.01     6  0.0504      0.879 0.02 0.0 0.00 0.00 0.00 0.98 0.00
#> TCGA.BQ.5880.11     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.B1.A657.01     5  0.0504      0.949 0.00 0.0 0.00 0.00 0.98 0.00 0.02
#> TCGA.G7.A8LD.01     4  0.0000      0.974 0.00 0.0 0.00 1.00 0.00 0.00 0.00
#> TCGA.Y8.A8S1.01     3  0.0000      0.958 0.00 0.0 1.00 0.00 0.00 0.00 0.00
#> TCGA.IA.A83S.01     3  0.5164      0.275 0.00 0.0 0.54 0.00 0.26 0.00 0.20
#> TCGA.Y8.A8S0.01     6  0.1166      0.884 0.06 0.0 0.00 0.00 0.00 0.94 0.00
#> TCGA.BQ.5884.11     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.B1.A655.01     3  0.0000      0.958 0.00 0.0 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5877.11     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.EV.5903.01     5  0.0504      0.949 0.00 0.0 0.00 0.00 0.98 0.00 0.02
#> TCGA.J7.8537.01     4  0.1166      0.913 0.00 0.0 0.06 0.94 0.00 0.00 0.00
#> TCGA.A4.A6HP.01     5  0.0000      0.952 0.00 0.0 0.00 0.00 1.00 0.00 0.00
#> TCGA.BQ.5890.01     4  0.0000      0.974 0.00 0.0 0.00 1.00 0.00 0.00 0.00
#> TCGA.Y8.A896.01     3  0.0000      0.958 0.00 0.0 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5888.01     3  0.0000      0.958 0.00 0.0 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5879.01     4  0.0000      0.974 0.00 0.0 0.00 1.00 0.00 0.00 0.00
#> TCGA.GL.A9DE.01     4  0.0000      0.974 0.00 0.0 0.00 1.00 0.00 0.00 0.00
#> TCGA.G7.A8LB.01     6  0.3413      0.404 0.38 0.0 0.00 0.00 0.00 0.62 0.00
#> TCGA.IA.A83T.01     3  0.0000      0.958 0.00 0.0 1.00 0.00 0.00 0.00 0.00
#> TCGA.IA.A83V.01     3  0.0000      0.958 0.00 0.0 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5876.11     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5885.11     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.KV.A6GD.01     3  0.0000      0.958 0.00 0.0 1.00 0.00 0.00 0.00 0.00
#> TCGA.SX.A7SL.01     6  0.0863      0.888 0.04 0.0 0.00 0.00 0.00 0.96 0.00
#> TCGA.B9.A8YI.01     4  0.0000      0.974 0.00 0.0 0.00 1.00 0.00 0.00 0.00
#> TCGA.B9.A8YH.01     1  0.0000      0.937 1.00 0.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.4A.A93Y.01     3  0.0000      0.958 0.00 0.0 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5886.01     7  0.0504      0.820 0.00 0.0 0.00 0.00 0.02 0.00 0.98
#> TCGA.A4.A5Y0.01     7  0.1166      0.806 0.00 0.0 0.00 0.00 0.00 0.06 0.94
#> TCGA.A4.8098.01     7  0.1166      0.806 0.00 0.0 0.00 0.00 0.00 0.06 0.94
#> TCGA.MH.A857.01     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5889.11     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.DW.5560.01     1  0.3358      0.452 0.64 0.0 0.00 0.00 0.36 0.00 0.00
#> TCGA.F9.A8NY.01     4  0.0000      0.974 0.00 0.0 0.00 1.00 0.00 0.00 0.00
#> TCGA.BQ.5894.11     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5891.11     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.G7.A8LE.01     1  0.0000      0.937 1.00 0.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.SX.A71W.01     6  0.0863      0.888 0.04 0.0 0.00 0.00 0.00 0.96 0.00
#> TCGA.Y8.A894.01     6  0.0863      0.888 0.04 0.0 0.00 0.00 0.00 0.96 0.00
#> TCGA.WN.A9G9.01     3  0.0000      0.958 0.00 0.0 1.00 0.00 0.00 0.00 0.00
#> TCGA.A4.8310.01     7  0.3139      0.542 0.00 0.0 0.00 0.00 0.00 0.30 0.70
#> TCGA.A4.8518.01     3  0.0000      0.958 0.00 0.0 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5881.11     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5893.11     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.A4.8311.01     1  0.0504      0.928 0.98 0.0 0.00 0.00 0.00 0.02 0.00
#> TCGA.BQ.5891.01     4  0.0000      0.974 0.00 0.0 0.00 1.00 0.00 0.00 0.00
#> TCGA.Y8.A895.01     1  0.0000      0.937 1.00 0.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5876.01     3  0.3413      0.387 0.00 0.0 0.62 0.38 0.00 0.00 0.00
#> TCGA.MH.A855.01     7  0.0000      0.820 0.00 0.0 0.00 0.00 0.00 0.00 1.00
#> TCGA.P4.AAVO.01     4  0.0000      0.974 0.00 0.0 0.00 1.00 0.00 0.00 0.00
#> TCGA.BQ.5886.11     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.2Z.A9JS.01     6  0.2422      0.781 0.18 0.0 0.00 0.00 0.00 0.82 0.00
#> TCGA.BQ.5888.11     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.2Z.A9J8.01     6  0.1363      0.844 0.00 0.0 0.00 0.00 0.02 0.94 0.04
#> TCGA.KV.A74V.01     6  0.0863      0.888 0.04 0.0 0.00 0.00 0.00 0.96 0.00
#> TCGA.A4.A5Y1.01     4  0.1928      0.893 0.00 0.0 0.00 0.90 0.00 0.02 0.08
#> TCGA.BQ.5875.01     4  0.0000      0.974 0.00 0.0 0.00 1.00 0.00 0.00 0.00
#> TCGA.UZ.A9PZ.01     1  0.0000      0.937 1.00 0.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.Q2.A5QZ.01     4  0.0000      0.974 0.00 0.0 0.00 1.00 0.00 0.00 0.00
#> TCGA.P4.A5E8.01     4  0.0000      0.974 0.00 0.0 0.00 1.00 0.00 0.00 0.00
#> TCGA.B9.5155.01     6  0.1166      0.884 0.06 0.0 0.00 0.00 0.00 0.94 0.00
#> TCGA.B9.A5W9.01     4  0.2278      0.874 0.00 0.0 0.00 0.88 0.00 0.04 0.08
#> TCGA.5P.A9K4.01     6  0.1166      0.884 0.06 0.0 0.00 0.00 0.00 0.94 0.00
#> TCGA.P4.A5E7.01     5  0.0504      0.949 0.00 0.0 0.00 0.00 0.98 0.00 0.02
#> TCGA.PJ.A5Z9.01     6  0.0863      0.888 0.04 0.0 0.00 0.00 0.00 0.96 0.00
#> TCGA.5P.A9K8.01     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.5P.A9KF.01     1  0.0000      0.937 1.00 0.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.P4.AAVK.01     4  0.0000      0.974 0.00 0.0 0.00 1.00 0.00 0.00 0.00
#> TCGA.2Z.A9JM.01     5  0.0504      0.949 0.00 0.0 0.00 0.00 0.98 0.00 0.02
#> TCGA.A4.A48D.01     3  0.0000      0.958 0.00 0.0 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5889.01     3  0.0000      0.958 0.00 0.0 1.00 0.00 0.00 0.00 0.00
#> TCGA.2Z.A9JD.01     5  0.0504      0.949 0.00 0.0 0.00 0.00 0.98 0.00 0.02
#> TCGA.5P.A9K2.01     1  0.0504      0.928 0.98 0.0 0.00 0.00 0.00 0.02 0.00
#> TCGA.2Z.A9JO.01     3  0.0000      0.958 0.00 0.0 1.00 0.00 0.00 0.00 0.00
#> TCGA.5P.A9K9.01     4  0.0000      0.974 0.00 0.0 0.00 1.00 0.00 0.00 0.00
#> TCGA.UZ.A9PV.01     1  0.3496      0.251 0.58 0.0 0.00 0.00 0.00 0.42 0.00
#> TCGA.SX.A71V.01     6  0.0504      0.868 0.00 0.0 0.00 0.00 0.02 0.98 0.00
#> TCGA.BQ.5892.11     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.UZ.A9Q0.01     1  0.0000      0.937 1.00 0.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.UZ.A9PX.01     1  0.0000      0.937 1.00 0.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.UZ.A9PR.01     1  0.0000      0.937 1.00 0.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.IA.A40X.01     7  0.0000      0.820 0.00 0.0 0.00 0.00 0.00 0.00 1.00
#> TCGA.5P.A9JW.01     3  0.0863      0.926 0.00 0.0 0.96 0.00 0.00 0.00 0.04
#> TCGA.IA.A40Y.01     4  0.0000      0.974 0.00 0.0 0.00 1.00 0.00 0.00 0.00
#> TCGA.BQ.5883.11     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5878.11     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.P4.A5EA.01     4  0.0000      0.974 0.00 0.0 0.00 1.00 0.00 0.00 0.00
#> TCGA.5P.A9KE.01     7  0.5490      0.298 0.00 0.0 0.24 0.00 0.32 0.00 0.44
#> TCGA.5P.A9K3.01     4  0.0000      0.974 0.00 0.0 0.00 1.00 0.00 0.00 0.00
#> TCGA.B1.A47N.01     6  0.1166      0.884 0.06 0.0 0.00 0.00 0.00 0.94 0.00
#> TCGA.5P.A9KA.01     5  0.0504      0.949 0.00 0.0 0.00 0.00 0.98 0.00 0.02
#> TCGA.BQ.5879.11     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.P4.A5ED.01     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.A4.A772.01     5  0.0000      0.952 0.00 0.0 0.00 0.00 1.00 0.00 0.00
#> TCGA.B1.A47O.01     3  0.0000      0.958 0.00 0.0 1.00 0.00 0.00 0.00 0.00
#> TCGA.IA.A40U.01     7  0.4070      0.570 0.00 0.0 0.00 0.00 0.34 0.04 0.62
#> TCGA.2Z.A9JE.01     1  0.0000      0.937 1.00 0.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.B9.A44B.01     4  0.0000      0.974 0.00 0.0 0.00 1.00 0.00 0.00 0.00
#> TCGA.AT.A5NU.01     6  0.0863      0.888 0.04 0.0 0.00 0.00 0.00 0.96 0.00
#> TCGA.BQ.5882.11     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5877.01     4  0.0000      0.974 0.00 0.0 0.00 1.00 0.00 0.00 0.00
#> TCGA.DW.7963.01     5  0.4478      0.514 0.00 0.0 0.14 0.00 0.66 0.00 0.20
#> TCGA.2Z.A9JL.01     5  0.1671      0.832 0.10 0.0 0.00 0.00 0.90 0.00 0.00
#> TCGA.2Z.A9JQ.01     1  0.0000      0.937 1.00 0.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.2Z.A9JK.01     3  0.0000      0.958 0.00 0.0 1.00 0.00 0.00 0.00 0.00
#> TCGA.UZ.A9PU.01     1  0.0000      0.937 1.00 0.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.P4.A5EB.01     6  0.1363      0.878 0.04 0.0 0.00 0.00 0.02 0.94 0.00
#> TCGA.BQ.5892.01     3  0.0000      0.958 0.00 0.0 1.00 0.00 0.00 0.00 0.00
#> TCGA.B1.A47M.11     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.2Z.A9J9.01     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.UZ.A9PS.05     3  0.0000      0.958 0.00 0.0 1.00 0.00 0.00 0.00 0.00
#> TCGA.P4.AAVM.01     7  0.1433      0.812 0.00 0.0 0.00 0.00 0.08 0.00 0.92
#> TCGA.PJ.A5Z8.01     3  0.0000      0.958 0.00 0.0 1.00 0.00 0.00 0.00 0.00
#> TCGA.5P.A9JZ.01     5  0.0504      0.949 0.00 0.0 0.00 0.00 0.98 0.00 0.02
#> TCGA.2Z.A9JG.01     4  0.4381      0.367 0.00 0.0 0.00 0.58 0.00 0.06 0.36
#> TCGA.BQ.5884.01     3  0.0000      0.958 0.00 0.0 1.00 0.00 0.00 0.00 0.00
#> TCGA.2Z.A9JI.01     4  0.0000      0.974 0.00 0.0 0.00 1.00 0.00 0.00 0.00
#> TCGA.BQ.5890.11     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5881.01     7  0.3047      0.631 0.00 0.0 0.00 0.00 0.28 0.00 0.72
#> TCGA.UZ.A9PP.01     1  0.0504      0.926 0.98 0.0 0.00 0.00 0.02 0.00 0.00
#> TCGA.5P.A9JU.01     4  0.0000      0.974 0.00 0.0 0.00 1.00 0.00 0.00 0.00
#> TCGA.2Z.A9JN.01     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.UZ.A9PS.01     6  0.0000      0.866 0.00 0.0 0.00 0.00 0.00 1.00 0.00
#> TCGA.BQ.5875.11     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.5P.A9JY.01     1  0.0504      0.928 0.98 0.0 0.00 0.00 0.00 0.02 0.00
#> TCGA.B9.A5W8.01     3  0.0000      0.958 0.00 0.0 1.00 0.00 0.00 0.00 0.00
#> TCGA.F9.A4JJ.01     4  0.0000      0.974 0.00 0.0 0.00 1.00 0.00 0.00 0.00
#> TCGA.BQ.5883.01     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.5P.A9K0.01     7  0.0863      0.813 0.00 0.0 0.00 0.00 0.00 0.04 0.96
#> TCGA.P4.AAVL.01     1  0.1166      0.897 0.94 0.0 0.00 0.00 0.00 0.06 0.00
#> TCGA.B1.5398.01     3  0.0000      0.958 0.00 0.0 1.00 0.00 0.00 0.00 0.00
#> TCGA.5P.A9K6.01     5  0.0504      0.949 0.00 0.0 0.00 0.00 0.98 0.00 0.02
#> TCGA.UZ.A9PQ.01     4  0.0000      0.974 0.00 0.0 0.00 1.00 0.00 0.00 0.00
#> TCGA.P4.A5E6.01     7  0.3358      0.434 0.00 0.0 0.00 0.00 0.00 0.36 0.64
#> TCGA.BQ.5885.01     7  0.3525      0.300 0.00 0.0 0.00 0.00 0.44 0.00 0.56
#> TCGA.UZ.A9Q1.01     4  0.0863      0.945 0.00 0.0 0.00 0.96 0.00 0.00 0.04
#> TCGA.2Z.A9JP.01     7  0.0000      0.820 0.00 0.0 0.00 0.00 0.00 0.00 1.00
#> TCGA.5P.A9KC.01     3  0.0000      0.958 0.00 0.0 1.00 0.00 0.00 0.00 0.00
#> TCGA.5P.A9KH.01     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.2Z.A9JR.01     5  0.0000      0.952 0.00 0.0 0.00 0.00 1.00 0.00 0.00
#> TCGA.GL.A59T.01     5  0.0000      0.952 0.00 0.0 0.00 0.00 1.00 0.00 0.00
#> TCGA.5P.A9JV.01     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.WN.AB4C.01     3  0.0000      0.958 0.00 0.0 1.00 0.00 0.00 0.00 0.00
#> TCGA.SX.A71R.01     1  0.0000      0.937 1.00 0.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.A4.A5DU.01     1  0.0504      0.928 0.98 0.0 0.00 0.00 0.00 0.02 0.00
#> TCGA.B1.A47M.01     5  0.0000      0.952 0.00 0.0 0.00 0.00 1.00 0.00 0.00
#> TCGA.2Z.A9JJ.01     5  0.0863      0.936 0.00 0.0 0.00 0.00 0.96 0.00 0.04
#> TCGA.2Z.A9JT.01     7  0.0000      0.820 0.00 0.0 0.00 0.00 0.00 0.00 1.00
#> TCGA.GL.A4EM.01     3  0.0000      0.958 0.00 0.0 1.00 0.00 0.00 0.00 0.00
#> TCGA.HE.7129.01     6  0.2259      0.803 0.16 0.0 0.00 0.00 0.00 0.84 0.00
#> TCGA.HE.7128.01     3  0.0000      0.958 0.00 0.0 1.00 0.00 0.00 0.00 0.00
#> TCGA.HE.A5NL.01     5  0.0504      0.949 0.00 0.0 0.00 0.00 0.98 0.00 0.02
#> TCGA.G7.7502.01     7  0.2422      0.740 0.00 0.0 0.00 0.00 0.18 0.00 0.82
#> TCGA.BQ.7059.01     3  0.0000      0.958 0.00 0.0 1.00 0.00 0.00 0.00 0.00
#> TCGA.DZ.6134.11     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.HE.A5NJ.01     6  0.0000      0.866 0.00 0.0 0.00 0.00 0.00 1.00 0.00
#> TCGA.BQ.7053.11     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.GL.6846.11     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.GL.6846.01     4  0.1928      0.893 0.00 0.0 0.00 0.90 0.00 0.02 0.08
#> TCGA.DW.7839.01     1  0.3358      0.418 0.64 0.0 0.00 0.00 0.00 0.36 0.00
#> TCGA.DW.7841.01     5  0.0504      0.949 0.00 0.0 0.00 0.00 0.98 0.00 0.02
#> TCGA.BQ.7049.01     3  0.0000      0.958 0.00 0.0 1.00 0.00 0.00 0.00 0.00
#> TCGA.G7.6793.01     4  0.0000      0.974 0.00 0.0 0.00 1.00 0.00 0.00 0.00
#> TCGA.BQ.7051.01     6  0.0504      0.879 0.02 0.0 0.00 0.00 0.00 0.98 0.00
#> TCGA.BQ.7045.01     5  0.0863      0.936 0.00 0.0 0.00 0.00 0.96 0.00 0.04
#> TCGA.HE.A5NF.01     3  0.0000      0.958 0.00 0.0 1.00 0.00 0.00 0.00 0.00
#> TCGA.A4.7996.01     7  0.2906      0.743 0.00 0.0 0.00 0.00 0.18 0.02 0.80
#> TCGA.BQ.7046.01     7  0.3221      0.571 0.00 0.0 0.00 0.00 0.32 0.00 0.68
#> TCGA.DZ.6132.11     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.G7.7501.01     7  0.0504      0.817 0.00 0.0 0.00 0.00 0.00 0.02 0.98
#> TCGA.O9.A75Z.01     1  0.1671      0.858 0.90 0.0 0.00 0.00 0.10 0.00 0.00
#> TCGA.DW.7834.01     5  0.0000      0.952 0.00 0.0 0.00 0.00 1.00 0.00 0.00
#> TCGA.DZ.6133.01     1  0.0000      0.937 1.00 0.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.A4.A4ZT.01     6  0.1006      0.880 0.02 0.0 0.00 0.00 0.02 0.96 0.00
#> TCGA.BQ.7060.01     5  0.1166      0.917 0.00 0.0 0.00 0.00 0.94 0.00 0.06
#> TCGA.G7.6792.01     5  0.0000      0.952 0.00 0.0 0.00 0.00 1.00 0.00 0.00
#> TCGA.HE.7130.01     3  0.0000      0.958 0.00 0.0 1.00 0.00 0.00 0.00 0.00
#> TCGA.GL.7773.01     5  0.0000      0.952 0.00 0.0 0.00 0.00 1.00 0.00 0.00
#> TCGA.DZ.6133.11     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.B1.7332.01     6  0.1006      0.880 0.02 0.0 0.00 0.00 0.02 0.96 0.00
#> TCGA.BQ.7053.01     7  0.1433      0.812 0.00 0.0 0.00 0.00 0.08 0.00 0.92
#> TCGA.DZ.6131.01     3  0.0000      0.958 0.00 0.0 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7062.01     5  0.3047      0.575 0.00 0.0 0.00 0.00 0.72 0.00 0.28
#> TCGA.BQ.7046.11     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.A4.7288.01     7  0.3413      0.392 0.00 0.0 0.00 0.00 0.00 0.38 0.62
#> TCGA.DZ.6131.11     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7062.11     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7061.01     4  0.0000      0.974 0.00 0.0 0.00 1.00 0.00 0.00 0.00
#> TCGA.A4.7286.01     7  0.3221      0.571 0.00 0.0 0.00 0.00 0.32 0.00 0.68
#> TCGA.G7.6797.01     6  0.0863      0.888 0.04 0.0 0.00 0.00 0.00 0.96 0.00
#> TCGA.BQ.7058.01     4  0.0000      0.974 0.00 0.0 0.00 1.00 0.00 0.00 0.00
#> TCGA.G7.6795.01     5  0.0504      0.937 0.00 0.0 0.00 0.00 0.98 0.02 0.00
#> TCGA.HE.A5NH.01     1  0.1433      0.878 0.92 0.0 0.00 0.00 0.08 0.00 0.00
#> TCGA.MH.A55W.01     6  0.5233      0.136 0.00 0.0 0.00 0.00 0.20 0.52 0.28
#> TCGA.G7.6790.01     5  0.0000      0.952 0.00 0.0 0.00 0.00 1.00 0.00 0.00
#> TCGA.MH.A560.01     3  0.0863      0.926 0.00 0.0 0.96 0.00 0.00 0.00 0.04
#> TCGA.A4.7997.01     5  0.0000      0.952 0.00 0.0 0.00 0.00 1.00 0.00 0.00
#> TCGA.MH.A561.01     6  0.3413      0.394 0.00 0.0 0.00 0.00 0.38 0.62 0.00
#> TCGA.BQ.7056.11     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.B9.7268.01     6  0.3496      0.290 0.42 0.0 0.00 0.00 0.00 0.58 0.00
#> TCGA.BQ.7055.11     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.HE.A5NI.01     6  0.0863      0.888 0.04 0.0 0.00 0.00 0.00 0.96 0.00
#> TCGA.GL.7966.01     4  0.0000      0.974 0.00 0.0 0.00 1.00 0.00 0.00 0.00
#> TCGA.BQ.7059.11     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.A4.A57E.01     7  0.1433      0.812 0.00 0.0 0.00 0.00 0.08 0.00 0.92
#> TCGA.A4.7288.11     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.AL.A5DJ.01     4  0.0000      0.974 0.00 0.0 0.00 1.00 0.00 0.00 0.00
#> TCGA.G7.6796.01     3  0.0000      0.958 0.00 0.0 1.00 0.00 0.00 0.00 0.00
#> TCGA.DW.7837.01     5  0.0000      0.952 0.00 0.0 0.00 0.00 1.00 0.00 0.00
#> TCGA.BQ.7051.11     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7048.01     4  0.0000      0.974 0.00 0.0 0.00 1.00 0.00 0.00 0.00
#> TCGA.F9.A7VF.01     1  0.0863      0.915 0.96 0.0 0.00 0.00 0.00 0.04 0.00
#> TCGA.BQ.7049.11     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.DZ.6134.01     3  0.0000      0.958 0.00 0.0 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5887.01     4  0.0000      0.974 0.00 0.0 0.00 1.00 0.00 0.00 0.00
#> TCGA.DZ.6135.01     6  0.2569      0.805 0.14 0.0 0.00 0.00 0.02 0.84 0.00
#> TCGA.MH.A55Z.01     1  0.0504      0.926 0.98 0.0 0.00 0.00 0.02 0.00 0.00
#> TCGA.A4.7915.01     4  0.0000      0.974 0.00 0.0 0.00 1.00 0.00 0.00 0.00
#> TCGA.BQ.7048.11     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.HE.A5NK.01     3  0.0000      0.958 0.00 0.0 1.00 0.00 0.00 0.00 0.00
#> TCGA.G7.6789.01     4  0.0000      0.974 0.00 0.0 0.00 1.00 0.00 0.00 0.00
#> TCGA.AL.7173.01     3  0.1671      0.868 0.00 0.0 0.90 0.00 0.00 0.00 0.10
#> TCGA.SX.A71S.01     1  0.1166      0.897 0.94 0.0 0.00 0.00 0.00 0.06 0.00
#> TCGA.BQ.7061.11     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.DW.7840.01     1  0.0504      0.926 0.98 0.0 0.00 0.00 0.02 0.00 0.00
#> TCGA.GL.A59R.01     1  0.0863      0.914 0.96 0.0 0.00 0.00 0.00 0.04 0.00
#> TCGA.BQ.7050.11     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7058.11     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.DW.7838.01     3  0.0000      0.958 0.00 0.0 1.00 0.00 0.00 0.00 0.00
#> TCGA.SX.A71U.01     5  0.0000      0.952 0.00 0.0 0.00 0.00 1.00 0.00 0.00
#> TCGA.DZ.6135.11     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7044.11     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.V9.A7HT.01     3  0.0000      0.958 0.00 0.0 1.00 0.00 0.00 0.00 0.00
#> TCGA.DW.7842.01     1  0.0000      0.937 1.00 0.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7050.01     7  0.1433      0.812 0.00 0.0 0.00 0.00 0.08 0.00 0.92
#> TCGA.BQ.7055.01     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.J7.6720.01     5  0.0000      0.952 0.00 0.0 0.00 0.00 1.00 0.00 0.00
#> TCGA.BQ.7060.11     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7044.01     4  0.0504      0.961 0.00 0.0 0.00 0.98 0.00 0.02 0.00
#> TCGA.DZ.6132.01     3  0.0000      0.958 0.00 0.0 1.00 0.00 0.00 0.00 0.00
#> TCGA.DW.7836.01     1  0.0000      0.937 1.00 0.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.A4.7828.01     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5887.11     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.B3.A6W5.01     6  0.0504      0.868 0.00 0.0 0.00 0.00 0.02 0.98 0.00
#> TCGA.MH.A562.01     5  0.0000      0.952 0.00 0.0 0.00 0.00 1.00 0.00 0.00
#> TCGA.A4.7734.01     1  0.1166      0.896 0.94 0.0 0.00 0.00 0.06 0.00 0.00
#> TCGA.BQ.7045.11     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.A4.7584.01     5  0.3139      0.542 0.30 0.0 0.00 0.00 0.70 0.00 0.00
#> TCGA.BQ.7056.01     7  0.0863      0.813 0.00 0.0 0.00 0.00 0.00 0.04 0.96
#> TCGA.A4.7287.01     3  0.0000      0.958 0.00 0.0 1.00 0.00 0.00 0.00 0.00
#> TCGA.UZ.A9PJ.01     1  0.0000      0.937 1.00 0.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.2Z.A9J1.01     5  0.0504      0.949 0.00 0.0 0.00 0.00 0.98 0.00 0.02
#> TCGA.UN.AAZ9.01     7  0.0504      0.817 0.00 0.0 0.00 0.00 0.00 0.02 0.98
#> TCGA.UZ.A9PO.01     7  0.2259      0.709 0.00 0.0 0.16 0.00 0.00 0.00 0.84
#> TCGA.UZ.A9PL.01     1  0.0000      0.937 1.00 0.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.A4.7732.11     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.A4.7732.01     1  0.0000      0.937 1.00 0.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.2Z.A9J2.01     3  0.2945      0.651 0.00 0.0 0.74 0.00 0.00 0.00 0.26
#> TCGA.2Z.A9J3.01     1  0.0000      0.937 1.00 0.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.2Z.A9J6.01     5  0.0000      0.952 0.00 0.0 0.00 0.00 1.00 0.00 0.00
#> TCGA.F9.A97G.01     3  0.0000      0.958 0.00 0.0 1.00 0.00 0.00 0.00 0.00
#> TCGA.UZ.A9PM.01     3  0.0504      0.941 0.00 0.0 0.98 0.00 0.00 0.00 0.02
#> TCGA.A4.7585.11     2  0.0000      1.000 0.00 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.2K.A9WE.01     3  0.0000      0.958 0.00 0.0 1.00 0.00 0.00 0.00 0.00
#> TCGA.A4.7583.01     7  0.1166      0.806 0.00 0.0 0.00 0.00 0.00 0.06 0.94
#> TCGA.UZ.A9PK.01     1  0.2572      0.849 0.86 0.0 0.00 0.00 0.08 0.06 0.00
#> TCGA.UZ.A9PN.01     3  0.0000      0.958 0.00 0.0 1.00 0.00 0.00 0.00 0.00
#> TCGA.2Z.A9J7.01     6  0.1166      0.884 0.06 0.0 0.00 0.00 0.00 0.94 0.00
#> TCGA.2Z.A9J5.01     5  0.0863      0.936 0.00 0.0 0.00 0.00 0.96 0.00 0.04
#> TCGA.A4.7585.01     3  0.0000      0.958 0.00 0.0 1.00 0.00 0.00 0.00 0.00

show/hide code output

cbind(get_classes(res, k = 8), get_membership(res, k = 8))
#>                 class entropy silhouette   p1  p2   p3   p4   p5   p6   p7   p8
#> TCGA.SX.A7SM.01     4  0.0471     0.9373 0.00 0.0 0.00 0.98 0.00 0.00 0.00 0.02
#> TCGA.IA.A83W.01     5  0.0000     0.8142 0.00 0.0 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.B1.A656.01     4  0.2547     0.7806 0.00 0.0 0.12 0.84 0.00 0.00 0.00 0.04
#> TCGA.4A.A93X.01     4  0.0471     0.9373 0.00 0.0 0.00 0.98 0.00 0.00 0.00 0.02
#> TCGA.G7.A8LC.01     7  0.3142     0.1790 0.00 0.0 0.00 0.00 0.00 0.00 0.64 0.36
#> TCGA.SX.A7SS.01     1  0.0471     0.8744 0.98 0.0 0.00 0.00 0.00 0.02 0.00 0.00
#> TCGA.B9.A69E.01     3  0.0941     0.9124 0.00 0.0 0.96 0.00 0.00 0.00 0.02 0.02
#> TCGA.BQ.5878.01     1  0.3193     0.4390 0.62 0.0 0.00 0.00 0.00 0.38 0.00 0.00
#> TCGA.DW.5561.01     6  0.3675     0.7022 0.02 0.0 0.00 0.00 0.14 0.76 0.00 0.08
#> TCGA.PJ.A8JU.01     7  0.1765     0.6166 0.00 0.0 0.00 0.00 0.00 0.00 0.88 0.12
#> TCGA.EV.5901.01     5  0.0471     0.8126 0.00 0.0 0.00 0.00 0.98 0.00 0.02 0.00
#> TCGA.SX.A7SR.01     6  0.6043    -0.1241 0.00 0.0 0.00 0.00 0.28 0.34 0.06 0.32
#> TCGA.BQ.5894.01     4  0.0808     0.9198 0.00 0.0 0.00 0.96 0.00 0.00 0.00 0.04
#> TCGA.KV.A6GE.01     6  0.4407     0.1983 0.04 0.0 0.00 0.00 0.46 0.48 0.00 0.02
#> TCGA.BQ.5882.01     4  0.0808     0.9198 0.00 0.0 0.00 0.96 0.00 0.00 0.00 0.04
#> TCGA.SX.A7SQ.01     1  0.0000     0.8791 1.00 0.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.F9.A7Q0.01     7  0.4106     0.4820 0.00 0.0 0.30 0.00 0.02 0.00 0.64 0.04
#> TCGA.IZ.A6M8.01     7  0.3095     0.5588 0.00 0.0 0.00 0.00 0.24 0.00 0.74 0.02
#> TCGA.B1.A654.01     6  0.0808     0.8360 0.04 0.0 0.00 0.00 0.00 0.96 0.00 0.00
#> TCGA.B3.8121.01     3  0.0471     0.9218 0.00 0.0 0.98 0.00 0.00 0.00 0.00 0.02
#> TCGA.MH.A856.01     5  0.0000     0.8142 0.00 0.0 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.G7.A4TM.01     1  0.2852     0.6157 0.72 0.0 0.00 0.00 0.28 0.00 0.00 0.00
#> TCGA.IZ.8196.01     1  0.0000     0.8791 1.00 0.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.B9.A5W7.01     1  0.2938     0.5833 0.70 0.0 0.00 0.00 0.30 0.00 0.00 0.00
#> TCGA.B9.5156.01     5  0.2114     0.7591 0.00 0.0 0.00 0.00 0.84 0.00 0.16 0.00
#> TCGA.A4.A7UZ.01     7  0.3095     0.5583 0.00 0.0 0.24 0.00 0.00 0.00 0.74 0.02
#> TCGA.Y8.A897.01     5  0.1563     0.7921 0.00 0.0 0.00 0.00 0.90 0.00 0.10 0.00
#> TCGA.SX.A7SP.01     7  0.1341     0.6906 0.00 0.0 0.00 0.00 0.08 0.00 0.92 0.00
#> TCGA.Y8.A8RZ.01     8  0.2756     0.7297 0.00 0.0 0.00 0.00 0.00 0.00 0.26 0.74
#> TCGA.A4.A5XZ.01     8  0.6323     0.3137 0.00 0.0 0.00 0.00 0.26 0.24 0.12 0.38
#> TCGA.Y8.A898.01     5  0.3618     0.4163 0.00 0.0 0.00 0.00 0.60 0.00 0.38 0.02
#> TCGA.BQ.5893.01     4  0.0000     0.9380 0.00 0.0 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.SX.A7SU.01     1  0.0000     0.8791 1.00 0.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.IZ.8195.01     4  0.2650     0.7030 0.00 0.0 0.00 0.76 0.00 0.00 0.00 0.24
#> TCGA.GL.8500.01     1  0.0000     0.8791 1.00 0.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.EV.5902.01     6  0.0471     0.8435 0.02 0.0 0.00 0.00 0.00 0.98 0.00 0.00
#> TCGA.J7.A8I2.01     3  0.4760     0.4952 0.00 0.2 0.62 0.00 0.00 0.02 0.00 0.16
#> TCGA.A4.8516.01     1  0.0000     0.8791 1.00 0.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.A4.8312.01     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5880.01     3  0.1607     0.8935 0.00 0.0 0.92 0.00 0.00 0.00 0.04 0.04
#> TCGA.Y8.A8RY.01     5  0.0471     0.8048 0.00 0.0 0.00 0.00 0.98 0.00 0.00 0.02
#> TCGA.SX.A7SN.01     5  0.0471     0.8035 0.02 0.0 0.00 0.00 0.98 0.00 0.00 0.00
#> TCGA.MH.A854.01     1  0.2406     0.7159 0.80 0.0 0.00 0.00 0.20 0.00 0.00 0.00
#> TCGA.A4.8517.01     8  0.4658     0.4242 0.00 0.0 0.00 0.00 0.12 0.00 0.38 0.50
#> TCGA.GL.A9DD.01     3  0.0471     0.9218 0.00 0.0 0.98 0.00 0.00 0.00 0.00 0.02
#> TCGA.A4.8630.01     6  0.0471     0.8435 0.02 0.0 0.00 0.00 0.00 0.98 0.00 0.00
#> TCGA.4A.A93W.01     1  0.0000     0.8791 1.00 0.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.SX.A7SO.01     7  0.3856     0.4651 0.00 0.0 0.00 0.00 0.10 0.00 0.70 0.20
#> TCGA.GL.A9DC.01     1  0.3142     0.4804 0.64 0.0 0.00 0.00 0.00 0.36 0.00 0.00
#> TCGA.A4.8515.01     1  0.1563     0.8332 0.90 0.0 0.00 0.00 0.00 0.10 0.00 0.00
#> TCGA.IZ.A6M9.01     6  0.0941     0.8401 0.02 0.0 0.00 0.00 0.00 0.96 0.00 0.02
#> TCGA.BQ.5880.11     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.B1.A657.01     5  0.2114     0.7591 0.00 0.0 0.00 0.00 0.84 0.00 0.16 0.00
#> TCGA.G7.A8LD.01     4  0.0471     0.9373 0.00 0.0 0.00 0.98 0.00 0.00 0.00 0.02
#> TCGA.Y8.A8S1.01     3  0.0471     0.9170 0.00 0.0 0.98 0.00 0.00 0.00 0.00 0.02
#> TCGA.IA.A83S.01     7  0.3444     0.6315 0.00 0.0 0.14 0.00 0.06 0.00 0.78 0.02
#> TCGA.Y8.A8S0.01     6  0.0471     0.8435 0.02 0.0 0.00 0.00 0.00 0.98 0.00 0.00
#> TCGA.BQ.5884.11     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.B1.A655.01     3  0.0471     0.9218 0.00 0.0 0.98 0.00 0.00 0.00 0.00 0.02
#> TCGA.BQ.5877.11     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.EV.5903.01     5  0.2650     0.6716 0.00 0.0 0.00 0.00 0.76 0.00 0.24 0.00
#> TCGA.J7.8537.01     4  0.1275     0.9038 0.00 0.0 0.02 0.94 0.00 0.00 0.00 0.04
#> TCGA.A4.A6HP.01     5  0.0000     0.8142 0.00 0.0 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.BQ.5890.01     4  0.0471     0.9373 0.00 0.0 0.00 0.98 0.00 0.00 0.00 0.02
#> TCGA.Y8.A896.01     3  0.0471     0.9218 0.00 0.0 0.98 0.00 0.00 0.00 0.00 0.02
#> TCGA.BQ.5888.01     3  0.0000     0.9224 0.00 0.0 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5879.01     4  0.0000     0.9380 0.00 0.0 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.GL.A9DE.01     4  0.0471     0.9373 0.00 0.0 0.00 0.98 0.00 0.00 0.00 0.02
#> TCGA.G7.A8LB.01     6  0.3193     0.2879 0.38 0.0 0.00 0.00 0.00 0.62 0.00 0.00
#> TCGA.IA.A83T.01     3  0.1275     0.9069 0.00 0.0 0.94 0.00 0.00 0.00 0.04 0.02
#> TCGA.IA.A83V.01     3  0.0471     0.9218 0.00 0.0 0.98 0.00 0.00 0.00 0.00 0.02
#> TCGA.BQ.5876.11     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5885.11     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.KV.A6GD.01     3  0.0000     0.9224 0.00 0.0 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.SX.A7SL.01     6  0.0471     0.8435 0.02 0.0 0.00 0.00 0.00 0.98 0.00 0.00
#> TCGA.B9.A8YI.01     4  0.0471     0.9373 0.00 0.0 0.00 0.98 0.00 0.00 0.00 0.02
#> TCGA.B9.A8YH.01     1  0.0000     0.8791 1.00 0.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.4A.A93Y.01     3  0.0000     0.9224 0.00 0.0 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5886.01     7  0.0471     0.6956 0.00 0.0 0.00 0.00 0.02 0.00 0.98 0.00
#> TCGA.A4.A5Y0.01     8  0.2756     0.7297 0.00 0.0 0.00 0.00 0.00 0.00 0.26 0.74
#> TCGA.A4.8098.01     8  0.2756     0.7297 0.00 0.0 0.00 0.00 0.00 0.00 0.26 0.74
#> TCGA.MH.A857.01     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5889.11     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.DW.5560.01     5  0.3333    -0.0796 0.50 0.0 0.00 0.00 0.50 0.00 0.00 0.00
#> TCGA.F9.A8NY.01     4  0.0000     0.9380 0.00 0.0 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5894.11     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5891.11     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.G7.A8LE.01     1  0.0000     0.8791 1.00 0.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.SX.A71W.01     6  0.0941     0.8401 0.02 0.0 0.00 0.00 0.00 0.96 0.00 0.02
#> TCGA.Y8.A894.01     6  0.0808     0.8360 0.04 0.0 0.00 0.00 0.00 0.96 0.00 0.00
#> TCGA.WN.A9G9.01     3  0.0000     0.9224 0.00 0.0 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.A4.8310.01     8  0.3434     0.7086 0.00 0.0 0.00 0.00 0.00 0.10 0.14 0.76
#> TCGA.A4.8518.01     3  0.1557     0.8940 0.00 0.0 0.92 0.00 0.00 0.00 0.06 0.02
#> TCGA.BQ.5881.11     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5893.11     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.A4.8311.01     1  0.1563     0.8332 0.90 0.0 0.00 0.00 0.00 0.10 0.00 0.00
#> TCGA.BQ.5891.01     4  0.0471     0.9373 0.00 0.0 0.00 0.98 0.00 0.00 0.00 0.02
#> TCGA.Y8.A895.01     1  0.0471     0.8744 0.98 0.0 0.00 0.00 0.00 0.02 0.00 0.00
#> TCGA.BQ.5876.01     4  0.4028     0.5003 0.00 0.0 0.28 0.66 0.00 0.00 0.02 0.04
#> TCGA.MH.A855.01     7  0.2025     0.6282 0.00 0.0 0.02 0.00 0.00 0.00 0.88 0.10
#> TCGA.P4.AAVO.01     4  0.0471     0.9373 0.00 0.0 0.00 0.98 0.00 0.00 0.00 0.02
#> TCGA.BQ.5886.11     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.2Z.A9JS.01     6  0.1091     0.8159 0.06 0.0 0.00 0.00 0.00 0.94 0.00 0.00
#> TCGA.BQ.5888.11     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.2Z.A9J8.01     6  0.3594     0.5635 0.00 0.0 0.00 0.00 0.04 0.68 0.00 0.28
#> TCGA.KV.A74V.01     6  0.0941     0.8401 0.02 0.0 0.00 0.00 0.00 0.96 0.00 0.02
#> TCGA.A4.A5Y1.01     4  0.3272     0.3416 0.00 0.0 0.00 0.58 0.00 0.00 0.00 0.42
#> TCGA.BQ.5875.01     4  0.0000     0.9380 0.00 0.0 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.UZ.A9PZ.01     1  0.0000     0.8791 1.00 0.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.Q2.A5QZ.01     4  0.0000     0.9380 0.00 0.0 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.P4.A5E8.01     4  0.0000     0.9380 0.00 0.0 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.B9.5155.01     6  0.0471     0.8435 0.02 0.0 0.00 0.00 0.00 0.98 0.00 0.00
#> TCGA.B9.A5W9.01     8  0.3318    -0.0306 0.00 0.0 0.00 0.46 0.00 0.00 0.00 0.54
#> TCGA.5P.A9K4.01     6  0.0471     0.8435 0.02 0.0 0.00 0.00 0.00 0.98 0.00 0.00
#> TCGA.P4.A5E7.01     5  0.1947     0.7733 0.00 0.0 0.00 0.00 0.86 0.00 0.14 0.00
#> TCGA.PJ.A5Z9.01     6  0.0471     0.8435 0.02 0.0 0.00 0.00 0.00 0.98 0.00 0.00
#> TCGA.5P.A9K8.01     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.5P.A9KF.01     1  0.0471     0.8744 0.98 0.0 0.00 0.00 0.00 0.02 0.00 0.00
#> TCGA.P4.AAVK.01     4  0.0000     0.9380 0.00 0.0 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.2Z.A9JM.01     5  0.1947     0.7733 0.00 0.0 0.00 0.00 0.86 0.00 0.14 0.00
#> TCGA.A4.A48D.01     3  0.2719     0.7620 0.00 0.0 0.80 0.00 0.00 0.00 0.18 0.02
#> TCGA.BQ.5889.01     3  0.0000     0.9224 0.00 0.0 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.2Z.A9JD.01     5  0.1947     0.7733 0.00 0.0 0.00 0.00 0.86 0.00 0.14 0.00
#> TCGA.5P.A9K2.01     1  0.1765     0.8182 0.88 0.0 0.00 0.00 0.00 0.12 0.00 0.00
#> TCGA.2Z.A9JO.01     3  0.2348     0.8674 0.00 0.0 0.88 0.02 0.00 0.00 0.06 0.04
#> TCGA.5P.A9K9.01     4  0.0471     0.9373 0.00 0.0 0.00 0.98 0.00 0.00 0.00 0.02
#> TCGA.UZ.A9PV.01     1  0.3318     0.2186 0.54 0.0 0.00 0.00 0.00 0.46 0.00 0.00
#> TCGA.SX.A71V.01     6  0.2623     0.7635 0.00 0.0 0.00 0.00 0.10 0.84 0.00 0.06
#> TCGA.BQ.5892.11     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.UZ.A9Q0.01     1  0.0471     0.8739 0.98 0.0 0.00 0.00 0.00 0.02 0.00 0.00
#> TCGA.UZ.A9PX.01     1  0.0000     0.8791 1.00 0.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.UZ.A9PR.01     1  0.0000     0.8791 1.00 0.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.IA.A40X.01     7  0.3237     0.0914 0.00 0.0 0.00 0.00 0.00 0.00 0.60 0.40
#> TCGA.5P.A9JW.01     3  0.3992     0.1334 0.00 0.0 0.52 0.00 0.00 0.00 0.44 0.04
#> TCGA.IA.A40Y.01     4  0.0471     0.9373 0.00 0.0 0.00 0.98 0.00 0.00 0.00 0.02
#> TCGA.BQ.5883.11     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5878.11     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.P4.A5EA.01     4  0.0808     0.9198 0.00 0.0 0.00 0.96 0.00 0.00 0.00 0.04
#> TCGA.5P.A9KE.01     7  0.3078     0.6570 0.00 0.0 0.10 0.00 0.06 0.00 0.82 0.02
#> TCGA.5P.A9K3.01     4  0.0000     0.9380 0.00 0.0 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.B1.A47N.01     6  0.0471     0.8435 0.02 0.0 0.00 0.00 0.00 0.98 0.00 0.00
#> TCGA.5P.A9KA.01     5  0.3015     0.5588 0.00 0.0 0.00 0.00 0.68 0.00 0.32 0.00
#> TCGA.BQ.5879.11     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.P4.A5ED.01     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.A4.A772.01     5  0.0000     0.8142 0.00 0.0 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.B1.A47O.01     3  0.1607     0.8935 0.00 0.0 0.92 0.00 0.00 0.00 0.04 0.04
#> TCGA.IA.A40U.01     5  0.4998    -0.0446 0.00 0.0 0.00 0.00 0.50 0.00 0.24 0.26
#> TCGA.2Z.A9JE.01     1  0.0000     0.8791 1.00 0.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.B9.A44B.01     4  0.0471     0.9373 0.00 0.0 0.00 0.98 0.00 0.00 0.00 0.02
#> TCGA.AT.A5NU.01     6  0.0471     0.8435 0.02 0.0 0.00 0.00 0.00 0.98 0.00 0.00
#> TCGA.BQ.5882.11     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5877.01     4  0.0000     0.9380 0.00 0.0 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.DW.7963.01     7  0.3523     0.6385 0.00 0.0 0.10 0.00 0.10 0.00 0.78 0.02
#> TCGA.2Z.A9JL.01     5  0.0808     0.7905 0.04 0.0 0.00 0.00 0.96 0.00 0.00 0.00
#> TCGA.2Z.A9JQ.01     1  0.0000     0.8791 1.00 0.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.2Z.A9JK.01     3  0.0000     0.9224 0.00 0.0 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.UZ.A9PU.01     1  0.0000     0.8791 1.00 0.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.P4.A5EB.01     6  0.3619     0.6811 0.00 0.0 0.00 0.00 0.12 0.74 0.00 0.14
#> TCGA.BQ.5892.01     3  0.1887     0.8805 0.00 0.0 0.90 0.00 0.00 0.00 0.06 0.04
#> TCGA.B1.A47M.11     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.2Z.A9J9.01     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.UZ.A9PS.05     3  0.1275     0.9024 0.00 0.0 0.94 0.00 0.00 0.00 0.02 0.04
#> TCGA.P4.AAVM.01     7  0.4730     0.1581 0.00 0.0 0.00 0.00 0.18 0.00 0.56 0.26
#> TCGA.PJ.A5Z8.01     3  0.0000     0.9224 0.00 0.0 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.5P.A9JZ.01     5  0.1765     0.7837 0.00 0.0 0.00 0.00 0.88 0.00 0.12 0.00
#> TCGA.2Z.A9JG.01     8  0.3170     0.5840 0.00 0.0 0.00 0.20 0.00 0.00 0.04 0.76
#> TCGA.BQ.5884.01     3  0.0000     0.9224 0.00 0.0 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.2Z.A9JI.01     4  0.0808     0.9198 0.00 0.0 0.00 0.96 0.00 0.00 0.00 0.04
#> TCGA.BQ.5890.11     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5881.01     7  0.0808     0.6990 0.00 0.0 0.00 0.00 0.04 0.00 0.96 0.00
#> TCGA.UZ.A9PP.01     1  0.1563     0.8097 0.90 0.0 0.00 0.00 0.10 0.00 0.00 0.00
#> TCGA.5P.A9JU.01     4  0.0471     0.9373 0.00 0.0 0.00 0.98 0.00 0.00 0.00 0.02
#> TCGA.2Z.A9JN.01     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.UZ.A9PS.01     6  0.3015     0.5322 0.00 0.0 0.00 0.00 0.00 0.68 0.00 0.32
#> TCGA.BQ.5875.11     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.5P.A9JY.01     1  0.1563     0.8332 0.90 0.0 0.00 0.00 0.00 0.10 0.00 0.00
#> TCGA.B9.A5W8.01     3  0.0471     0.9218 0.00 0.0 0.98 0.00 0.00 0.00 0.00 0.02
#> TCGA.F9.A4JJ.01     4  0.0000     0.9380 0.00 0.0 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5883.01     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.5P.A9K0.01     8  0.2852     0.7036 0.00 0.0 0.00 0.00 0.00 0.00 0.28 0.72
#> TCGA.P4.AAVL.01     1  0.2114     0.7833 0.84 0.0 0.00 0.00 0.00 0.16 0.00 0.00
#> TCGA.B1.5398.01     3  0.0000     0.9224 0.00 0.0 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.5P.A9K6.01     5  0.1947     0.7733 0.00 0.0 0.00 0.00 0.86 0.00 0.14 0.00
#> TCGA.UZ.A9PQ.01     4  0.0471     0.9373 0.00 0.0 0.00 0.98 0.00 0.00 0.00 0.02
#> TCGA.P4.A5E6.01     8  0.3450     0.6980 0.00 0.0 0.00 0.00 0.00 0.12 0.12 0.76
#> TCGA.BQ.5885.01     7  0.1341     0.6903 0.00 0.0 0.00 0.00 0.08 0.00 0.92 0.00
#> TCGA.UZ.A9Q1.01     4  0.0808     0.9224 0.00 0.0 0.00 0.96 0.00 0.00 0.00 0.04
#> TCGA.2Z.A9JP.01     7  0.3083     0.2690 0.00 0.0 0.00 0.00 0.00 0.00 0.66 0.34
#> TCGA.5P.A9KC.01     3  0.0471     0.9170 0.00 0.0 0.98 0.00 0.00 0.00 0.00 0.02
#> TCGA.5P.A9KH.01     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.2Z.A9JR.01     5  0.0000     0.8142 0.00 0.0 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.GL.A59T.01     5  0.0000     0.8142 0.00 0.0 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.5P.A9JV.01     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.WN.AB4C.01     3  0.0000     0.9224 0.00 0.0 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.SX.A71R.01     1  0.0000     0.8791 1.00 0.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.A4.A5DU.01     1  0.2267     0.7615 0.82 0.0 0.00 0.00 0.00 0.18 0.00 0.00
#> TCGA.B1.A47M.01     5  0.0000     0.8142 0.00 0.0 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.2Z.A9JJ.01     5  0.3992     0.2776 0.00 0.0 0.00 0.00 0.52 0.00 0.44 0.04
#> TCGA.2Z.A9JT.01     7  0.0471     0.6956 0.00 0.0 0.00 0.00 0.02 0.00 0.98 0.00
#> TCGA.GL.A4EM.01     3  0.0808     0.9086 0.00 0.0 0.96 0.00 0.00 0.00 0.00 0.04
#> TCGA.HE.7129.01     6  0.1765     0.7590 0.12 0.0 0.00 0.00 0.00 0.88 0.00 0.00
#> TCGA.HE.7128.01     3  0.0471     0.9218 0.00 0.0 0.98 0.00 0.00 0.00 0.00 0.02
#> TCGA.HE.A5NL.01     5  0.2114     0.7591 0.00 0.0 0.00 0.00 0.84 0.00 0.16 0.00
#> TCGA.G7.7502.01     7  0.1275     0.6952 0.00 0.0 0.00 0.00 0.04 0.00 0.94 0.02
#> TCGA.BQ.7059.01     3  0.0471     0.9218 0.00 0.0 0.98 0.00 0.00 0.00 0.00 0.02
#> TCGA.DZ.6134.11     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.HE.A5NJ.01     6  0.2267     0.7132 0.00 0.0 0.00 0.00 0.00 0.82 0.00 0.18
#> TCGA.BQ.7053.11     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.GL.6846.11     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.GL.6846.01     4  0.3237     0.3945 0.00 0.0 0.00 0.60 0.00 0.00 0.00 0.40
#> TCGA.DW.7839.01     1  0.3237     0.3986 0.60 0.0 0.00 0.00 0.00 0.40 0.00 0.00
#> TCGA.DW.7841.01     5  0.2534     0.6973 0.00 0.0 0.00 0.00 0.78 0.00 0.22 0.00
#> TCGA.BQ.7049.01     3  0.0471     0.9218 0.00 0.0 0.98 0.00 0.00 0.00 0.00 0.02
#> TCGA.G7.6793.01     4  0.0471     0.9302 0.00 0.0 0.00 0.98 0.00 0.00 0.00 0.02
#> TCGA.BQ.7051.01     6  0.0471     0.8344 0.00 0.0 0.00 0.00 0.00 0.98 0.00 0.02
#> TCGA.BQ.7045.01     5  0.3142     0.4890 0.00 0.0 0.00 0.00 0.64 0.00 0.36 0.00
#> TCGA.HE.A5NF.01     3  0.0471     0.9218 0.00 0.0 0.98 0.00 0.00 0.00 0.00 0.02
#> TCGA.A4.7996.01     7  0.1607     0.6888 0.00 0.0 0.00 0.00 0.04 0.00 0.92 0.04
#> TCGA.BQ.7046.01     7  0.0808     0.6990 0.00 0.0 0.00 0.00 0.04 0.00 0.96 0.00
#> TCGA.DZ.6132.11     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.G7.7501.01     7  0.3299    -0.0600 0.00 0.0 0.00 0.00 0.00 0.00 0.56 0.44
#> TCGA.O9.A75Z.01     1  0.3193     0.4208 0.62 0.0 0.00 0.00 0.38 0.00 0.00 0.00
#> TCGA.DW.7834.01     5  0.1563     0.7928 0.00 0.0 0.00 0.00 0.90 0.00 0.10 0.00
#> TCGA.DZ.6133.01     1  0.0000     0.8791 1.00 0.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.A4.A4ZT.01     6  0.1557     0.8107 0.00 0.0 0.00 0.00 0.06 0.92 0.00 0.02
#> TCGA.BQ.7060.01     7  0.3237     0.2013 0.00 0.0 0.00 0.00 0.40 0.00 0.60 0.00
#> TCGA.G7.6792.01     5  0.0808     0.8094 0.00 0.0 0.00 0.00 0.96 0.00 0.04 0.00
#> TCGA.HE.7130.01     3  0.2569     0.7875 0.00 0.0 0.82 0.00 0.00 0.02 0.00 0.16
#> TCGA.GL.7773.01     5  0.0000     0.8142 0.00 0.0 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.DZ.6133.11     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.B1.7332.01     6  0.0941     0.8311 0.00 0.0 0.00 0.00 0.02 0.96 0.00 0.02
#> TCGA.BQ.7053.01     7  0.0941     0.6892 0.00 0.0 0.00 0.00 0.02 0.00 0.96 0.02
#> TCGA.DZ.6131.01     3  0.0000     0.9224 0.00 0.0 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7062.01     7  0.3021     0.6310 0.00 0.0 0.02 0.00 0.16 0.00 0.80 0.02
#> TCGA.BQ.7046.11     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.A4.7288.01     8  0.3450     0.6980 0.00 0.0 0.00 0.00 0.00 0.12 0.12 0.76
#> TCGA.DZ.6131.11     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7062.11     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7061.01     4  0.0000     0.9380 0.00 0.0 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.A4.7286.01     7  0.1091     0.6953 0.00 0.0 0.00 0.00 0.06 0.00 0.94 0.00
#> TCGA.G7.6797.01     6  0.0471     0.8435 0.02 0.0 0.00 0.00 0.00 0.98 0.00 0.00
#> TCGA.BQ.7058.01     4  0.0471     0.9373 0.00 0.0 0.00 0.98 0.00 0.00 0.00 0.02
#> TCGA.G7.6795.01     5  0.0941     0.7930 0.00 0.0 0.00 0.00 0.96 0.02 0.00 0.02
#> TCGA.HE.A5NH.01     1  0.3237     0.3734 0.60 0.0 0.00 0.00 0.40 0.00 0.00 0.00
#> TCGA.MH.A55W.01     5  0.6050    -0.2620 0.00 0.0 0.00 0.00 0.34 0.30 0.06 0.30
#> TCGA.G7.6790.01     5  0.0000     0.8142 0.00 0.0 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.MH.A560.01     3  0.4004     0.0607 0.00 0.0 0.50 0.00 0.00 0.00 0.46 0.04
#> TCGA.A4.7997.01     5  0.0000     0.8142 0.00 0.0 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.MH.A561.01     5  0.4050     0.2320 0.00 0.0 0.00 0.00 0.60 0.34 0.00 0.06
#> TCGA.BQ.7056.11     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.B9.7268.01     6  0.3237     0.2330 0.40 0.0 0.00 0.00 0.00 0.60 0.00 0.00
#> TCGA.BQ.7055.11     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.HE.A5NI.01     6  0.0941     0.8311 0.00 0.0 0.00 0.00 0.02 0.96 0.00 0.02
#> TCGA.GL.7966.01     4  0.0000     0.9380 0.00 0.0 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7059.11     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.A4.A57E.01     7  0.3299     0.5430 0.00 0.0 0.00 0.00 0.06 0.00 0.76 0.18
#> TCGA.A4.7288.11     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.AL.A5DJ.01     4  0.0471     0.9373 0.00 0.0 0.00 0.98 0.00 0.00 0.00 0.02
#> TCGA.G7.6796.01     3  0.0471     0.9218 0.00 0.0 0.98 0.00 0.00 0.00 0.00 0.02
#> TCGA.DW.7837.01     5  0.0000     0.8142 0.00 0.0 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.BQ.7051.11     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7048.01     4  0.0808     0.9198 0.00 0.0 0.00 0.96 0.00 0.00 0.00 0.04
#> TCGA.F9.A7VF.01     1  0.2267     0.7615 0.82 0.0 0.00 0.00 0.00 0.18 0.00 0.00
#> TCGA.BQ.7049.11     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.DZ.6134.01     3  0.1804     0.8785 0.00 0.0 0.90 0.00 0.00 0.00 0.08 0.02
#> TCGA.BQ.5887.01     4  0.0808     0.9198 0.00 0.0 0.00 0.96 0.00 0.00 0.00 0.04
#> TCGA.DZ.6135.01     6  0.4415     0.4966 0.06 0.0 0.00 0.00 0.32 0.60 0.00 0.02
#> TCGA.MH.A55Z.01     1  0.0000     0.8791 1.00 0.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.A4.7915.01     4  0.0000     0.9380 0.00 0.0 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7048.11     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.HE.A5NK.01     3  0.0000     0.9224 0.00 0.0 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.G7.6789.01     4  0.0471     0.9373 0.00 0.0 0.00 0.98 0.00 0.00 0.00 0.02
#> TCGA.AL.7173.01     7  0.3374     0.4956 0.00 0.0 0.30 0.00 0.00 0.00 0.68 0.02
#> TCGA.SX.A71S.01     1  0.2534     0.7112 0.78 0.0 0.00 0.00 0.00 0.22 0.00 0.00
#> TCGA.BQ.7061.11     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.DW.7840.01     1  0.0471     0.8659 0.98 0.0 0.00 0.00 0.02 0.00 0.00 0.00
#> TCGA.GL.A59R.01     1  0.1765     0.8165 0.88 0.0 0.00 0.00 0.00 0.12 0.00 0.00
#> TCGA.BQ.7050.11     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7058.11     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.DW.7838.01     3  0.0471     0.9218 0.00 0.0 0.98 0.00 0.00 0.00 0.00 0.02
#> TCGA.SX.A71U.01     5  0.0471     0.8048 0.00 0.0 0.00 0.00 0.98 0.00 0.00 0.02
#> TCGA.DZ.6135.11     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7044.11     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.V9.A7HT.01     3  0.2025     0.8599 0.00 0.0 0.88 0.00 0.00 0.00 0.10 0.02
#> TCGA.DW.7842.01     1  0.0000     0.8791 1.00 0.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7050.01     7  0.2623     0.6338 0.00 0.0 0.00 0.00 0.06 0.00 0.84 0.10
#> TCGA.BQ.7055.01     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.J7.6720.01     5  0.0000     0.8142 0.00 0.0 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.BQ.7060.11     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7044.01     4  0.2650     0.7030 0.00 0.0 0.00 0.76 0.00 0.00 0.00 0.24
#> TCGA.DZ.6132.01     3  0.0471     0.9218 0.00 0.0 0.98 0.00 0.00 0.00 0.00 0.02
#> TCGA.DW.7836.01     1  0.0000     0.8791 1.00 0.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.A4.7828.01     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5887.11     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.B3.A6W5.01     6  0.2648     0.7667 0.00 0.0 0.00 0.00 0.08 0.84 0.00 0.08
#> TCGA.MH.A562.01     5  0.0471     0.8126 0.00 0.0 0.00 0.00 0.98 0.00 0.02 0.00
#> TCGA.A4.7734.01     1  0.2938     0.5835 0.70 0.0 0.00 0.00 0.30 0.00 0.00 0.00
#> TCGA.BQ.7045.11     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.A4.7584.01     5  0.1947     0.6988 0.14 0.0 0.00 0.00 0.86 0.00 0.00 0.00
#> TCGA.BQ.7056.01     8  0.2756     0.7297 0.00 0.0 0.00 0.00 0.00 0.00 0.26 0.74
#> TCGA.A4.7287.01     3  0.2569     0.7875 0.00 0.0 0.82 0.00 0.00 0.02 0.00 0.16
#> TCGA.UZ.A9PJ.01     1  0.0000     0.8791 1.00 0.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.2Z.A9J1.01     5  0.1947     0.7733 0.00 0.0 0.00 0.00 0.86 0.00 0.14 0.00
#> TCGA.UN.AAZ9.01     7  0.3142     0.1790 0.00 0.0 0.00 0.00 0.00 0.00 0.64 0.36
#> TCGA.UZ.A9PO.01     7  0.2994     0.5685 0.00 0.0 0.14 0.00 0.00 0.00 0.80 0.06
#> TCGA.UZ.A9PL.01     1  0.0471     0.8739 0.98 0.0 0.00 0.00 0.00 0.02 0.00 0.00
#> TCGA.A4.7732.11     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.A4.7732.01     1  0.0000     0.8791 1.00 0.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.2Z.A9J2.01     7  0.3404     0.5468 0.00 0.0 0.24 0.00 0.00 0.00 0.72 0.04
#> TCGA.2Z.A9J3.01     1  0.0000     0.8791 1.00 0.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.2Z.A9J6.01     5  0.0000     0.8142 0.00 0.0 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.F9.A97G.01     3  0.1741     0.8914 0.00 0.0 0.92 0.02 0.00 0.00 0.02 0.04
#> TCGA.UZ.A9PM.01     3  0.4077     0.2425 0.00 0.0 0.56 0.00 0.02 0.00 0.40 0.02
#> TCGA.A4.7585.11     2  0.0000     1.0000 0.00 1.0 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.2K.A9WE.01     3  0.0000     0.9224 0.00 0.0 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.A4.7583.01     8  0.2756     0.7297 0.00 0.0 0.00 0.00 0.00 0.00 0.26 0.74
#> TCGA.UZ.A9PK.01     5  0.5305     0.1744 0.28 0.0 0.00 0.00 0.50 0.20 0.00 0.02
#> TCGA.UZ.A9PN.01     3  0.0471     0.9218 0.00 0.0 0.98 0.00 0.00 0.00 0.00 0.02
#> TCGA.2Z.A9J7.01     6  0.0471     0.8435 0.02 0.0 0.00 0.00 0.00 0.98 0.00 0.00
#> TCGA.2Z.A9J5.01     5  0.3658     0.3761 0.00 0.0 0.00 0.00 0.58 0.00 0.40 0.02
#> TCGA.A4.7585.01     3  0.0471     0.9170 0.00 0.0 0.98 0.00 0.00 0.00 0.00 0.02

Heatmaps for the consensus matrix. It visualizes the probability of two samples to be in a same group.

consensus_heatmap(res, k = 2)

plot of chunk tab-node-0-consensus-heatmap-1

consensus_heatmap(res, k = 3)

plot of chunk tab-node-0-consensus-heatmap-2

consensus_heatmap(res, k = 4)

plot of chunk tab-node-0-consensus-heatmap-3

consensus_heatmap(res, k = 5)

plot of chunk tab-node-0-consensus-heatmap-4

consensus_heatmap(res, k = 6)

plot of chunk tab-node-0-consensus-heatmap-5

consensus_heatmap(res, k = 7)

plot of chunk tab-node-0-consensus-heatmap-6

consensus_heatmap(res, k = 8)

plot of chunk tab-node-0-consensus-heatmap-7

Heatmaps for the membership of samples in all partitions to see how consistent they are:

membership_heatmap(res, k = 2)

plot of chunk tab-node-0-membership-heatmap-1

membership_heatmap(res, k = 3)

plot of chunk tab-node-0-membership-heatmap-2

membership_heatmap(res, k = 4)

plot of chunk tab-node-0-membership-heatmap-3

membership_heatmap(res, k = 5)

plot of chunk tab-node-0-membership-heatmap-4

membership_heatmap(res, k = 6)

plot of chunk tab-node-0-membership-heatmap-5

membership_heatmap(res, k = 7)

plot of chunk tab-node-0-membership-heatmap-6

membership_heatmap(res, k = 8)

plot of chunk tab-node-0-membership-heatmap-7

As soon as the classes for columns are determined, the signatures that are significantly different between subgroups can be looked for. Following are the heatmaps for signatures.

get_signatures(res, k = 2)

plot of chunk tab-node-0-get-signatures-1

get_signatures(res, k = 3)

plot of chunk tab-node-0-get-signatures-2

get_signatures(res, k = 4)

plot of chunk tab-node-0-get-signatures-3

get_signatures(res, k = 5)

plot of chunk tab-node-0-get-signatures-4

get_signatures(res, k = 6)

plot of chunk tab-node-0-get-signatures-5

get_signatures(res, k = 7)

plot of chunk tab-node-0-get-signatures-6

get_signatures(res, k = 8)

plot of chunk tab-node-0-get-signatures-7

Compare the overlap of signatures from different k:

compare_signatures(res)

plot of chunk node-0-signature_compare

get_signature() returns a data frame invisibly. To get the list of signatures, the function call should be assigned to a variable explicitly. In following code, if plot argument is set to FALSE, no heatmap is plotted while only the differential analysis is performed.

# code only for demonstration
tb = get_signature(res, k = ..., plot = FALSE)

An example of the output of tb is:

#>   which_row         fdr    mean_1    mean_2 scaled_mean_1 scaled_mean_2 km
#> 1        38 0.042760348  8.373488  9.131774    -0.5533452     0.5164555  1
#> 2        40 0.018707592  7.106213  8.469186    -0.6173731     0.5762149  1
#> 3        55 0.019134737 10.221463 11.207825    -0.6159697     0.5749050  1
#> 4        59 0.006059896  5.921854  7.869574    -0.6899429     0.6439467  1
#> 5        60 0.018055526  8.928898 10.211722    -0.6204761     0.5791110  1
#> 6        98 0.009384629 15.714769 14.887706     0.6635654    -0.6193277  2
...

The columns in tb are:

  1. which_row: row indices corresponding to the input matrix.
  2. fdr: FDR for the differential test.
  3. mean_x: The mean value in group x.
  4. scaled_mean_x: The mean value in group x after rows are scaled.
  5. km: Row groups if k-means clustering is applied to rows (which is done by automatically selecting number of clusters).

If there are too many signatures, top_signatures = ... can be set to only show the signatures with the highest FDRs:

# code only for demonstration
# e.g. to show the top 500 most significant rows
tb = get_signature(res, k = ..., top_signatures = 500)

If the signatures are defined as these which are uniquely high in current group, diff_method argument can be set to "uniquely_high_in_one_group":

# code only for demonstration
tb = get_signature(res, k = ..., diff_method = "uniquely_high_in_one_group")

UMAP plot which shows how samples are separated.

dimension_reduction(res, k = 2, method = "UMAP")

plot of chunk tab-node-0-dimension-reduction-1

dimension_reduction(res, k = 3, method = "UMAP")

plot of chunk tab-node-0-dimension-reduction-2

dimension_reduction(res, k = 4, method = "UMAP")

plot of chunk tab-node-0-dimension-reduction-3

dimension_reduction(res, k = 5, method = "UMAP")

plot of chunk tab-node-0-dimension-reduction-4

dimension_reduction(res, k = 6, method = "UMAP")

plot of chunk tab-node-0-dimension-reduction-5

dimension_reduction(res, k = 7, method = "UMAP")

plot of chunk tab-node-0-dimension-reduction-6

dimension_reduction(res, k = 8, method = "UMAP")

plot of chunk tab-node-0-dimension-reduction-7

Following heatmap shows how subgroups are split when increasing k:

collect_classes(res)

plot of chunk node-0-collect-classes

If matrix rows can be associated to genes, consider to use functional_enrichment(res, ...) to perform function enrichment for the signature genes. See this vignette for more detailed explanations.


Node01

Parent node: Node0. Child nodes: Node011-leaf , Node012 , Node013 , Node021-leaf , Node022 , Node023-leaf , Node031 , Node032 , Node033-leaf , Node041-leaf , Node042-leaf , Node043 , Node044-leaf , Node051 , Node052 , Node053 , Node054-leaf .

The object with results only for a single top-value method and a single partitioning method can be extracted as:

res = res_rh["01"]

A summary of res and all the functions that can be applied to it:

res
#> A 'ConsensusPartition' object with k = 2, 3, 4, 5, 6, 7, 8.
#>   On a matrix with 30000 rows and 79 columns.
#>   Top rows (1000) are extracted by 'SD' method.
#>   Subgroups are detected by 'skmeans' method.
#>   Performed in total 350 partitions by row resampling.
#>   Best k for subgroups seems to be 3.
#> 
#> Following methods can be applied to this 'ConsensusPartition' object:
#>  [1] "cola_report"             "collect_classes"         "collect_plots"          
#>  [4] "collect_stats"           "colnames"                "compare_partitions"     
#>  [7] "compare_signatures"      "consensus_heatmap"       "dimension_reduction"    
#> [10] "functional_enrichment"   "get_anno_col"            "get_anno"               
#> [13] "get_classes"             "get_consensus"           "get_matrix"             
#> [16] "get_membership"          "get_param"               "get_signatures"         
#> [19] "get_stats"               "is_best_k"               "is_stable_k"            
#> [22] "membership_heatmap"      "ncol"                    "nrow"                   
#> [25] "plot_ecdf"               "predict_classes"         "rownames"               
#> [28] "select_partition_number" "show"                    "suggest_best_k"         
#> [31] "test_to_known_factors"   "top_rows_heatmap"

collect_plots() function collects all the plots made from res for all k (number of subgroups) into one single page to provide an easy and fast comparison between different k.

collect_plots(res)

plot of chunk node-01-collect-plots

The plots are:

All the plots in panels can be made by individual functions and they are plotted later in this section.

select_partition_number() produces several plots showing different statistics for choosing “optimized” k. There are following statistics:

The detailed explanations of these statistics can be found in the cola vignette.

Generally speaking, higher 1-PAC score, higher mean silhouette score or higher concordance corresponds to better partition. Rand index and Jaccard index measure how similar the current partition is compared to partition with k-1. If they are too similar, we won't accept k is better than k-1.

select_partition_number(res)

plot of chunk node-01-select-partition-number

The numeric values for all these statistics can be obtained by get_stats().

get_stats(res)
#>   k 1-PAC mean_silhouette concordance area_increased  Rand Jaccard
#> 2 2 1.000           0.968       0.987         0.5015 0.498   0.498
#> 3 3 1.000           0.961       0.981         0.3149 0.763   0.559
#> 4 4 0.619           0.653       0.807         0.1153 0.919   0.768
#> 5 5 0.572           0.389       0.638         0.0609 0.890   0.640
#> 6 6 0.573           0.446       0.665         0.0376 0.902   0.630
#> 7 7 0.550           0.387       0.614         0.0252 0.931   0.717
#> 8 8 0.571           0.248       0.583         0.0180 0.935   0.714

suggest_best_k() suggests the best \(k\) based on these statistics. The rules are as follows:

suggest_best_k(res)
#> [1] 3
#> attr(,"optional")
#> [1] 2

There is also optional best \(k\) = 2 that is worth to check.

Following is the table of the partitions (You need to click the show/hide code output link to see it). The membership matrix (columns with name p*) is inferred by clue::cl_consensus() function with the SE method. Basically the value in the membership matrix represents the probability to belong to a certain group. The finall subgroup label for an item is determined with the group with highest probability it belongs to.

In get_classes() function, the entropy is calculated from the membership matrix and the silhouette score is calculated from the consensus matrix.

show/hide code output

cbind(get_classes(res, k = 2), get_membership(res, k = 2))
#>                 class entropy silhouette   p1   p2
#> TCGA.SX.A7SS.01     1   0.000      0.978 1.00 0.00
#> TCGA.BQ.5878.01     1   0.000      0.978 1.00 0.00
#> TCGA.DW.5561.01     2   0.000      0.994 0.00 1.00
#> TCGA.KV.A6GE.01     1   0.000      0.978 1.00 0.00
#> TCGA.SX.A7SQ.01     2   0.000      0.994 0.00 1.00
#> TCGA.B1.A654.01     2   0.000      0.994 0.00 1.00
#> TCGA.G7.A4TM.01     2   0.000      0.994 0.00 1.00
#> TCGA.IZ.8196.01     2   0.000      0.994 0.00 1.00
#> TCGA.B9.A5W7.01     2   0.000      0.994 0.00 1.00
#> TCGA.SX.A7SU.01     2   0.000      0.994 0.00 1.00
#> TCGA.GL.8500.01     2   0.000      0.994 0.00 1.00
#> TCGA.EV.5902.01     1   0.855      0.613 0.72 0.28
#> TCGA.A4.8516.01     2   0.000      0.994 0.00 1.00
#> TCGA.MH.A854.01     2   0.000      0.994 0.00 1.00
#> TCGA.A4.8630.01     1   0.000      0.978 1.00 0.00
#> TCGA.4A.A93W.01     2   0.000      0.994 0.00 1.00
#> TCGA.GL.A9DC.01     2   0.000      0.994 0.00 1.00
#> TCGA.A4.8515.01     1   0.000      0.978 1.00 0.00
#> TCGA.IZ.A6M9.01     1   0.000      0.978 1.00 0.00
#> TCGA.Y8.A8S0.01     1   0.000      0.978 1.00 0.00
#> TCGA.G7.A8LB.01     1   0.000      0.978 1.00 0.00
#> TCGA.SX.A7SL.01     1   0.000      0.978 1.00 0.00
#> TCGA.B9.A8YH.01     2   0.000      0.994 0.00 1.00
#> TCGA.G7.A8LE.01     2   0.000      0.994 0.00 1.00
#> TCGA.SX.A71W.01     1   0.000      0.978 1.00 0.00
#> TCGA.Y8.A894.01     2   0.000      0.994 0.00 1.00
#> TCGA.A4.8311.01     1   0.000      0.978 1.00 0.00
#> TCGA.Y8.A895.01     1   0.000      0.978 1.00 0.00
#> TCGA.2Z.A9JS.01     1   0.000      0.978 1.00 0.00
#> TCGA.KV.A74V.01     1   0.000      0.978 1.00 0.00
#> TCGA.UZ.A9PZ.01     2   0.000      0.994 0.00 1.00
#> TCGA.B9.5155.01     1   0.000      0.978 1.00 0.00
#> TCGA.5P.A9K4.01     1   0.000      0.978 1.00 0.00
#> TCGA.PJ.A5Z9.01     1   0.000      0.978 1.00 0.00
#> TCGA.5P.A9KF.01     1   0.141      0.960 0.98 0.02
#> TCGA.5P.A9K2.01     1   0.000      0.978 1.00 0.00
#> TCGA.UZ.A9PV.01     1   0.000      0.978 1.00 0.00
#> TCGA.UZ.A9Q0.01     1   0.000      0.978 1.00 0.00
#> TCGA.UZ.A9PX.01     2   0.000      0.994 0.00 1.00
#> TCGA.UZ.A9PR.01     2   0.000      0.994 0.00 1.00
#> TCGA.B1.A47N.01     2   0.000      0.994 0.00 1.00
#> TCGA.2Z.A9JE.01     2   0.000      0.994 0.00 1.00
#> TCGA.AT.A5NU.01     1   0.000      0.978 1.00 0.00
#> TCGA.2Z.A9JQ.01     2   0.000      0.994 0.00 1.00
#> TCGA.UZ.A9PU.01     1   0.995      0.160 0.54 0.46
#> TCGA.P4.A5EB.01     1   0.000      0.978 1.00 0.00
#> TCGA.UZ.A9PP.01     2   0.000      0.994 0.00 1.00
#> TCGA.5P.A9JY.01     1   0.000      0.978 1.00 0.00
#> TCGA.P4.AAVL.01     2   0.000      0.994 0.00 1.00
#> TCGA.SX.A71R.01     2   0.000      0.994 0.00 1.00
#> TCGA.A4.A5DU.01     2   0.000      0.994 0.00 1.00
#> TCGA.HE.7129.01     1   0.000      0.978 1.00 0.00
#> TCGA.HE.A5NJ.01     1   0.000      0.978 1.00 0.00
#> TCGA.DW.7839.01     2   0.000      0.994 0.00 1.00
#> TCGA.BQ.7051.01     1   0.000      0.978 1.00 0.00
#> TCGA.O9.A75Z.01     2   0.000      0.994 0.00 1.00
#> TCGA.DZ.6133.01     2   0.000      0.994 0.00 1.00
#> TCGA.A4.A4ZT.01     1   0.000      0.978 1.00 0.00
#> TCGA.B1.7332.01     1   0.000      0.978 1.00 0.00
#> TCGA.G7.6797.01     1   0.000      0.978 1.00 0.00
#> TCGA.HE.A5NH.01     2   0.000      0.994 0.00 1.00
#> TCGA.B9.7268.01     1   0.000      0.978 1.00 0.00
#> TCGA.HE.A5NI.01     1   0.000      0.978 1.00 0.00
#> TCGA.F9.A7VF.01     1   0.000      0.978 1.00 0.00
#> TCGA.DZ.6135.01     2   0.000      0.994 0.00 1.00
#> TCGA.MH.A55Z.01     2   0.000      0.994 0.00 1.00
#> TCGA.SX.A71S.01     2   0.000      0.994 0.00 1.00
#> TCGA.DW.7840.01     2   0.000      0.994 0.00 1.00
#> TCGA.GL.A59R.01     2   0.000      0.994 0.00 1.00
#> TCGA.DW.7842.01     2   0.000      0.994 0.00 1.00
#> TCGA.DW.7836.01     2   0.000      0.994 0.00 1.00
#> TCGA.B3.A6W5.01     2   0.680      0.778 0.18 0.82
#> TCGA.A4.7734.01     2   0.000      0.994 0.00 1.00
#> TCGA.UZ.A9PJ.01     2   0.000      0.994 0.00 1.00
#> TCGA.UZ.A9PL.01     2   0.000      0.994 0.00 1.00
#> TCGA.A4.7732.01     2   0.000      0.994 0.00 1.00
#> TCGA.2Z.A9J3.01     2   0.000      0.994 0.00 1.00
#> TCGA.UZ.A9PK.01     1   0.000      0.978 1.00 0.00
#> TCGA.2Z.A9J7.01     2   0.327      0.933 0.06 0.94

show/hide code output

cbind(get_classes(res, k = 3), get_membership(res, k = 3))
#>                 class entropy silhouette   p1   p2   p3
#> TCGA.SX.A7SS.01     1  0.0000      0.987 1.00 0.00 0.00
#> TCGA.BQ.5878.01     1  0.0000      0.987 1.00 0.00 0.00
#> TCGA.DW.5561.01     3  0.0000      0.973 0.00 0.00 1.00
#> TCGA.KV.A6GE.01     1  0.0892      0.975 0.98 0.02 0.00
#> TCGA.SX.A7SQ.01     3  0.0000      0.973 0.00 0.00 1.00
#> TCGA.B1.A654.01     3  0.0000      0.973 0.00 0.00 1.00
#> TCGA.G7.A4TM.01     3  0.0000      0.973 0.00 0.00 1.00
#> TCGA.IZ.8196.01     2  0.0892      0.977 0.00 0.98 0.02
#> TCGA.B9.A5W7.01     3  0.0000      0.973 0.00 0.00 1.00
#> TCGA.SX.A7SU.01     3  0.0000      0.973 0.00 0.00 1.00
#> TCGA.GL.8500.01     2  0.0000      0.976 0.00 1.00 0.00
#> TCGA.EV.5902.01     2  0.0000      0.976 0.00 1.00 0.00
#> TCGA.A4.8516.01     2  0.0892      0.977 0.00 0.98 0.02
#> TCGA.MH.A854.01     2  0.1529      0.968 0.00 0.96 0.04
#> TCGA.A4.8630.01     1  0.0000      0.987 1.00 0.00 0.00
#> TCGA.4A.A93W.01     3  0.0000      0.973 0.00 0.00 1.00
#> TCGA.GL.A9DC.01     2  0.0000      0.976 0.00 1.00 0.00
#> TCGA.A4.8515.01     1  0.0892      0.975 0.98 0.02 0.00
#> TCGA.IZ.A6M9.01     1  0.0000      0.987 1.00 0.00 0.00
#> TCGA.Y8.A8S0.01     1  0.0000      0.987 1.00 0.00 0.00
#> TCGA.G7.A8LB.01     1  0.0000      0.987 1.00 0.00 0.00
#> TCGA.SX.A7SL.01     1  0.0000      0.987 1.00 0.00 0.00
#> TCGA.B9.A8YH.01     2  0.1529      0.968 0.00 0.96 0.04
#> TCGA.G7.A8LE.01     3  0.6244      0.157 0.00 0.44 0.56
#> TCGA.SX.A71W.01     1  0.0000      0.987 1.00 0.00 0.00
#> TCGA.Y8.A894.01     2  0.0892      0.977 0.00 0.98 0.02
#> TCGA.A4.8311.01     1  0.0000      0.987 1.00 0.00 0.00
#> TCGA.Y8.A895.01     1  0.0892      0.975 0.98 0.02 0.00
#> TCGA.2Z.A9JS.01     1  0.0000      0.987 1.00 0.00 0.00
#> TCGA.KV.A74V.01     1  0.0000      0.987 1.00 0.00 0.00
#> TCGA.UZ.A9PZ.01     2  0.0892      0.974 0.00 0.98 0.02
#> TCGA.B9.5155.01     1  0.0000      0.987 1.00 0.00 0.00
#> TCGA.5P.A9K4.01     1  0.0000      0.987 1.00 0.00 0.00
#> TCGA.PJ.A5Z9.01     1  0.0000      0.987 1.00 0.00 0.00
#> TCGA.5P.A9KF.01     2  0.0000      0.976 0.00 1.00 0.00
#> TCGA.5P.A9K2.01     1  0.0000      0.987 1.00 0.00 0.00
#> TCGA.UZ.A9PV.01     1  0.0000      0.987 1.00 0.00 0.00
#> TCGA.UZ.A9Q0.01     1  0.0892      0.975 0.98 0.02 0.00
#> TCGA.UZ.A9PX.01     2  0.0000      0.976 0.00 1.00 0.00
#> TCGA.UZ.A9PR.01     2  0.0892      0.977 0.00 0.98 0.02
#> TCGA.B1.A47N.01     3  0.0000      0.973 0.00 0.00 1.00
#> TCGA.2Z.A9JE.01     2  0.2537      0.933 0.00 0.92 0.08
#> TCGA.AT.A5NU.01     1  0.0000      0.987 1.00 0.00 0.00
#> TCGA.2Z.A9JQ.01     2  0.0892      0.977 0.00 0.98 0.02
#> TCGA.UZ.A9PU.01     2  0.0000      0.976 0.00 1.00 0.00
#> TCGA.P4.A5EB.01     2  0.0000      0.976 0.00 1.00 0.00
#> TCGA.UZ.A9PP.01     3  0.0000      0.973 0.00 0.00 1.00
#> TCGA.5P.A9JY.01     1  0.0000      0.987 1.00 0.00 0.00
#> TCGA.P4.AAVL.01     2  0.0892      0.970 0.00 0.98 0.02
#> TCGA.SX.A71R.01     2  0.0892      0.974 0.00 0.98 0.02
#> TCGA.A4.A5DU.01     3  0.0000      0.973 0.00 0.00 1.00
#> TCGA.HE.7129.01     1  0.0000      0.987 1.00 0.00 0.00
#> TCGA.HE.A5NJ.01     1  0.0000      0.987 1.00 0.00 0.00
#> TCGA.DW.7839.01     3  0.0000      0.973 0.00 0.00 1.00
#> TCGA.BQ.7051.01     1  0.0892      0.975 0.98 0.02 0.00
#> TCGA.O9.A75Z.01     3  0.0000      0.973 0.00 0.00 1.00
#> TCGA.DZ.6133.01     2  0.0892      0.974 0.00 0.98 0.02
#> TCGA.A4.A4ZT.01     1  0.0000      0.987 1.00 0.00 0.00
#> TCGA.B1.7332.01     1  0.0000      0.987 1.00 0.00 0.00
#> TCGA.G7.6797.01     1  0.0000      0.987 1.00 0.00 0.00
#> TCGA.HE.A5NH.01     2  0.0892      0.977 0.00 0.98 0.02
#> TCGA.B9.7268.01     1  0.0000      0.987 1.00 0.00 0.00
#> TCGA.HE.A5NI.01     1  0.0892      0.975 0.98 0.02 0.00
#> TCGA.F9.A7VF.01     1  0.0000      0.987 1.00 0.00 0.00
#> TCGA.DZ.6135.01     2  0.0000      0.976 0.00 1.00 0.00
#> TCGA.MH.A55Z.01     2  0.0892      0.977 0.00 0.98 0.02
#> TCGA.SX.A71S.01     2  0.1529      0.968 0.00 0.96 0.04
#> TCGA.DW.7840.01     2  0.4002      0.835 0.00 0.84 0.16
#> TCGA.GL.A59R.01     2  0.1529      0.968 0.00 0.96 0.04
#> TCGA.DW.7842.01     3  0.0000      0.973 0.00 0.00 1.00
#> TCGA.DW.7836.01     3  0.0000      0.973 0.00 0.00 1.00
#> TCGA.B3.A6W5.01     1  0.7398      0.630 0.70 0.18 0.12
#> TCGA.A4.7734.01     3  0.0000      0.973 0.00 0.00 1.00
#> TCGA.UZ.A9PJ.01     3  0.0000      0.973 0.00 0.00 1.00
#> TCGA.UZ.A9PL.01     2  0.0000      0.976 0.00 1.00 0.00
#> TCGA.A4.7732.01     3  0.0000      0.973 0.00 0.00 1.00
#> TCGA.2Z.A9J3.01     2  0.0000      0.976 0.00 1.00 0.00
#> TCGA.UZ.A9PK.01     1  0.0000      0.987 1.00 0.00 0.00
#> TCGA.2Z.A9J7.01     3  0.0892      0.952 0.02 0.00 0.98

show/hide code output

cbind(get_classes(res, k = 4), get_membership(res, k = 4))
#>                 class entropy silhouette   p1   p2   p3   p4
#> TCGA.SX.A7SS.01     1  0.4491     0.6123 0.80 0.06 0.00 0.14
#> TCGA.BQ.5878.01     1  0.3172     0.6496 0.84 0.00 0.00 0.16
#> TCGA.DW.5561.01     3  0.3400     0.8364 0.00 0.00 0.82 0.18
#> TCGA.KV.A6GE.01     1  0.4948    -0.0306 0.56 0.00 0.00 0.44
#> TCGA.SX.A7SQ.01     3  0.1211     0.8732 0.00 0.00 0.96 0.04
#> TCGA.B1.A654.01     3  0.4079     0.8298 0.00 0.02 0.80 0.18
#> TCGA.G7.A4TM.01     3  0.1211     0.8782 0.00 0.00 0.96 0.04
#> TCGA.IZ.8196.01     2  0.4292     0.8174 0.00 0.82 0.08 0.10
#> TCGA.B9.A5W7.01     3  0.2345     0.8543 0.00 0.00 0.90 0.10
#> TCGA.SX.A7SU.01     3  0.0707     0.8787 0.00 0.00 0.98 0.02
#> TCGA.GL.8500.01     2  0.2335     0.8286 0.00 0.92 0.02 0.06
#> TCGA.EV.5902.01     2  0.4894     0.7790 0.10 0.78 0.00 0.12
#> TCGA.A4.8516.01     2  0.1913     0.8422 0.00 0.94 0.02 0.04
#> TCGA.MH.A854.01     2  0.5291     0.7632 0.00 0.74 0.08 0.18
#> TCGA.A4.8630.01     1  0.3610     0.6178 0.80 0.00 0.00 0.20
#> TCGA.4A.A93W.01     3  0.3037     0.8639 0.00 0.02 0.88 0.10
#> TCGA.GL.A9DC.01     2  0.2647     0.8363 0.00 0.88 0.00 0.12
#> TCGA.A4.8515.01     1  0.3198     0.6450 0.88 0.04 0.00 0.08
#> TCGA.IZ.A6M9.01     1  0.4406     0.4771 0.70 0.00 0.00 0.30
#> TCGA.Y8.A8S0.01     1  0.4134     0.5801 0.74 0.00 0.00 0.26
#> TCGA.G7.A8LB.01     1  0.0707     0.7150 0.98 0.00 0.00 0.02
#> TCGA.SX.A7SL.01     1  0.3801     0.6073 0.78 0.00 0.00 0.22
#> TCGA.B9.A8YH.01     2  0.3611     0.8280 0.00 0.86 0.08 0.06
#> TCGA.G7.A8LE.01     2  0.7610     0.0676 0.00 0.40 0.40 0.20
#> TCGA.SX.A71W.01     4  0.4977     0.1713 0.46 0.00 0.00 0.54
#> TCGA.Y8.A894.01     2  0.4079     0.7978 0.00 0.80 0.02 0.18
#> TCGA.A4.8311.01     1  0.2647     0.7033 0.88 0.00 0.00 0.12
#> TCGA.Y8.A895.01     1  0.3037     0.6440 0.88 0.02 0.00 0.10
#> TCGA.2Z.A9JS.01     1  0.3975     0.5815 0.76 0.00 0.00 0.24
#> TCGA.KV.A74V.01     4  0.4994     0.2666 0.48 0.00 0.00 0.52
#> TCGA.UZ.A9PZ.01     2  0.3030     0.8347 0.02 0.90 0.02 0.06
#> TCGA.B9.5155.01     1  0.1211     0.7193 0.96 0.00 0.00 0.04
#> TCGA.5P.A9K4.01     4  0.4977     0.3290 0.46 0.00 0.00 0.54
#> TCGA.PJ.A5Z9.01     1  0.4977    -0.1822 0.54 0.00 0.00 0.46
#> TCGA.5P.A9KF.01     2  0.3935     0.7823 0.10 0.84 0.00 0.06
#> TCGA.5P.A9K2.01     1  0.2345     0.7065 0.90 0.00 0.00 0.10
#> TCGA.UZ.A9PV.01     1  0.1211     0.7035 0.96 0.00 0.00 0.04
#> TCGA.UZ.A9Q0.01     1  0.2706     0.6642 0.90 0.02 0.00 0.08
#> TCGA.UZ.A9PX.01     2  0.1913     0.8340 0.00 0.94 0.02 0.04
#> TCGA.UZ.A9PR.01     2  0.2335     0.8412 0.00 0.92 0.02 0.06
#> TCGA.B1.A47N.01     3  0.3400     0.8256 0.00 0.00 0.82 0.18
#> TCGA.2Z.A9JE.01     2  0.6840     0.5814 0.00 0.60 0.22 0.18
#> TCGA.AT.A5NU.01     1  0.2345     0.6999 0.90 0.00 0.00 0.10
#> TCGA.2Z.A9JQ.01     2  0.4332     0.8012 0.00 0.80 0.04 0.16
#> TCGA.UZ.A9PU.01     2  0.3611     0.8049 0.06 0.86 0.00 0.08
#> TCGA.P4.A5EB.01     2  0.3247     0.8136 0.06 0.88 0.00 0.06
#> TCGA.UZ.A9PP.01     3  0.1637     0.8723 0.00 0.00 0.94 0.06
#> TCGA.5P.A9JY.01     1  0.0000     0.7108 1.00 0.00 0.00 0.00
#> TCGA.P4.AAVL.01     2  0.7744     0.4408 0.02 0.48 0.14 0.36
#> TCGA.SX.A71R.01     2  0.1637     0.8401 0.00 0.94 0.00 0.06
#> TCGA.A4.A5DU.01     3  0.4713     0.6545 0.00 0.00 0.64 0.36
#> TCGA.HE.7129.01     1  0.4406     0.4970 0.70 0.00 0.00 0.30
#> TCGA.HE.A5NJ.01     4  0.4907     0.3909 0.42 0.00 0.00 0.58
#> TCGA.DW.7839.01     3  0.6449     0.6691 0.00 0.14 0.64 0.22
#> TCGA.BQ.7051.01     1  0.1637     0.6921 0.94 0.00 0.00 0.06
#> TCGA.O9.A75Z.01     3  0.0000     0.8791 0.00 0.00 1.00 0.00
#> TCGA.DZ.6133.01     2  0.2011     0.8374 0.00 0.92 0.00 0.08
#> TCGA.A4.A4ZT.01     4  0.4948     0.3975 0.44 0.00 0.00 0.56
#> TCGA.B1.7332.01     4  0.4277     0.4734 0.28 0.00 0.00 0.72
#> TCGA.G7.6797.01     1  0.4713     0.2601 0.64 0.00 0.00 0.36
#> TCGA.HE.A5NH.01     2  0.1913     0.8410 0.00 0.94 0.02 0.04
#> TCGA.B9.7268.01     1  0.2921     0.7084 0.86 0.00 0.00 0.14
#> TCGA.HE.A5NI.01     1  0.3853     0.6655 0.82 0.02 0.00 0.16
#> TCGA.F9.A7VF.01     1  0.1211     0.7134 0.96 0.00 0.00 0.04
#> TCGA.DZ.6135.01     2  0.2706     0.8341 0.00 0.90 0.02 0.08
#> TCGA.MH.A55Z.01     2  0.2411     0.8415 0.00 0.92 0.04 0.04
#> TCGA.SX.A71S.01     2  0.5147     0.7636 0.00 0.74 0.06 0.20
#> TCGA.DW.7840.01     2  0.6382     0.4987 0.00 0.58 0.34 0.08
#> TCGA.GL.A59R.01     2  0.5077     0.7771 0.00 0.76 0.08 0.16
#> TCGA.DW.7842.01     3  0.0707     0.8796 0.00 0.00 0.98 0.02
#> TCGA.DW.7836.01     3  0.5383     0.7488 0.00 0.10 0.74 0.16
#> TCGA.B3.A6W5.01     4  0.5241     0.4172 0.14 0.04 0.04 0.78
#> TCGA.A4.7734.01     3  0.3525     0.8453 0.00 0.04 0.86 0.10
#> TCGA.UZ.A9PJ.01     3  0.0000     0.8791 0.00 0.00 1.00 0.00
#> TCGA.UZ.A9PL.01     2  0.3886     0.8116 0.04 0.86 0.02 0.08
#> TCGA.A4.7732.01     3  0.2706     0.8567 0.00 0.02 0.90 0.08
#> TCGA.2Z.A9J3.01     2  0.1913     0.8340 0.00 0.94 0.02 0.04
#> TCGA.UZ.A9PK.01     1  0.4948    -0.0721 0.56 0.00 0.00 0.44
#> TCGA.2Z.A9J7.01     4  0.4994    -0.4206 0.00 0.00 0.48 0.52

show/hide code output

cbind(get_classes(res, k = 5), get_membership(res, k = 5))
#>                 class entropy silhouette   p1   p2   p3   p4   p5
#> TCGA.SX.A7SS.01     1  0.5648    0.52427 0.68 0.02 0.00 0.14 0.16
#> TCGA.BQ.5878.01     1  0.5934    0.44890 0.62 0.02 0.00 0.26 0.10
#> TCGA.DW.5561.01     3  0.4552    0.73278 0.00 0.02 0.78 0.10 0.10
#> TCGA.KV.A6GE.01     4  0.6200    0.37374 0.28 0.00 0.00 0.54 0.18
#> TCGA.SX.A7SQ.01     3  0.4312    0.73968 0.00 0.16 0.78 0.04 0.02
#> TCGA.B1.A654.01     3  0.6700    0.41616 0.00 0.38 0.46 0.14 0.02
#> TCGA.G7.A4TM.01     3  0.4420    0.78937 0.00 0.08 0.80 0.04 0.08
#> TCGA.IZ.8196.01     2  0.3561    0.19399 0.00 0.74 0.00 0.00 0.26
#> TCGA.B9.A5W7.01     3  0.2616    0.77172 0.00 0.00 0.88 0.02 0.10
#> TCGA.SX.A7SU.01     3  0.2012    0.79973 0.00 0.06 0.92 0.02 0.00
#> TCGA.GL.8500.01     5  0.4262    0.48368 0.00 0.44 0.00 0.00 0.56
#> TCGA.EV.5902.01     2  0.5236    0.15510 0.04 0.72 0.00 0.06 0.18
#> TCGA.A4.8516.01     2  0.4126   -0.06357 0.00 0.62 0.00 0.00 0.38
#> TCGA.MH.A854.01     2  0.3348    0.40190 0.00 0.86 0.02 0.08 0.04
#> TCGA.A4.8630.01     1  0.3291    0.64577 0.84 0.00 0.00 0.12 0.04
#> TCGA.4A.A93W.01     3  0.4263    0.72436 0.00 0.18 0.76 0.06 0.00
#> TCGA.GL.A9DC.01     2  0.3852    0.21485 0.00 0.76 0.00 0.02 0.22
#> TCGA.A4.8515.01     1  0.5130    0.49713 0.68 0.00 0.00 0.10 0.22
#> TCGA.IZ.A6M9.01     1  0.5425    0.38609 0.60 0.00 0.00 0.32 0.08
#> TCGA.Y8.A8S0.01     1  0.4075    0.61053 0.78 0.00 0.00 0.16 0.06
#> TCGA.G7.A8LB.01     1  0.2616    0.67270 0.88 0.00 0.00 0.10 0.02
#> TCGA.SX.A7SL.01     1  0.5727    0.31338 0.56 0.00 0.00 0.34 0.10
#> TCGA.B9.A8YH.01     2  0.5534    0.05757 0.00 0.58 0.02 0.04 0.36
#> TCGA.G7.A8LE.01     2  0.5574    0.24521 0.00 0.66 0.24 0.08 0.02
#> TCGA.SX.A71W.01     4  0.5345    0.11073 0.46 0.00 0.02 0.50 0.02
#> TCGA.Y8.A894.01     2  0.3106    0.31901 0.00 0.84 0.00 0.02 0.14
#> TCGA.A4.8311.01     1  0.2754    0.65798 0.88 0.00 0.00 0.04 0.08
#> TCGA.Y8.A895.01     1  0.2732    0.62222 0.84 0.00 0.00 0.00 0.16
#> TCGA.2Z.A9JS.01     1  0.4644    0.44856 0.68 0.00 0.00 0.28 0.04
#> TCGA.KV.A74V.01     4  0.4748    0.48463 0.30 0.00 0.00 0.66 0.04
#> TCGA.UZ.A9PZ.01     2  0.6094   -0.23787 0.08 0.54 0.00 0.02 0.36
#> TCGA.B9.5155.01     1  0.2797    0.68210 0.88 0.00 0.00 0.06 0.06
#> TCGA.5P.A9K4.01     4  0.4433    0.51441 0.20 0.00 0.00 0.74 0.06
#> TCGA.PJ.A5Z9.01     4  0.4829    0.20150 0.48 0.00 0.00 0.50 0.02
#> TCGA.5P.A9KF.01     5  0.6263    0.50974 0.10 0.34 0.00 0.02 0.54
#> TCGA.5P.A9K2.01     1  0.3390    0.66446 0.84 0.00 0.00 0.10 0.06
#> TCGA.UZ.A9PV.01     1  0.1648    0.68021 0.94 0.00 0.00 0.02 0.04
#> TCGA.UZ.A9Q0.01     1  0.5013    0.52784 0.68 0.00 0.00 0.08 0.24
#> TCGA.UZ.A9PX.01     2  0.4307   -0.44461 0.00 0.50 0.00 0.00 0.50
#> TCGA.UZ.A9PR.01     2  0.4798   -0.31188 0.00 0.54 0.02 0.00 0.44
#> TCGA.B1.A47N.01     3  0.6200    0.48281 0.00 0.02 0.56 0.32 0.10
#> TCGA.2Z.A9JE.01     2  0.1648    0.40936 0.00 0.94 0.04 0.00 0.02
#> TCGA.AT.A5NU.01     1  0.1732    0.67276 0.92 0.00 0.00 0.08 0.00
#> TCGA.2Z.A9JQ.01     2  0.1216    0.40507 0.00 0.96 0.00 0.02 0.02
#> TCGA.UZ.A9PU.01     5  0.4854    0.57087 0.06 0.26 0.00 0.00 0.68
#> TCGA.P4.A5EB.01     5  0.4360    0.57303 0.00 0.30 0.00 0.02 0.68
#> TCGA.UZ.A9PP.01     3  0.0609    0.78990 0.00 0.00 0.98 0.00 0.02
#> TCGA.5P.A9JY.01     1  0.1732    0.66503 0.92 0.00 0.00 0.00 0.08
#> TCGA.P4.AAVL.01     5  0.8058    0.18835 0.00 0.34 0.10 0.22 0.34
#> TCGA.SX.A71R.01     2  0.4816    0.12184 0.00 0.68 0.02 0.02 0.28
#> TCGA.A4.A5DU.01     3  0.6604    0.59780 0.00 0.06 0.60 0.22 0.12
#> TCGA.HE.7129.01     1  0.4182    0.16068 0.60 0.00 0.00 0.40 0.00
#> TCGA.HE.A5NJ.01     4  0.3852    0.53299 0.22 0.00 0.00 0.76 0.02
#> TCGA.DW.7839.01     2  0.6037    0.09317 0.00 0.62 0.24 0.12 0.02
#> TCGA.BQ.7051.01     1  0.2873    0.66008 0.86 0.00 0.00 0.02 0.12
#> TCGA.O9.A75Z.01     3  0.1732    0.79511 0.00 0.08 0.92 0.00 0.00
#> TCGA.DZ.6133.01     2  0.3852    0.25774 0.00 0.76 0.00 0.02 0.22
#> TCGA.A4.A4ZT.01     4  0.4644    0.50553 0.28 0.00 0.00 0.68 0.04
#> TCGA.B1.7332.01     4  0.5062    0.50817 0.08 0.08 0.00 0.76 0.08
#> TCGA.G7.6797.01     4  0.5694    0.00666 0.46 0.00 0.00 0.46 0.08
#> TCGA.HE.A5NH.01     2  0.4060   -0.04092 0.00 0.64 0.00 0.00 0.36
#> TCGA.B9.7268.01     1  0.3561    0.49374 0.74 0.00 0.00 0.26 0.00
#> TCGA.HE.A5NI.01     1  0.5895   -0.11901 0.46 0.00 0.00 0.44 0.10
#> TCGA.F9.A7VF.01     1  0.2438    0.67242 0.90 0.00 0.00 0.04 0.06
#> TCGA.DZ.6135.01     5  0.4287    0.42320 0.00 0.46 0.00 0.00 0.54
#> TCGA.MH.A55Z.01     2  0.5173   -0.21308 0.00 0.50 0.04 0.00 0.46
#> TCGA.SX.A71S.01     2  0.1410    0.40965 0.00 0.94 0.00 0.06 0.00
#> TCGA.DW.7840.01     2  0.7514    0.16682 0.00 0.46 0.26 0.06 0.22
#> TCGA.GL.A59R.01     2  0.2077    0.41269 0.00 0.92 0.00 0.04 0.04
#> TCGA.DW.7842.01     3  0.0609    0.79080 0.00 0.00 0.98 0.00 0.02
#> TCGA.DW.7836.01     2  0.6313   -0.35585 0.00 0.46 0.44 0.06 0.04
#> TCGA.B3.A6W5.01     4  0.3946    0.45996 0.00 0.12 0.00 0.80 0.08
#> TCGA.A4.7734.01     3  0.5232    0.54876 0.00 0.34 0.60 0.06 0.00
#> TCGA.UZ.A9PJ.01     3  0.2610    0.79137 0.00 0.06 0.90 0.02 0.02
#> TCGA.UZ.A9PL.01     5  0.4767    0.50735 0.00 0.42 0.00 0.02 0.56
#> TCGA.A4.7732.01     3  0.5055    0.74630 0.00 0.16 0.74 0.06 0.04
#> TCGA.2Z.A9J3.01     2  0.4287   -0.34928 0.00 0.54 0.00 0.00 0.46
#> TCGA.UZ.A9PK.01     4  0.5173    0.07374 0.46 0.00 0.00 0.50 0.04
#> TCGA.2Z.A9J7.01     4  0.6855   -0.21189 0.00 0.04 0.36 0.48 0.12

show/hide code output

cbind(get_classes(res, k = 6), get_membership(res, k = 6))
#>                 class entropy silhouette   p1   p2   p3   p4   p5   p6
#> TCGA.SX.A7SS.01     1   0.608     0.3716 0.56 0.00 0.16 0.24 0.04 0.00
#> TCGA.BQ.5878.01     1   0.696     0.2111 0.48 0.04 0.14 0.30 0.04 0.00
#> TCGA.DW.5561.01     6   0.375     0.6512 0.00 0.14 0.00 0.08 0.00 0.78
#> TCGA.KV.A6GE.01     1   0.651    -0.0497 0.42 0.02 0.10 0.42 0.04 0.00
#> TCGA.SX.A7SQ.01     6   0.383     0.6341 0.00 0.20 0.02 0.00 0.02 0.76
#> TCGA.B1.A654.01     2   0.453     0.1495 0.00 0.58 0.00 0.04 0.00 0.38
#> TCGA.G7.A4TM.01     6   0.296     0.7048 0.00 0.12 0.04 0.00 0.00 0.84
#> TCGA.IZ.8196.01     5   0.502     0.3301 0.00 0.28 0.04 0.00 0.64 0.04
#> TCGA.B9.A5W7.01     6   0.163     0.7070 0.00 0.02 0.02 0.02 0.00 0.94
#> TCGA.SX.A7SU.01     6   0.209     0.7086 0.00 0.08 0.02 0.00 0.00 0.90
#> TCGA.GL.8500.01     5   0.368     0.6303 0.02 0.02 0.18 0.00 0.78 0.00
#> TCGA.EV.5902.01     5   0.675     0.3826 0.06 0.22 0.12 0.04 0.56 0.00
#> TCGA.A4.8516.01     5   0.675     0.5101 0.00 0.08 0.12 0.04 0.58 0.18
#> TCGA.MH.A854.01     2   0.484     0.4689 0.00 0.62 0.04 0.00 0.32 0.02
#> TCGA.A4.8630.01     1   0.279     0.5645 0.84 0.00 0.02 0.14 0.00 0.00
#> TCGA.4A.A93W.01     6   0.506     0.3133 0.00 0.40 0.04 0.02 0.00 0.54
#> TCGA.GL.A9DC.01     5   0.446     0.3917 0.00 0.28 0.06 0.00 0.66 0.00
#> TCGA.A4.8515.01     1   0.646     0.4194 0.56 0.02 0.26 0.08 0.08 0.00
#> TCGA.IZ.A6M9.01     1   0.519     0.1256 0.54 0.00 0.10 0.36 0.00 0.00
#> TCGA.Y8.A8S0.01     1   0.557     0.3966 0.64 0.04 0.14 0.18 0.00 0.00
#> TCGA.G7.A8LB.01     1   0.472     0.5483 0.68 0.00 0.14 0.18 0.00 0.00
#> TCGA.SX.A7SL.01     1   0.616     0.3718 0.50 0.00 0.20 0.28 0.02 0.00
#> TCGA.B9.A8YH.01     5   0.627     0.4114 0.00 0.24 0.08 0.00 0.56 0.12
#> TCGA.G7.A8LE.01     2   0.519     0.5046 0.00 0.68 0.04 0.00 0.10 0.18
#> TCGA.SX.A71W.01     4   0.624     0.2987 0.28 0.04 0.16 0.52 0.00 0.00
#> TCGA.Y8.A894.01     2   0.506     0.3355 0.00 0.54 0.02 0.00 0.40 0.04
#> TCGA.A4.8311.01     1   0.426     0.5609 0.76 0.02 0.14 0.08 0.00 0.00
#> TCGA.Y8.A895.01     1   0.418     0.5513 0.76 0.00 0.16 0.06 0.02 0.00
#> TCGA.2Z.A9JS.01     1   0.487     0.3575 0.60 0.00 0.08 0.32 0.00 0.00
#> TCGA.KV.A74V.01     4   0.480     0.2899 0.30 0.00 0.08 0.62 0.00 0.00
#> TCGA.UZ.A9PZ.01     5   0.671     0.5309 0.06 0.14 0.12 0.04 0.62 0.02
#> TCGA.B9.5155.01     1   0.375     0.5522 0.78 0.00 0.08 0.14 0.00 0.00
#> TCGA.5P.A9K4.01     4   0.481     0.4838 0.24 0.04 0.04 0.68 0.00 0.00
#> TCGA.PJ.A5Z9.01     4   0.448     0.3129 0.36 0.00 0.04 0.60 0.00 0.00
#> TCGA.5P.A9KF.01     5   0.611     0.5489 0.08 0.06 0.18 0.04 0.64 0.00
#> TCGA.5P.A9K2.01     1   0.420     0.5182 0.74 0.00 0.12 0.14 0.00 0.00
#> TCGA.UZ.A9PV.01     1   0.235     0.5691 0.88 0.00 0.10 0.02 0.00 0.00
#> TCGA.UZ.A9Q0.01     1   0.571     0.4490 0.62 0.02 0.26 0.06 0.04 0.00
#> TCGA.UZ.A9PX.01     5   0.148     0.6270 0.00 0.04 0.02 0.00 0.94 0.00
#> TCGA.UZ.A9PR.01     5   0.428     0.6024 0.00 0.06 0.08 0.00 0.78 0.08
#> TCGA.B1.A47N.01     6   0.727     0.3976 0.02 0.12 0.14 0.24 0.00 0.48
#> TCGA.2Z.A9JE.01     2   0.600     0.4470 0.00 0.54 0.04 0.02 0.34 0.06
#> TCGA.AT.A5NU.01     1   0.327     0.5855 0.82 0.00 0.06 0.12 0.00 0.00
#> TCGA.2Z.A9JQ.01     2   0.425     0.2485 0.00 0.58 0.02 0.00 0.40 0.00
#> TCGA.UZ.A9PU.01     5   0.527     0.5647 0.06 0.06 0.22 0.00 0.66 0.00
#> TCGA.P4.A5EB.01     5   0.478     0.5975 0.08 0.02 0.14 0.02 0.74 0.00
#> TCGA.UZ.A9PP.01     6   0.219     0.7028 0.00 0.06 0.04 0.00 0.00 0.90
#> TCGA.5P.A9JY.01     1   0.245     0.5785 0.84 0.00 0.16 0.00 0.00 0.00
#> TCGA.P4.AAVL.01     5   0.773     0.3529 0.00 0.14 0.24 0.20 0.40 0.02
#> TCGA.SX.A71R.01     5   0.433     0.5230 0.00 0.22 0.04 0.00 0.72 0.02
#> TCGA.A4.A5DU.01     6   0.609     0.3202 0.00 0.06 0.08 0.38 0.00 0.48
#> TCGA.HE.7129.01     1   0.523     0.2663 0.52 0.00 0.10 0.38 0.00 0.00
#> TCGA.HE.A5NJ.01     4   0.498     0.4634 0.22 0.04 0.06 0.68 0.00 0.00
#> TCGA.DW.7839.01     2   0.468     0.3268 0.00 0.66 0.00 0.04 0.02 0.28
#> TCGA.BQ.7051.01     1   0.410     0.5811 0.80 0.02 0.10 0.06 0.02 0.00
#> TCGA.O9.A75Z.01     6   0.308     0.6154 0.00 0.24 0.00 0.00 0.00 0.76
#> TCGA.DZ.6133.01     5   0.623     0.5068 0.00 0.22 0.10 0.06 0.60 0.02
#> TCGA.A4.A4ZT.01     4   0.346     0.4881 0.22 0.00 0.02 0.76 0.00 0.00
#> TCGA.B1.7332.01     4   0.431     0.5062 0.12 0.10 0.00 0.76 0.02 0.00
#> TCGA.G7.6797.01     4   0.659     0.2091 0.34 0.04 0.12 0.48 0.02 0.00
#> TCGA.HE.A5NH.01     5   0.235     0.5956 0.00 0.10 0.02 0.00 0.88 0.00
#> TCGA.B9.7268.01     1   0.470     0.4544 0.60 0.00 0.06 0.34 0.00 0.00
#> TCGA.HE.A5NI.01     1   0.624     0.3299 0.56 0.02 0.10 0.28 0.04 0.00
#> TCGA.F9.A7VF.01     1   0.335     0.5569 0.80 0.00 0.16 0.04 0.00 0.00
#> TCGA.DZ.6135.01     5   0.370     0.6079 0.00 0.06 0.08 0.00 0.82 0.04
#> TCGA.MH.A55Z.01     5   0.668     0.4420 0.00 0.22 0.10 0.02 0.56 0.10
#> TCGA.SX.A71S.01     2   0.408     0.4520 0.00 0.64 0.00 0.00 0.34 0.02
#> TCGA.DW.7840.01     5   0.716     0.0388 0.00 0.28 0.08 0.00 0.36 0.28
#> TCGA.GL.A59R.01     2   0.473     0.3478 0.00 0.56 0.02 0.00 0.40 0.02
#> TCGA.DW.7842.01     6   0.127     0.7089 0.00 0.00 0.06 0.00 0.00 0.94
#> TCGA.DW.7836.01     2   0.408     0.2263 0.00 0.64 0.02 0.00 0.00 0.34
#> TCGA.B3.A6W5.01     4   0.447     0.4477 0.00 0.12 0.06 0.76 0.00 0.06
#> TCGA.A4.7734.01     2   0.376     0.1346 0.00 0.60 0.00 0.00 0.00 0.40
#> TCGA.UZ.A9PJ.01     6   0.438     0.6643 0.00 0.12 0.04 0.02 0.04 0.78
#> TCGA.UZ.A9PL.01     5   0.520     0.5682 0.00 0.04 0.22 0.04 0.68 0.02
#> TCGA.A4.7732.01     6   0.392     0.5769 0.00 0.30 0.02 0.00 0.00 0.68
#> TCGA.2Z.A9J3.01     5   0.187     0.6237 0.00 0.04 0.04 0.00 0.92 0.00
#> TCGA.UZ.A9PK.01     4   0.504     0.2512 0.38 0.00 0.08 0.54 0.00 0.00
#> TCGA.2Z.A9J7.01     4   0.776    -0.1071 0.04 0.14 0.12 0.38 0.00 0.32

show/hide code output

cbind(get_classes(res, k = 7), get_membership(res, k = 7))
#>                 class entropy silhouette   p1   p2   p3   p4   p5   p6   p7
#> TCGA.SX.A7SS.01     1   0.736    0.35248 0.44 0.12 0.00 0.16 0.08 0.00 0.20
#> TCGA.BQ.5878.01     1   0.715   -0.03708 0.40 0.04 0.02 0.28 0.04 0.00 0.22
#> TCGA.DW.5561.01     6   0.589    0.52183 0.00 0.06 0.10 0.10 0.00 0.64 0.10
#> TCGA.KV.A6GE.01     4   0.517    0.48952 0.20 0.08 0.02 0.66 0.00 0.00 0.04
#> TCGA.SX.A7SQ.01     6   0.534    0.48097 0.00 0.06 0.28 0.00 0.04 0.60 0.02
#> TCGA.B1.A654.01     3   0.459    0.35035 0.00 0.00 0.68 0.00 0.04 0.22 0.06
#> TCGA.G7.A4TM.01     6   0.383    0.54550 0.00 0.04 0.12 0.00 0.00 0.78 0.06
#> TCGA.IZ.8196.01     5   0.470    0.35770 0.00 0.04 0.24 0.00 0.66 0.06 0.00
#> TCGA.B9.A5W7.01     6   0.377    0.58171 0.00 0.06 0.02 0.00 0.02 0.80 0.10
#> TCGA.SX.A7SU.01     6   0.357    0.59693 0.00 0.04 0.16 0.00 0.00 0.78 0.02
#> TCGA.GL.8500.01     5   0.478    0.53404 0.00 0.22 0.04 0.04 0.68 0.00 0.02
#> TCGA.EV.5902.01     5   0.818    0.33590 0.06 0.14 0.14 0.12 0.42 0.00 0.12
#> TCGA.A4.8516.01     5   0.680    0.49802 0.00 0.18 0.10 0.04 0.56 0.08 0.04
#> TCGA.MH.A854.01     5   0.572    0.00845 0.00 0.10 0.42 0.00 0.44 0.02 0.02
#> TCGA.A4.8630.01     1   0.410    0.57455 0.76 0.04 0.00 0.10 0.00 0.00 0.10
#> TCGA.4A.A93W.01     3   0.397   -0.17101 0.00 0.00 0.54 0.00 0.00 0.44 0.02
#> TCGA.GL.A9DC.01     5   0.476    0.40232 0.00 0.18 0.20 0.00 0.62 0.00 0.00
#> TCGA.A4.8515.01     1   0.738    0.34098 0.42 0.02 0.04 0.12 0.12 0.00 0.28
#> TCGA.IZ.A6M9.01     1   0.545    0.20410 0.54 0.02 0.00 0.28 0.00 0.00 0.16
#> TCGA.Y8.A8S0.01     1   0.523    0.14877 0.52 0.00 0.00 0.20 0.00 0.00 0.28
#> TCGA.G7.A8LB.01     1   0.499    0.52913 0.66 0.04 0.00 0.16 0.00 0.00 0.14
#> TCGA.SX.A7SL.01     1   0.737    0.22748 0.44 0.10 0.04 0.24 0.02 0.00 0.16
#> TCGA.B9.A8YH.01     5   0.598    0.44539 0.00 0.18 0.14 0.00 0.56 0.12 0.00
#> TCGA.G7.A8LE.01     3   0.364    0.49969 0.00 0.00 0.72 0.00 0.24 0.04 0.00
#> TCGA.SX.A71W.01     7   0.704    0.03037 0.30 0.04 0.02 0.28 0.00 0.02 0.34
#> TCGA.Y8.A894.01     3   0.584    0.15410 0.00 0.12 0.46 0.00 0.38 0.02 0.02
#> TCGA.A4.8311.01     1   0.345    0.54986 0.78 0.00 0.00 0.08 0.00 0.00 0.14
#> TCGA.Y8.A895.01     1   0.464    0.56442 0.74 0.04 0.00 0.06 0.04 0.00 0.12
#> TCGA.2Z.A9JS.01     1   0.573    0.31299 0.58 0.08 0.00 0.20 0.00 0.00 0.14
#> TCGA.KV.A74V.01     4   0.388    0.51135 0.14 0.04 0.02 0.78 0.00 0.00 0.02
#> TCGA.UZ.A9PZ.01     5   0.848    0.31164 0.08 0.28 0.08 0.06 0.34 0.02 0.14
#> TCGA.B9.5155.01     1   0.368    0.59045 0.78 0.02 0.00 0.06 0.00 0.00 0.14
#> TCGA.5P.A9K4.01     4   0.599    0.01960 0.18 0.00 0.08 0.54 0.00 0.00 0.20
#> TCGA.PJ.A5Z9.01     4   0.375    0.53962 0.34 0.00 0.02 0.64 0.00 0.00 0.00
#> TCGA.5P.A9KF.01     5   0.680    0.39683 0.08 0.24 0.00 0.08 0.50 0.00 0.10
#> TCGA.5P.A9K2.01     1   0.306    0.57473 0.84 0.02 0.00 0.08 0.00 0.00 0.06
#> TCGA.UZ.A9PV.01     1   0.193    0.60706 0.90 0.00 0.00 0.02 0.00 0.00 0.08
#> TCGA.UZ.A9Q0.01     1   0.586    0.44600 0.50 0.04 0.00 0.06 0.04 0.00 0.36
#> TCGA.UZ.A9PX.01     5   0.117    0.55133 0.00 0.06 0.00 0.00 0.94 0.00 0.00
#> TCGA.UZ.A9PR.01     5   0.526    0.47063 0.00 0.14 0.06 0.00 0.64 0.16 0.00
#> TCGA.B1.A47N.01     6   0.809    0.22921 0.02 0.08 0.14 0.12 0.02 0.42 0.20
#> TCGA.2Z.A9JE.01     3   0.553    0.35873 0.00 0.06 0.54 0.00 0.34 0.04 0.02
#> TCGA.AT.A5NU.01     1   0.367    0.56909 0.76 0.00 0.00 0.14 0.00 0.00 0.10
#> TCGA.2Z.A9JQ.01     5   0.625   -0.04414 0.00 0.14 0.40 0.00 0.40 0.04 0.02
#> TCGA.UZ.A9PU.01     5   0.627    0.46232 0.00 0.18 0.00 0.12 0.56 0.02 0.12
#> TCGA.P4.A5EB.01     5   0.543    0.50774 0.02 0.12 0.02 0.04 0.68 0.00 0.12
#> TCGA.UZ.A9PP.01     6   0.411    0.57646 0.00 0.04 0.24 0.00 0.00 0.70 0.02
#> TCGA.5P.A9JY.01     1   0.277    0.61089 0.86 0.00 0.02 0.04 0.00 0.00 0.08
#> TCGA.P4.AAVL.01     5   0.938    0.06721 0.06 0.18 0.18 0.12 0.22 0.20 0.04
#> TCGA.SX.A71R.01     5   0.433    0.46670 0.00 0.04 0.18 0.00 0.72 0.06 0.00
#> TCGA.A4.A5DU.01     6   0.682    0.25488 0.00 0.12 0.04 0.28 0.00 0.46 0.10
#> TCGA.HE.7129.01     4   0.485    0.43461 0.32 0.00 0.00 0.56 0.00 0.00 0.12
#> TCGA.HE.A5NJ.01     4   0.450    0.32523 0.16 0.00 0.00 0.66 0.00 0.00 0.18
#> TCGA.DW.7839.01     3   0.326    0.52880 0.00 0.00 0.80 0.00 0.12 0.08 0.00
#> TCGA.BQ.7051.01     1   0.600    0.53772 0.60 0.12 0.00 0.06 0.04 0.00 0.18
#> TCGA.O9.A75Z.01     6   0.336    0.39289 0.00 0.00 0.36 0.00 0.00 0.64 0.00
#> TCGA.DZ.6133.01     5   0.651    0.43088 0.00 0.26 0.06 0.06 0.54 0.06 0.02
#> TCGA.A4.A4ZT.01     4   0.339    0.55029 0.18 0.02 0.00 0.78 0.00 0.00 0.02
#> TCGA.B1.7332.01     4   0.502    0.44195 0.12 0.10 0.10 0.68 0.00 0.00 0.00
#> TCGA.G7.6797.01     4   0.580    0.29021 0.38 0.08 0.00 0.48 0.02 0.00 0.04
#> TCGA.HE.A5NH.01     5   0.300    0.49970 0.00 0.04 0.10 0.00 0.84 0.02 0.00
#> TCGA.B9.7268.01     1   0.387    0.57090 0.74 0.00 0.00 0.12 0.00 0.00 0.14
#> TCGA.HE.A5NI.01     4   0.678    0.36112 0.30 0.06 0.00 0.46 0.10 0.00 0.08
#> TCGA.F9.A7VF.01     1   0.283    0.58800 0.84 0.00 0.00 0.08 0.00 0.00 0.08
#> TCGA.DZ.6135.01     5   0.416    0.53326 0.00 0.14 0.06 0.00 0.76 0.02 0.02
#> TCGA.MH.A55Z.01     5   0.645    0.47478 0.00 0.22 0.10 0.00 0.54 0.10 0.04
#> TCGA.SX.A71S.01     3   0.355    0.14936 0.00 0.00 0.54 0.00 0.46 0.00 0.00
#> TCGA.DW.7840.01     5   0.715    0.13277 0.00 0.10 0.18 0.00 0.40 0.28 0.04
#> TCGA.GL.A59R.01     5   0.579    0.09198 0.00 0.10 0.40 0.00 0.44 0.06 0.00
#> TCGA.DW.7842.01     6   0.447    0.57930 0.00 0.06 0.20 0.00 0.00 0.70 0.04
#> TCGA.DW.7836.01     3   0.503    0.27232 0.00 0.04 0.58 0.00 0.06 0.32 0.00
#> TCGA.B3.A6W5.01     4   0.631    0.24659 0.04 0.10 0.06 0.66 0.06 0.04 0.04
#> TCGA.A4.7734.01     3   0.421    0.22199 0.00 0.02 0.62 0.00 0.02 0.34 0.00
#> TCGA.UZ.A9PJ.01     6   0.485    0.57460 0.00 0.04 0.18 0.00 0.04 0.70 0.04
#> TCGA.UZ.A9PL.01     5   0.620    0.49877 0.02 0.20 0.06 0.08 0.60 0.00 0.04
#> TCGA.A4.7732.01     6   0.539    0.31578 0.00 0.04 0.24 0.00 0.08 0.62 0.02
#> TCGA.2Z.A9J3.01     5   0.186    0.54562 0.00 0.04 0.02 0.00 0.92 0.00 0.02
#> TCGA.UZ.A9PK.01     4   0.573    0.34007 0.34 0.04 0.02 0.52 0.00 0.00 0.08
#> TCGA.2Z.A9J7.01     7   0.781    0.16246 0.02 0.04 0.16 0.30 0.00 0.16 0.32

show/hide code output

cbind(get_classes(res, k = 8), get_membership(res, k = 8))
#>                 class entropy silhouette   p1   p2   p3   p4   p5   p6   p7   p8
#> TCGA.SX.A7SS.01     1   0.782   0.257648 0.42 0.04 0.02 0.24 0.08 0.02 0.08 0.10
#> TCGA.BQ.5878.01     1   0.644  -0.018010 0.42 0.06 0.02 0.36 0.04 0.00 0.10 0.00
#> TCGA.DW.5561.01     8   0.599   0.005644 0.00 0.00 0.18 0.08 0.00 0.36 0.00 0.38
#> TCGA.KV.A6GE.01     4   0.648   0.438008 0.10 0.08 0.00 0.56 0.04 0.00 0.06 0.16
#> TCGA.SX.A7SQ.01     6   0.458   0.611148 0.00 0.04 0.16 0.00 0.00 0.70 0.02 0.08
#> TCGA.B1.A654.01     3   0.517   0.185421 0.00 0.02 0.62 0.00 0.02 0.24 0.02 0.08
#> TCGA.G7.A4TM.01     6   0.559   0.476226 0.00 0.04 0.18 0.00 0.00 0.56 0.02 0.20
#> TCGA.IZ.8196.01     5   0.589   0.223336 0.00 0.14 0.28 0.00 0.50 0.06 0.00 0.02
#> TCGA.B9.A5W7.01     6   0.475   0.295894 0.00 0.04 0.02 0.04 0.00 0.62 0.00 0.28
#> TCGA.SX.A7SU.01     6   0.281   0.661902 0.00 0.02 0.10 0.00 0.00 0.84 0.00 0.04
#> TCGA.GL.8500.01     5   0.429   0.058443 0.00 0.12 0.00 0.06 0.74 0.02 0.00 0.06
#> TCGA.EV.5902.01     5   0.735  -0.233367 0.08 0.18 0.24 0.00 0.38 0.00 0.10 0.02
#> TCGA.A4.8516.01     8   0.731  -0.414644 0.00 0.10 0.10 0.06 0.34 0.02 0.02 0.36
#> TCGA.MH.A854.01     3   0.550   0.213824 0.00 0.08 0.54 0.00 0.30 0.02 0.00 0.06
#> TCGA.A4.8630.01     1   0.343   0.510618 0.74 0.00 0.00 0.20 0.00 0.00 0.06 0.00
#> TCGA.4A.A93W.01     6   0.285   0.568220 0.00 0.00 0.28 0.00 0.00 0.72 0.00 0.00
#> TCGA.GL.A9DC.01     5   0.449   0.190785 0.00 0.08 0.28 0.00 0.62 0.00 0.00 0.02
#> TCGA.A4.8515.01     1   0.794   0.276191 0.42 0.14 0.02 0.08 0.12 0.00 0.14 0.08
#> TCGA.IZ.A6M9.01     1   0.526   0.295190 0.50 0.00 0.00 0.18 0.00 0.00 0.30 0.02
#> TCGA.Y8.A8S0.01     1   0.553   0.375964 0.54 0.02 0.00 0.12 0.00 0.00 0.28 0.04
#> TCGA.G7.A8LB.01     1   0.500   0.483987 0.70 0.08 0.00 0.10 0.02 0.00 0.08 0.02
#> TCGA.SX.A7SL.01     1   0.698   0.194293 0.38 0.12 0.00 0.26 0.02 0.00 0.20 0.02
#> TCGA.B9.A8YH.01     5   0.718   0.101073 0.00 0.14 0.20 0.00 0.44 0.08 0.02 0.12
#> TCGA.G7.A8LE.01     3   0.409   0.423535 0.00 0.04 0.78 0.00 0.06 0.08 0.02 0.02
#> TCGA.SX.A71W.01     1   0.655   0.130203 0.42 0.02 0.00 0.20 0.00 0.00 0.24 0.12
#> TCGA.Y8.A894.01     3   0.494   0.132099 0.00 0.04 0.56 0.02 0.34 0.00 0.00 0.04
#> TCGA.A4.8311.01     1   0.502   0.446549 0.66 0.02 0.00 0.16 0.00 0.00 0.10 0.06
#> TCGA.Y8.A895.01     1   0.594   0.455108 0.64 0.02 0.00 0.06 0.08 0.02 0.12 0.06
#> TCGA.2Z.A9JS.01     1   0.586   0.365778 0.50 0.04 0.02 0.24 0.00 0.00 0.20 0.00
#> TCGA.KV.A74V.01     4   0.457   0.506811 0.12 0.04 0.00 0.72 0.00 0.00 0.04 0.08
#> TCGA.UZ.A9PZ.01     2   0.670   0.000000 0.02 0.40 0.12 0.06 0.36 0.00 0.02 0.02
#> TCGA.B9.5155.01     1   0.361   0.515382 0.74 0.00 0.02 0.20 0.00 0.00 0.04 0.00
#> TCGA.5P.A9K4.01     4   0.632   0.254482 0.20 0.00 0.04 0.36 0.00 0.00 0.36 0.04
#> TCGA.PJ.A5Z9.01     4   0.387   0.409701 0.22 0.02 0.00 0.72 0.00 0.00 0.02 0.02
#> TCGA.5P.A9KF.01     5   0.779  -0.257335 0.12 0.20 0.06 0.08 0.42 0.00 0.10 0.02
#> TCGA.5P.A9K2.01     1   0.419   0.508819 0.66 0.00 0.00 0.20 0.00 0.00 0.14 0.00
#> TCGA.UZ.A9PV.01     1   0.202   0.530191 0.88 0.00 0.00 0.02 0.00 0.00 0.10 0.00
#> TCGA.UZ.A9Q0.01     1   0.671   0.389789 0.54 0.06 0.00 0.10 0.06 0.00 0.16 0.08
#> TCGA.UZ.A9PX.01     5   0.189   0.238325 0.00 0.04 0.00 0.00 0.90 0.00 0.00 0.06
#> TCGA.UZ.A9PR.01     5   0.473   0.214822 0.00 0.22 0.06 0.02 0.66 0.04 0.00 0.00
#> TCGA.B1.A47N.01     8   0.764  -0.155823 0.06 0.00 0.12 0.12 0.00 0.16 0.12 0.42
#> TCGA.2Z.A9JE.01     3   0.752   0.074672 0.00 0.18 0.32 0.00 0.26 0.16 0.02 0.06
#> TCGA.AT.A5NU.01     1   0.373   0.477386 0.72 0.00 0.00 0.22 0.00 0.02 0.04 0.00
#> TCGA.2Z.A9JQ.01     5   0.526   0.013637 0.00 0.06 0.40 0.00 0.48 0.02 0.00 0.04
#> TCGA.UZ.A9PU.01     5   0.567  -0.062159 0.02 0.16 0.00 0.02 0.60 0.00 0.04 0.16
#> TCGA.P4.A5EB.01     5   0.489   0.055050 0.04 0.08 0.00 0.08 0.72 0.00 0.02 0.06
#> TCGA.UZ.A9PP.01     6   0.248   0.646256 0.00 0.00 0.10 0.02 0.00 0.86 0.00 0.02
#> TCGA.5P.A9JY.01     1   0.436   0.492291 0.70 0.04 0.00 0.04 0.00 0.02 0.20 0.00
#> TCGA.P4.AAVL.01     5   0.732  -0.095215 0.00 0.08 0.12 0.20 0.44 0.00 0.04 0.12
#> TCGA.SX.A71R.01     5   0.692  -0.024750 0.00 0.28 0.12 0.00 0.44 0.06 0.04 0.06
#> TCGA.A4.A5DU.01     8   0.745   0.035174 0.00 0.04 0.16 0.26 0.00 0.24 0.02 0.28
#> TCGA.HE.7129.01     1   0.607   0.006505 0.40 0.02 0.00 0.38 0.00 0.02 0.16 0.02
#> TCGA.HE.A5NJ.01     4   0.473   0.402158 0.18 0.00 0.00 0.56 0.00 0.00 0.26 0.00
#> TCGA.DW.7839.01     3   0.363   0.379215 0.00 0.02 0.78 0.02 0.04 0.14 0.00 0.00
#> TCGA.BQ.7051.01     1   0.441   0.508415 0.74 0.02 0.02 0.10 0.02 0.00 0.10 0.00
#> TCGA.O9.A75Z.01     6   0.406   0.648753 0.00 0.02 0.20 0.00 0.00 0.72 0.02 0.04
#> TCGA.DZ.6133.01     5   0.725   0.037271 0.00 0.20 0.20 0.08 0.42 0.00 0.04 0.06
#> TCGA.A4.A4ZT.01     4   0.240   0.503587 0.14 0.02 0.00 0.84 0.00 0.00 0.00 0.00
#> TCGA.B1.7332.01     4   0.512   0.334684 0.06 0.02 0.10 0.70 0.00 0.00 0.06 0.06
#> TCGA.G7.6797.01     4   0.710  -0.003189 0.32 0.10 0.04 0.40 0.02 0.00 0.10 0.02
#> TCGA.HE.A5NH.01     5   0.383   0.294554 0.00 0.08 0.16 0.00 0.74 0.02 0.00 0.00
#> TCGA.B9.7268.01     1   0.451   0.479046 0.68 0.04 0.00 0.16 0.00 0.00 0.12 0.00
#> TCGA.HE.A5NI.01     4   0.612   0.030235 0.32 0.02 0.00 0.48 0.10 0.02 0.06 0.00
#> TCGA.F9.A7VF.01     1   0.447   0.501094 0.66 0.00 0.00 0.12 0.00 0.00 0.20 0.02
#> TCGA.DZ.6135.01     5   0.332   0.194326 0.00 0.04 0.12 0.00 0.80 0.00 0.00 0.04
#> TCGA.MH.A55Z.01     5   0.670   0.038522 0.00 0.28 0.08 0.00 0.46 0.06 0.02 0.10
#> TCGA.SX.A71S.01     3   0.301   0.288362 0.00 0.00 0.68 0.00 0.32 0.00 0.00 0.00
#> TCGA.DW.7840.01     5   0.788   0.008211 0.00 0.16 0.24 0.00 0.28 0.14 0.02 0.16
#> TCGA.GL.A59R.01     3   0.492   0.045498 0.00 0.10 0.50 0.00 0.38 0.00 0.02 0.00
#> TCGA.DW.7842.01     6   0.259   0.637706 0.00 0.02 0.04 0.00 0.00 0.86 0.00 0.08
#> TCGA.DW.7836.01     3   0.548   0.272145 0.00 0.02 0.64 0.00 0.04 0.18 0.06 0.06
#> TCGA.B3.A6W5.01     4   0.550   0.004570 0.00 0.06 0.14 0.62 0.00 0.00 0.04 0.14
#> TCGA.A4.7734.01     3   0.408  -0.035964 0.00 0.02 0.56 0.00 0.00 0.40 0.02 0.00
#> TCGA.UZ.A9PJ.01     6   0.340   0.600886 0.00 0.06 0.06 0.00 0.04 0.82 0.00 0.02
#> TCGA.UZ.A9PL.01     5   0.538  -0.000133 0.00 0.12 0.04 0.02 0.64 0.00 0.02 0.16
#> TCGA.A4.7732.01     6   0.608   0.411462 0.00 0.04 0.28 0.00 0.02 0.50 0.02 0.14
#> TCGA.2Z.A9J3.01     5   0.281   0.208237 0.00 0.04 0.10 0.00 0.84 0.00 0.00 0.02
#> TCGA.UZ.A9PK.01     4   0.583   0.295414 0.26 0.02 0.00 0.50 0.00 0.00 0.18 0.04
#> TCGA.2Z.A9J7.01     7   0.803   0.000000 0.00 0.08 0.24 0.14 0.00 0.10 0.32 0.12

Heatmaps for the consensus matrix. It visualizes the probability of two samples to be in a same group.

consensus_heatmap(res, k = 2)

plot of chunk tab-node-01-consensus-heatmap-1

consensus_heatmap(res, k = 3)

plot of chunk tab-node-01-consensus-heatmap-2

consensus_heatmap(res, k = 4)

plot of chunk tab-node-01-consensus-heatmap-3

consensus_heatmap(res, k = 5)

plot of chunk tab-node-01-consensus-heatmap-4

consensus_heatmap(res, k = 6)

plot of chunk tab-node-01-consensus-heatmap-5

consensus_heatmap(res, k = 7)

plot of chunk tab-node-01-consensus-heatmap-6

consensus_heatmap(res, k = 8)

plot of chunk tab-node-01-consensus-heatmap-7

Heatmaps for the membership of samples in all partitions to see how consistent they are:

membership_heatmap(res, k = 2)

plot of chunk tab-node-01-membership-heatmap-1

membership_heatmap(res, k = 3)

plot of chunk tab-node-01-membership-heatmap-2

membership_heatmap(res, k = 4)

plot of chunk tab-node-01-membership-heatmap-3

membership_heatmap(res, k = 5)

plot of chunk tab-node-01-membership-heatmap-4

membership_heatmap(res, k = 6)

plot of chunk tab-node-01-membership-heatmap-5

membership_heatmap(res, k = 7)

plot of chunk tab-node-01-membership-heatmap-6

membership_heatmap(res, k = 8)

plot of chunk tab-node-01-membership-heatmap-7

As soon as the classes for columns are determined, the signatures that are significantly different between subgroups can be looked for. Following are the heatmaps for signatures.

get_signatures(res, k = 2)

plot of chunk tab-node-01-get-signatures-1

get_signatures(res, k = 3)

plot of chunk tab-node-01-get-signatures-2

get_signatures(res, k = 4)

plot of chunk tab-node-01-get-signatures-3

get_signatures(res, k = 5)

plot of chunk tab-node-01-get-signatures-4

get_signatures(res, k = 6)

plot of chunk tab-node-01-get-signatures-5

get_signatures(res, k = 7)

plot of chunk tab-node-01-get-signatures-6

get_signatures(res, k = 8)

plot of chunk tab-node-01-get-signatures-7

Compare the overlap of signatures from different k:

compare_signatures(res)

plot of chunk node-01-signature_compare

get_signature() returns a data frame invisibly. To get the list of signatures, the function call should be assigned to a variable explicitly. In following code, if plot argument is set to FALSE, no heatmap is plotted while only the differential analysis is performed.

# code only for demonstration
tb = get_signature(res, k = ..., plot = FALSE)

An example of the output of tb is:

#>   which_row         fdr    mean_1    mean_2 scaled_mean_1 scaled_mean_2 km
#> 1        38 0.042760348  8.373488  9.131774    -0.5533452     0.5164555  1
#> 2        40 0.018707592  7.106213  8.469186    -0.6173731     0.5762149  1
#> 3        55 0.019134737 10.221463 11.207825    -0.6159697     0.5749050  1
#> 4        59 0.006059896  5.921854  7.869574    -0.6899429     0.6439467  1
#> 5        60 0.018055526  8.928898 10.211722    -0.6204761     0.5791110  1
#> 6        98 0.009384629 15.714769 14.887706     0.6635654    -0.6193277  2
...

The columns in tb are:

  1. which_row: row indices corresponding to the input matrix.
  2. fdr: FDR for the differential test.
  3. mean_x: The mean value in group x.
  4. scaled_mean_x: The mean value in group x after rows are scaled.
  5. km: Row groups if k-means clustering is applied to rows (which is done by automatically selecting number of clusters).

If there are too many signatures, top_signatures = ... can be set to only show the signatures with the highest FDRs:

# code only for demonstration
# e.g. to show the top 500 most significant rows
tb = get_signature(res, k = ..., top_signatures = 500)

If the signatures are defined as these which are uniquely high in current group, diff_method argument can be set to "uniquely_high_in_one_group":

# code only for demonstration
tb = get_signature(res, k = ..., diff_method = "uniquely_high_in_one_group")

UMAP plot which shows how samples are separated.

dimension_reduction(res, k = 2, method = "UMAP")

plot of chunk tab-node-01-dimension-reduction-1

dimension_reduction(res, k = 3, method = "UMAP")

plot of chunk tab-node-01-dimension-reduction-2

dimension_reduction(res, k = 4, method = "UMAP")

plot of chunk tab-node-01-dimension-reduction-3

dimension_reduction(res, k = 5, method = "UMAP")

plot of chunk tab-node-01-dimension-reduction-4

dimension_reduction(res, k = 6, method = "UMAP")

plot of chunk tab-node-01-dimension-reduction-5

dimension_reduction(res, k = 7, method = "UMAP")

plot of chunk tab-node-01-dimension-reduction-6

dimension_reduction(res, k = 8, method = "UMAP")

plot of chunk tab-node-01-dimension-reduction-7

Following heatmap shows how subgroups are split when increasing k:

collect_classes(res)

plot of chunk node-01-collect-classes

If matrix rows can be associated to genes, consider to use functional_enrichment(res, ...) to perform function enrichment for the signature genes. See this vignette for more detailed explanations.


Node012

Parent node: Node01. Child nodes: Node0121-leaf , Node0122-leaf , Node0123-leaf , Node0124-leaf , Node0131 , Node0132-leaf , Node0221-leaf , Node0222-leaf , Node0223-leaf , Node0311 , Node0312-leaf , Node0313-leaf , Node0321-leaf , Node0322-leaf , Node0431-leaf , Node0432-leaf , Node0433-leaf , Node0511-leaf , Node0512-leaf , Node0513-leaf , Node0521-leaf , Node0522-leaf , Node0523-leaf , Node0531-leaf , Node0532-leaf , Node0533-leaf .

The object with results only for a single top-value method and a single partitioning method can be extracted as:

res = res_rh["012"]

A summary of res and all the functions that can be applied to it:

res
#> A 'ConsensusPartition' object with k = 2, 3, 4, 5, 6, 7, 8.
#>   On a matrix with 30000 rows and 27 columns.
#>   Top rows (1000) are extracted by 'ATC' method.
#>   Subgroups are detected by 'kmeans' method.
#>   Performed in total 350 partitions by row resampling.
#>   Best k for subgroups seems to be 8.
#> 
#> Following methods can be applied to this 'ConsensusPartition' object:
#>  [1] "cola_report"             "collect_classes"         "collect_plots"          
#>  [4] "collect_stats"           "colnames"                "compare_partitions"     
#>  [7] "compare_signatures"      "consensus_heatmap"       "dimension_reduction"    
#> [10] "functional_enrichment"   "get_anno_col"            "get_anno"               
#> [13] "get_classes"             "get_consensus"           "get_matrix"             
#> [16] "get_membership"          "get_param"               "get_signatures"         
#> [19] "get_stats"               "is_best_k"               "is_stable_k"            
#> [22] "membership_heatmap"      "ncol"                    "nrow"                   
#> [25] "plot_ecdf"               "predict_classes"         "rownames"               
#> [28] "select_partition_number" "show"                    "suggest_best_k"         
#> [31] "test_to_known_factors"   "top_rows_heatmap"

collect_plots() function collects all the plots made from res for all k (number of subgroups) into one single page to provide an easy and fast comparison between different k.

collect_plots(res)

plot of chunk node-012-collect-plots

The plots are:

All the plots in panels can be made by individual functions and they are plotted later in this section.

select_partition_number() produces several plots showing different statistics for choosing “optimized” k. There are following statistics:

The detailed explanations of these statistics can be found in the cola vignette.

Generally speaking, higher 1-PAC score, higher mean silhouette score or higher concordance corresponds to better partition. Rand index and Jaccard index measure how similar the current partition is compared to partition with k-1. If they are too similar, we won't accept k is better than k-1.

select_partition_number(res)

plot of chunk node-012-select-partition-number

The numeric values for all these statistics can be obtained by get_stats().

get_stats(res)
#>   k 1-PAC mean_silhouette concordance area_increased  Rand Jaccard
#> 2 2 1.000           1.000       1.000         0.2628 0.738   0.738
#> 3 3 0.628           0.775       0.893         1.1566 0.658   0.537
#> 4 4 0.687           0.966       0.919         0.2511 0.772   0.481
#> 5 5 0.812           0.865       0.813         0.0684 1.000   1.000
#> 6 6 0.893           0.841       0.901         0.0628 0.957   0.831
#> 7 7 0.930           0.813       0.880         0.0233 0.966   0.842
#> 8 8 0.923           0.774       0.881         0.0177 0.966   0.818

suggest_best_k() suggests the best \(k\) based on these statistics. The rules are as follows:

suggest_best_k(res)
#> [1] 8
#> attr(,"optional")
#> [1] 2 7

There is also optional best \(k\) = 2 7 that is worth to check.

Following is the table of the partitions (You need to click the show/hide code output link to see it). The membership matrix (columns with name p*) is inferred by clue::cl_consensus() function with the SE method. Basically the value in the membership matrix represents the probability to belong to a certain group. The finall subgroup label for an item is determined with the group with highest probability it belongs to.

In get_classes() function, the entropy is calculated from the membership matrix and the silhouette score is calculated from the consensus matrix.

show/hide code output

cbind(get_classes(res, k = 2), get_membership(res, k = 2))
#>                 class entropy silhouette p1 p2
#> TCGA.IZ.8196.01     2       0          1  0  1
#> TCGA.GL.8500.01     2       0          1  0  1
#> TCGA.EV.5902.01     2       0          1  0  1
#> TCGA.A4.8516.01     2       0          1  0  1
#> TCGA.MH.A854.01     1       0          1  1  0
#> TCGA.GL.A9DC.01     1       0          1  1  0
#> TCGA.B9.A8YH.01     2       0          1  0  1
#> TCGA.Y8.A894.01     1       0          1  1  0
#> TCGA.UZ.A9PZ.01     2       0          1  0  1
#> TCGA.5P.A9KF.01     2       0          1  0  1
#> TCGA.UZ.A9PX.01     2       0          1  0  1
#> TCGA.UZ.A9PR.01     2       0          1  0  1
#> TCGA.2Z.A9JE.01     2       0          1  0  1
#> TCGA.2Z.A9JQ.01     2       0          1  0  1
#> TCGA.UZ.A9PU.01     2       0          1  0  1
#> TCGA.P4.A5EB.01     2       0          1  0  1
#> TCGA.P4.AAVL.01     2       0          1  0  1
#> TCGA.SX.A71R.01     2       0          1  0  1
#> TCGA.DZ.6133.01     2       0          1  0  1
#> TCGA.HE.A5NH.01     2       0          1  0  1
#> TCGA.DZ.6135.01     2       0          1  0  1
#> TCGA.MH.A55Z.01     2       0          1  0  1
#> TCGA.SX.A71S.01     1       0          1  1  0
#> TCGA.DW.7840.01     2       0          1  0  1
#> TCGA.GL.A59R.01     2       0          1  0  1
#> TCGA.UZ.A9PL.01     2       0          1  0  1
#> TCGA.2Z.A9J3.01     2       0          1  0  1

show/hide code output

cbind(get_classes(res, k = 3), get_membership(res, k = 3))
#>                 class entropy silhouette   p1   p2   p3
#> TCGA.IZ.8196.01     3   0.207      0.793 0.00 0.06 0.94
#> TCGA.GL.8500.01     2   0.455      0.692 0.00 0.80 0.20
#> TCGA.EV.5902.01     3   0.207      0.793 0.00 0.06 0.94
#> TCGA.A4.8516.01     2   0.000      0.874 0.00 1.00 0.00
#> TCGA.MH.A854.01     1   0.000      0.976 1.00 0.00 0.00
#> TCGA.GL.A9DC.01     1   0.000      0.976 1.00 0.00 0.00
#> TCGA.B9.A8YH.01     2   0.000      0.874 0.00 1.00 0.00
#> TCGA.Y8.A894.01     1   0.207      0.976 0.94 0.00 0.06
#> TCGA.UZ.A9PZ.01     2   0.000      0.874 0.00 1.00 0.00
#> TCGA.5P.A9KF.01     2   0.000      0.874 0.00 1.00 0.00
#> TCGA.UZ.A9PX.01     2   0.000      0.874 0.00 1.00 0.00
#> TCGA.UZ.A9PR.01     2   0.000      0.874 0.00 1.00 0.00
#> TCGA.2Z.A9JE.01     3   0.207      0.793 0.00 0.06 0.94
#> TCGA.2Z.A9JQ.01     3   0.207      0.793 0.00 0.06 0.94
#> TCGA.UZ.A9PU.01     2   0.000      0.874 0.00 1.00 0.00
#> TCGA.P4.A5EB.01     2   0.571      0.484 0.00 0.68 0.32
#> TCGA.P4.AAVL.01     2   0.571      0.484 0.00 0.68 0.32
#> TCGA.SX.A71R.01     2   0.000      0.874 0.00 1.00 0.00
#> TCGA.DZ.6133.01     2   0.000      0.874 0.00 1.00 0.00
#> TCGA.HE.A5NH.01     2   0.334      0.783 0.00 0.88 0.12
#> TCGA.DZ.6135.01     3   0.604      0.505 0.00 0.38 0.62
#> TCGA.MH.A55Z.01     2   0.000      0.874 0.00 1.00 0.00
#> TCGA.SX.A71S.01     1   0.207      0.976 0.94 0.00 0.06
#> TCGA.DW.7840.01     3   0.624      0.343 0.00 0.44 0.56
#> TCGA.GL.A59R.01     3   0.207      0.793 0.00 0.06 0.94
#> TCGA.UZ.A9PL.01     3   0.595      0.542 0.00 0.36 0.64
#> TCGA.2Z.A9J3.01     2   0.571      0.484 0.00 0.68 0.32

show/hide code output

cbind(get_classes(res, k = 4), get_membership(res, k = 4))
#>                 class entropy silhouette   p1   p2   p3   p4
#> TCGA.IZ.8196.01     3  0.2345      0.977 0.00 0.00 0.90 0.10
#> TCGA.GL.8500.01     4  0.1913      0.939 0.00 0.04 0.02 0.94
#> TCGA.EV.5902.01     3  0.2335      0.903 0.00 0.02 0.92 0.06
#> TCGA.A4.8516.01     2  0.2921      0.995 0.00 0.86 0.00 0.14
#> TCGA.MH.A854.01     1  0.0000      0.944 1.00 0.00 0.00 0.00
#> TCGA.GL.A9DC.01     1  0.0000      0.944 1.00 0.00 0.00 0.00
#> TCGA.B9.A8YH.01     2  0.2921      0.995 0.00 0.86 0.00 0.14
#> TCGA.Y8.A894.01     1  0.3198      0.944 0.88 0.08 0.04 0.00
#> TCGA.UZ.A9PZ.01     2  0.2921      0.995 0.00 0.86 0.00 0.14
#> TCGA.5P.A9KF.01     2  0.2921      0.995 0.00 0.86 0.00 0.14
#> TCGA.UZ.A9PX.01     2  0.2921      0.995 0.00 0.86 0.00 0.14
#> TCGA.UZ.A9PR.01     2  0.2921      0.995 0.00 0.86 0.00 0.14
#> TCGA.2Z.A9JE.01     3  0.2345      0.977 0.00 0.00 0.90 0.10
#> TCGA.2Z.A9JQ.01     3  0.2345      0.977 0.00 0.00 0.90 0.10
#> TCGA.UZ.A9PU.01     2  0.2921      0.995 0.00 0.86 0.00 0.14
#> TCGA.P4.A5EB.01     4  0.1411      0.950 0.00 0.02 0.02 0.96
#> TCGA.P4.AAVL.01     4  0.1411      0.961 0.00 0.02 0.02 0.96
#> TCGA.SX.A71R.01     2  0.2921      0.995 0.00 0.86 0.00 0.14
#> TCGA.DZ.6133.01     2  0.2345      0.951 0.00 0.90 0.00 0.10
#> TCGA.HE.A5NH.01     4  0.2011      0.914 0.00 0.08 0.00 0.92
#> TCGA.DZ.6135.01     4  0.0000      0.955 0.00 0.00 0.00 1.00
#> TCGA.MH.A55Z.01     2  0.2921      0.995 0.00 0.86 0.00 0.14
#> TCGA.SX.A71S.01     1  0.3198      0.944 0.88 0.08 0.04 0.00
#> TCGA.DW.7840.01     4  0.0707      0.953 0.00 0.00 0.02 0.98
#> TCGA.GL.A59R.01     3  0.2345      0.977 0.00 0.00 0.90 0.10
#> TCGA.UZ.A9PL.01     4  0.0707      0.953 0.00 0.00 0.02 0.98
#> TCGA.2Z.A9J3.01     4  0.1411      0.961 0.00 0.02 0.02 0.96

show/hide code output

cbind(get_classes(res, k = 5), get_membership(res, k = 5))
#>                 class entropy silhouette   p1   p2   p3   p4   p5
#> TCGA.IZ.8196.01     3  0.2732      0.815 0.00 0.00 0.84 0.16 0.00
#> TCGA.GL.8500.01     4  0.3037      0.757 0.04 0.10 0.00 0.86 0.00
#> TCGA.EV.5902.01     3  0.3868      0.786 0.14 0.00 0.80 0.06 0.00
#> TCGA.A4.8516.01     2  0.0000      0.986 0.00 1.00 0.00 0.00 0.00
#> TCGA.MH.A854.01     5  0.0000      0.872 0.00 0.00 0.00 0.00 1.00
#> TCGA.GL.A9DC.01     5  0.0000      0.872 0.00 0.00 0.00 0.00 1.00
#> TCGA.B9.A8YH.01     2  0.0000      0.986 0.00 1.00 0.00 0.00 0.00
#> TCGA.Y8.A894.01     5  0.3561      0.868 0.26 0.00 0.00 0.00 0.74
#> TCGA.UZ.A9PZ.01     2  0.0000      0.986 0.00 1.00 0.00 0.00 0.00
#> TCGA.5P.A9KF.01     2  0.0000      0.986 0.00 1.00 0.00 0.00 0.00
#> TCGA.UZ.A9PX.01     2  0.0000      0.986 0.00 1.00 0.00 0.00 0.00
#> TCGA.UZ.A9PR.01     2  0.0000      0.986 0.00 1.00 0.00 0.00 0.00
#> TCGA.2Z.A9JE.01     3  0.0609      0.914 0.00 0.00 0.98 0.02 0.00
#> TCGA.2Z.A9JQ.01     3  0.0609      0.914 0.00 0.00 0.98 0.02 0.00
#> TCGA.UZ.A9PU.01     2  0.0000      0.986 0.00 1.00 0.00 0.00 0.00
#> TCGA.P4.A5EB.01     4  0.2754      0.764 0.04 0.08 0.00 0.88 0.00
#> TCGA.P4.AAVL.01     4  0.6205      0.669 0.44 0.08 0.02 0.46 0.00
#> TCGA.SX.A71R.01     2  0.0000      0.986 0.00 1.00 0.00 0.00 0.00
#> TCGA.DZ.6133.01     2  0.2873      0.862 0.12 0.86 0.00 0.02 0.00
#> TCGA.HE.A5NH.01     4  0.2516      0.751 0.00 0.14 0.00 0.86 0.00
#> TCGA.DZ.6135.01     4  0.3390      0.771 0.06 0.06 0.02 0.86 0.00
#> TCGA.MH.A55Z.01     2  0.0000      0.986 0.00 1.00 0.00 0.00 0.00
#> TCGA.SX.A71S.01     5  0.3999      0.868 0.24 0.00 0.00 0.02 0.74
#> TCGA.DW.7840.01     4  0.2797      0.755 0.00 0.06 0.06 0.88 0.00
#> TCGA.GL.A59R.01     3  0.0609      0.914 0.00 0.00 0.98 0.02 0.00
#> TCGA.UZ.A9PL.01     4  0.6313      0.661 0.44 0.06 0.04 0.46 0.00
#> TCGA.2Z.A9J3.01     4  0.6205      0.669 0.44 0.08 0.02 0.46 0.00

show/hide code output

cbind(get_classes(res, k = 6), get_membership(res, k = 6))
#>                 class entropy silhouette   p1   p2   p3   p4  p5   p6
#> TCGA.IZ.8196.01     3   0.376      0.459 0.00 0.00 0.60 0.00 0.0 0.40
#> TCGA.GL.8500.01     6   0.473      0.702 0.10 0.00 0.00 0.24 0.0 0.66
#> TCGA.EV.5902.01     3   0.359      0.707 0.00 0.00 0.74 0.24 0.0 0.02
#> TCGA.A4.8516.01     2   0.000      0.962 0.00 1.00 0.00 0.00 0.0 0.00
#> TCGA.MH.A854.01     5   0.000      0.951 0.00 0.00 0.00 0.00 1.0 0.00
#> TCGA.GL.A9DC.01     5   0.000      0.951 0.00 0.00 0.00 0.00 1.0 0.00
#> TCGA.B9.A8YH.01     2   0.000      0.962 0.00 1.00 0.00 0.00 0.0 0.00
#> TCGA.Y8.A894.01     5   0.219      0.947 0.06 0.00 0.00 0.04 0.9 0.00
#> TCGA.UZ.A9PZ.01     2   0.000      0.962 0.00 1.00 0.00 0.00 0.0 0.00
#> TCGA.5P.A9KF.01     2   0.000      0.962 0.00 1.00 0.00 0.00 0.0 0.00
#> TCGA.UZ.A9PX.01     2   0.000      0.962 0.00 1.00 0.00 0.00 0.0 0.00
#> TCGA.UZ.A9PR.01     2   0.000      0.962 0.00 1.00 0.00 0.00 0.0 0.00
#> TCGA.2Z.A9JE.01     3   0.000      0.845 0.00 0.00 1.00 0.00 0.0 0.00
#> TCGA.2Z.A9JQ.01     3   0.000      0.845 0.00 0.00 1.00 0.00 0.0 0.00
#> TCGA.UZ.A9PU.01     2   0.000      0.962 0.00 1.00 0.00 0.00 0.0 0.00
#> TCGA.P4.A5EB.01     6   0.473      0.702 0.10 0.00 0.00 0.24 0.0 0.66
#> TCGA.P4.AAVL.01     1   0.127      0.963 0.94 0.00 0.00 0.00 0.0 0.06
#> TCGA.SX.A71R.01     2   0.000      0.962 0.00 1.00 0.00 0.00 0.0 0.00
#> TCGA.DZ.6133.01     2   0.371      0.561 0.00 0.62 0.00 0.38 0.0 0.00
#> TCGA.HE.A5NH.01     6   0.148      0.665 0.04 0.02 0.00 0.00 0.0 0.94
#> TCGA.DZ.6135.01     6   0.541      0.413 0.38 0.00 0.00 0.12 0.0 0.50
#> TCGA.MH.A55Z.01     2   0.000      0.962 0.00 1.00 0.00 0.00 0.0 0.00
#> TCGA.SX.A71S.01     5   0.219      0.947 0.04 0.00 0.00 0.06 0.9 0.00
#> TCGA.DW.7840.01     6   0.148      0.663 0.04 0.00 0.02 0.00 0.0 0.94
#> TCGA.GL.A59R.01     3   0.000      0.845 0.00 0.00 1.00 0.00 0.0 0.00
#> TCGA.UZ.A9PL.01     1   0.127      0.963 0.94 0.00 0.00 0.00 0.0 0.06
#> TCGA.2Z.A9J3.01     1   0.279      0.925 0.86 0.00 0.00 0.08 0.0 0.06

show/hide code output

cbind(get_classes(res, k = 7), get_membership(res, k = 7))
#>                 class entropy silhouette   p1   p2   p3   p4   p5   p6   p7
#> TCGA.IZ.8196.01     7  0.4003      0.459 0.00 0.00 0.32 0.00 0.00 0.04 0.64
#> TCGA.GL.8500.01     6  0.0000      0.753 0.00 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.EV.5902.01     3  0.5092      0.541 0.22 0.00 0.56 0.00 0.00 0.00 0.22
#> TCGA.A4.8516.01     2  0.0504      0.942 0.00 0.98 0.00 0.02 0.00 0.00 0.00
#> TCGA.MH.A854.01     5  0.0504      0.839 0.00 0.00 0.00 0.00 0.98 0.00 0.02
#> TCGA.GL.A9DC.01     5  0.0000      0.839 0.00 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.B9.A8YH.01     2  0.0504      0.938 0.00 0.98 0.00 0.00 0.00 0.00 0.02
#> TCGA.Y8.A894.01     5  0.3047      0.844 0.28 0.00 0.00 0.00 0.72 0.00 0.00
#> TCGA.UZ.A9PZ.01     2  0.0504      0.938 0.00 0.98 0.00 0.00 0.00 0.00 0.02
#> TCGA.5P.A9KF.01     2  0.0504      0.938 0.00 0.98 0.00 0.00 0.00 0.00 0.02
#> TCGA.UZ.A9PX.01     2  0.0000      0.942 0.00 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.UZ.A9PR.01     2  0.0000      0.942 0.00 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.2Z.A9JE.01     3  0.0000      0.860 0.00 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.2Z.A9JQ.01     3  0.0000      0.860 0.00 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.UZ.A9PU.01     2  0.0504      0.942 0.00 0.98 0.00 0.02 0.00 0.00 0.00
#> TCGA.P4.A5EB.01     6  0.0000      0.753 0.00 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.P4.AAVL.01     4  0.0863      0.921 0.00 0.00 0.00 0.96 0.00 0.04 0.00
#> TCGA.SX.A71R.01     2  0.0504      0.942 0.00 0.98 0.00 0.02 0.00 0.00 0.00
#> TCGA.DZ.6133.01     2  0.4622      0.467 0.38 0.56 0.00 0.02 0.00 0.00 0.04
#> TCGA.HE.A5NH.01     7  0.3927      0.699 0.00 0.00 0.00 0.04 0.00 0.30 0.66
#> TCGA.DZ.6135.01     6  0.4795      0.450 0.08 0.00 0.00 0.28 0.00 0.62 0.02
#> TCGA.MH.A55Z.01     2  0.0504      0.942 0.00 0.98 0.00 0.02 0.00 0.00 0.00
#> TCGA.SX.A71S.01     5  0.3047      0.844 0.28 0.00 0.00 0.00 0.72 0.00 0.00
#> TCGA.DW.7840.01     7  0.3927      0.699 0.00 0.00 0.00 0.04 0.00 0.30 0.66
#> TCGA.GL.A59R.01     3  0.0000      0.860 0.00 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.UZ.A9PL.01     4  0.2278      0.889 0.08 0.00 0.00 0.88 0.00 0.04 0.00
#> TCGA.2Z.A9J3.01     4  0.2563      0.895 0.04 0.00 0.00 0.88 0.00 0.04 0.04

show/hide code output

cbind(get_classes(res, k = 8), get_membership(res, k = 8))
#>                 class entropy silhouette   p1   p2   p3   p4   p5   p6   p7   p8
#> TCGA.IZ.8196.01     7  0.3015      0.474 0.00 0.00 0.32 0.00 0.00 0.00 0.68 0.00
#> TCGA.GL.8500.01     6  0.2348      0.706 0.02 0.00 0.00 0.04 0.00 0.88 0.00 0.06
#> TCGA.EV.5902.01     8  0.2938      0.000 0.00 0.00 0.30 0.00 0.00 0.00 0.00 0.70
#> TCGA.A4.8516.01     2  0.0000      0.978 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.MH.A854.01     5  0.4664      0.758 0.10 0.00 0.00 0.00 0.68 0.00 0.14 0.08
#> TCGA.GL.A9DC.01     5  0.4615      0.758 0.08 0.00 0.00 0.00 0.68 0.00 0.16 0.08
#> TCGA.B9.A8YH.01     2  0.0941      0.957 0.00 0.96 0.00 0.00 0.00 0.00 0.02 0.02
#> TCGA.Y8.A894.01     5  0.1741      0.740 0.02 0.00 0.00 0.00 0.92 0.02 0.00 0.04
#> TCGA.UZ.A9PZ.01     2  0.0941      0.957 0.00 0.96 0.00 0.00 0.00 0.00 0.02 0.02
#> TCGA.5P.A9KF.01     2  0.1275      0.939 0.00 0.94 0.00 0.00 0.00 0.00 0.04 0.02
#> TCGA.UZ.A9PX.01     2  0.0000      0.978 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.UZ.A9PR.01     2  0.0000      0.978 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.2Z.A9JE.01     3  0.1091      0.923 0.06 0.00 0.94 0.00 0.00 0.00 0.00 0.00
#> TCGA.2Z.A9JQ.01     3  0.0000      0.962 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.UZ.A9PU.01     2  0.0000      0.978 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.P4.A5EB.01     6  0.0808      0.723 0.00 0.00 0.00 0.04 0.00 0.96 0.00 0.00
#> TCGA.P4.AAVL.01     4  0.0000      0.888 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.SX.A71R.01     2  0.0000      0.978 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.DZ.6133.01     1  0.2756      0.000 0.74 0.26 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.HE.A5NH.01     7  0.3637      0.696 0.00 0.02 0.00 0.02 0.00 0.26 0.70 0.00
#> TCGA.DZ.6135.01     6  0.4847      0.442 0.00 0.00 0.00 0.30 0.00 0.58 0.08 0.04
#> TCGA.MH.A55Z.01     2  0.0000      0.978 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.SX.A71S.01     5  0.1408      0.740 0.02 0.00 0.00 0.00 0.94 0.02 0.02 0.00
#> TCGA.DW.7840.01     7  0.3637      0.707 0.00 0.00 0.02 0.02 0.00 0.26 0.70 0.00
#> TCGA.GL.A59R.01     3  0.0000      0.962 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.UZ.A9PL.01     4  0.1887      0.847 0.00 0.00 0.00 0.90 0.00 0.00 0.06 0.04
#> TCGA.2Z.A9J3.01     4  0.2348      0.844 0.04 0.00 0.00 0.88 0.00 0.00 0.02 0.06

Heatmaps for the consensus matrix. It visualizes the probability of two samples to be in a same group.

consensus_heatmap(res, k = 2)

plot of chunk tab-node-012-consensus-heatmap-1

consensus_heatmap(res, k = 3)

plot of chunk tab-node-012-consensus-heatmap-2

consensus_heatmap(res, k = 4)

plot of chunk tab-node-012-consensus-heatmap-3

consensus_heatmap(res, k = 5)

plot of chunk tab-node-012-consensus-heatmap-4

consensus_heatmap(res, k = 6)

plot of chunk tab-node-012-consensus-heatmap-5

consensus_heatmap(res, k = 7)

plot of chunk tab-node-012-consensus-heatmap-6

consensus_heatmap(res, k = 8)

plot of chunk tab-node-012-consensus-heatmap-7

Heatmaps for the membership of samples in all partitions to see how consistent they are:

membership_heatmap(res, k = 2)

plot of chunk tab-node-012-membership-heatmap-1

membership_heatmap(res, k = 3)

plot of chunk tab-node-012-membership-heatmap-2

membership_heatmap(res, k = 4)

plot of chunk tab-node-012-membership-heatmap-3

membership_heatmap(res, k = 5)

plot of chunk tab-node-012-membership-heatmap-4

membership_heatmap(res, k = 6)

plot of chunk tab-node-012-membership-heatmap-5

membership_heatmap(res, k = 7)

plot of chunk tab-node-012-membership-heatmap-6

membership_heatmap(res, k = 8)

plot of chunk tab-node-012-membership-heatmap-7

As soon as the classes for columns are determined, the signatures that are significantly different between subgroups can be looked for. Following are the heatmaps for signatures.

get_signatures(res, k = 2)

plot of chunk tab-node-012-get-signatures-1

get_signatures(res, k = 3)

plot of chunk tab-node-012-get-signatures-2

get_signatures(res, k = 4)

plot of chunk tab-node-012-get-signatures-3

get_signatures(res, k = 5)

plot of chunk tab-node-012-get-signatures-4

get_signatures(res, k = 6)

plot of chunk tab-node-012-get-signatures-5

get_signatures(res, k = 7)

plot of chunk tab-node-012-get-signatures-6

get_signatures(res, k = 8)

plot of chunk tab-node-012-get-signatures-7

Compare the overlap of signatures from different k:

compare_signatures(res)

plot of chunk node-012-signature_compare

get_signature() returns a data frame invisibly. To get the list of signatures, the function call should be assigned to a variable explicitly. In following code, if plot argument is set to FALSE, no heatmap is plotted while only the differential analysis is performed.

# code only for demonstration
tb = get_signature(res, k = ..., plot = FALSE)

An example of the output of tb is:

#>   which_row         fdr    mean_1    mean_2 scaled_mean_1 scaled_mean_2 km
#> 1        38 0.042760348  8.373488  9.131774    -0.5533452     0.5164555  1
#> 2        40 0.018707592  7.106213  8.469186    -0.6173731     0.5762149  1
#> 3        55 0.019134737 10.221463 11.207825    -0.6159697     0.5749050  1
#> 4        59 0.006059896  5.921854  7.869574    -0.6899429     0.6439467  1
#> 5        60 0.018055526  8.928898 10.211722    -0.6204761     0.5791110  1
#> 6        98 0.009384629 15.714769 14.887706     0.6635654    -0.6193277  2
...

The columns in tb are:

  1. which_row: row indices corresponding to the input matrix.
  2. fdr: FDR for the differential test.
  3. mean_x: The mean value in group x.
  4. scaled_mean_x: The mean value in group x after rows are scaled.
  5. km: Row groups if k-means clustering is applied to rows (which is done by automatically selecting number of clusters).

If there are too many signatures, top_signatures = ... can be set to only show the signatures with the highest FDRs:

# code only for demonstration
# e.g. to show the top 500 most significant rows
tb = get_signature(res, k = ..., top_signatures = 500)

If the signatures are defined as these which are uniquely high in current group, diff_method argument can be set to "uniquely_high_in_one_group":

# code only for demonstration
tb = get_signature(res, k = ..., diff_method = "uniquely_high_in_one_group")

UMAP plot which shows how samples are separated.

dimension_reduction(res, k = 2, method = "UMAP")

plot of chunk tab-node-012-dimension-reduction-1

dimension_reduction(res, k = 3, method = "UMAP")

plot of chunk tab-node-012-dimension-reduction-2

dimension_reduction(res, k = 4, method = "UMAP")

plot of chunk tab-node-012-dimension-reduction-3

dimension_reduction(res, k = 5, method = "UMAP")

plot of chunk tab-node-012-dimension-reduction-4

dimension_reduction(res, k = 6, method = "UMAP")

plot of chunk tab-node-012-dimension-reduction-5

dimension_reduction(res, k = 7, method = "UMAP")

plot of chunk tab-node-012-dimension-reduction-6

dimension_reduction(res, k = 8, method = "UMAP")

plot of chunk tab-node-012-dimension-reduction-7

Following heatmap shows how subgroups are split when increasing k:

collect_classes(res)

plot of chunk node-012-collect-classes

If matrix rows can be associated to genes, consider to use functional_enrichment(res, ...) to perform function enrichment for the signature genes. See this vignette for more detailed explanations.


Node013

Parent node: Node01. Child nodes: Node0121-leaf , Node0122-leaf , Node0123-leaf , Node0124-leaf , Node0131 , Node0132-leaf , Node0221-leaf , Node0222-leaf , Node0223-leaf , Node0311 , Node0312-leaf , Node0313-leaf , Node0321-leaf , Node0322-leaf , Node0431-leaf , Node0432-leaf , Node0433-leaf , Node0511-leaf , Node0512-leaf , Node0513-leaf , Node0521-leaf , Node0522-leaf , Node0523-leaf , Node0531-leaf , Node0532-leaf , Node0533-leaf .

The object with results only for a single top-value method and a single partitioning method can be extracted as:

res = res_rh["013"]

A summary of res and all the functions that can be applied to it:

res
#> A 'ConsensusPartition' object with k = 2, 3, 4, 5, 6, 7, 8.
#>   On a matrix with 30000 rows and 19 columns.
#>   Top rows (1000) are extracted by 'ATC' method.
#>   Subgroups are detected by 'kmeans' method.
#>   Performed in total 350 partitions by row resampling.
#>   Best k for subgroups seems to be 2.
#> 
#> Following methods can be applied to this 'ConsensusPartition' object:
#>  [1] "cola_report"             "collect_classes"         "collect_plots"          
#>  [4] "collect_stats"           "colnames"                "compare_partitions"     
#>  [7] "compare_signatures"      "consensus_heatmap"       "dimension_reduction"    
#> [10] "functional_enrichment"   "get_anno_col"            "get_anno"               
#> [13] "get_classes"             "get_consensus"           "get_matrix"             
#> [16] "get_membership"          "get_param"               "get_signatures"         
#> [19] "get_stats"               "is_best_k"               "is_stable_k"            
#> [22] "membership_heatmap"      "ncol"                    "nrow"                   
#> [25] "plot_ecdf"               "predict_classes"         "rownames"               
#> [28] "select_partition_number" "show"                    "suggest_best_k"         
#> [31] "test_to_known_factors"   "top_rows_heatmap"

collect_plots() function collects all the plots made from res for all k (number of subgroups) into one single page to provide an easy and fast comparison between different k.

collect_plots(res)

plot of chunk node-013-collect-plots

The plots are:

All the plots in panels can be made by individual functions and they are plotted later in this section.

select_partition_number() produces several plots showing different statistics for choosing “optimized” k. There are following statistics:

The detailed explanations of these statistics can be found in the cola vignette.

Generally speaking, higher 1-PAC score, higher mean silhouette score or higher concordance corresponds to better partition. Rand index and Jaccard index measure how similar the current partition is compared to partition with k-1. If they are too similar, we won't accept k is better than k-1.

select_partition_number(res)

plot of chunk node-013-select-partition-number

The numeric values for all these statistics can be obtained by get_stats().

get_stats(res)
#>   k 1-PAC mean_silhouette concordance area_increased  Rand Jaccard
#> 2 2 1.000           1.000       1.000         0.4099 0.591   0.591
#> 3 3 0.731           0.971       0.924         0.4540 0.766   0.604
#> 4 4 0.789           0.695       0.766         0.2035 0.977   0.934
#> 5 5 0.789           0.801       0.818         0.0758 0.836   0.525
#> 6 6 0.731           0.804       0.832         0.0532 0.965   0.818
#> 7 7 0.778           0.455       0.699         0.0468 0.906   0.543
#> 8 8 0.842           0.778       0.876         0.0303 0.930   0.586

suggest_best_k() suggests the best \(k\) based on these statistics. The rules are as follows:

suggest_best_k(res)
#> [1] 2

Following is the table of the partitions (You need to click the show/hide code output link to see it). The membership matrix (columns with name p*) is inferred by clue::cl_consensus() function with the SE method. Basically the value in the membership matrix represents the probability to belong to a certain group. The finall subgroup label for an item is determined with the group with highest probability it belongs to.

In get_classes() function, the entropy is calculated from the membership matrix and the silhouette score is calculated from the consensus matrix.

show/hide code output

cbind(get_classes(res, k = 2), get_membership(res, k = 2))
#>                 class entropy silhouette p1 p2
#> TCGA.DW.5561.01     1       0          1  1  0
#> TCGA.SX.A7SQ.01     1       0          1  1  0
#> TCGA.B1.A654.01     2       0          1  0  1
#> TCGA.G7.A4TM.01     1       0          1  1  0
#> TCGA.B9.A5W7.01     1       0          1  1  0
#> TCGA.SX.A7SU.01     1       0          1  1  0
#> TCGA.4A.A93W.01     2       0          1  0  1
#> TCGA.G7.A8LE.01     1       0          1  1  0
#> TCGA.B1.A47N.01     1       0          1  1  0
#> TCGA.UZ.A9PP.01     1       0          1  1  0
#> TCGA.A4.A5DU.01     2       0          1  0  1
#> TCGA.DW.7839.01     2       0          1  0  1
#> TCGA.O9.A75Z.01     1       0          1  1  0
#> TCGA.DW.7842.01     1       0          1  1  0
#> TCGA.DW.7836.01     1       0          1  1  0
#> TCGA.A4.7734.01     2       0          1  0  1
#> TCGA.UZ.A9PJ.01     1       0          1  1  0
#> TCGA.A4.7732.01     1       0          1  1  0
#> TCGA.2Z.A9J7.01     1       0          1  1  0

show/hide code output

cbind(get_classes(res, k = 3), get_membership(res, k = 3))
#>                 class entropy silhouette   p1   p2   p3
#> TCGA.DW.5561.01     3   0.502      1.000 0.24 0.00 0.76
#> TCGA.SX.A7SQ.01     1   0.000      1.000 1.00 0.00 0.00
#> TCGA.B1.A654.01     2   0.502      0.860 0.00 0.76 0.24
#> TCGA.G7.A4TM.01     1   0.000      1.000 1.00 0.00 0.00
#> TCGA.B9.A5W7.01     1   0.000      1.000 1.00 0.00 0.00
#> TCGA.SX.A7SU.01     1   0.000      1.000 1.00 0.00 0.00
#> TCGA.4A.A93W.01     2   0.000      0.909 0.00 1.00 0.00
#> TCGA.G7.A8LE.01     3   0.502      1.000 0.24 0.00 0.76
#> TCGA.B1.A47N.01     3   0.502      1.000 0.24 0.00 0.76
#> TCGA.UZ.A9PP.01     1   0.000      1.000 1.00 0.00 0.00
#> TCGA.A4.A5DU.01     2   0.000      0.909 0.00 1.00 0.00
#> TCGA.DW.7839.01     2   0.502      0.860 0.00 0.76 0.24
#> TCGA.O9.A75Z.01     1   0.000      1.000 1.00 0.00 0.00
#> TCGA.DW.7842.01     1   0.000      1.000 1.00 0.00 0.00
#> TCGA.DW.7836.01     1   0.000      1.000 1.00 0.00 0.00
#> TCGA.A4.7734.01     2   0.000      0.909 0.00 1.00 0.00
#> TCGA.UZ.A9PJ.01     1   0.000      1.000 1.00 0.00 0.00
#> TCGA.A4.7732.01     1   0.000      1.000 1.00 0.00 0.00
#> TCGA.2Z.A9J7.01     3   0.502      1.000 0.24 0.00 0.76

show/hide code output

cbind(get_classes(res, k = 4), get_membership(res, k = 4))
#>                 class entropy silhouette   p1   p2   p3   p4
#> TCGA.DW.5561.01     4  0.5535      1.000 0.02 0.00 0.42 0.56
#> TCGA.SX.A7SQ.01     1  0.4907      0.758 0.58 0.00 0.00 0.42
#> TCGA.B1.A654.01     2  0.4277      0.819 0.00 0.72 0.28 0.00
#> TCGA.G7.A4TM.01     1  0.0707      0.752 0.98 0.00 0.00 0.02
#> TCGA.B9.A5W7.01     1  0.4907      0.758 0.58 0.00 0.00 0.42
#> TCGA.SX.A7SU.01     1  0.4907      0.758 0.58 0.00 0.00 0.42
#> TCGA.4A.A93W.01     2  0.0000      0.880 0.00 1.00 0.00 0.00
#> TCGA.G7.A8LE.01     3  0.5535     -0.339 0.02 0.00 0.56 0.42
#> TCGA.B1.A47N.01     4  0.5535      1.000 0.02 0.00 0.42 0.56
#> TCGA.UZ.A9PP.01     1  0.4907      0.758 0.58 0.00 0.00 0.42
#> TCGA.A4.A5DU.01     2  0.0707      0.878 0.00 0.98 0.00 0.02
#> TCGA.DW.7839.01     2  0.4277      0.819 0.00 0.72 0.28 0.00
#> TCGA.O9.A75Z.01     1  0.0707      0.739 0.98 0.00 0.02 0.00
#> TCGA.DW.7842.01     1  0.0707      0.739 0.98 0.00 0.02 0.00
#> TCGA.DW.7836.01     1  0.0707      0.739 0.98 0.00 0.02 0.00
#> TCGA.A4.7734.01     2  0.0000      0.880 0.00 1.00 0.00 0.00
#> TCGA.UZ.A9PJ.01     1  0.4907      0.758 0.58 0.00 0.00 0.42
#> TCGA.A4.7732.01     1  0.0707      0.752 0.98 0.00 0.00 0.02
#> TCGA.2Z.A9J7.01     3  0.5487     -0.250 0.02 0.00 0.58 0.40

show/hide code output

cbind(get_classes(res, k = 5), get_membership(res, k = 5))
#>                 class entropy silhouette   p1   p2   p3   p4   p5
#> TCGA.DW.5561.01     4   0.000      0.717 0.00 0.00 0.00 1.00 0.00
#> TCGA.SX.A7SQ.01     1   0.389      0.987 0.68 0.00 0.00 0.00 0.32
#> TCGA.B1.A654.01     2   0.000      0.689 0.00 1.00 0.00 0.00 0.00
#> TCGA.G7.A4TM.01     5   0.201      0.907 0.06 0.00 0.02 0.00 0.92
#> TCGA.B9.A5W7.01     1   0.446      0.980 0.66 0.00 0.02 0.00 0.32
#> TCGA.SX.A7SU.01     1   0.389      0.987 0.68 0.00 0.00 0.00 0.32
#> TCGA.4A.A93W.01     2   0.596      0.785 0.26 0.58 0.16 0.00 0.00
#> TCGA.G7.A8LE.01     3   0.430      0.000 0.00 0.00 0.52 0.48 0.00
#> TCGA.B1.A47N.01     4   0.000      0.717 0.00 0.00 0.00 1.00 0.00
#> TCGA.UZ.A9PP.01     1   0.446      0.980 0.66 0.00 0.02 0.00 0.32
#> TCGA.A4.A5DU.01     2   0.603      0.781 0.20 0.58 0.22 0.00 0.00
#> TCGA.DW.7839.01     2   0.000      0.689 0.00 1.00 0.00 0.00 0.00
#> TCGA.O9.A75Z.01     5   0.000      0.942 0.00 0.00 0.00 0.00 1.00
#> TCGA.DW.7842.01     5   0.000      0.942 0.00 0.00 0.00 0.00 1.00
#> TCGA.DW.7836.01     5   0.000      0.942 0.00 0.00 0.00 0.00 1.00
#> TCGA.A4.7734.01     2   0.585      0.790 0.24 0.60 0.16 0.00 0.00
#> TCGA.UZ.A9PJ.01     1   0.389      0.987 0.68 0.00 0.00 0.00 0.32
#> TCGA.A4.7732.01     5   0.201      0.907 0.06 0.00 0.02 0.00 0.92
#> TCGA.2Z.A9J7.01     4   0.473      0.488 0.06 0.00 0.24 0.70 0.00

show/hide code output

cbind(get_classes(res, k = 6), get_membership(res, k = 6))
#>                 class entropy silhouette   p1   p2   p3   p4   p5   p6
#> TCGA.DW.5561.01     4   0.294      0.730 0.00 0.00 0.22 0.78 0.00 0.00
#> TCGA.SX.A7SQ.01     1   0.263      0.988 0.82 0.00 0.00 0.00 0.18 0.00
#> TCGA.B1.A654.01     6   0.000      1.000 0.00 0.00 0.00 0.00 0.00 1.00
#> TCGA.G7.A4TM.01     5   0.235      0.791 0.10 0.02 0.00 0.00 0.88 0.00
#> TCGA.B9.A5W7.01     1   0.316      0.982 0.80 0.02 0.00 0.00 0.18 0.00
#> TCGA.SX.A7SU.01     1   0.263      0.988 0.82 0.00 0.00 0.00 0.18 0.00
#> TCGA.4A.A93W.01     2   0.358      0.863 0.00 0.66 0.00 0.00 0.00 0.34
#> TCGA.G7.A8LE.01     3   0.181      0.000 0.00 0.00 0.90 0.10 0.00 0.00
#> TCGA.B1.A47N.01     4   0.294      0.730 0.00 0.00 0.22 0.78 0.00 0.00
#> TCGA.UZ.A9PP.01     1   0.316      0.982 0.80 0.02 0.00 0.00 0.18 0.00
#> TCGA.A4.A5DU.01     2   0.677      0.707 0.12 0.44 0.10 0.00 0.00 0.34
#> TCGA.DW.7839.01     6   0.000      1.000 0.00 0.00 0.00 0.00 0.00 1.00
#> TCGA.O9.A75Z.01     5   0.279      0.789 0.00 0.20 0.00 0.00 0.80 0.00
#> TCGA.DW.7842.01     5   0.000      0.819 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.DW.7836.01     5   0.294      0.779 0.00 0.22 0.00 0.00 0.78 0.00
#> TCGA.A4.7734.01     2   0.358      0.863 0.00 0.66 0.00 0.00 0.00 0.34
#> TCGA.UZ.A9PJ.01     1   0.263      0.988 0.82 0.00 0.00 0.00 0.18 0.00
#> TCGA.A4.7732.01     5   0.235      0.791 0.10 0.02 0.00 0.00 0.88 0.00
#> TCGA.2Z.A9J7.01     4   0.304      0.483 0.06 0.10 0.00 0.84 0.00 0.00

show/hide code output

cbind(get_classes(res, k = 7), get_membership(res, k = 7))
#>                 class entropy silhouette   p1   p2   p3   p4   p5   p6   p7
#> TCGA.DW.5561.01     4  0.5232      0.689 0.00 0.00 0.16 0.46 0.38 0.00 0.00
#> TCGA.SX.A7SQ.01     1  0.0504      0.934 0.98 0.00 0.00 0.00 0.02 0.00 0.00
#> TCGA.B1.A654.01     6  0.0000      1.000 0.00 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.G7.A4TM.01     7  0.4787      0.249 0.12 0.00 0.00 0.00 0.30 0.00 0.58
#> TCGA.B9.A5W7.01     1  0.2016      0.909 0.90 0.00 0.00 0.00 0.04 0.00 0.06
#> TCGA.SX.A7SU.01     1  0.0000      0.935 1.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.4A.A93W.01     2  0.5631     -0.362 0.00 0.36 0.00 0.00 0.00 0.30 0.34
#> TCGA.G7.A8LE.01     3  0.0000      0.000 0.00 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.B1.A47N.01     4  0.5232      0.689 0.00 0.00 0.16 0.46 0.38 0.00 0.00
#> TCGA.UZ.A9PP.01     1  0.2313      0.900 0.88 0.00 0.00 0.00 0.06 0.00 0.06
#> TCGA.A4.A5DU.01     7  0.6815     -0.268 0.00 0.14 0.00 0.00 0.20 0.30 0.36
#> TCGA.DW.7839.01     6  0.0000      1.000 0.00 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.O9.A75Z.01     2  0.4418      0.274 0.08 0.62 0.00 0.00 0.00 0.00 0.30
#> TCGA.DW.7842.01     7  0.5825      0.150 0.08 0.10 0.00 0.00 0.30 0.00 0.52
#> TCGA.DW.7836.01     2  0.5281      0.287 0.08 0.60 0.00 0.00 0.06 0.00 0.26
#> TCGA.A4.7734.01     7  0.5631     -0.275 0.00 0.30 0.00 0.00 0.00 0.34 0.36
#> TCGA.UZ.A9PJ.01     1  0.0504      0.934 0.98 0.00 0.00 0.00 0.02 0.00 0.00
#> TCGA.A4.7732.01     7  0.4787      0.249 0.12 0.00 0.00 0.00 0.30 0.00 0.58
#> TCGA.2Z.A9J7.01     4  0.0000      0.357 0.00 0.00 0.00 1.00 0.00 0.00 0.00

show/hide code output

cbind(get_classes(res, k = 8), get_membership(res, k = 8))
#>                 class entropy silhouette   p1   p2   p3   p4   p5   p6   p7   p8
#> TCGA.DW.5561.01     4  0.1275      0.934 0.00 0.02 0.00 0.94 0.00 0.00 0.00 0.04
#> TCGA.SX.A7SQ.01     1  0.1275      0.939 0.94 0.00 0.00 0.00 0.04 0.00 0.00 0.02
#> TCGA.B1.A654.01     6  0.0000      0.973 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.G7.A4TM.01     7  0.1091      0.871 0.06 0.00 0.00 0.00 0.00 0.00 0.94 0.00
#> TCGA.B9.A5W7.01     1  0.0808      0.940 0.96 0.00 0.00 0.00 0.00 0.00 0.04 0.00
#> TCGA.SX.A7SU.01     1  0.0000      0.946 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.4A.A93W.01     8  0.3015      0.759 0.00 0.00 0.00 0.00 0.00 0.32 0.00 0.68
#> TCGA.G7.A8LE.01     3  0.1091      0.000 0.00 0.00 0.94 0.06 0.00 0.00 0.00 0.00
#> TCGA.B1.A47N.01     4  0.0000      0.934 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.UZ.A9PP.01     1  0.1275      0.931 0.94 0.00 0.00 0.00 0.02 0.00 0.04 0.00
#> TCGA.A4.A5DU.01     8  0.7175      0.591 0.00 0.06 0.06 0.00 0.16 0.32 0.04 0.36
#> TCGA.DW.7839.01     6  0.0471      0.973 0.00 0.02 0.00 0.00 0.00 0.98 0.00 0.00
#> TCGA.O9.A75Z.01     2  0.3879      0.860 0.00 0.74 0.00 0.00 0.02 0.00 0.14 0.10
#> TCGA.DW.7842.01     7  0.3385      0.711 0.00 0.08 0.00 0.00 0.00 0.00 0.76 0.16
#> TCGA.DW.7836.01     2  0.1563      0.859 0.00 0.90 0.00 0.00 0.00 0.00 0.10 0.00
#> TCGA.A4.7734.01     8  0.3618      0.747 0.00 0.00 0.00 0.00 0.00 0.38 0.02 0.60
#> TCGA.UZ.A9PJ.01     1  0.1275      0.939 0.94 0.00 0.00 0.00 0.04 0.00 0.00 0.02
#> TCGA.A4.7732.01     7  0.1091      0.871 0.06 0.00 0.00 0.00 0.00 0.00 0.94 0.00
#> TCGA.2Z.A9J7.01     5  0.2650      0.000 0.00 0.00 0.00 0.24 0.76 0.00 0.00 0.00

Heatmaps for the consensus matrix. It visualizes the probability of two samples to be in a same group.

consensus_heatmap(res, k = 2)

plot of chunk tab-node-013-consensus-heatmap-1

consensus_heatmap(res, k = 3)

plot of chunk tab-node-013-consensus-heatmap-2

consensus_heatmap(res, k = 4)

plot of chunk tab-node-013-consensus-heatmap-3

consensus_heatmap(res, k = 5)

plot of chunk tab-node-013-consensus-heatmap-4

consensus_heatmap(res, k = 6)

plot of chunk tab-node-013-consensus-heatmap-5

consensus_heatmap(res, k = 7)

plot of chunk tab-node-013-consensus-heatmap-6

consensus_heatmap(res, k = 8)

plot of chunk tab-node-013-consensus-heatmap-7

Heatmaps for the membership of samples in all partitions to see how consistent they are:

membership_heatmap(res, k = 2)

plot of chunk tab-node-013-membership-heatmap-1

membership_heatmap(res, k = 3)

plot of chunk tab-node-013-membership-heatmap-2

membership_heatmap(res, k = 4)

plot of chunk tab-node-013-membership-heatmap-3

membership_heatmap(res, k = 5)

plot of chunk tab-node-013-membership-heatmap-4

membership_heatmap(res, k = 6)

plot of chunk tab-node-013-membership-heatmap-5

membership_heatmap(res, k = 7)

plot of chunk tab-node-013-membership-heatmap-6

membership_heatmap(res, k = 8)

plot of chunk tab-node-013-membership-heatmap-7

As soon as the classes for columns are determined, the signatures that are significantly different between subgroups can be looked for. Following are the heatmaps for signatures.

get_signatures(res, k = 2)

plot of chunk tab-node-013-get-signatures-1

get_signatures(res, k = 3)

plot of chunk tab-node-013-get-signatures-2

get_signatures(res, k = 4)

plot of chunk tab-node-013-get-signatures-3

get_signatures(res, k = 5)

plot of chunk tab-node-013-get-signatures-4

get_signatures(res, k = 6)

plot of chunk tab-node-013-get-signatures-5

get_signatures(res, k = 7)

plot of chunk tab-node-013-get-signatures-6

get_signatures(res, k = 8)

plot of chunk tab-node-013-get-signatures-7

Compare the overlap of signatures from different k:

compare_signatures(res)

plot of chunk node-013-signature_compare

get_signature() returns a data frame invisibly. To get the list of signatures, the function call should be assigned to a variable explicitly. In following code, if plot argument is set to FALSE, no heatmap is plotted while only the differential analysis is performed.

# code only for demonstration
tb = get_signature(res, k = ..., plot = FALSE)

An example of the output of tb is:

#>   which_row         fdr    mean_1    mean_2 scaled_mean_1 scaled_mean_2 km
#> 1        38 0.042760348  8.373488  9.131774    -0.5533452     0.5164555  1
#> 2        40 0.018707592  7.106213  8.469186    -0.6173731     0.5762149  1
#> 3        55 0.019134737 10.221463 11.207825    -0.6159697     0.5749050  1
#> 4        59 0.006059896  5.921854  7.869574    -0.6899429     0.6439467  1
#> 5        60 0.018055526  8.928898 10.211722    -0.6204761     0.5791110  1
#> 6        98 0.009384629 15.714769 14.887706     0.6635654    -0.6193277  2
...

The columns in tb are:

  1. which_row: row indices corresponding to the input matrix.
  2. fdr: FDR for the differential test.
  3. mean_x: The mean value in group x.
  4. scaled_mean_x: The mean value in group x after rows are scaled.
  5. km: Row groups if k-means clustering is applied to rows (which is done by automatically selecting number of clusters).

If there are too many signatures, top_signatures = ... can be set to only show the signatures with the highest FDRs:

# code only for demonstration
# e.g. to show the top 500 most significant rows
tb = get_signature(res, k = ..., top_signatures = 500)

If the signatures are defined as these which are uniquely high in current group, diff_method argument can be set to "uniquely_high_in_one_group":

# code only for demonstration
tb = get_signature(res, k = ..., diff_method = "uniquely_high_in_one_group")

UMAP plot which shows how samples are separated.

dimension_reduction(res, k = 2, method = "UMAP")

plot of chunk tab-node-013-dimension-reduction-1

dimension_reduction(res, k = 3, method = "UMAP")

plot of chunk tab-node-013-dimension-reduction-2

dimension_reduction(res, k = 4, method = "UMAP")

plot of chunk tab-node-013-dimension-reduction-3

dimension_reduction(res, k = 5, method = "UMAP")

plot of chunk tab-node-013-dimension-reduction-4

dimension_reduction(res, k = 6, method = "UMAP")

plot of chunk tab-node-013-dimension-reduction-5

dimension_reduction(res, k = 7, method = "UMAP")

plot of chunk tab-node-013-dimension-reduction-6

dimension_reduction(res, k = 8, method = "UMAP")

plot of chunk tab-node-013-dimension-reduction-7

Following heatmap shows how subgroups are split when increasing k:

collect_classes(res)

plot of chunk node-013-collect-classes

If matrix rows can be associated to genes, consider to use functional_enrichment(res, ...) to perform function enrichment for the signature genes. See this vignette for more detailed explanations.


Node0131

Parent node: Node013. Child nodes: Node01311-leaf , Node01312-leaf , Node03111-leaf , Node03112-leaf , Node03113-leaf .

The object with results only for a single top-value method and a single partitioning method can be extracted as:

res = res_rh["0131"]

A summary of res and all the functions that can be applied to it:

res
#> A 'ConsensusPartition' object with k = 2, 3, 4, 5, 6, 7, 8.
#>   On a matrix with 30000 rows and 14 columns.
#>   Top rows (1000) are extracted by 'ATC' method.
#>   Subgroups are detected by 'kmeans' method.
#>   Performed in total 350 partitions by row resampling.
#>   Best k for subgroups seems to be 8.
#> 
#> Following methods can be applied to this 'ConsensusPartition' object:
#>  [1] "cola_report"             "collect_classes"         "collect_plots"          
#>  [4] "collect_stats"           "colnames"                "compare_partitions"     
#>  [7] "compare_signatures"      "consensus_heatmap"       "dimension_reduction"    
#> [10] "functional_enrichment"   "get_anno_col"            "get_anno"               
#> [13] "get_classes"             "get_consensus"           "get_matrix"             
#> [16] "get_membership"          "get_param"               "get_signatures"         
#> [19] "get_stats"               "is_best_k"               "is_stable_k"            
#> [22] "membership_heatmap"      "ncol"                    "nrow"                   
#> [25] "plot_ecdf"               "predict_classes"         "rownames"               
#> [28] "select_partition_number" "show"                    "suggest_best_k"         
#> [31] "test_to_known_factors"   "top_rows_heatmap"

collect_plots() function collects all the plots made from res for all k (number of subgroups) into one single page to provide an easy and fast comparison between different k.

collect_plots(res)

plot of chunk node-0131-collect-plots

The plots are:

All the plots in panels can be made by individual functions and they are plotted later in this section.

select_partition_number() produces several plots showing different statistics for choosing “optimized” k. There are following statistics:

The detailed explanations of these statistics can be found in the cola vignette.

Generally speaking, higher 1-PAC score, higher mean silhouette score or higher concordance corresponds to better partition. Rand index and Jaccard index measure how similar the current partition is compared to partition with k-1. If they are too similar, we won't accept k is better than k-1.

select_partition_number(res)

plot of chunk node-0131-select-partition-number

The numeric values for all these statistics can be obtained by get_stats().

get_stats(res)
#>   k 1-PAC mean_silhouette concordance area_increased  Rand Jaccard
#> 2 2 1.000           1.000       1.000         0.2645 0.736   0.736
#> 3 3 0.923           0.867       0.959         0.5273 0.857   0.809
#> 4 4 0.615           0.796       0.924         0.5457 0.593   0.403
#> 5 5 0.692           0.756       0.971         0.1411 0.934   0.806
#> 6 6 1.000           0.705       0.991         0.0926 0.945   0.800
#> 7 7 0.912           0.626       0.983         0.0590 0.956   0.800
#> 8 8 1.000           0.553       0.980         0.0514 0.956   0.750

suggest_best_k() suggests the best \(k\) based on these statistics. The rules are as follows:

suggest_best_k(res)
#> [1] 8
#> attr(,"optional")
#> [1] 2 3 6 7

There is also optional best \(k\) = 2 3 6 7 that is worth to check.

Following is the table of the partitions (You need to click the show/hide code output link to see it). The membership matrix (columns with name p*) is inferred by clue::cl_consensus() function with the SE method. Basically the value in the membership matrix represents the probability to belong to a certain group. The finall subgroup label for an item is determined with the group with highest probability it belongs to.

In get_classes() function, the entropy is calculated from the membership matrix and the silhouette score is calculated from the consensus matrix.

show/hide code output

cbind(get_classes(res, k = 2), get_membership(res, k = 2))
#>                 class entropy silhouette p1 p2
#> TCGA.DW.5561.01     2       0          1  0  1
#> TCGA.SX.A7SQ.01     1       0          1  1  0
#> TCGA.G7.A4TM.01     1       0          1  1  0
#> TCGA.B9.A5W7.01     1       0          1  1  0
#> TCGA.SX.A7SU.01     1       0          1  1  0
#> TCGA.G7.A8LE.01     1       0          1  1  0
#> TCGA.B1.A47N.01     1       0          1  1  0
#> TCGA.UZ.A9PP.01     1       0          1  1  0
#> TCGA.O9.A75Z.01     1       0          1  1  0
#> TCGA.DW.7842.01     1       0          1  1  0
#> TCGA.DW.7836.01     1       0          1  1  0
#> TCGA.UZ.A9PJ.01     1       0          1  1  0
#> TCGA.A4.7732.01     1       0          1  1  0
#> TCGA.2Z.A9J7.01     2       0          1  0  1

show/hide code output

cbind(get_classes(res, k = 3), get_membership(res, k = 3))
#>                 class entropy silhouette   p1   p2   p3
#> TCGA.DW.5561.01     2   0.000      0.812 0.00 1.00 0.00
#> TCGA.SX.A7SQ.01     1   0.254      0.950 0.92 0.00 0.08
#> TCGA.G7.A4TM.01     1   0.000      0.959 1.00 0.00 0.00
#> TCGA.B9.A5W7.01     1   0.000      0.959 1.00 0.00 0.00
#> TCGA.SX.A7SU.01     1   0.254      0.950 0.92 0.00 0.08
#> TCGA.G7.A8LE.01     1   0.000      0.959 1.00 0.00 0.00
#> TCGA.B1.A47N.01     2   0.296      0.820 0.10 0.90 0.00
#> TCGA.UZ.A9PP.01     1   0.254      0.950 0.92 0.00 0.08
#> TCGA.O9.A75Z.01     1   0.000      0.959 1.00 0.00 0.00
#> TCGA.DW.7842.01     1   0.000      0.959 1.00 0.00 0.00
#> TCGA.DW.7836.01     1   0.254      0.950 0.92 0.00 0.08
#> TCGA.UZ.A9PJ.01     1   0.254      0.950 0.92 0.00 0.08
#> TCGA.A4.7732.01     1   0.000      0.959 1.00 0.00 0.00
#> TCGA.2Z.A9J7.01     3   0.254      0.000 0.00 0.08 0.92

show/hide code output

cbind(get_classes(res, k = 4), get_membership(res, k = 4))
#>                 class entropy silhouette   p1 p2 p3   p4
#> TCGA.DW.5561.01     2   0.000      0.000 0.00  1  0 0.00
#> TCGA.SX.A7SQ.01     4   0.000      1.000 0.00  0  0 1.00
#> TCGA.G7.A4TM.01     1   0.361      0.915 0.80  0  0 0.20
#> TCGA.B9.A5W7.01     1   0.361      0.915 0.80  0  0 0.20
#> TCGA.SX.A7SU.01     4   0.000      1.000 0.00  0  0 1.00
#> TCGA.G7.A8LE.01     1   0.164      0.838 0.94  0  0 0.06
#> TCGA.B1.A47N.01     1   0.000      0.771 1.00  0  0 0.00
#> TCGA.UZ.A9PP.01     4   0.000      1.000 0.00  0  0 1.00
#> TCGA.O9.A75Z.01     1   0.361      0.915 0.80  0  0 0.20
#> TCGA.DW.7842.01     1   0.317      0.905 0.84  0  0 0.16
#> TCGA.DW.7836.01     4   0.000      1.000 0.00  0  0 1.00
#> TCGA.UZ.A9PJ.01     4   0.000      1.000 0.00  0  0 1.00
#> TCGA.A4.7732.01     1   0.398      0.880 0.76  0  0 0.24
#> TCGA.2Z.A9J7.01     3   0.000      0.000 0.00  0  1 0.00

show/hide code output

cbind(get_classes(res, k = 5), get_membership(res, k = 5))
#>                 class entropy silhouette  p1 p2 p3  p4 p5
#> TCGA.DW.5561.01     2   0.000      0.000 0.0  1  0 0.0  0
#> TCGA.SX.A7SQ.01     4   0.000      1.000 0.0  0  0 1.0  0
#> TCGA.G7.A4TM.01     1   0.202      0.949 0.9  0  0 0.1  0
#> TCGA.B9.A5W7.01     1   0.202      0.949 0.9  0  0 0.1  0
#> TCGA.SX.A7SU.01     4   0.000      1.000 0.0  0  0 1.0  0
#> TCGA.G7.A8LE.01     1   0.000      0.894 1.0  0  0 0.0  0
#> TCGA.B1.A47N.01     5   0.000      0.000 0.0  0  0 0.0  1
#> TCGA.UZ.A9PP.01     4   0.000      1.000 0.0  0  0 1.0  0
#> TCGA.O9.A75Z.01     1   0.202      0.949 0.9  0  0 0.1  0
#> TCGA.DW.7842.01     1   0.000      0.894 1.0  0  0 0.0  0
#> TCGA.DW.7836.01     4   0.000      1.000 0.0  0  0 1.0  0
#> TCGA.UZ.A9PJ.01     4   0.000      1.000 0.0  0  0 1.0  0
#> TCGA.A4.7732.01     1   0.202      0.949 0.9  0  0 0.1  0
#> TCGA.2Z.A9J7.01     3   0.000      0.000 0.0  0  1 0.0  0

show/hide code output

cbind(get_classes(res, k = 6), get_membership(res, k = 6))
#>                 class entropy silhouette   p1 p2 p3   p4 p5   p6
#> TCGA.DW.5561.01     2  0.0000      0.000 0.00  1  0 0.00  0 0.00
#> TCGA.SX.A7SQ.01     4  0.0000      1.000 0.00  0  0 1.00  0 0.00
#> TCGA.G7.A4TM.01     1  0.0547      0.985 0.98  0  0 0.02  0 0.00
#> TCGA.B9.A5W7.01     1  0.0547      0.985 0.98  0  0 0.02  0 0.00
#> TCGA.SX.A7SU.01     4  0.0000      1.000 0.00  0  0 1.00  0 0.00
#> TCGA.G7.A8LE.01     6  0.0000      0.000 0.00  0  0 0.00  0 1.00
#> TCGA.B1.A47N.01     5  0.0000      0.000 0.00  0  0 0.00  1 0.00
#> TCGA.UZ.A9PP.01     4  0.0000      1.000 0.00  0  0 1.00  0 0.00
#> TCGA.O9.A75Z.01     1  0.0547      0.985 0.98  0  0 0.02  0 0.00
#> TCGA.DW.7842.01     1  0.0937      0.937 0.96  0  0 0.00  0 0.04
#> TCGA.DW.7836.01     4  0.0000      1.000 0.00  0  0 1.00  0 0.00
#> TCGA.UZ.A9PJ.01     4  0.0000      1.000 0.00  0  0 1.00  0 0.00
#> TCGA.A4.7732.01     1  0.0547      0.985 0.98  0  0 0.02  0 0.00
#> TCGA.2Z.A9J7.01     3  0.0000      0.000 0.00  0  1 0.00  0 0.00

show/hide code output

cbind(get_classes(res, k = 7), get_membership(res, k = 7))
#>                 class entropy silhouette   p1 p2 p3   p4 p5 p6   p7
#> TCGA.DW.5561.01     2   0.000      0.000 0.00  1  0 0.00  0  0 0.00
#> TCGA.SX.A7SQ.01     4   0.000      0.972 0.00  0  0 1.00  0  0 0.00
#> TCGA.G7.A4TM.01     1   0.000      1.000 1.00  0  0 0.00  0  0 0.00
#> TCGA.B9.A5W7.01     1   0.000      1.000 1.00  0  0 0.00  0  0 0.00
#> TCGA.SX.A7SU.01     4   0.000      0.972 0.00  0  0 1.00  0  0 0.00
#> TCGA.G7.A8LE.01     6   0.000      0.000 0.00  0  0 0.00  0  1 0.00
#> TCGA.B1.A47N.01     5   0.000      0.000 0.00  0  0 0.00  1  0 0.00
#> TCGA.UZ.A9PP.01     4   0.189      0.881 0.00  0  0 0.88  0  0 0.12
#> TCGA.O9.A75Z.01     1   0.000      1.000 1.00  0  0 0.00  0  0 0.00
#> TCGA.DW.7842.01     7   0.189      0.000 0.12  0  0 0.00  0  0 0.88
#> TCGA.DW.7836.01     4   0.000      0.972 0.00  0  0 1.00  0  0 0.00
#> TCGA.UZ.A9PJ.01     4   0.000      0.972 0.00  0  0 1.00  0  0 0.00
#> TCGA.A4.7732.01     1   0.000      1.000 1.00  0  0 0.00  0  0 0.00
#> TCGA.2Z.A9J7.01     3   0.000      0.000 0.00  0  1 0.00  0  0 0.00

show/hide code output

cbind(get_classes(res, k = 8), get_membership(res, k = 8))
#>                 class entropy silhouette   p1 p2 p3   p4 p5 p6   p7   p8
#> TCGA.DW.5561.01     2  0.0000      0.000 0.00  1  0 0.00  0  0 0.00 0.00
#> TCGA.SX.A7SQ.01     4  0.0000      0.980 0.00  0  0 1.00  0  0 0.00 0.00
#> TCGA.G7.A4TM.01     1  0.0000      0.974 1.00  0  0 0.00  0  0 0.00 0.00
#> TCGA.B9.A5W7.01     1  0.0808      0.955 0.96  0  0 0.00  0  0 0.00 0.04
#> TCGA.SX.A7SU.01     4  0.0000      0.980 0.00  0  0 1.00  0  0 0.00 0.00
#> TCGA.G7.A8LE.01     6  0.0000      0.000 0.00  0  0 0.00  0  1 0.00 0.00
#> TCGA.B1.A47N.01     5  0.0000      0.000 0.00  0  0 0.00  1  0 0.00 0.00
#> TCGA.UZ.A9PP.01     8  0.1341      0.000 0.00  0  0 0.08  0  0 0.00 0.92
#> TCGA.O9.A75Z.01     1  0.0808      0.955 0.96  0  0 0.00  0  0 0.00 0.04
#> TCGA.DW.7842.01     7  0.1091      0.000 0.06  0  0 0.00  0  0 0.94 0.00
#> TCGA.DW.7836.01     4  0.0000      0.980 0.00  0  0 1.00  0  0 0.00 0.00
#> TCGA.UZ.A9PJ.01     4  0.1091      0.939 0.00  0  0 0.94  0  0 0.06 0.00
#> TCGA.A4.7732.01     1  0.0000      0.974 1.00  0  0 0.00  0  0 0.00 0.00
#> TCGA.2Z.A9J7.01     3  0.0000      0.000 0.00  0  1 0.00  0  0 0.00 0.00

Heatmaps for the consensus matrix. It visualizes the probability of two samples to be in a same group.

consensus_heatmap(res, k = 2)

plot of chunk tab-node-0131-consensus-heatmap-1

consensus_heatmap(res, k = 3)

plot of chunk tab-node-0131-consensus-heatmap-2

consensus_heatmap(res, k = 4)

plot of chunk tab-node-0131-consensus-heatmap-3

consensus_heatmap(res, k = 5)

plot of chunk tab-node-0131-consensus-heatmap-4

consensus_heatmap(res, k = 6)

plot of chunk tab-node-0131-consensus-heatmap-5

consensus_heatmap(res, k = 7)

plot of chunk tab-node-0131-consensus-heatmap-6

consensus_heatmap(res, k = 8)

plot of chunk tab-node-0131-consensus-heatmap-7

Heatmaps for the membership of samples in all partitions to see how consistent they are:

membership_heatmap(res, k = 2)

plot of chunk tab-node-0131-membership-heatmap-1

membership_heatmap(res, k = 3)

plot of chunk tab-node-0131-membership-heatmap-2

membership_heatmap(res, k = 4)

plot of chunk tab-node-0131-membership-heatmap-3

membership_heatmap(res, k = 5)

plot of chunk tab-node-0131-membership-heatmap-4

membership_heatmap(res, k = 6)

plot of chunk tab-node-0131-membership-heatmap-5

membership_heatmap(res, k = 7)

plot of chunk tab-node-0131-membership-heatmap-6

membership_heatmap(res, k = 8)

plot of chunk tab-node-0131-membership-heatmap-7

As soon as the classes for columns are determined, the signatures that are significantly different between subgroups can be looked for. Following are the heatmaps for signatures.

get_signatures(res, k = 2)

plot of chunk tab-node-0131-get-signatures-1

get_signatures(res, k = 3)

plot of chunk tab-node-0131-get-signatures-2

get_signatures(res, k = 4)

plot of chunk tab-node-0131-get-signatures-3

get_signatures(res, k = 5)

plot of chunk tab-node-0131-get-signatures-4

get_signatures(res, k = 6)

plot of chunk tab-node-0131-get-signatures-5

get_signatures(res, k = 7)

plot of chunk tab-node-0131-get-signatures-6

get_signatures(res, k = 8)

plot of chunk tab-node-0131-get-signatures-7

Compare the overlap of signatures from different k:

compare_signatures(res)

plot of chunk node-0131-signature_compare

get_signature() returns a data frame invisibly. To get the list of signatures, the function call should be assigned to a variable explicitly. In following code, if plot argument is set to FALSE, no heatmap is plotted while only the differential analysis is performed.

# code only for demonstration
tb = get_signature(res, k = ..., plot = FALSE)

An example of the output of tb is:

#>   which_row         fdr    mean_1    mean_2 scaled_mean_1 scaled_mean_2 km
#> 1        38 0.042760348  8.373488  9.131774    -0.5533452     0.5164555  1
#> 2        40 0.018707592  7.106213  8.469186    -0.6173731     0.5762149  1
#> 3        55 0.019134737 10.221463 11.207825    -0.6159697     0.5749050  1
#> 4        59 0.006059896  5.921854  7.869574    -0.6899429     0.6439467  1
#> 5        60 0.018055526  8.928898 10.211722    -0.6204761     0.5791110  1
#> 6        98 0.009384629 15.714769 14.887706     0.6635654    -0.6193277  2
...

The columns in tb are:

  1. which_row: row indices corresponding to the input matrix.
  2. fdr: FDR for the differential test.
  3. mean_x: The mean value in group x.
  4. scaled_mean_x: The mean value in group x after rows are scaled.
  5. km: Row groups if k-means clustering is applied to rows (which is done by automatically selecting number of clusters).

If there are too many signatures, top_signatures = ... can be set to only show the signatures with the highest FDRs:

# code only for demonstration
# e.g. to show the top 500 most significant rows
tb = get_signature(res, k = ..., top_signatures = 500)

If the signatures are defined as these which are uniquely high in current group, diff_method argument can be set to "uniquely_high_in_one_group":

# code only for demonstration
tb = get_signature(res, k = ..., diff_method = "uniquely_high_in_one_group")

UMAP plot which shows how samples are separated.

dimension_reduction(res, k = 2, method = "UMAP")

plot of chunk tab-node-0131-dimension-reduction-1

dimension_reduction(res, k = 3, method = "UMAP")

plot of chunk tab-node-0131-dimension-reduction-2

dimension_reduction(res, k = 4, method = "UMAP")

plot of chunk tab-node-0131-dimension-reduction-3

dimension_reduction(res, k = 5, method = "UMAP")

plot of chunk tab-node-0131-dimension-reduction-4

dimension_reduction(res, k = 6, method = "UMAP")

plot of chunk tab-node-0131-dimension-reduction-5

dimension_reduction(res, k = 7, method = "UMAP")

plot of chunk tab-node-0131-dimension-reduction-6

dimension_reduction(res, k = 8, method = "UMAP")

plot of chunk tab-node-0131-dimension-reduction-7

Following heatmap shows how subgroups are split when increasing k:

collect_classes(res)

plot of chunk node-0131-collect-classes

If matrix rows can be associated to genes, consider to use functional_enrichment(res, ...) to perform function enrichment for the signature genes. See this vignette for more detailed explanations.


Node02

Parent node: Node0. Child nodes: Node011-leaf , Node012 , Node013 , Node021-leaf , Node022 , Node023-leaf , Node031 , Node032 , Node033-leaf , Node041-leaf , Node042-leaf , Node043 , Node044-leaf , Node051 , Node052 , Node053 , Node054-leaf .

The object with results only for a single top-value method and a single partitioning method can be extracted as:

res = res_rh["02"]

A summary of res and all the functions that can be applied to it:

res
#> A 'ConsensusPartition' object with k = 2, 3, 4, 5, 6, 7, 8.
#>   On a matrix with 30000 rows and 56 columns.
#>   Top rows (1000) are extracted by 'SD' method.
#>   Subgroups are detected by 'skmeans' method.
#>   Performed in total 350 partitions by row resampling.
#>   Best k for subgroups seems to be 3.
#> 
#> Following methods can be applied to this 'ConsensusPartition' object:
#>  [1] "cola_report"             "collect_classes"         "collect_plots"          
#>  [4] "collect_stats"           "colnames"                "compare_partitions"     
#>  [7] "compare_signatures"      "consensus_heatmap"       "dimension_reduction"    
#> [10] "functional_enrichment"   "get_anno_col"            "get_anno"               
#> [13] "get_classes"             "get_consensus"           "get_matrix"             
#> [16] "get_membership"          "get_param"               "get_signatures"         
#> [19] "get_stats"               "is_best_k"               "is_stable_k"            
#> [22] "membership_heatmap"      "ncol"                    "nrow"                   
#> [25] "plot_ecdf"               "predict_classes"         "rownames"               
#> [28] "select_partition_number" "show"                    "suggest_best_k"         
#> [31] "test_to_known_factors"   "top_rows_heatmap"

collect_plots() function collects all the plots made from res for all k (number of subgroups) into one single page to provide an easy and fast comparison between different k.

collect_plots(res)

plot of chunk node-02-collect-plots

The plots are:

All the plots in panels can be made by individual functions and they are plotted later in this section.

select_partition_number() produces several plots showing different statistics for choosing “optimized” k. There are following statistics:

The detailed explanations of these statistics can be found in the cola vignette.

Generally speaking, higher 1-PAC score, higher mean silhouette score or higher concordance corresponds to better partition. Rand index and Jaccard index measure how similar the current partition is compared to partition with k-1. If they are too similar, we won't accept k is better than k-1.

select_partition_number(res)

plot of chunk node-02-select-partition-number

The numeric values for all these statistics can be obtained by get_stats().

get_stats(res)
#>   k 1-PAC mean_silhouette concordance area_increased  Rand Jaccard
#> 2 2 1.000           1.000       1.000        0.43109 0.569   0.569
#> 3 3 1.000           0.970       0.990        0.36191 0.839   0.717
#> 4 4 0.856           0.723       0.872        0.08140 0.968   0.921
#> 5 5 0.790           0.829       0.898        0.05735 0.919   0.795
#> 6 6 0.689           0.831       0.890        0.04112 0.977   0.930
#> 7 7 0.636           0.769       0.846        0.06272 0.997   0.991
#> 8 8 0.635           0.779       0.854        0.00397 0.997   0.991

suggest_best_k() suggests the best \(k\) based on these statistics. The rules are as follows:

suggest_best_k(res)
#> [1] 3
#> attr(,"optional")
#> [1] 2

There is also optional best \(k\) = 2 that is worth to check.

Following is the table of the partitions (You need to click the show/hide code output link to see it). The membership matrix (columns with name p*) is inferred by clue::cl_consensus() function with the SE method. Basically the value in the membership matrix represents the probability to belong to a certain group. The finall subgroup label for an item is determined with the group with highest probability it belongs to.

In get_classes() function, the entropy is calculated from the membership matrix and the silhouette score is calculated from the consensus matrix.

show/hide code output

cbind(get_classes(res, k = 2), get_membership(res, k = 2))
#>                 class entropy silhouette p1 p2
#> TCGA.A4.8312.01     1       0          1  1  0
#> TCGA.BQ.5880.11     1       0          1  1  0
#> TCGA.BQ.5884.11     2       0          1  0  1
#> TCGA.BQ.5877.11     1       0          1  1  0
#> TCGA.BQ.5876.11     1       0          1  1  0
#> TCGA.BQ.5885.11     1       0          1  1  0
#> TCGA.MH.A857.01     1       0          1  1  0
#> TCGA.BQ.5889.11     1       0          1  1  0
#> TCGA.BQ.5894.11     1       0          1  1  0
#> TCGA.BQ.5891.11     2       0          1  0  1
#> TCGA.BQ.5881.11     1       0          1  1  0
#> TCGA.BQ.5893.11     1       0          1  1  0
#> TCGA.BQ.5886.11     1       0          1  1  0
#> TCGA.BQ.5888.11     2       0          1  0  1
#> TCGA.5P.A9K8.01     2       0          1  0  1
#> TCGA.BQ.5892.11     1       0          1  1  0
#> TCGA.BQ.5883.11     2       0          1  0  1
#> TCGA.BQ.5878.11     2       0          1  0  1
#> TCGA.BQ.5879.11     2       0          1  0  1
#> TCGA.P4.A5ED.01     1       0          1  1  0
#> TCGA.BQ.5882.11     1       0          1  1  0
#> TCGA.B1.A47M.11     1       0          1  1  0
#> TCGA.2Z.A9J9.01     1       0          1  1  0
#> TCGA.BQ.5890.11     1       0          1  1  0
#> TCGA.2Z.A9JN.01     2       0          1  0  1
#> TCGA.BQ.5875.11     2       0          1  0  1
#> TCGA.BQ.5883.01     2       0          1  0  1
#> TCGA.5P.A9KH.01     1       0          1  1  0
#> TCGA.5P.A9JV.01     1       0          1  1  0
#> TCGA.DZ.6134.11     1       0          1  1  0
#> TCGA.BQ.7053.11     2       0          1  0  1
#> TCGA.GL.6846.11     1       0          1  1  0
#> TCGA.DZ.6132.11     1       0          1  1  0
#> TCGA.DZ.6133.11     2       0          1  0  1
#> TCGA.BQ.7046.11     1       0          1  1  0
#> TCGA.DZ.6131.11     1       0          1  1  0
#> TCGA.BQ.7062.11     1       0          1  1  0
#> TCGA.BQ.7056.11     2       0          1  0  1
#> TCGA.BQ.7055.11     1       0          1  1  0
#> TCGA.BQ.7059.11     1       0          1  1  0
#> TCGA.A4.7288.11     2       0          1  0  1
#> TCGA.BQ.7051.11     1       0          1  1  0
#> TCGA.BQ.7049.11     1       0          1  1  0
#> TCGA.BQ.7048.11     1       0          1  1  0
#> TCGA.BQ.7061.11     2       0          1  0  1
#> TCGA.BQ.7050.11     2       0          1  0  1
#> TCGA.BQ.7058.11     1       0          1  1  0
#> TCGA.DZ.6135.11     1       0          1  1  0
#> TCGA.BQ.7044.11     1       0          1  1  0
#> TCGA.BQ.7055.01     1       0          1  1  0
#> TCGA.BQ.7060.11     1       0          1  1  0
#> TCGA.A4.7828.01     2       0          1  0  1
#> TCGA.BQ.5887.11     1       0          1  1  0
#> TCGA.BQ.7045.11     1       0          1  1  0
#> TCGA.A4.7732.11     1       0          1  1  0
#> TCGA.A4.7585.11     1       0          1  1  0

show/hide code output

cbind(get_classes(res, k = 3), get_membership(res, k = 3))
#>                 class entropy silhouette   p1 p2   p3
#> TCGA.A4.8312.01     3   0.000      0.920 0.00  0 1.00
#> TCGA.BQ.5880.11     1   0.000      0.995 1.00  0 0.00
#> TCGA.BQ.5884.11     2   0.000      1.000 0.00  1 0.00
#> TCGA.BQ.5877.11     1   0.000      0.995 1.00  0 0.00
#> TCGA.BQ.5876.11     1   0.000      0.995 1.00  0 0.00
#> TCGA.BQ.5885.11     1   0.000      0.995 1.00  0 0.00
#> TCGA.MH.A857.01     3   0.624      0.200 0.44  0 0.56
#> TCGA.BQ.5889.11     1   0.000      0.995 1.00  0 0.00
#> TCGA.BQ.5894.11     1   0.000      0.995 1.00  0 0.00
#> TCGA.BQ.5891.11     2   0.000      1.000 0.00  1 0.00
#> TCGA.BQ.5881.11     1   0.000      0.995 1.00  0 0.00
#> TCGA.BQ.5893.11     1   0.000      0.995 1.00  0 0.00
#> TCGA.BQ.5886.11     1   0.000      0.995 1.00  0 0.00
#> TCGA.BQ.5888.11     2   0.000      1.000 0.00  1 0.00
#> TCGA.5P.A9K8.01     2   0.000      1.000 0.00  1 0.00
#> TCGA.BQ.5892.11     1   0.000      0.995 1.00  0 0.00
#> TCGA.BQ.5883.11     2   0.000      1.000 0.00  1 0.00
#> TCGA.BQ.5878.11     2   0.000      1.000 0.00  1 0.00
#> TCGA.BQ.5879.11     2   0.000      1.000 0.00  1 0.00
#> TCGA.P4.A5ED.01     3   0.000      0.920 0.00  0 1.00
#> TCGA.BQ.5882.11     1   0.000      0.995 1.00  0 0.00
#> TCGA.B1.A47M.11     3   0.000      0.920 0.00  0 1.00
#> TCGA.2Z.A9J9.01     3   0.000      0.920 0.00  0 1.00
#> TCGA.BQ.5890.11     1   0.000      0.995 1.00  0 0.00
#> TCGA.2Z.A9JN.01     2   0.000      1.000 0.00  1 0.00
#> TCGA.BQ.5875.11     2   0.000      1.000 0.00  1 0.00
#> TCGA.BQ.5883.01     2   0.000      1.000 0.00  1 0.00
#> TCGA.5P.A9KH.01     3   0.000      0.920 0.00  0 1.00
#> TCGA.5P.A9JV.01     3   0.000      0.920 0.00  0 1.00
#> TCGA.DZ.6134.11     1   0.000      0.995 1.00  0 0.00
#> TCGA.BQ.7053.11     2   0.000      1.000 0.00  1 0.00
#> TCGA.GL.6846.11     1   0.000      0.995 1.00  0 0.00
#> TCGA.DZ.6132.11     1   0.000      0.995 1.00  0 0.00
#> TCGA.DZ.6133.11     2   0.000      1.000 0.00  1 0.00
#> TCGA.BQ.7046.11     1   0.000      0.995 1.00  0 0.00
#> TCGA.DZ.6131.11     1   0.000      0.995 1.00  0 0.00
#> TCGA.BQ.7062.11     1   0.000      0.995 1.00  0 0.00
#> TCGA.BQ.7056.11     2   0.000      1.000 0.00  1 0.00
#> TCGA.BQ.7055.11     1   0.000      0.995 1.00  0 0.00
#> TCGA.BQ.7059.11     1   0.000      0.995 1.00  0 0.00
#> TCGA.A4.7288.11     2   0.000      1.000 0.00  1 0.00
#> TCGA.BQ.7051.11     1   0.000      0.995 1.00  0 0.00
#> TCGA.BQ.7049.11     1   0.000      0.995 1.00  0 0.00
#> TCGA.BQ.7048.11     1   0.000      0.995 1.00  0 0.00
#> TCGA.BQ.7061.11     2   0.000      1.000 0.00  1 0.00
#> TCGA.BQ.7050.11     2   0.000      1.000 0.00  1 0.00
#> TCGA.BQ.7058.11     1   0.000      0.995 1.00  0 0.00
#> TCGA.DZ.6135.11     1   0.000      0.995 1.00  0 0.00
#> TCGA.BQ.7044.11     1   0.000      0.995 1.00  0 0.00
#> TCGA.BQ.7055.01     3   0.000      0.920 0.00  0 1.00
#> TCGA.BQ.7060.11     1   0.000      0.995 1.00  0 0.00
#> TCGA.A4.7828.01     2   0.000      1.000 0.00  1 0.00
#> TCGA.BQ.5887.11     1   0.000      0.995 1.00  0 0.00
#> TCGA.BQ.7045.11     1   0.369      0.824 0.86  0 0.14
#> TCGA.A4.7732.11     1   0.000      0.995 1.00  0 0.00
#> TCGA.A4.7585.11     1   0.000      0.995 1.00  0 0.00

show/hide code output

cbind(get_classes(res, k = 4), get_membership(res, k = 4))
#>                 class entropy silhouette   p1   p2   p3   p4
#> TCGA.A4.8312.01     3  0.5000    -0.8452 0.00 0.00 0.50 0.50
#> TCGA.BQ.5880.11     1  0.0000     0.9383 1.00 0.00 0.00 0.00
#> TCGA.BQ.5884.11     2  0.0000     0.9452 0.00 1.00 0.00 0.00
#> TCGA.BQ.5877.11     1  0.4855     0.3284 0.60 0.00 0.40 0.00
#> TCGA.BQ.5876.11     1  0.0000     0.9383 1.00 0.00 0.00 0.00
#> TCGA.BQ.5885.11     1  0.0000     0.9383 1.00 0.00 0.00 0.00
#> TCGA.MH.A857.01     3  0.4472     0.1417 0.22 0.00 0.76 0.02
#> TCGA.BQ.5889.11     1  0.0000     0.9383 1.00 0.00 0.00 0.00
#> TCGA.BQ.5894.11     1  0.0000     0.9383 1.00 0.00 0.00 0.00
#> TCGA.BQ.5891.11     2  0.0000     0.9452 0.00 1.00 0.00 0.00
#> TCGA.BQ.5881.11     1  0.0000     0.9383 1.00 0.00 0.00 0.00
#> TCGA.BQ.5893.11     1  0.0000     0.9383 1.00 0.00 0.00 0.00
#> TCGA.BQ.5886.11     1  0.0000     0.9383 1.00 0.00 0.00 0.00
#> TCGA.BQ.5888.11     2  0.0000     0.9452 0.00 1.00 0.00 0.00
#> TCGA.5P.A9K8.01     2  0.0000     0.9452 0.00 1.00 0.00 0.00
#> TCGA.BQ.5892.11     1  0.0000     0.9383 1.00 0.00 0.00 0.00
#> TCGA.BQ.5883.11     2  0.0000     0.9452 0.00 1.00 0.00 0.00
#> TCGA.BQ.5878.11     2  0.0000     0.9452 0.00 1.00 0.00 0.00
#> TCGA.BQ.5879.11     2  0.0000     0.9452 0.00 1.00 0.00 0.00
#> TCGA.P4.A5ED.01     4  0.5000     0.7213 0.00 0.00 0.50 0.50
#> TCGA.BQ.5882.11     1  0.0000     0.9383 1.00 0.00 0.00 0.00
#> TCGA.B1.A47M.11     3  0.0000    -0.1280 0.00 0.00 1.00 0.00
#> TCGA.2Z.A9J9.01     4  0.5000     0.7213 0.00 0.00 0.50 0.50
#> TCGA.BQ.5890.11     1  0.2011     0.8688 0.92 0.00 0.08 0.00
#> TCGA.2Z.A9JN.01     2  0.4522     0.6963 0.00 0.68 0.00 0.32
#> TCGA.BQ.5875.11     2  0.0000     0.9452 0.00 1.00 0.00 0.00
#> TCGA.BQ.5883.01     2  0.4522     0.6963 0.00 0.68 0.00 0.32
#> TCGA.5P.A9KH.01     4  0.6150     0.4881 0.06 0.00 0.36 0.58
#> TCGA.5P.A9JV.01     3  0.4994    -0.7891 0.00 0.00 0.52 0.48
#> TCGA.DZ.6134.11     1  0.0000     0.9383 1.00 0.00 0.00 0.00
#> TCGA.BQ.7053.11     2  0.0000     0.9452 0.00 1.00 0.00 0.00
#> TCGA.GL.6846.11     1  0.0000     0.9383 1.00 0.00 0.00 0.00
#> TCGA.DZ.6132.11     1  0.2011     0.8695 0.92 0.00 0.08 0.00
#> TCGA.DZ.6133.11     2  0.0000     0.9452 0.00 1.00 0.00 0.00
#> TCGA.BQ.7046.11     1  0.0000     0.9383 1.00 0.00 0.00 0.00
#> TCGA.DZ.6131.11     1  0.0000     0.9383 1.00 0.00 0.00 0.00
#> TCGA.BQ.7062.11     1  0.4977     0.1953 0.54 0.00 0.46 0.00
#> TCGA.BQ.7056.11     2  0.0000     0.9452 0.00 1.00 0.00 0.00
#> TCGA.BQ.7055.11     1  0.1211     0.9063 0.96 0.00 0.04 0.00
#> TCGA.BQ.7059.11     1  0.0000     0.9383 1.00 0.00 0.00 0.00
#> TCGA.A4.7288.11     2  0.0000     0.9452 0.00 1.00 0.00 0.00
#> TCGA.BQ.7051.11     1  0.0000     0.9383 1.00 0.00 0.00 0.00
#> TCGA.BQ.7049.11     1  0.0000     0.9383 1.00 0.00 0.00 0.00
#> TCGA.BQ.7048.11     1  0.0000     0.9383 1.00 0.00 0.00 0.00
#> TCGA.BQ.7061.11     2  0.0000     0.9452 0.00 1.00 0.00 0.00
#> TCGA.BQ.7050.11     2  0.0000     0.9452 0.00 1.00 0.00 0.00
#> TCGA.BQ.7058.11     1  0.0000     0.9383 1.00 0.00 0.00 0.00
#> TCGA.DZ.6135.11     1  0.0000     0.9383 1.00 0.00 0.00 0.00
#> TCGA.BQ.7044.11     1  0.0000     0.9383 1.00 0.00 0.00 0.00
#> TCGA.BQ.7055.01     3  0.4948    -0.7671 0.00 0.00 0.56 0.44
#> TCGA.BQ.7060.11     1  0.0707     0.9230 0.98 0.00 0.02 0.00
#> TCGA.A4.7828.01     2  0.4522     0.6963 0.00 0.68 0.00 0.32
#> TCGA.BQ.5887.11     1  0.0000     0.9383 1.00 0.00 0.00 0.00
#> TCGA.BQ.7045.11     3  0.4977    -0.1314 0.46 0.00 0.54 0.00
#> TCGA.A4.7732.11     1  0.5000     0.0818 0.50 0.00 0.50 0.00
#> TCGA.A4.7585.11     1  0.0000     0.9383 1.00 0.00 0.00 0.00

show/hide code output

cbind(get_classes(res, k = 5), get_membership(res, k = 5))
#>                 class entropy silhouette   p1   p2   p3   p4   p5
#> TCGA.A4.8312.01     4  0.0609    0.91775 0.00 0.00 0.00 0.98 0.02
#> TCGA.BQ.5880.11     1  0.0609    0.90821 0.98 0.00 0.02 0.00 0.00
#> TCGA.BQ.5884.11     2  0.0000    0.98934 0.00 1.00 0.00 0.00 0.00
#> TCGA.BQ.5877.11     1  0.4182   -0.00642 0.60 0.00 0.40 0.00 0.00
#> TCGA.BQ.5876.11     1  0.1043    0.90231 0.96 0.00 0.04 0.00 0.00
#> TCGA.BQ.5885.11     1  0.1410    0.89608 0.94 0.00 0.06 0.00 0.00
#> TCGA.MH.A857.01     3  0.5444    0.63008 0.18 0.00 0.66 0.16 0.00
#> TCGA.BQ.5889.11     1  0.1410    0.88969 0.94 0.00 0.06 0.00 0.00
#> TCGA.BQ.5894.11     1  0.0609    0.90821 0.98 0.00 0.02 0.00 0.00
#> TCGA.BQ.5891.11     2  0.0000    0.98934 0.00 1.00 0.00 0.00 0.00
#> TCGA.BQ.5881.11     1  0.0000    0.91281 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5893.11     1  0.1410    0.90310 0.94 0.00 0.06 0.00 0.00
#> TCGA.BQ.5886.11     1  0.1410    0.89608 0.94 0.00 0.06 0.00 0.00
#> TCGA.BQ.5888.11     2  0.0000    0.98934 0.00 1.00 0.00 0.00 0.00
#> TCGA.5P.A9K8.01     2  0.0609    0.96934 0.00 0.98 0.00 0.00 0.02
#> TCGA.BQ.5892.11     1  0.0000    0.91281 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5883.11     2  0.0609    0.96934 0.00 0.98 0.00 0.00 0.02
#> TCGA.BQ.5878.11     2  0.0000    0.98934 0.00 1.00 0.00 0.00 0.00
#> TCGA.BQ.5879.11     2  0.0000    0.98934 0.00 1.00 0.00 0.00 0.00
#> TCGA.P4.A5ED.01     4  0.0609    0.91775 0.00 0.00 0.00 0.98 0.02
#> TCGA.BQ.5882.11     1  0.0609    0.91039 0.98 0.00 0.02 0.00 0.00
#> TCGA.B1.A47M.11     3  0.3796    0.10557 0.00 0.00 0.70 0.30 0.00
#> TCGA.2Z.A9J9.01     4  0.0000    0.91785 0.00 0.00 0.00 1.00 0.00
#> TCGA.BQ.5890.11     1  0.3513    0.72698 0.80 0.00 0.18 0.02 0.00
#> TCGA.2Z.A9JN.01     5  0.4126    0.65218 0.00 0.38 0.00 0.00 0.62
#> TCGA.BQ.5875.11     2  0.0000    0.98934 0.00 1.00 0.00 0.00 0.00
#> TCGA.BQ.5883.01     5  0.4126    0.65218 0.00 0.38 0.00 0.00 0.62
#> TCGA.5P.A9KH.01     5  0.7589   -0.41015 0.04 0.00 0.32 0.30 0.34
#> TCGA.5P.A9JV.01     4  0.1732    0.89698 0.00 0.00 0.08 0.92 0.00
#> TCGA.DZ.6134.11     1  0.2012    0.88304 0.92 0.00 0.06 0.02 0.00
#> TCGA.BQ.7053.11     2  0.0000    0.98934 0.00 1.00 0.00 0.00 0.00
#> TCGA.GL.6846.11     1  0.0000    0.91281 1.00 0.00 0.00 0.00 0.00
#> TCGA.DZ.6132.11     1  0.2516    0.83626 0.86 0.00 0.14 0.00 0.00
#> TCGA.DZ.6133.11     2  0.0000    0.98934 0.00 1.00 0.00 0.00 0.00
#> TCGA.BQ.7046.11     1  0.0000    0.91281 1.00 0.00 0.00 0.00 0.00
#> TCGA.DZ.6131.11     1  0.0609    0.90821 0.98 0.00 0.02 0.00 0.00
#> TCGA.BQ.7062.11     3  0.4060    0.62322 0.36 0.00 0.64 0.00 0.00
#> TCGA.BQ.7056.11     2  0.0000    0.98934 0.00 1.00 0.00 0.00 0.00
#> TCGA.BQ.7055.11     1  0.2516    0.82418 0.86 0.00 0.14 0.00 0.00
#> TCGA.BQ.7059.11     1  0.1410    0.89608 0.94 0.00 0.06 0.00 0.00
#> TCGA.A4.7288.11     2  0.0000    0.98934 0.00 1.00 0.00 0.00 0.00
#> TCGA.BQ.7051.11     1  0.0609    0.91023 0.98 0.00 0.02 0.00 0.00
#> TCGA.BQ.7049.11     1  0.1410    0.89715 0.94 0.00 0.06 0.00 0.00
#> TCGA.BQ.7048.11     1  0.0000    0.91281 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7061.11     2  0.1410    0.91730 0.00 0.94 0.00 0.00 0.06
#> TCGA.BQ.7050.11     2  0.0000    0.98934 0.00 1.00 0.00 0.00 0.00
#> TCGA.BQ.7058.11     1  0.1410    0.90179 0.94 0.00 0.06 0.00 0.00
#> TCGA.DZ.6135.11     1  0.1410    0.89608 0.94 0.00 0.06 0.00 0.00
#> TCGA.BQ.7044.11     1  0.0000    0.91281 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7055.01     4  0.4373    0.78759 0.00 0.00 0.16 0.76 0.08
#> TCGA.BQ.7060.11     1  0.3274    0.69090 0.78 0.00 0.22 0.00 0.00
#> TCGA.A4.7828.01     5  0.4126    0.65218 0.00 0.38 0.00 0.00 0.62
#> TCGA.BQ.5887.11     1  0.0609    0.90821 0.98 0.00 0.02 0.00 0.00
#> TCGA.BQ.7045.11     3  0.4728    0.72753 0.24 0.00 0.70 0.06 0.00
#> TCGA.A4.7732.11     3  0.3796    0.72433 0.30 0.00 0.70 0.00 0.00
#> TCGA.A4.7585.11     1  0.1043    0.90231 0.96 0.00 0.04 0.00 0.00

show/hide code output

cbind(get_classes(res, k = 6), get_membership(res, k = 6))
#>                 class entropy silhouette   p1   p2   p3   p4   p5   p6
#> TCGA.A4.8312.01     4  0.3258      0.590 0.00 0.00 0.10 0.84 0.04 0.02
#> TCGA.BQ.5880.11     1  0.2345      0.899 0.90 0.00 0.02 0.00 0.02 0.06
#> TCGA.BQ.5884.11     2  0.0000      0.992 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5877.11     3  0.4646      0.284 0.46 0.00 0.50 0.00 0.04 0.00
#> TCGA.BQ.5876.11     1  0.2403      0.896 0.90 0.00 0.04 0.00 0.02 0.04
#> TCGA.BQ.5885.11     1  0.1092      0.908 0.96 0.00 0.00 0.00 0.02 0.02
#> TCGA.MH.A857.01     3  0.4877      0.637 0.14 0.00 0.74 0.06 0.02 0.04
#> TCGA.BQ.5889.11     1  0.3103      0.887 0.86 0.00 0.04 0.00 0.06 0.04
#> TCGA.BQ.5894.11     1  0.1865      0.893 0.92 0.00 0.04 0.00 0.04 0.00
#> TCGA.BQ.5891.11     2  0.0000      0.992 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5881.11     1  0.2020      0.898 0.92 0.00 0.04 0.00 0.02 0.02
#> TCGA.BQ.5893.11     1  0.1092      0.907 0.96 0.00 0.02 0.00 0.00 0.02
#> TCGA.BQ.5886.11     1  0.2403      0.898 0.90 0.00 0.04 0.00 0.02 0.04
#> TCGA.BQ.5888.11     2  0.0000      0.992 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.5P.A9K8.01     2  0.0000      0.992 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5892.11     1  0.0937      0.907 0.96 0.00 0.00 0.00 0.04 0.00
#> TCGA.BQ.5883.11     2  0.0000      0.992 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5878.11     2  0.0000      0.992 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5879.11     2  0.0000      0.992 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.P4.A5ED.01     4  0.2190      0.651 0.00 0.00 0.04 0.90 0.00 0.06
#> TCGA.BQ.5882.11     1  0.1480      0.908 0.94 0.00 0.02 0.00 0.04 0.00
#> TCGA.B1.A47M.11     3  0.2581      0.348 0.00 0.00 0.86 0.12 0.02 0.00
#> TCGA.2Z.A9J9.01     4  0.3697      0.614 0.00 0.00 0.08 0.82 0.04 0.06
#> TCGA.BQ.5890.11     1  0.4475      0.618 0.70 0.00 0.20 0.00 0.00 0.10
#> TCGA.2Z.A9JN.01     5  0.3076      1.000 0.00 0.24 0.00 0.00 0.76 0.00
#> TCGA.BQ.5875.11     2  0.0000      0.992 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5883.01     5  0.3076      1.000 0.00 0.24 0.00 0.00 0.76 0.00
#> TCGA.5P.A9KH.01     6  0.0937      0.000 0.00 0.00 0.00 0.04 0.00 0.96
#> TCGA.5P.A9JV.01     4  0.5480      0.546 0.00 0.00 0.10 0.66 0.06 0.18
#> TCGA.DZ.6134.11     1  0.2725      0.892 0.88 0.00 0.02 0.00 0.04 0.06
#> TCGA.BQ.7053.11     2  0.0000      0.992 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.GL.6846.11     1  0.1092      0.907 0.96 0.00 0.02 0.00 0.00 0.02
#> TCGA.DZ.6132.11     1  0.3829      0.735 0.76 0.00 0.18 0.00 0.00 0.06
#> TCGA.DZ.6133.11     2  0.0000      0.992 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7046.11     1  0.1092      0.911 0.96 0.00 0.02 0.00 0.00 0.02
#> TCGA.DZ.6131.11     1  0.2020      0.898 0.92 0.00 0.04 0.00 0.02 0.02
#> TCGA.BQ.7062.11     3  0.3198      0.658 0.26 0.00 0.74 0.00 0.00 0.00
#> TCGA.BQ.7056.11     2  0.0000      0.992 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7055.11     1  0.3258      0.843 0.84 0.00 0.10 0.00 0.02 0.04
#> TCGA.BQ.7059.11     1  0.2020      0.904 0.92 0.00 0.04 0.00 0.02 0.02
#> TCGA.A4.7288.11     2  0.0000      0.992 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7051.11     1  0.0937      0.908 0.96 0.00 0.00 0.00 0.00 0.04
#> TCGA.BQ.7049.11     1  0.1807      0.898 0.92 0.00 0.02 0.00 0.06 0.00
#> TCGA.BQ.7048.11     1  0.1092      0.908 0.96 0.00 0.02 0.00 0.02 0.00
#> TCGA.BQ.7061.11     2  0.1556      0.882 0.00 0.92 0.00 0.00 0.08 0.00
#> TCGA.BQ.7050.11     2  0.0000      0.992 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7058.11     1  0.2725      0.888 0.88 0.00 0.04 0.00 0.02 0.06
#> TCGA.DZ.6135.11     1  0.1092      0.910 0.96 0.00 0.00 0.00 0.02 0.02
#> TCGA.BQ.7044.11     1  0.1865      0.896 0.92 0.00 0.04 0.00 0.00 0.04
#> TCGA.BQ.7055.01     4  0.7186      0.375 0.02 0.00 0.22 0.50 0.12 0.14
#> TCGA.BQ.7060.11     1  0.3854      0.815 0.80 0.00 0.12 0.00 0.04 0.04
#> TCGA.A4.7828.01     5  0.3076      1.000 0.00 0.24 0.00 0.00 0.76 0.00
#> TCGA.BQ.5887.11     1  0.0547      0.907 0.98 0.00 0.02 0.00 0.00 0.00
#> TCGA.BQ.7045.11     3  0.3111      0.651 0.12 0.00 0.84 0.02 0.00 0.02
#> TCGA.A4.7732.11     3  0.2793      0.687 0.20 0.00 0.80 0.00 0.00 0.00
#> TCGA.A4.7585.11     1  0.1807      0.905 0.92 0.00 0.02 0.00 0.06 0.00

show/hide code output

cbind(get_classes(res, k = 7), get_membership(res, k = 7))
#>                 class entropy silhouette   p1   p2   p3   p4   p5   p6   p7
#> TCGA.A4.8312.01     4  0.2654      0.572 0.00 0.00 0.00 0.86 0.02 0.02 0.10
#> TCGA.BQ.5880.11     1  0.2163      0.834 0.88 0.00 0.02 0.00 0.00 0.00 0.10
#> TCGA.BQ.5884.11     2  0.0000      0.993 0.00 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5877.11     3  0.5073      0.329 0.30 0.00 0.54 0.00 0.00 0.00 0.16
#> TCGA.BQ.5876.11     1  0.4162      0.809 0.74 0.00 0.12 0.00 0.02 0.00 0.12
#> TCGA.BQ.5885.11     1  0.2803      0.823 0.84 0.00 0.06 0.00 0.00 0.00 0.10
#> TCGA.MH.A857.01     3  0.4044      0.452 0.00 0.00 0.76 0.04 0.02 0.02 0.16
#> TCGA.BQ.5889.11     1  0.4708      0.725 0.64 0.00 0.08 0.00 0.00 0.02 0.26
#> TCGA.BQ.5894.11     1  0.1671      0.831 0.90 0.00 0.00 0.00 0.00 0.00 0.10
#> TCGA.BQ.5891.11     2  0.0000      0.993 0.00 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5881.11     1  0.2722      0.831 0.84 0.00 0.04 0.00 0.00 0.00 0.12
#> TCGA.BQ.5893.11     1  0.3086      0.795 0.80 0.00 0.04 0.00 0.00 0.00 0.16
#> TCGA.BQ.5886.11     1  0.3061      0.805 0.84 0.00 0.06 0.00 0.02 0.00 0.08
#> TCGA.BQ.5888.11     2  0.0000      0.993 0.00 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.5P.A9K8.01     2  0.0000      0.993 0.00 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5892.11     1  0.2259      0.819 0.84 0.00 0.00 0.00 0.00 0.00 0.16
#> TCGA.BQ.5883.11     2  0.0504      0.974 0.00 0.98 0.00 0.00 0.02 0.00 0.00
#> TCGA.BQ.5878.11     2  0.0000      0.993 0.00 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5879.11     2  0.0000      0.993 0.00 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.P4.A5ED.01     4  0.2654      0.508 0.00 0.00 0.02 0.86 0.02 0.00 0.10
#> TCGA.BQ.5882.11     1  0.3526      0.789 0.76 0.00 0.06 0.00 0.00 0.00 0.18
#> TCGA.B1.A47M.11     3  0.2421      0.537 0.00 0.00 0.88 0.02 0.00 0.02 0.08
#> TCGA.2Z.A9J9.01     4  0.3149      0.586 0.00 0.00 0.00 0.84 0.04 0.06 0.06
#> TCGA.BQ.5890.11     1  0.4502      0.675 0.66 0.00 0.16 0.00 0.00 0.00 0.18
#> TCGA.2Z.A9JN.01     5  0.2081      1.000 0.00 0.14 0.00 0.00 0.86 0.00 0.00
#> TCGA.BQ.5875.11     2  0.0000      0.993 0.00 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5883.01     5  0.2081      1.000 0.00 0.14 0.00 0.00 0.86 0.00 0.00
#> TCGA.5P.A9KH.01     6  0.1006      0.000 0.00 0.00 0.02 0.02 0.00 0.96 0.00
#> TCGA.5P.A9JV.01     4  0.5686     -0.117 0.02 0.00 0.08 0.54 0.00 0.04 0.32
#> TCGA.DZ.6134.11     1  0.3061      0.822 0.84 0.00 0.06 0.00 0.02 0.00 0.08
#> TCGA.BQ.7053.11     2  0.0000      0.993 0.00 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.GL.6846.11     1  0.2804      0.823 0.86 0.00 0.06 0.00 0.00 0.02 0.06
#> TCGA.DZ.6132.11     1  0.4671      0.753 0.68 0.00 0.14 0.00 0.02 0.00 0.16
#> TCGA.DZ.6133.11     2  0.0000      0.993 0.00 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7046.11     1  0.3772      0.821 0.80 0.00 0.06 0.00 0.02 0.02 0.10
#> TCGA.DZ.6131.11     1  0.1006      0.836 0.96 0.00 0.02 0.00 0.00 0.02 0.00
#> TCGA.BQ.7062.11     3  0.3208      0.613 0.12 0.00 0.82 0.00 0.02 0.00 0.04
#> TCGA.BQ.7056.11     2  0.0000      0.993 0.00 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7055.11     1  0.4698      0.635 0.62 0.00 0.14 0.00 0.00 0.00 0.24
#> TCGA.BQ.7059.11     1  0.2313      0.807 0.88 0.00 0.06 0.00 0.00 0.00 0.06
#> TCGA.A4.7288.11     2  0.0000      0.993 0.00 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7051.11     1  0.3848      0.817 0.76 0.00 0.06 0.00 0.02 0.00 0.16
#> TCGA.BQ.7049.11     1  0.3263      0.818 0.80 0.00 0.08 0.00 0.00 0.00 0.12
#> TCGA.BQ.7048.11     1  0.3863      0.796 0.74 0.00 0.04 0.00 0.00 0.02 0.20
#> TCGA.BQ.7061.11     2  0.1166      0.926 0.00 0.94 0.00 0.00 0.06 0.00 0.00
#> TCGA.BQ.7050.11     2  0.0000      0.993 0.00 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7058.11     1  0.3000      0.833 0.84 0.00 0.04 0.00 0.00 0.02 0.10
#> TCGA.DZ.6135.11     1  0.2313      0.821 0.88 0.00 0.06 0.00 0.00 0.00 0.06
#> TCGA.BQ.7044.11     1  0.2654      0.828 0.86 0.00 0.02 0.00 0.00 0.02 0.10
#> TCGA.BQ.7055.01     7  0.6577      0.000 0.00 0.00 0.18 0.28 0.04 0.04 0.46
#> TCGA.BQ.7060.11     1  0.5107      0.721 0.66 0.00 0.18 0.00 0.02 0.02 0.12
#> TCGA.A4.7828.01     5  0.2081      1.000 0.00 0.14 0.00 0.00 0.86 0.00 0.00
#> TCGA.BQ.5887.11     1  0.2864      0.829 0.84 0.00 0.02 0.00 0.00 0.02 0.12
#> TCGA.BQ.7045.11     3  0.1363      0.668 0.04 0.00 0.94 0.00 0.00 0.00 0.02
#> TCGA.A4.7732.11     3  0.2159      0.672 0.06 0.00 0.90 0.00 0.00 0.02 0.02
#> TCGA.A4.7585.11     1  0.4500      0.753 0.68 0.00 0.08 0.00 0.00 0.02 0.22

show/hide code output

cbind(get_classes(res, k = 8), get_membership(res, k = 8))
#>                 class entropy silhouette   p1   p2   p3   p4   p5   p6   p7   p8
#> TCGA.A4.8312.01     4  0.3808      0.561 0.00 0.00 0.00 0.66 0.30 0.00 0.02 0.02
#> TCGA.BQ.5880.11     1  0.2940      0.841 0.84 0.00 0.02 0.00 0.10 0.00 0.02 0.02
#> TCGA.BQ.5884.11     2  0.0000      0.988 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5877.11     3  0.4538      0.352 0.32 0.00 0.56 0.00 0.12 0.00 0.00 0.00
#> TCGA.BQ.5876.11     1  0.1804      0.843 0.90 0.00 0.02 0.00 0.08 0.00 0.00 0.00
#> TCGA.BQ.5885.11     1  0.2348      0.837 0.88 0.00 0.06 0.00 0.04 0.00 0.02 0.00
#> TCGA.MH.A857.01     3  0.4906      0.445 0.02 0.00 0.66 0.00 0.18 0.04 0.10 0.00
#> TCGA.BQ.5889.11     1  0.3431      0.760 0.74 0.00 0.06 0.00 0.20 0.00 0.00 0.00
#> TCGA.BQ.5894.11     1  0.2265      0.843 0.88 0.00 0.02 0.00 0.08 0.00 0.02 0.00
#> TCGA.BQ.5891.11     2  0.0000      0.988 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5881.11     1  0.3169      0.838 0.78 0.00 0.02 0.00 0.18 0.00 0.02 0.00
#> TCGA.BQ.5893.11     1  0.3002      0.839 0.82 0.00 0.04 0.00 0.12 0.00 0.02 0.00
#> TCGA.BQ.5886.11     1  0.3503      0.827 0.78 0.00 0.08 0.00 0.12 0.00 0.02 0.00
#> TCGA.BQ.5888.11     2  0.0000      0.988 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.5P.A9K8.01     2  0.0000      0.988 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5892.11     1  0.1765      0.840 0.88 0.00 0.00 0.00 0.12 0.00 0.00 0.00
#> TCGA.BQ.5883.11     2  0.0808      0.950 0.00 0.96 0.00 0.00 0.00 0.00 0.00 0.04
#> TCGA.BQ.5878.11     2  0.0000      0.988 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5879.11     2  0.0000      0.988 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.P4.A5ED.01     4  0.3178      0.434 0.00 0.00 0.00 0.80 0.04 0.00 0.14 0.02
#> TCGA.BQ.5882.11     1  0.3198      0.787 0.72 0.00 0.02 0.00 0.26 0.00 0.00 0.00
#> TCGA.B1.A47M.11     3  0.2807      0.597 0.02 0.00 0.86 0.04 0.02 0.00 0.06 0.00
#> TCGA.2Z.A9J9.01     4  0.3720      0.562 0.00 0.00 0.00 0.78 0.12 0.02 0.06 0.02
#> TCGA.BQ.5890.11     1  0.5180      0.572 0.60 0.00 0.18 0.00 0.06 0.00 0.16 0.00
#> TCGA.2Z.A9JN.01     8  0.1563      1.000 0.00 0.10 0.00 0.00 0.00 0.00 0.00 0.90
#> TCGA.BQ.5875.11     2  0.0000      0.988 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5883.01     8  0.1563      1.000 0.00 0.10 0.00 0.00 0.00 0.00 0.00 0.90
#> TCGA.5P.A9KH.01     6  0.0000      0.000 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.5P.A9JV.01     7  0.5843      0.119 0.02 0.00 0.00 0.40 0.08 0.04 0.44 0.02
#> TCGA.DZ.6134.11     1  0.3687      0.792 0.78 0.00 0.08 0.00 0.08 0.00 0.06 0.00
#> TCGA.BQ.7053.11     2  0.0000      0.988 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.GL.6846.11     1  0.1557      0.838 0.92 0.00 0.06 0.00 0.00 0.00 0.02 0.00
#> TCGA.DZ.6132.11     1  0.5028      0.681 0.64 0.00 0.14 0.00 0.10 0.00 0.12 0.00
#> TCGA.DZ.6133.11     2  0.0000      0.988 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7046.11     1  0.1765      0.841 0.88 0.00 0.00 0.00 0.12 0.00 0.00 0.00
#> TCGA.DZ.6131.11     1  0.1804      0.842 0.90 0.00 0.00 0.00 0.08 0.00 0.00 0.02
#> TCGA.BQ.7062.11     3  0.3320      0.646 0.12 0.00 0.80 0.00 0.04 0.00 0.04 0.00
#> TCGA.BQ.7056.11     2  0.0000      0.988 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7055.11     1  0.4529      0.717 0.68 0.00 0.06 0.00 0.08 0.00 0.18 0.00
#> TCGA.BQ.7059.11     1  0.2265      0.836 0.88 0.00 0.08 0.00 0.02 0.00 0.02 0.00
#> TCGA.A4.7288.11     2  0.0000      0.988 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7051.11     1  0.1341      0.840 0.92 0.00 0.00 0.00 0.08 0.00 0.00 0.00
#> TCGA.BQ.7049.11     1  0.2591      0.838 0.86 0.00 0.04 0.00 0.08 0.00 0.00 0.02
#> TCGA.BQ.7048.11     1  0.2114      0.834 0.84 0.00 0.00 0.00 0.16 0.00 0.00 0.00
#> TCGA.BQ.7061.11     2  0.1563      0.877 0.00 0.90 0.00 0.00 0.00 0.00 0.00 0.10
#> TCGA.BQ.7050.11     2  0.0000      0.988 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7058.11     1  0.3078      0.820 0.82 0.00 0.02 0.00 0.10 0.00 0.06 0.00
#> TCGA.DZ.6135.11     1  0.2348      0.846 0.88 0.00 0.04 0.00 0.06 0.00 0.02 0.00
#> TCGA.BQ.7044.11     1  0.1557      0.844 0.92 0.00 0.00 0.00 0.06 0.00 0.02 0.00
#> TCGA.BQ.7055.01     7  0.2674      0.334 0.00 0.00 0.06 0.04 0.00 0.04 0.86 0.00
#> TCGA.BQ.7060.11     1  0.4946      0.594 0.62 0.00 0.22 0.00 0.10 0.00 0.06 0.00
#> TCGA.A4.7828.01     8  0.1563      1.000 0.00 0.10 0.00 0.00 0.00 0.00 0.00 0.90
#> TCGA.BQ.5887.11     1  0.1765      0.839 0.88 0.00 0.00 0.00 0.12 0.00 0.00 0.00
#> TCGA.BQ.7045.11     3  0.2348      0.633 0.02 0.00 0.88 0.00 0.06 0.00 0.04 0.00
#> TCGA.A4.7732.11     3  0.2025      0.677 0.10 0.00 0.88 0.00 0.00 0.00 0.02 0.00
#> TCGA.A4.7585.11     1  0.3293      0.776 0.74 0.00 0.04 0.00 0.22 0.00 0.00 0.00

Heatmaps for the consensus matrix. It visualizes the probability of two samples to be in a same group.

consensus_heatmap(res, k = 2)

plot of chunk tab-node-02-consensus-heatmap-1

consensus_heatmap(res, k = 3)

plot of chunk tab-node-02-consensus-heatmap-2

consensus_heatmap(res, k = 4)

plot of chunk tab-node-02-consensus-heatmap-3

consensus_heatmap(res, k = 5)

plot of chunk tab-node-02-consensus-heatmap-4

consensus_heatmap(res, k = 6)

plot of chunk tab-node-02-consensus-heatmap-5

consensus_heatmap(res, k = 7)

plot of chunk tab-node-02-consensus-heatmap-6

consensus_heatmap(res, k = 8)

plot of chunk tab-node-02-consensus-heatmap-7

Heatmaps for the membership of samples in all partitions to see how consistent they are:

membership_heatmap(res, k = 2)

plot of chunk tab-node-02-membership-heatmap-1

membership_heatmap(res, k = 3)

plot of chunk tab-node-02-membership-heatmap-2

membership_heatmap(res, k = 4)

plot of chunk tab-node-02-membership-heatmap-3

membership_heatmap(res, k = 5)

plot of chunk tab-node-02-membership-heatmap-4

membership_heatmap(res, k = 6)

plot of chunk tab-node-02-membership-heatmap-5

membership_heatmap(res, k = 7)

plot of chunk tab-node-02-membership-heatmap-6

membership_heatmap(res, k = 8)

plot of chunk tab-node-02-membership-heatmap-7

As soon as the classes for columns are determined, the signatures that are significantly different between subgroups can be looked for. Following are the heatmaps for signatures.

get_signatures(res, k = 2)

plot of chunk tab-node-02-get-signatures-1

get_signatures(res, k = 3)

plot of chunk tab-node-02-get-signatures-2

get_signatures(res, k = 4)

plot of chunk tab-node-02-get-signatures-3

get_signatures(res, k = 5)

plot of chunk tab-node-02-get-signatures-4

get_signatures(res, k = 6)

plot of chunk tab-node-02-get-signatures-5

get_signatures(res, k = 7)

plot of chunk tab-node-02-get-signatures-6

get_signatures(res, k = 8)

plot of chunk tab-node-02-get-signatures-7

Compare the overlap of signatures from different k:

compare_signatures(res)

plot of chunk node-02-signature_compare

get_signature() returns a data frame invisibly. To get the list of signatures, the function call should be assigned to a variable explicitly. In following code, if plot argument is set to FALSE, no heatmap is plotted while only the differential analysis is performed.

# code only for demonstration
tb = get_signature(res, k = ..., plot = FALSE)

An example of the output of tb is:

#>   which_row         fdr    mean_1    mean_2 scaled_mean_1 scaled_mean_2 km
#> 1        38 0.042760348  8.373488  9.131774    -0.5533452     0.5164555  1
#> 2        40 0.018707592  7.106213  8.469186    -0.6173731     0.5762149  1
#> 3        55 0.019134737 10.221463 11.207825    -0.6159697     0.5749050  1
#> 4        59 0.006059896  5.921854  7.869574    -0.6899429     0.6439467  1
#> 5        60 0.018055526  8.928898 10.211722    -0.6204761     0.5791110  1
#> 6        98 0.009384629 15.714769 14.887706     0.6635654    -0.6193277  2
...

The columns in tb are:

  1. which_row: row indices corresponding to the input matrix.
  2. fdr: FDR for the differential test.
  3. mean_x: The mean value in group x.
  4. scaled_mean_x: The mean value in group x after rows are scaled.
  5. km: Row groups if k-means clustering is applied to rows (which is done by automatically selecting number of clusters).

If there are too many signatures, top_signatures = ... can be set to only show the signatures with the highest FDRs:

# code only for demonstration
# e.g. to show the top 500 most significant rows
tb = get_signature(res, k = ..., top_signatures = 500)

If the signatures are defined as these which are uniquely high in current group, diff_method argument can be set to "uniquely_high_in_one_group":

# code only for demonstration
tb = get_signature(res, k = ..., diff_method = "uniquely_high_in_one_group")

UMAP plot which shows how samples are separated.

dimension_reduction(res, k = 2, method = "UMAP")

plot of chunk tab-node-02-dimension-reduction-1

dimension_reduction(res, k = 3, method = "UMAP")

plot of chunk tab-node-02-dimension-reduction-2

dimension_reduction(res, k = 4, method = "UMAP")

plot of chunk tab-node-02-dimension-reduction-3

dimension_reduction(res, k = 5, method = "UMAP")

plot of chunk tab-node-02-dimension-reduction-4

dimension_reduction(res, k = 6, method = "UMAP")

plot of chunk tab-node-02-dimension-reduction-5

dimension_reduction(res, k = 7, method = "UMAP")

plot of chunk tab-node-02-dimension-reduction-6

dimension_reduction(res, k = 8, method = "UMAP")

plot of chunk tab-node-02-dimension-reduction-7

Following heatmap shows how subgroups are split when increasing k:

collect_classes(res)

plot of chunk node-02-collect-classes

If matrix rows can be associated to genes, consider to use functional_enrichment(res, ...) to perform function enrichment for the signature genes. See this vignette for more detailed explanations.


Node022

Parent node: Node02. Child nodes: Node0121-leaf , Node0122-leaf , Node0123-leaf , Node0124-leaf , Node0131 , Node0132-leaf , Node0221-leaf , Node0222-leaf , Node0223-leaf , Node0311 , Node0312-leaf , Node0313-leaf , Node0321-leaf , Node0322-leaf , Node0431-leaf , Node0432-leaf , Node0433-leaf , Node0511-leaf , Node0512-leaf , Node0513-leaf , Node0521-leaf , Node0522-leaf , Node0523-leaf , Node0531-leaf , Node0532-leaf , Node0533-leaf .

The object with results only for a single top-value method and a single partitioning method can be extracted as:

res = res_rh["022"]

A summary of res and all the functions that can be applied to it:

res
#> A 'ConsensusPartition' object with k = 2, 3, 4, 5, 6, 7, 8.
#>   On a matrix with 30000 rows and 17 columns.
#>   Top rows (1000) are extracted by 'SD' method.
#>   Subgroups are detected by 'kmeans' method.
#>   Performed in total 350 partitions by row resampling.
#>   Best k for subgroups seems to be 4.
#> 
#> Following methods can be applied to this 'ConsensusPartition' object:
#>  [1] "cola_report"             "collect_classes"         "collect_plots"          
#>  [4] "collect_stats"           "colnames"                "compare_partitions"     
#>  [7] "compare_signatures"      "consensus_heatmap"       "dimension_reduction"    
#> [10] "functional_enrichment"   "get_anno_col"            "get_anno"               
#> [13] "get_classes"             "get_consensus"           "get_matrix"             
#> [16] "get_membership"          "get_param"               "get_signatures"         
#> [19] "get_stats"               "is_best_k"               "is_stable_k"            
#> [22] "membership_heatmap"      "ncol"                    "nrow"                   
#> [25] "plot_ecdf"               "predict_classes"         "rownames"               
#> [28] "select_partition_number" "show"                    "suggest_best_k"         
#> [31] "test_to_known_factors"   "top_rows_heatmap"

collect_plots() function collects all the plots made from res for all k (number of subgroups) into one single page to provide an easy and fast comparison between different k.

collect_plots(res)

plot of chunk node-022-collect-plots

The plots are:

All the plots in panels can be made by individual functions and they are plotted later in this section.

select_partition_number() produces several plots showing different statistics for choosing “optimized” k. There are following statistics:

The detailed explanations of these statistics can be found in the cola vignette.

Generally speaking, higher 1-PAC score, higher mean silhouette score or higher concordance corresponds to better partition. Rand index and Jaccard index measure how similar the current partition is compared to partition with k-1. If they are too similar, we won't accept k is better than k-1.

select_partition_number(res)

plot of chunk node-022-select-partition-number

The numeric values for all these statistics can be obtained by get_stats().

get_stats(res)
#>   k 1-PAC mean_silhouette concordance area_increased  Rand Jaccard
#> 2 2 0.779           0.897       0.951         0.3862 0.559   0.559
#> 3 3 0.904           0.979       0.985         0.2888 0.956   0.921
#> 4 4 0.838           0.855       0.959         0.2872 0.772   0.575
#> 5 5 0.721           0.766       0.938         0.1629 0.743   0.386
#> 6 6 0.743           0.612       0.835         0.0752 0.853   0.474
#> 7 7 0.838           0.670       0.868         0.0625 0.941   0.704
#> 8 8 0.831           0.607       0.852         0.0463 0.919   0.542

suggest_best_k() suggests the best \(k\) based on these statistics. The rules are as follows:

suggest_best_k(res)
#> [1] 4

Following is the table of the partitions (You need to click the show/hide code output link to see it). The membership matrix (columns with name p*) is inferred by clue::cl_consensus() function with the SE method. Basically the value in the membership matrix represents the probability to belong to a certain group. The finall subgroup label for an item is determined with the group with highest probability it belongs to.

In get_classes() function, the entropy is calculated from the membership matrix and the silhouette score is calculated from the consensus matrix.

show/hide code output

cbind(get_classes(res, k = 2), get_membership(res, k = 2))
#>                 class entropy silhouette   p1   p2
#> TCGA.BQ.5884.11     1   0.000      1.000 1.00 0.00
#> TCGA.BQ.5891.11     1   0.000      1.000 1.00 0.00
#> TCGA.BQ.5888.11     1   0.000      1.000 1.00 0.00
#> TCGA.5P.A9K8.01     2   0.981      0.457 0.42 0.58
#> TCGA.BQ.5883.11     1   0.000      1.000 1.00 0.00
#> TCGA.BQ.5878.11     1   0.000      1.000 1.00 0.00
#> TCGA.BQ.5879.11     1   0.000      1.000 1.00 0.00
#> TCGA.2Z.A9JN.01     2   0.000      0.777 0.00 1.00
#> TCGA.BQ.5875.11     1   0.000      1.000 1.00 0.00
#> TCGA.BQ.5883.01     2   0.000      0.777 0.00 1.00
#> TCGA.BQ.7053.11     1   0.000      1.000 1.00 0.00
#> TCGA.DZ.6133.11     1   0.000      1.000 1.00 0.00
#> TCGA.BQ.7056.11     1   0.000      1.000 1.00 0.00
#> TCGA.A4.7288.11     1   0.000      1.000 1.00 0.00
#> TCGA.BQ.7061.11     2   0.981      0.457 0.42 0.58
#> TCGA.BQ.7050.11     1   0.000      1.000 1.00 0.00
#> TCGA.A4.7828.01     2   0.000      0.777 0.00 1.00

show/hide code output

cbind(get_classes(res, k = 3), get_membership(res, k = 3))
#>                 class entropy silhouette   p1   p2   p3
#> TCGA.BQ.5884.11     1  0.0892      0.978 0.98 0.00 0.02
#> TCGA.BQ.5891.11     1  0.0000      0.980 1.00 0.00 0.00
#> TCGA.BQ.5888.11     1  0.3340      0.862 0.88 0.00 0.12
#> TCGA.5P.A9K8.01     3  0.0892      1.000 0.00 0.02 0.98
#> TCGA.BQ.5883.11     1  0.0892      0.978 0.98 0.00 0.02
#> TCGA.BQ.5878.11     1  0.0000      0.980 1.00 0.00 0.00
#> TCGA.BQ.5879.11     1  0.0892      0.978 0.98 0.00 0.02
#> TCGA.2Z.A9JN.01     2  0.0000      1.000 0.00 1.00 0.00
#> TCGA.BQ.5875.11     1  0.0000      0.980 1.00 0.00 0.00
#> TCGA.BQ.5883.01     2  0.0000      1.000 0.00 1.00 0.00
#> TCGA.BQ.7053.11     1  0.0892      0.978 0.98 0.00 0.02
#> TCGA.DZ.6133.11     1  0.0000      0.980 1.00 0.00 0.00
#> TCGA.BQ.7056.11     1  0.0000      0.980 1.00 0.00 0.00
#> TCGA.A4.7288.11     1  0.0000      0.980 1.00 0.00 0.00
#> TCGA.BQ.7061.11     3  0.0892      1.000 0.00 0.02 0.98
#> TCGA.BQ.7050.11     1  0.0892      0.978 0.98 0.00 0.02
#> TCGA.A4.7828.01     2  0.0000      1.000 0.00 1.00 0.00

show/hide code output

cbind(get_classes(res, k = 4), get_membership(res, k = 4))
#>                 class entropy silhouette   p1   p2   p3   p4
#> TCGA.BQ.5884.11     1  0.0000      0.988 1.00 0.00 0.00 0.00
#> TCGA.BQ.5891.11     3  0.4277      0.699 0.28 0.00 0.72 0.00
#> TCGA.BQ.5888.11     3  0.0707      0.666 0.02 0.00 0.98 0.00
#> TCGA.5P.A9K8.01     4  0.0000      0.000 0.00 0.00 0.00 1.00
#> TCGA.BQ.5883.11     1  0.0000      0.988 1.00 0.00 0.00 0.00
#> TCGA.BQ.5878.11     1  0.0707      0.985 0.98 0.00 0.02 0.00
#> TCGA.BQ.5879.11     1  0.0000      0.988 1.00 0.00 0.00 0.00
#> TCGA.2Z.A9JN.01     2  0.0000      0.990 0.00 1.00 0.00 0.00
#> TCGA.BQ.5875.11     3  0.4277      0.699 0.28 0.00 0.72 0.00
#> TCGA.BQ.5883.01     2  0.0000      0.990 0.00 1.00 0.00 0.00
#> TCGA.BQ.7053.11     1  0.0000      0.988 1.00 0.00 0.00 0.00
#> TCGA.DZ.6133.11     1  0.0707      0.985 0.98 0.00 0.02 0.00
#> TCGA.BQ.7056.11     1  0.0707      0.985 0.98 0.00 0.02 0.00
#> TCGA.A4.7288.11     1  0.0707      0.985 0.98 0.00 0.02 0.00
#> TCGA.BQ.7061.11     3  0.0707      0.626 0.00 0.00 0.98 0.02
#> TCGA.BQ.7050.11     1  0.0000      0.988 1.00 0.00 0.00 0.00
#> TCGA.A4.7828.01     2  0.0707      0.980 0.00 0.98 0.02 0.00

show/hide code output

cbind(get_classes(res, k = 5), get_membership(res, k = 5))
#>                 class entropy silhouette   p1   p2   p3 p4   p5
#> TCGA.BQ.5884.11     1  0.0000      0.993 1.00 0.00 0.00  0 0.00
#> TCGA.BQ.5891.11     3  0.0000      0.826 0.00 0.00 1.00  0 0.00
#> TCGA.BQ.5888.11     3  0.0000      0.826 0.00 0.00 1.00  0 0.00
#> TCGA.5P.A9K8.01     4  0.0000      0.000 0.00 0.00 0.00  1 0.00
#> TCGA.BQ.5883.11     1  0.0000      0.993 1.00 0.00 0.00  0 0.00
#> TCGA.BQ.5878.11     3  0.2280      0.849 0.12 0.00 0.88  0 0.00
#> TCGA.BQ.5879.11     1  0.0609      0.972 0.98 0.00 0.02  0 0.00
#> TCGA.2Z.A9JN.01     2  0.0000      0.913 0.00 1.00 0.00  0 0.00
#> TCGA.BQ.5875.11     3  0.0000      0.826 0.00 0.00 1.00  0 0.00
#> TCGA.BQ.5883.01     2  0.0000      0.913 0.00 1.00 0.00  0 0.00
#> TCGA.BQ.7053.11     1  0.0000      0.993 1.00 0.00 0.00  0 0.00
#> TCGA.DZ.6133.11     3  0.4227      0.411 0.42 0.00 0.58  0 0.00
#> TCGA.BQ.7056.11     3  0.2280      0.849 0.12 0.00 0.88  0 0.00
#> TCGA.A4.7288.11     3  0.2280      0.849 0.12 0.00 0.88  0 0.00
#> TCGA.BQ.7061.11     5  0.1732      0.000 0.00 0.00 0.08  0 0.92
#> TCGA.BQ.7050.11     1  0.0000      0.993 1.00 0.00 0.00  0 0.00
#> TCGA.A4.7828.01     2  0.2929      0.810 0.00 0.82 0.00  0 0.18

show/hide code output

cbind(get_classes(res, k = 6), get_membership(res, k = 6))
#>                 class entropy silhouette   p1   p2   p3 p4   p5   p6
#> TCGA.BQ.5884.11     1  0.0547     0.8237 0.98 0.00 0.02  0 0.00 0.00
#> TCGA.BQ.5891.11     6  0.4246     0.9577 0.02 0.00 0.40  0 0.00 0.58
#> TCGA.BQ.5888.11     6  0.3797     0.9788 0.00 0.00 0.42  0 0.00 0.58
#> TCGA.5P.A9K8.01     4  0.0000     0.0000 0.00 0.00 0.00  1 0.00 0.00
#> TCGA.BQ.5883.11     1  0.0547     0.8237 0.98 0.00 0.02  0 0.00 0.00
#> TCGA.BQ.5878.11     3  0.0000     0.6763 0.00 0.00 1.00  0 0.00 0.00
#> TCGA.BQ.5879.11     3  0.3828     0.0156 0.44 0.00 0.56  0 0.00 0.00
#> TCGA.2Z.A9JN.01     2  0.0000     0.8009 0.00 1.00 0.00  0 0.00 0.00
#> TCGA.BQ.5875.11     6  0.3797     0.9788 0.00 0.00 0.42  0 0.00 0.58
#> TCGA.BQ.5883.01     2  0.0000     0.8009 0.00 1.00 0.00  0 0.00 0.00
#> TCGA.BQ.7053.11     1  0.0547     0.8237 0.98 0.00 0.02  0 0.00 0.00
#> TCGA.DZ.6133.11     3  0.2793     0.6293 0.20 0.00 0.80  0 0.00 0.00
#> TCGA.BQ.7056.11     3  0.0000     0.6763 0.00 0.00 1.00  0 0.00 0.00
#> TCGA.A4.7288.11     3  0.0547     0.6889 0.02 0.00 0.98  0 0.00 0.00
#> TCGA.BQ.7061.11     5  0.3797     0.0000 0.00 0.00 0.00  0 0.58 0.42
#> TCGA.BQ.7050.11     1  0.3756     0.1751 0.60 0.00 0.40  0 0.00 0.00
#> TCGA.A4.7828.01     2  0.3797     0.5550 0.00 0.58 0.00  0 0.42 0.00

show/hide code output

cbind(get_classes(res, k = 7), get_membership(res, k = 7))
#>                 class entropy silhouette   p1   p2   p3   p4 p5   p6 p7
#> TCGA.BQ.5884.11     1  0.0504      0.949 0.98 0.00 0.00 0.02  0 0.00  0
#> TCGA.BQ.5891.11     6  0.3911      0.766 0.00 0.00 0.06 0.24  0 0.70  0
#> TCGA.BQ.5888.11     6  0.1166      0.890 0.00 0.00 0.06 0.00  0 0.94  0
#> TCGA.5P.A9K8.01     7  0.0000      0.000 0.00 0.00 0.00 0.00  0 0.00  1
#> TCGA.BQ.5883.11     1  0.0863      0.934 0.96 0.00 0.00 0.04  0 0.00  0
#> TCGA.BQ.5878.11     3  0.0504      0.763 0.00 0.00 0.98 0.00  0 0.02  0
#> TCGA.BQ.5879.11     3  0.4429      0.670 0.12 0.00 0.66 0.22  0 0.00  0
#> TCGA.2Z.A9JN.01     2  0.3558      0.751 0.00 0.52 0.00 0.48  0 0.00  0
#> TCGA.BQ.5875.11     6  0.1166      0.890 0.00 0.00 0.06 0.00  0 0.94  0
#> TCGA.BQ.5883.01     2  0.4487      0.751 0.00 0.52 0.00 0.42  0 0.06  0
#> TCGA.BQ.7053.11     1  0.0863      0.941 0.96 0.00 0.00 0.04  0 0.00  0
#> TCGA.DZ.6133.11     3  0.1006      0.765 0.02 0.00 0.96 0.02  0 0.00  0
#> TCGA.BQ.7056.11     3  0.0504      0.763 0.00 0.00 0.98 0.00  0 0.02  0
#> TCGA.A4.7288.11     3  0.2745      0.749 0.00 0.00 0.82 0.16  0 0.02  0
#> TCGA.BQ.7061.11     5  0.0000      0.000 0.00 0.00 0.00 0.00  1 0.00  0
#> TCGA.BQ.7050.11     3  0.5517      0.311 0.34 0.00 0.42 0.24  0 0.00  0
#> TCGA.A4.7828.01     2  0.0000      0.499 0.00 1.00 0.00 0.00  0 0.00  0

show/hide code output

cbind(get_classes(res, k = 8), get_membership(res, k = 8))
#>                 class entropy silhouette   p1   p2   p3   p4   p5   p6 p7   p8
#> TCGA.BQ.5884.11     1  0.0808      0.869 0.96 0.00 0.00 0.00 0.00 0.00  0 0.04
#> TCGA.BQ.5891.11     4  0.0471      0.000 0.00 0.00 0.02 0.98 0.00 0.00  0 0.00
#> TCGA.BQ.5888.11     6  0.3942      0.847 0.00 0.00 0.02 0.34 0.02 0.62  0 0.00
#> TCGA.5P.A9K8.01     7  0.0000      0.000 0.00 0.00 0.00 0.00 0.00 0.00  1 0.00
#> TCGA.BQ.5883.11     1  0.0000      0.858 1.00 0.00 0.00 0.00 0.00 0.00  0 0.00
#> TCGA.BQ.5878.11     3  0.0000      0.871 0.00 0.00 1.00 0.00 0.00 0.00  0 0.00
#> TCGA.BQ.5879.11     8  0.3449      0.637 0.00 0.00 0.32 0.00 0.00 0.02  0 0.66
#> TCGA.2Z.A9JN.01     2  0.0000      0.758 0.00 1.00 0.00 0.00 0.00 0.00  0 0.00
#> TCGA.BQ.5875.11     6  0.5171      0.845 0.06 0.00 0.04 0.34 0.00 0.54  0 0.02
#> TCGA.BQ.5883.01     2  0.0808      0.758 0.00 0.96 0.00 0.00 0.00 0.00  0 0.04
#> TCGA.BQ.7053.11     1  0.3303      0.764 0.76 0.00 0.00 0.02 0.00 0.02  0 0.20
#> TCGA.DZ.6133.11     3  0.2224      0.744 0.00 0.00 0.86 0.00 0.00 0.02  0 0.12
#> TCGA.BQ.7056.11     3  0.0471      0.863 0.00 0.00 0.98 0.00 0.00 0.00  0 0.02
#> TCGA.A4.7288.11     8  0.3333      0.431 0.00 0.00 0.50 0.00 0.00 0.00  0 0.50
#> TCGA.BQ.7061.11     5  0.0000      0.000 0.00 0.00 0.00 0.00 1.00 0.00  0 0.00
#> TCGA.BQ.7050.11     8  0.3054      0.587 0.08 0.00 0.12 0.00 0.00 0.00  0 0.80
#> TCGA.A4.7828.01     2  0.4723      0.492 0.00 0.52 0.00 0.00 0.00 0.34  0 0.14

Heatmaps for the consensus matrix. It visualizes the probability of two samples to be in a same group.

consensus_heatmap(res, k = 2)

plot of chunk tab-node-022-consensus-heatmap-1

consensus_heatmap(res, k = 3)

plot of chunk tab-node-022-consensus-heatmap-2

consensus_heatmap(res, k = 4)

plot of chunk tab-node-022-consensus-heatmap-3

consensus_heatmap(res, k = 5)

plot of chunk tab-node-022-consensus-heatmap-4

consensus_heatmap(res, k = 6)

plot of chunk tab-node-022-consensus-heatmap-5

consensus_heatmap(res, k = 7)

plot of chunk tab-node-022-consensus-heatmap-6

consensus_heatmap(res, k = 8)

plot of chunk tab-node-022-consensus-heatmap-7

Heatmaps for the membership of samples in all partitions to see how consistent they are:

membership_heatmap(res, k = 2)

plot of chunk tab-node-022-membership-heatmap-1

membership_heatmap(res, k = 3)

plot of chunk tab-node-022-membership-heatmap-2

membership_heatmap(res, k = 4)

plot of chunk tab-node-022-membership-heatmap-3

membership_heatmap(res, k = 5)

plot of chunk tab-node-022-membership-heatmap-4

membership_heatmap(res, k = 6)

plot of chunk tab-node-022-membership-heatmap-5

membership_heatmap(res, k = 7)

plot of chunk tab-node-022-membership-heatmap-6

membership_heatmap(res, k = 8)

plot of chunk tab-node-022-membership-heatmap-7

As soon as the classes for columns are determined, the signatures that are significantly different between subgroups can be looked for. Following are the heatmaps for signatures.

get_signatures(res, k = 2)

plot of chunk tab-node-022-get-signatures-1

get_signatures(res, k = 3)

plot of chunk tab-node-022-get-signatures-2

get_signatures(res, k = 4)

plot of chunk tab-node-022-get-signatures-3

get_signatures(res, k = 5)

plot of chunk tab-node-022-get-signatures-4

get_signatures(res, k = 6)

plot of chunk tab-node-022-get-signatures-5

get_signatures(res, k = 7)

plot of chunk tab-node-022-get-signatures-6

get_signatures(res, k = 8)

plot of chunk tab-node-022-get-signatures-7

Compare the overlap of signatures from different k:

compare_signatures(res)

plot of chunk node-022-signature_compare

get_signature() returns a data frame invisibly. To get the list of signatures, the function call should be assigned to a variable explicitly. In following code, if plot argument is set to FALSE, no heatmap is plotted while only the differential analysis is performed.

# code only for demonstration
tb = get_signature(res, k = ..., plot = FALSE)

An example of the output of tb is:

#>   which_row         fdr    mean_1    mean_2 scaled_mean_1 scaled_mean_2 km
#> 1        38 0.042760348  8.373488  9.131774    -0.5533452     0.5164555  1
#> 2        40 0.018707592  7.106213  8.469186    -0.6173731     0.5762149  1
#> 3        55 0.019134737 10.221463 11.207825    -0.6159697     0.5749050  1
#> 4        59 0.006059896  5.921854  7.869574    -0.6899429     0.6439467  1
#> 5        60 0.018055526  8.928898 10.211722    -0.6204761     0.5791110  1
#> 6        98 0.009384629 15.714769 14.887706     0.6635654    -0.6193277  2
...

The columns in tb are:

  1. which_row: row indices corresponding to the input matrix.
  2. fdr: FDR for the differential test.
  3. mean_x: The mean value in group x.
  4. scaled_mean_x: The mean value in group x after rows are scaled.
  5. km: Row groups if k-means clustering is applied to rows (which is done by automatically selecting number of clusters).

If there are too many signatures, top_signatures = ... can be set to only show the signatures with the highest FDRs:

# code only for demonstration
# e.g. to show the top 500 most significant rows
tb = get_signature(res, k = ..., top_signatures = 500)

If the signatures are defined as these which are uniquely high in current group, diff_method argument can be set to "uniquely_high_in_one_group":

# code only for demonstration
tb = get_signature(res, k = ..., diff_method = "uniquely_high_in_one_group")

UMAP plot which shows how samples are separated.

dimension_reduction(res, k = 2, method = "UMAP")

plot of chunk tab-node-022-dimension-reduction-1

dimension_reduction(res, k = 3, method = "UMAP")

plot of chunk tab-node-022-dimension-reduction-2

dimension_reduction(res, k = 4, method = "UMAP")

plot of chunk tab-node-022-dimension-reduction-3

dimension_reduction(res, k = 5, method = "UMAP")

plot of chunk tab-node-022-dimension-reduction-4

dimension_reduction(res, k = 6, method = "UMAP")

plot of chunk tab-node-022-dimension-reduction-5

dimension_reduction(res, k = 7, method = "UMAP")

plot of chunk tab-node-022-dimension-reduction-6

dimension_reduction(res, k = 8, method = "UMAP")

plot of chunk tab-node-022-dimension-reduction-7

Following heatmap shows how subgroups are split when increasing k:

collect_classes(res)

plot of chunk node-022-collect-classes

If matrix rows can be associated to genes, consider to use functional_enrichment(res, ...) to perform function enrichment for the signature genes. See this vignette for more detailed explanations.


Node03

Parent node: Node0. Child nodes: Node011-leaf , Node012 , Node013 , Node021-leaf , Node022 , Node023-leaf , Node031 , Node032 , Node033-leaf , Node041-leaf , Node042-leaf , Node043 , Node044-leaf , Node051 , Node052 , Node053 , Node054-leaf .

The object with results only for a single top-value method and a single partitioning method can be extracted as:

res = res_rh["03"]

A summary of res and all the functions that can be applied to it:

res
#> A 'ConsensusPartition' object with k = 2, 3, 4, 5, 6, 7, 8.
#>   On a matrix with 30000 rows and 59 columns.
#>   Top rows (1000) are extracted by 'ATC' method.
#>   Subgroups are detected by 'kmeans' method.
#>   Performed in total 350 partitions by row resampling.
#>   Best k for subgroups seems to be 3.
#> 
#> Following methods can be applied to this 'ConsensusPartition' object:
#>  [1] "cola_report"             "collect_classes"         "collect_plots"          
#>  [4] "collect_stats"           "colnames"                "compare_partitions"     
#>  [7] "compare_signatures"      "consensus_heatmap"       "dimension_reduction"    
#> [10] "functional_enrichment"   "get_anno_col"            "get_anno"               
#> [13] "get_classes"             "get_consensus"           "get_matrix"             
#> [16] "get_membership"          "get_param"               "get_signatures"         
#> [19] "get_stats"               "is_best_k"               "is_stable_k"            
#> [22] "membership_heatmap"      "ncol"                    "nrow"                   
#> [25] "plot_ecdf"               "predict_classes"         "rownames"               
#> [28] "select_partition_number" "show"                    "suggest_best_k"         
#> [31] "test_to_known_factors"   "top_rows_heatmap"

collect_plots() function collects all the plots made from res for all k (number of subgroups) into one single page to provide an easy and fast comparison between different k.

collect_plots(res)

plot of chunk node-03-collect-plots

The plots are:

All the plots in panels can be made by individual functions and they are plotted later in this section.

select_partition_number() produces several plots showing different statistics for choosing “optimized” k. There are following statistics:

The detailed explanations of these statistics can be found in the cola vignette.

Generally speaking, higher 1-PAC score, higher mean silhouette score or higher concordance corresponds to better partition. Rand index and Jaccard index measure how similar the current partition is compared to partition with k-1. If they are too similar, we won't accept k is better than k-1.

select_partition_number(res)

plot of chunk node-03-select-partition-number

The numeric values for all these statistics can be obtained by get_stats().

get_stats(res)
#>   k 1-PAC mean_silhouette concordance area_increased  Rand Jaccard
#> 2 2 0.758           0.931       0.940         0.2495 0.670   0.670
#> 3 3 1.000           0.990       0.976         1.1196 0.646   0.519
#> 4 4 0.884           0.890       0.948         0.1773 0.944   0.875
#> 5 5 0.598           0.678       0.756         0.1572 0.841   0.593
#> 6 6 0.645           0.530       0.784         0.0909 0.893   0.618
#> 7 7 0.673           0.601       0.813         0.0278 0.911   0.635
#> 8 8 0.761           0.656       0.832         0.0382 0.948   0.731

suggest_best_k() suggests the best \(k\) based on these statistics. The rules are as follows:

suggest_best_k(res)
#> [1] 3

Following is the table of the partitions (You need to click the show/hide code output link to see it). The membership matrix (columns with name p*) is inferred by clue::cl_consensus() function with the SE method. Basically the value in the membership matrix represents the probability to belong to a certain group. The finall subgroup label for an item is determined with the group with highest probability it belongs to.

In get_classes() function, the entropy is calculated from the membership matrix and the silhouette score is calculated from the consensus matrix.

show/hide code output

cbind(get_classes(res, k = 2), get_membership(res, k = 2))
#>                 class entropy silhouette   p1   p2
#> TCGA.B1.A656.01     1   0.000      0.994 1.00 0.00
#> TCGA.B9.A69E.01     1   0.000      0.994 1.00 0.00
#> TCGA.PJ.A8JU.01     1   0.000      0.994 1.00 0.00
#> TCGA.F9.A7Q0.01     2   0.981      0.733 0.42 0.58
#> TCGA.B3.8121.01     1   0.000      0.994 1.00 0.00
#> TCGA.A4.A7UZ.01     2   0.981      0.733 0.42 0.58
#> TCGA.J7.A8I2.01     2   0.000      0.669 0.00 1.00
#> TCGA.BQ.5880.01     2   0.981      0.733 0.42 0.58
#> TCGA.GL.A9DD.01     1   0.000      0.994 1.00 0.00
#> TCGA.Y8.A8S1.01     1   0.000      0.994 1.00 0.00
#> TCGA.IA.A83S.01     1   0.000      0.994 1.00 0.00
#> TCGA.B1.A655.01     1   0.000      0.994 1.00 0.00
#> TCGA.Y8.A896.01     1   0.000      0.994 1.00 0.00
#> TCGA.BQ.5888.01     2   0.981      0.733 0.42 0.58
#> TCGA.IA.A83T.01     1   0.000      0.994 1.00 0.00
#> TCGA.IA.A83V.01     1   0.000      0.994 1.00 0.00
#> TCGA.KV.A6GD.01     1   0.000      0.994 1.00 0.00
#> TCGA.4A.A93Y.01     1   0.000      0.994 1.00 0.00
#> TCGA.WN.A9G9.01     1   0.000      0.994 1.00 0.00
#> TCGA.A4.8518.01     1   0.000      0.994 1.00 0.00
#> TCGA.BQ.5876.01     1   0.000      0.994 1.00 0.00
#> TCGA.MH.A855.01     1   0.000      0.994 1.00 0.00
#> TCGA.A4.A48D.01     1   0.000      0.994 1.00 0.00
#> TCGA.BQ.5889.01     1   0.000      0.994 1.00 0.00
#> TCGA.2Z.A9JO.01     2   0.981      0.733 0.42 0.58
#> TCGA.5P.A9JW.01     1   0.000      0.994 1.00 0.00
#> TCGA.B1.A47O.01     1   0.000      0.994 1.00 0.00
#> TCGA.2Z.A9JK.01     1   0.000      0.994 1.00 0.00
#> TCGA.BQ.5892.01     1   0.000      0.994 1.00 0.00
#> TCGA.UZ.A9PS.05     1   0.000      0.994 1.00 0.00
#> TCGA.PJ.A5Z8.01     1   0.000      0.994 1.00 0.00
#> TCGA.BQ.5884.01     1   0.000      0.994 1.00 0.00
#> TCGA.B9.A5W8.01     1   0.000      0.994 1.00 0.00
#> TCGA.B1.5398.01     1   0.000      0.994 1.00 0.00
#> TCGA.5P.A9KC.01     1   0.000      0.994 1.00 0.00
#> TCGA.WN.AB4C.01     2   0.981      0.733 0.42 0.58
#> TCGA.GL.A4EM.01     1   0.000      0.994 1.00 0.00
#> TCGA.HE.7128.01     1   0.000      0.994 1.00 0.00
#> TCGA.BQ.7059.01     1   0.000      0.994 1.00 0.00
#> TCGA.BQ.7049.01     1   0.000      0.994 1.00 0.00
#> TCGA.HE.A5NF.01     1   0.000      0.994 1.00 0.00
#> TCGA.HE.7130.01     2   0.000      0.669 0.00 1.00
#> TCGA.DZ.6131.01     2   0.000      0.669 0.00 1.00
#> TCGA.MH.A560.01     1   0.000      0.994 1.00 0.00
#> TCGA.G7.6796.01     1   0.000      0.994 1.00 0.00
#> TCGA.DZ.6134.01     1   0.000      0.994 1.00 0.00
#> TCGA.HE.A5NK.01     1   0.000      0.994 1.00 0.00
#> TCGA.AL.7173.01     1   0.000      0.994 1.00 0.00
#> TCGA.DW.7838.01     1   0.000      0.994 1.00 0.00
#> TCGA.V9.A7HT.01     1   0.000      0.994 1.00 0.00
#> TCGA.DZ.6132.01     1   0.000      0.994 1.00 0.00
#> TCGA.A4.7287.01     2   0.000      0.669 0.00 1.00
#> TCGA.UZ.A9PO.01     1   0.000      0.994 1.00 0.00
#> TCGA.2Z.A9J2.01     2   0.981      0.733 0.42 0.58
#> TCGA.F9.A97G.01     1   0.000      0.994 1.00 0.00
#> TCGA.UZ.A9PM.01     1   0.000      0.994 1.00 0.00
#> TCGA.2K.A9WE.01     1   0.000      0.994 1.00 0.00
#> TCGA.UZ.A9PN.01     1   0.680      0.654 0.82 0.18
#> TCGA.A4.7585.01     2   0.981      0.733 0.42 0.58

show/hide code output

cbind(get_classes(res, k = 3), get_membership(res, k = 3))
#>                 class entropy silhouette   p1   p2 p3
#> TCGA.B1.A656.01     1   0.000      1.000 1.00 0.00  0
#> TCGA.B9.A69E.01     1   0.000      1.000 1.00 0.00  0
#> TCGA.PJ.A8JU.01     2   0.400      0.846 0.16 0.84  0
#> TCGA.F9.A7Q0.01     2   0.000      0.901 0.00 1.00  0
#> TCGA.B3.8121.01     1   0.000      1.000 1.00 0.00  0
#> TCGA.A4.A7UZ.01     2   0.207      0.985 0.06 0.94  0
#> TCGA.J7.A8I2.01     3   0.000      1.000 0.00 0.00  1
#> TCGA.BQ.5880.01     2   0.207      0.985 0.06 0.94  0
#> TCGA.GL.A9DD.01     1   0.000      1.000 1.00 0.00  0
#> TCGA.Y8.A8S1.01     1   0.000      1.000 1.00 0.00  0
#> TCGA.IA.A83S.01     1   0.000      1.000 1.00 0.00  0
#> TCGA.B1.A655.01     2   0.207      0.985 0.06 0.94  0
#> TCGA.Y8.A896.01     2   0.254      0.965 0.08 0.92  0
#> TCGA.BQ.5888.01     2   0.207      0.985 0.06 0.94  0
#> TCGA.IA.A83T.01     1   0.000      1.000 1.00 0.00  0
#> TCGA.IA.A83V.01     2   0.254      0.965 0.08 0.92  0
#> TCGA.KV.A6GD.01     1   0.000      1.000 1.00 0.00  0
#> TCGA.4A.A93Y.01     2   0.207      0.985 0.06 0.94  0
#> TCGA.WN.A9G9.01     1   0.000      1.000 1.00 0.00  0
#> TCGA.A4.8518.01     2   0.207      0.985 0.06 0.94  0
#> TCGA.BQ.5876.01     1   0.000      1.000 1.00 0.00  0
#> TCGA.MH.A855.01     2   0.207      0.985 0.06 0.94  0
#> TCGA.A4.A48D.01     1   0.000      1.000 1.00 0.00  0
#> TCGA.BQ.5889.01     1   0.000      1.000 1.00 0.00  0
#> TCGA.2Z.A9JO.01     2   0.207      0.985 0.06 0.94  0
#> TCGA.5P.A9JW.01     1   0.000      1.000 1.00 0.00  0
#> TCGA.B1.A47O.01     1   0.000      1.000 1.00 0.00  0
#> TCGA.2Z.A9JK.01     2   0.207      0.985 0.06 0.94  0
#> TCGA.BQ.5892.01     2   0.207      0.985 0.06 0.94  0
#> TCGA.UZ.A9PS.05     1   0.000      1.000 1.00 0.00  0
#> TCGA.PJ.A5Z8.01     1   0.000      1.000 1.00 0.00  0
#> TCGA.BQ.5884.01     2   0.207      0.985 0.06 0.94  0
#> TCGA.B9.A5W8.01     1   0.000      1.000 1.00 0.00  0
#> TCGA.B1.5398.01     1   0.000      1.000 1.00 0.00  0
#> TCGA.5P.A9KC.01     2   0.207      0.985 0.06 0.94  0
#> TCGA.WN.AB4C.01     2   0.207      0.985 0.06 0.94  0
#> TCGA.GL.A4EM.01     1   0.000      1.000 1.00 0.00  0
#> TCGA.HE.7128.01     1   0.000      1.000 1.00 0.00  0
#> TCGA.BQ.7059.01     1   0.000      1.000 1.00 0.00  0
#> TCGA.BQ.7049.01     1   0.000      1.000 1.00 0.00  0
#> TCGA.HE.A5NF.01     1   0.000      1.000 1.00 0.00  0
#> TCGA.HE.7130.01     3   0.000      1.000 0.00 0.00  1
#> TCGA.DZ.6131.01     3   0.000      1.000 0.00 0.00  1
#> TCGA.MH.A560.01     1   0.000      1.000 1.00 0.00  0
#> TCGA.G7.6796.01     2   0.254      0.965 0.08 0.92  0
#> TCGA.DZ.6134.01     1   0.000      1.000 1.00 0.00  0
#> TCGA.HE.A5NK.01     1   0.000      1.000 1.00 0.00  0
#> TCGA.AL.7173.01     1   0.000      1.000 1.00 0.00  0
#> TCGA.DW.7838.01     1   0.000      1.000 1.00 0.00  0
#> TCGA.V9.A7HT.01     1   0.000      1.000 1.00 0.00  0
#> TCGA.DZ.6132.01     1   0.000      1.000 1.00 0.00  0
#> TCGA.A4.7287.01     3   0.000      1.000 0.00 0.00  1
#> TCGA.UZ.A9PO.01     1   0.000      1.000 1.00 0.00  0
#> TCGA.2Z.A9J2.01     2   0.207      0.985 0.06 0.94  0
#> TCGA.F9.A97G.01     1   0.000      1.000 1.00 0.00  0
#> TCGA.UZ.A9PM.01     2   0.207      0.985 0.06 0.94  0
#> TCGA.2K.A9WE.01     1   0.000      1.000 1.00 0.00  0
#> TCGA.UZ.A9PN.01     2   0.207      0.985 0.06 0.94  0
#> TCGA.A4.7585.01     2   0.207      0.985 0.06 0.94  0

show/hide code output

cbind(get_classes(res, k = 4), get_membership(res, k = 4))
#>                 class entropy silhouette   p1   p2 p3   p4
#> TCGA.B1.A656.01     1  0.0000     0.9710 1.00 0.00  0 0.00
#> TCGA.B9.A69E.01     1  0.0707     0.9605 0.98 0.00  0 0.02
#> TCGA.PJ.A8JU.01     2  0.1411     0.8570 0.02 0.96  0 0.02
#> TCGA.F9.A7Q0.01     4  0.0707     0.8822 0.00 0.02  0 0.98
#> TCGA.B3.8121.01     1  0.2345     0.8853 0.90 0.00  0 0.10
#> TCGA.A4.A7UZ.01     2  0.4713     0.3990 0.00 0.64  0 0.36
#> TCGA.J7.A8I2.01     3  0.0000     1.0000 0.00 0.00  1 0.00
#> TCGA.BQ.5880.01     2  0.0000     0.8782 0.00 1.00  0 0.00
#> TCGA.GL.A9DD.01     1  0.0000     0.9710 1.00 0.00  0 0.00
#> TCGA.Y8.A8S1.01     1  0.0707     0.9605 0.98 0.00  0 0.02
#> TCGA.IA.A83S.01     1  0.0000     0.9710 1.00 0.00  0 0.00
#> TCGA.B1.A655.01     2  0.0000     0.8782 0.00 1.00  0 0.00
#> TCGA.Y8.A896.01     4  0.2345     0.9775 0.00 0.10  0 0.90
#> TCGA.BQ.5888.01     4  0.2345     0.9775 0.00 0.10  0 0.90
#> TCGA.IA.A83T.01     1  0.0000     0.9710 1.00 0.00  0 0.00
#> TCGA.IA.A83V.01     4  0.2345     0.9775 0.00 0.10  0 0.90
#> TCGA.KV.A6GD.01     1  0.2921     0.8412 0.86 0.00  0 0.14
#> TCGA.4A.A93Y.01     2  0.2335     0.8449 0.02 0.92  0 0.06
#> TCGA.WN.A9G9.01     1  0.0707     0.9605 0.98 0.00  0 0.02
#> TCGA.A4.8518.01     4  0.2345     0.9775 0.00 0.10  0 0.90
#> TCGA.BQ.5876.01     1  0.0000     0.9710 1.00 0.00  0 0.00
#> TCGA.MH.A855.01     2  0.0707     0.8721 0.00 0.98  0 0.02
#> TCGA.A4.A48D.01     1  0.0000     0.9710 1.00 0.00  0 0.00
#> TCGA.BQ.5889.01     1  0.0000     0.9710 1.00 0.00  0 0.00
#> TCGA.2Z.A9JO.01     2  0.0000     0.8782 0.00 1.00  0 0.00
#> TCGA.5P.A9JW.01     1  0.0000     0.9710 1.00 0.00  0 0.00
#> TCGA.B1.A47O.01     1  0.0000     0.9710 1.00 0.00  0 0.00
#> TCGA.2Z.A9JK.01     2  0.5000    -0.0179 0.00 0.50  0 0.50
#> TCGA.BQ.5892.01     2  0.0000     0.8782 0.00 1.00  0 0.00
#> TCGA.UZ.A9PS.05     1  0.0707     0.9605 0.98 0.00  0 0.02
#> TCGA.PJ.A5Z8.01     1  0.0000     0.9710 1.00 0.00  0 0.00
#> TCGA.BQ.5884.01     2  0.2335     0.8449 0.02 0.92  0 0.06
#> TCGA.B9.A5W8.01     1  0.0000     0.9710 1.00 0.00  0 0.00
#> TCGA.B1.5398.01     1  0.0000     0.9710 1.00 0.00  0 0.00
#> TCGA.5P.A9KC.01     2  0.0707     0.8673 0.00 0.98  0 0.02
#> TCGA.WN.AB4C.01     2  0.0000     0.8782 0.00 1.00  0 0.00
#> TCGA.GL.A4EM.01     1  0.0707     0.9605 0.98 0.00  0 0.02
#> TCGA.HE.7128.01     1  0.0000     0.9710 1.00 0.00  0 0.00
#> TCGA.BQ.7059.01     1  0.0000     0.9710 1.00 0.00  0 0.00
#> TCGA.BQ.7049.01     1  0.4948     0.2573 0.56 0.00  0 0.44
#> TCGA.HE.A5NF.01     1  0.0000     0.9710 1.00 0.00  0 0.00
#> TCGA.HE.7130.01     3  0.0000     1.0000 0.00 0.00  1 0.00
#> TCGA.DZ.6131.01     3  0.0000     1.0000 0.00 0.00  1 0.00
#> TCGA.MH.A560.01     1  0.0000     0.9710 1.00 0.00  0 0.00
#> TCGA.G7.6796.01     4  0.2345     0.9775 0.00 0.10  0 0.90
#> TCGA.DZ.6134.01     1  0.0000     0.9710 1.00 0.00  0 0.00
#> TCGA.HE.A5NK.01     1  0.0000     0.9710 1.00 0.00  0 0.00
#> TCGA.AL.7173.01     1  0.0000     0.9710 1.00 0.00  0 0.00
#> TCGA.DW.7838.01     1  0.2345     0.8853 0.90 0.00  0 0.10
#> TCGA.V9.A7HT.01     1  0.0000     0.9710 1.00 0.00  0 0.00
#> TCGA.DZ.6132.01     1  0.0000     0.9710 1.00 0.00  0 0.00
#> TCGA.A4.7287.01     3  0.0000     1.0000 0.00 0.00  1 0.00
#> TCGA.UZ.A9PO.01     1  0.0000     0.9710 1.00 0.00  0 0.00
#> TCGA.2Z.A9J2.01     2  0.0000     0.8782 0.00 1.00  0 0.00
#> TCGA.F9.A97G.01     1  0.0707     0.9605 0.98 0.00  0 0.02
#> TCGA.UZ.A9PM.01     2  0.0707     0.8721 0.00 0.98  0 0.02
#> TCGA.2K.A9WE.01     1  0.0000     0.9710 1.00 0.00  0 0.00
#> TCGA.UZ.A9PN.01     2  0.4994     0.0649 0.00 0.52  0 0.48
#> TCGA.A4.7585.01     2  0.0000     0.8782 0.00 1.00  0 0.00

show/hide code output

cbind(get_classes(res, k = 5), get_membership(res, k = 5))
#>                 class entropy silhouette   p1   p2   p3   p4   p5
#> TCGA.B1.A656.01     5  0.3796    0.86643 0.30 0.00 0.00 0.00 0.70
#> TCGA.B9.A69E.01     1  0.4675    0.28467 0.60 0.00 0.00 0.02 0.38
#> TCGA.PJ.A8JU.01     2  0.6613    0.56518 0.12 0.56 0.00 0.04 0.28
#> TCGA.F9.A7Q0.01     4  0.0609    0.33178 0.02 0.00 0.00 0.98 0.00
#> TCGA.B3.8121.01     1  0.0000    0.77627 1.00 0.00 0.00 0.00 0.00
#> TCGA.A4.A7UZ.01     2  0.3796    0.57402 0.00 0.70 0.00 0.30 0.00
#> TCGA.J7.A8I2.01     3  0.0000    0.99587 0.00 0.00 1.00 0.00 0.00
#> TCGA.BQ.5880.01     2  0.0000    0.75582 0.00 1.00 0.00 0.00 0.00
#> TCGA.GL.A9DD.01     1  0.2020    0.79189 0.90 0.00 0.00 0.00 0.10
#> TCGA.Y8.A8S1.01     5  0.4252    0.53921 0.28 0.00 0.00 0.02 0.70
#> TCGA.IA.A83S.01     1  0.0609    0.79310 0.98 0.00 0.00 0.00 0.02
#> TCGA.B1.A655.01     2  0.2438    0.75652 0.00 0.90 0.00 0.04 0.06
#> TCGA.Y8.A896.01     4  0.4287    0.71160 0.46 0.00 0.00 0.54 0.00
#> TCGA.BQ.5888.01     4  0.5498    0.00473 0.08 0.34 0.00 0.58 0.00
#> TCGA.IA.A83T.01     5  0.3796    0.86643 0.30 0.00 0.00 0.00 0.70
#> TCGA.IA.A83V.01     4  0.4302    0.69727 0.48 0.00 0.00 0.52 0.00
#> TCGA.KV.A6GD.01     1  0.0000    0.77627 1.00 0.00 0.00 0.00 0.00
#> TCGA.4A.A93Y.01     2  0.7717    0.35384 0.28 0.40 0.00 0.06 0.26
#> TCGA.WN.A9G9.01     5  0.3690    0.76711 0.20 0.00 0.00 0.02 0.78
#> TCGA.A4.8518.01     4  0.5157    0.71456 0.44 0.04 0.00 0.52 0.00
#> TCGA.BQ.5876.01     5  0.3796    0.86643 0.30 0.00 0.00 0.00 0.70
#> TCGA.MH.A855.01     2  0.4500    0.72902 0.02 0.76 0.00 0.04 0.18
#> TCGA.A4.A48D.01     1  0.3274    0.60812 0.78 0.00 0.00 0.00 0.22
#> TCGA.BQ.5889.01     1  0.2012    0.78871 0.92 0.00 0.00 0.02 0.06
#> TCGA.2Z.A9JO.01     2  0.1043    0.75374 0.00 0.96 0.00 0.00 0.04
#> TCGA.5P.A9JW.01     5  0.3796    0.86643 0.30 0.00 0.00 0.00 0.70
#> TCGA.B1.A47O.01     1  0.1732    0.80163 0.92 0.00 0.00 0.00 0.08
#> TCGA.2Z.A9JK.01     2  0.7015    0.28684 0.08 0.46 0.00 0.38 0.08
#> TCGA.BQ.5892.01     2  0.0000    0.75582 0.00 1.00 0.00 0.00 0.00
#> TCGA.UZ.A9PS.05     5  0.3690    0.76711 0.20 0.00 0.00 0.02 0.78
#> TCGA.PJ.A5Z8.01     5  0.3796    0.86643 0.30 0.00 0.00 0.00 0.70
#> TCGA.BQ.5884.01     2  0.7763    0.34493 0.28 0.38 0.00 0.06 0.28
#> TCGA.B9.A5W8.01     1  0.2020    0.79189 0.90 0.00 0.00 0.00 0.10
#> TCGA.B1.5398.01     5  0.4360    0.85317 0.30 0.00 0.00 0.02 0.68
#> TCGA.5P.A9KC.01     2  0.2280    0.74693 0.00 0.88 0.00 0.00 0.12
#> TCGA.WN.AB4C.01     2  0.2438    0.75652 0.00 0.90 0.00 0.04 0.06
#> TCGA.GL.A4EM.01     5  0.4540    0.63838 0.34 0.00 0.00 0.02 0.64
#> TCGA.HE.7128.01     1  0.4262   -0.25756 0.56 0.00 0.00 0.00 0.44
#> TCGA.BQ.7059.01     1  0.2020    0.79189 0.90 0.00 0.00 0.00 0.10
#> TCGA.BQ.7049.01     1  0.2280    0.52239 0.88 0.00 0.00 0.12 0.00
#> TCGA.HE.A5NF.01     1  0.0000    0.77627 1.00 0.00 0.00 0.00 0.00
#> TCGA.HE.7130.01     3  0.0000    0.99587 0.00 0.00 1.00 0.00 0.00
#> TCGA.DZ.6131.01     3  0.0609    0.98756 0.00 0.00 0.98 0.00 0.02
#> TCGA.MH.A560.01     5  0.3796    0.86643 0.30 0.00 0.00 0.00 0.70
#> TCGA.G7.6796.01     4  0.4302    0.69727 0.48 0.00 0.00 0.52 0.00
#> TCGA.DZ.6134.01     1  0.4456    0.23136 0.66 0.00 0.00 0.02 0.32
#> TCGA.HE.A5NK.01     5  0.3796    0.86643 0.30 0.00 0.00 0.00 0.70
#> TCGA.AL.7173.01     1  0.1732    0.80163 0.92 0.00 0.00 0.00 0.08
#> TCGA.DW.7838.01     1  0.0000    0.77627 1.00 0.00 0.00 0.00 0.00
#> TCGA.V9.A7HT.01     5  0.3796    0.86643 0.30 0.00 0.00 0.00 0.70
#> TCGA.DZ.6132.01     1  0.1732    0.80163 0.92 0.00 0.00 0.00 0.08
#> TCGA.A4.7287.01     3  0.0000    0.99587 0.00 0.00 1.00 0.00 0.00
#> TCGA.UZ.A9PO.01     5  0.3796    0.86643 0.30 0.00 0.00 0.00 0.70
#> TCGA.2Z.A9J2.01     2  0.0000    0.75582 0.00 1.00 0.00 0.00 0.00
#> TCGA.F9.A97G.01     5  0.4829   -0.27872 0.48 0.00 0.00 0.02 0.50
#> TCGA.UZ.A9PM.01     2  0.4312    0.73224 0.02 0.78 0.00 0.04 0.16
#> TCGA.2K.A9WE.01     5  0.3796    0.86643 0.30 0.00 0.00 0.00 0.70
#> TCGA.UZ.A9PN.01     2  0.5351    0.44986 0.00 0.56 0.00 0.38 0.06
#> TCGA.A4.7585.01     2  0.0000    0.75582 0.00 1.00 0.00 0.00 0.00

show/hide code output

cbind(get_classes(res, k = 6), get_membership(res, k = 6))
#>                 class entropy silhouette   p1   p2   p3   p4   p5   p6
#> TCGA.B1.A656.01     5  0.0000     0.8649 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.B9.A69E.01     6  0.5721     0.3651 0.24 0.00 0.00 0.00 0.24 0.52
#> TCGA.PJ.A8JU.01     6  0.3045     0.5109 0.06 0.10 0.00 0.00 0.00 0.84
#> TCGA.F9.A7Q0.01     4  0.3578     0.0000 0.00 0.00 0.34 0.66 0.00 0.00
#> TCGA.B3.8121.01     1  0.0547     0.6592 0.98 0.00 0.00 0.00 0.02 0.00
#> TCGA.A4.A7UZ.01     2  0.5862     0.3968 0.04 0.60 0.16 0.00 0.00 0.20
#> TCGA.J7.A8I2.01     3  0.3578     0.6739 0.00 0.00 0.66 0.34 0.00 0.00
#> TCGA.BQ.5880.01     2  0.0000     0.7444 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.GL.A9DD.01     1  0.3156     0.6668 0.80 0.00 0.00 0.00 0.18 0.02
#> TCGA.Y8.A8S1.01     6  0.4806     0.1567 0.06 0.00 0.00 0.00 0.38 0.56
#> TCGA.IA.A83S.01     1  0.2094     0.6770 0.90 0.00 0.00 0.00 0.08 0.02
#> TCGA.B1.A655.01     2  0.2793     0.7262 0.00 0.80 0.00 0.00 0.00 0.20
#> TCGA.Y8.A896.01     1  0.5618    -0.1400 0.50 0.00 0.34 0.00 0.00 0.16
#> TCGA.BQ.5888.01     3  0.7595    -0.4438 0.20 0.20 0.34 0.00 0.00 0.26
#> TCGA.IA.A83T.01     5  0.0000     0.8649 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.IA.A83V.01     1  0.5618    -0.1400 0.50 0.00 0.34 0.00 0.00 0.16
#> TCGA.KV.A6GD.01     1  0.0547     0.6592 0.98 0.00 0.00 0.00 0.02 0.00
#> TCGA.4A.A93Y.01     6  0.3045     0.5449 0.10 0.06 0.00 0.00 0.00 0.84
#> TCGA.WN.A9G9.01     5  0.3797     0.3098 0.00 0.00 0.00 0.00 0.58 0.42
#> TCGA.A4.8518.01     1  0.5618    -0.1400 0.50 0.00 0.34 0.00 0.00 0.16
#> TCGA.BQ.5876.01     5  0.0000     0.8649 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.MH.A855.01     2  0.3797     0.5653 0.00 0.58 0.00 0.00 0.00 0.42
#> TCGA.A4.A48D.01     1  0.3916     0.5412 0.68 0.00 0.00 0.00 0.30 0.02
#> TCGA.BQ.5889.01     1  0.4244     0.5193 0.72 0.00 0.00 0.00 0.08 0.20
#> TCGA.2Z.A9JO.01     2  0.1267     0.7473 0.00 0.94 0.00 0.00 0.00 0.06
#> TCGA.5P.A9JW.01     5  0.0000     0.8649 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.B1.A47O.01     1  0.2981     0.6782 0.82 0.00 0.00 0.00 0.16 0.02
#> TCGA.2Z.A9JK.01     6  0.7440    -0.3800 0.16 0.20 0.26 0.00 0.00 0.38
#> TCGA.BQ.5892.01     2  0.1556     0.7514 0.00 0.92 0.00 0.00 0.00 0.08
#> TCGA.UZ.A9PS.05     5  0.3706     0.3899 0.00 0.00 0.00 0.00 0.62 0.38
#> TCGA.PJ.A5Z8.01     5  0.0000     0.8649 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.BQ.5884.01     6  0.3045     0.5449 0.10 0.06 0.00 0.00 0.00 0.84
#> TCGA.B9.A5W8.01     1  0.2981     0.6782 0.82 0.00 0.00 0.00 0.16 0.02
#> TCGA.B1.5398.01     5  0.2260     0.7467 0.00 0.00 0.00 0.00 0.86 0.14
#> TCGA.5P.A9KC.01     2  0.2454     0.7001 0.00 0.84 0.00 0.00 0.00 0.16
#> TCGA.WN.AB4C.01     2  0.2631     0.7331 0.00 0.82 0.00 0.00 0.00 0.18
#> TCGA.GL.A4EM.01     5  0.4873     0.1399 0.06 0.00 0.00 0.00 0.52 0.42
#> TCGA.HE.7128.01     1  0.4328     0.2596 0.52 0.00 0.00 0.00 0.46 0.02
#> TCGA.BQ.7059.01     1  0.3156     0.6668 0.80 0.00 0.00 0.00 0.18 0.02
#> TCGA.BQ.7049.01     1  0.0547     0.6592 0.98 0.00 0.00 0.00 0.02 0.00
#> TCGA.HE.A5NF.01     1  0.1480     0.6679 0.94 0.00 0.00 0.00 0.04 0.02
#> TCGA.HE.7130.01     3  0.3578     0.6739 0.00 0.00 0.66 0.34 0.00 0.00
#> TCGA.DZ.6131.01     3  0.4078     0.6645 0.00 0.00 0.64 0.34 0.00 0.02
#> TCGA.MH.A560.01     5  0.0000     0.8649 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.G7.6796.01     1  0.5618    -0.1400 0.50 0.00 0.34 0.00 0.00 0.16
#> TCGA.DZ.6134.01     1  0.5371     0.2928 0.52 0.00 0.00 0.00 0.36 0.12
#> TCGA.HE.A5NK.01     5  0.0000     0.8649 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.AL.7173.01     1  0.2981     0.6782 0.82 0.00 0.00 0.00 0.16 0.02
#> TCGA.DW.7838.01     1  0.0547     0.6592 0.98 0.00 0.00 0.00 0.02 0.00
#> TCGA.V9.A7HT.01     5  0.0000     0.8649 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.DZ.6132.01     1  0.2981     0.6782 0.82 0.00 0.00 0.00 0.16 0.02
#> TCGA.A4.7287.01     3  0.3578     0.6739 0.00 0.00 0.66 0.34 0.00 0.00
#> TCGA.UZ.A9PO.01     5  0.0000     0.8649 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.2Z.A9J2.01     2  0.0000     0.7444 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.F9.A97G.01     6  0.4680     0.5240 0.20 0.00 0.00 0.00 0.12 0.68
#> TCGA.UZ.A9PM.01     2  0.4282     0.5419 0.02 0.56 0.00 0.00 0.00 0.42
#> TCGA.2K.A9WE.01     5  0.0000     0.8649 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.UZ.A9PN.01     2  0.6520     0.0547 0.02 0.38 0.30 0.00 0.00 0.30
#> TCGA.A4.7585.01     2  0.0000     0.7444 0.00 1.00 0.00 0.00 0.00 0.00

show/hide code output

cbind(get_classes(res, k = 7), get_membership(res, k = 7))
#>                 class entropy silhouette   p1   p2   p3   p4   p5   p6   p7
#> TCGA.B1.A656.01     5  0.0000     0.8513 0.00 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.B9.A69E.01     6  0.5128     0.3643 0.28 0.00 0.00 0.00 0.18 0.54 0.00
#> TCGA.PJ.A8JU.01     6  0.1363     0.5414 0.00 0.04 0.00 0.02 0.00 0.94 0.00
#> TCGA.F9.A7Q0.01     4  0.0863     0.0000 0.00 0.00 0.00 0.96 0.00 0.00 0.04
#> TCGA.B3.8121.01     1  0.0863     0.7483 0.96 0.00 0.00 0.00 0.00 0.00 0.04
#> TCGA.A4.A7UZ.01     7  0.3606     0.2296 0.00 0.30 0.00 0.00 0.00 0.02 0.68
#> TCGA.J7.A8I2.01     3  0.0000     0.9569 0.00 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5880.01     2  0.0863     0.7419 0.00 0.96 0.00 0.00 0.00 0.00 0.04
#> TCGA.GL.A9DD.01     1  0.2163     0.8263 0.88 0.00 0.00 0.00 0.10 0.02 0.00
#> TCGA.Y8.A8S1.01     6  0.4127     0.1718 0.04 0.00 0.00 0.00 0.36 0.60 0.00
#> TCGA.IA.A83S.01     1  0.1006     0.8049 0.96 0.00 0.00 0.00 0.02 0.02 0.00
#> TCGA.B1.A655.01     2  0.6035     0.1464 0.00 0.34 0.00 0.02 0.00 0.32 0.32
#> TCGA.Y8.A896.01     7  0.3558     0.4102 0.48 0.00 0.00 0.00 0.00 0.00 0.52
#> TCGA.BQ.5888.01     7  0.3263     0.4121 0.08 0.00 0.00 0.00 0.00 0.12 0.80
#> TCGA.IA.A83T.01     5  0.0000     0.8513 0.00 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.IA.A83V.01     7  0.3558     0.4102 0.48 0.00 0.00 0.00 0.00 0.00 0.52
#> TCGA.KV.A6GD.01     1  0.0863     0.7483 0.96 0.00 0.00 0.00 0.00 0.00 0.04
#> TCGA.4A.A93Y.01     6  0.0504     0.5699 0.02 0.00 0.00 0.00 0.00 0.98 0.00
#> TCGA.WN.A9G9.01     5  0.4266     0.1975 0.04 0.00 0.00 0.00 0.52 0.44 0.00
#> TCGA.A4.8518.01     7  0.3558     0.4102 0.48 0.00 0.00 0.00 0.00 0.00 0.52
#> TCGA.BQ.5876.01     5  0.0000     0.8513 0.00 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.MH.A855.01     6  0.5240     0.0532 0.00 0.14 0.00 0.02 0.00 0.58 0.26
#> TCGA.A4.A48D.01     1  0.3417     0.6700 0.72 0.00 0.00 0.00 0.26 0.02 0.00
#> TCGA.BQ.5889.01     1  0.3519     0.6520 0.74 0.00 0.00 0.00 0.04 0.22 0.00
#> TCGA.2Z.A9JO.01     2  0.4162     0.5739 0.00 0.74 0.00 0.02 0.00 0.12 0.12
#> TCGA.5P.A9JW.01     5  0.0000     0.8513 0.00 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.B1.A47O.01     1  0.2163     0.8263 0.88 0.00 0.00 0.00 0.10 0.02 0.00
#> TCGA.2Z.A9JK.01     7  0.4033     0.3993 0.08 0.00 0.00 0.00 0.00 0.22 0.70
#> TCGA.BQ.5892.01     2  0.2512     0.7103 0.00 0.86 0.00 0.00 0.00 0.04 0.10
#> TCGA.UZ.A9PS.05     5  0.3294     0.4575 0.00 0.00 0.00 0.00 0.66 0.34 0.00
#> TCGA.PJ.A5Z8.01     5  0.0000     0.8513 0.00 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.BQ.5884.01     6  0.1006     0.5666 0.02 0.02 0.00 0.00 0.00 0.96 0.00
#> TCGA.B9.A5W8.01     1  0.2163     0.8263 0.88 0.00 0.00 0.00 0.10 0.02 0.00
#> TCGA.B1.5398.01     5  0.2912     0.7152 0.04 0.00 0.00 0.00 0.82 0.14 0.00
#> TCGA.5P.A9KC.01     2  0.3055     0.6462 0.00 0.82 0.00 0.02 0.00 0.14 0.02
#> TCGA.WN.AB4C.01     7  0.6028    -0.3473 0.00 0.34 0.00 0.02 0.00 0.30 0.34
#> TCGA.GL.A4EM.01     5  0.4266     0.1975 0.04 0.00 0.00 0.00 0.52 0.44 0.00
#> TCGA.HE.7128.01     1  0.3909     0.4410 0.58 0.00 0.00 0.00 0.40 0.02 0.00
#> TCGA.BQ.7059.01     1  0.2163     0.8263 0.88 0.00 0.00 0.00 0.10 0.02 0.00
#> TCGA.BQ.7049.01     1  0.0863     0.7483 0.96 0.00 0.00 0.00 0.00 0.00 0.04
#> TCGA.HE.A5NF.01     1  0.1006     0.8049 0.96 0.00 0.00 0.00 0.02 0.02 0.00
#> TCGA.HE.7130.01     3  0.0000     0.9569 0.00 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.DZ.6131.01     3  0.2654     0.8628 0.00 0.00 0.86 0.02 0.00 0.02 0.10
#> TCGA.MH.A560.01     5  0.0000     0.8513 0.00 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.G7.6796.01     7  0.3558     0.4102 0.48 0.00 0.00 0.00 0.00 0.00 0.52
#> TCGA.DZ.6134.01     1  0.4930     0.4585 0.58 0.00 0.00 0.00 0.26 0.16 0.00
#> TCGA.HE.A5NK.01     5  0.0000     0.8513 0.00 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.AL.7173.01     1  0.2163     0.8263 0.88 0.00 0.00 0.00 0.10 0.02 0.00
#> TCGA.DW.7838.01     1  0.0863     0.7483 0.96 0.00 0.00 0.00 0.00 0.00 0.04
#> TCGA.V9.A7HT.01     5  0.1166     0.8128 0.06 0.00 0.00 0.00 0.94 0.00 0.00
#> TCGA.DZ.6132.01     1  0.1664     0.8202 0.92 0.00 0.00 0.00 0.06 0.02 0.00
#> TCGA.A4.7287.01     3  0.0000     0.9569 0.00 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.UZ.A9PO.01     5  0.0000     0.8513 0.00 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.2Z.A9J2.01     2  0.0863     0.7419 0.00 0.96 0.00 0.00 0.00 0.00 0.04
#> TCGA.F9.A97G.01     6  0.3867     0.5173 0.14 0.00 0.00 0.00 0.12 0.74 0.00
#> TCGA.UZ.A9PM.01     7  0.5723     0.1367 0.00 0.20 0.00 0.02 0.00 0.30 0.48
#> TCGA.2K.A9WE.01     5  0.0863     0.8275 0.04 0.00 0.00 0.00 0.96 0.00 0.00
#> TCGA.UZ.A9PN.01     7  0.3052     0.3688 0.02 0.00 0.00 0.00 0.00 0.20 0.78
#> TCGA.A4.7585.01     2  0.0863     0.7419 0.00 0.96 0.00 0.00 0.00 0.00 0.04

show/hide code output

cbind(get_classes(res, k = 8), get_membership(res, k = 8))
#>                 class entropy silhouette   p1   p2   p3   p4   p5   p6   p7   p8
#> TCGA.B1.A656.01     5  0.0000     0.9230 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.B9.A69E.01     6  0.2856     0.5793 0.20 0.00 0.00 0.00 0.00 0.78 0.00 0.02
#> TCGA.PJ.A8JU.01     6  0.2725     0.5166 0.00 0.04 0.00 0.00 0.00 0.82 0.00 0.14
#> TCGA.F9.A7Q0.01     4  0.0471     0.0000 0.00 0.00 0.00 0.98 0.00 0.00 0.02 0.00
#> TCGA.B3.8121.01     1  0.1765     0.8246 0.88 0.00 0.00 0.00 0.00 0.00 0.12 0.00
#> TCGA.A4.A7UZ.01     7  0.3449     0.4422 0.00 0.02 0.00 0.00 0.00 0.00 0.66 0.32
#> TCGA.J7.A8I2.01     3  0.0000     0.9445 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5880.01     2  0.3658     0.4459 0.00 0.58 0.00 0.02 0.00 0.00 0.00 0.40
#> TCGA.GL.A9DD.01     1  0.0941     0.8851 0.96 0.00 0.00 0.00 0.02 0.00 0.00 0.02
#> TCGA.Y8.A8S1.01     6  0.2025     0.7209 0.02 0.00 0.00 0.00 0.10 0.88 0.00 0.00
#> TCGA.IA.A83S.01     1  0.0471     0.8823 0.98 0.00 0.00 0.00 0.00 0.00 0.00 0.02
#> TCGA.B1.A655.01     2  0.4937     0.0720 0.00 0.64 0.00 0.00 0.00 0.10 0.08 0.18
#> TCGA.Y8.A896.01     7  0.2114     0.7161 0.16 0.00 0.00 0.00 0.00 0.00 0.84 0.00
#> TCGA.BQ.5888.01     7  0.2114     0.6302 0.00 0.00 0.00 0.00 0.00 0.00 0.84 0.16
#> TCGA.IA.A83T.01     5  0.0000     0.9230 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.IA.A83V.01     7  0.2114     0.7161 0.16 0.00 0.00 0.00 0.00 0.00 0.84 0.00
#> TCGA.KV.A6GD.01     1  0.2224     0.8180 0.86 0.00 0.00 0.00 0.00 0.00 0.12 0.02
#> TCGA.4A.A93Y.01     6  0.0471     0.6852 0.00 0.00 0.00 0.00 0.00 0.98 0.00 0.02
#> TCGA.WN.A9G9.01     6  0.3291     0.6506 0.02 0.00 0.00 0.00 0.28 0.70 0.00 0.00
#> TCGA.A4.8518.01     7  0.2114     0.7161 0.16 0.00 0.00 0.00 0.00 0.00 0.84 0.00
#> TCGA.BQ.5876.01     5  0.0808     0.8897 0.00 0.00 0.00 0.00 0.96 0.00 0.00 0.04
#> TCGA.MH.A855.01     8  0.6294     0.2301 0.00 0.20 0.00 0.00 0.00 0.32 0.12 0.36
#> TCGA.A4.A48D.01     1  0.1804     0.8460 0.90 0.00 0.00 0.00 0.08 0.00 0.00 0.02
#> TCGA.BQ.5889.01     1  0.3808     0.5380 0.66 0.00 0.00 0.00 0.02 0.30 0.00 0.02
#> TCGA.2Z.A9JO.01     2  0.0471     0.3453 0.00 0.98 0.00 0.00 0.00 0.02 0.00 0.00
#> TCGA.5P.A9JW.01     5  0.0000     0.9230 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.B1.A47O.01     1  0.0471     0.8865 0.98 0.00 0.00 0.00 0.02 0.00 0.00 0.00
#> TCGA.2Z.A9JK.01     7  0.3170     0.5560 0.00 0.00 0.00 0.00 0.00 0.04 0.76 0.20
#> TCGA.BQ.5892.01     8  0.4004    -0.4707 0.00 0.46 0.00 0.00 0.00 0.04 0.00 0.50
#> TCGA.UZ.A9PS.05     6  0.3808     0.5298 0.00 0.00 0.00 0.00 0.34 0.62 0.00 0.04
#> TCGA.PJ.A5Z8.01     5  0.0000     0.9230 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.BQ.5884.01     6  0.1275     0.6601 0.00 0.02 0.00 0.00 0.00 0.94 0.00 0.04
#> TCGA.B9.A5W8.01     1  0.0941     0.8851 0.96 0.00 0.00 0.00 0.02 0.00 0.00 0.02
#> TCGA.B1.5398.01     5  0.3658     0.0775 0.02 0.00 0.00 0.00 0.58 0.40 0.00 0.00
#> TCGA.5P.A9KC.01     2  0.4813     0.0829 0.00 0.44 0.00 0.00 0.00 0.14 0.00 0.42
#> TCGA.WN.AB4C.01     2  0.4937     0.0720 0.00 0.64 0.00 0.00 0.00 0.10 0.08 0.18
#> TCGA.GL.A4EM.01     6  0.3291     0.6506 0.02 0.00 0.00 0.00 0.28 0.70 0.00 0.00
#> TCGA.HE.7128.01     1  0.2569     0.7566 0.82 0.00 0.00 0.00 0.16 0.00 0.00 0.02
#> TCGA.BQ.7059.01     1  0.0941     0.8851 0.96 0.00 0.00 0.00 0.02 0.00 0.00 0.02
#> TCGA.BQ.7049.01     1  0.2224     0.8180 0.86 0.00 0.00 0.00 0.00 0.00 0.12 0.02
#> TCGA.HE.A5NF.01     1  0.0000     0.8825 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.HE.7130.01     3  0.0000     0.9445 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.DZ.6131.01     3  0.2859     0.8204 0.00 0.02 0.82 0.00 0.00 0.00 0.02 0.14
#> TCGA.MH.A560.01     5  0.0000     0.9230 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.G7.6796.01     7  0.2114     0.7161 0.16 0.00 0.00 0.00 0.00 0.00 0.84 0.00
#> TCGA.DZ.6134.01     1  0.3002     0.7707 0.82 0.00 0.00 0.00 0.04 0.12 0.00 0.02
#> TCGA.HE.A5NK.01     5  0.0000     0.9230 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.AL.7173.01     1  0.0941     0.8853 0.96 0.00 0.00 0.00 0.02 0.00 0.00 0.02
#> TCGA.DW.7838.01     1  0.1765     0.8246 0.88 0.00 0.00 0.00 0.00 0.00 0.12 0.00
#> TCGA.V9.A7HT.01     5  0.2224     0.7625 0.12 0.00 0.00 0.00 0.86 0.00 0.00 0.02
#> TCGA.DZ.6132.01     1  0.0941     0.8853 0.96 0.00 0.00 0.00 0.02 0.00 0.00 0.02
#> TCGA.A4.7287.01     3  0.0000     0.9445 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.UZ.A9PO.01     5  0.0000     0.9230 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.2Z.A9J2.01     2  0.3658     0.4459 0.00 0.58 0.00 0.02 0.00 0.00 0.00 0.40
#> TCGA.F9.A97G.01     6  0.0808     0.7045 0.04 0.00 0.00 0.00 0.00 0.96 0.00 0.00
#> TCGA.UZ.A9PM.01     8  0.5425     0.2002 0.00 0.02 0.00 0.00 0.00 0.20 0.34 0.44
#> TCGA.2K.A9WE.01     5  0.0000     0.9230 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.UZ.A9PN.01     7  0.2650     0.5827 0.00 0.00 0.00 0.00 0.00 0.00 0.76 0.24
#> TCGA.A4.7585.01     2  0.3658     0.4459 0.00 0.58 0.00 0.02 0.00 0.00 0.00 0.40

Heatmaps for the consensus matrix. It visualizes the probability of two samples to be in a same group.

consensus_heatmap(res, k = 2)

plot of chunk tab-node-03-consensus-heatmap-1

consensus_heatmap(res, k = 3)

plot of chunk tab-node-03-consensus-heatmap-2

consensus_heatmap(res, k = 4)

plot of chunk tab-node-03-consensus-heatmap-3

consensus_heatmap(res, k = 5)

plot of chunk tab-node-03-consensus-heatmap-4

consensus_heatmap(res, k = 6)

plot of chunk tab-node-03-consensus-heatmap-5

consensus_heatmap(res, k = 7)

plot of chunk tab-node-03-consensus-heatmap-6

consensus_heatmap(res, k = 8)

plot of chunk tab-node-03-consensus-heatmap-7

Heatmaps for the membership of samples in all partitions to see how consistent they are:

membership_heatmap(res, k = 2)

plot of chunk tab-node-03-membership-heatmap-1

membership_heatmap(res, k = 3)

plot of chunk tab-node-03-membership-heatmap-2

membership_heatmap(res, k = 4)

plot of chunk tab-node-03-membership-heatmap-3

membership_heatmap(res, k = 5)

plot of chunk tab-node-03-membership-heatmap-4

membership_heatmap(res, k = 6)

plot of chunk tab-node-03-membership-heatmap-5

membership_heatmap(res, k = 7)

plot of chunk tab-node-03-membership-heatmap-6

membership_heatmap(res, k = 8)

plot of chunk tab-node-03-membership-heatmap-7

As soon as the classes for columns are determined, the signatures that are significantly different between subgroups can be looked for. Following are the heatmaps for signatures.

get_signatures(res, k = 2)

plot of chunk tab-node-03-get-signatures-1

get_signatures(res, k = 3)

plot of chunk tab-node-03-get-signatures-2

get_signatures(res, k = 4)

plot of chunk tab-node-03-get-signatures-3

get_signatures(res, k = 5)

plot of chunk tab-node-03-get-signatures-4

get_signatures(res, k = 6)

plot of chunk tab-node-03-get-signatures-5

get_signatures(res, k = 7)

plot of chunk tab-node-03-get-signatures-6

get_signatures(res, k = 8)

plot of chunk tab-node-03-get-signatures-7

Compare the overlap of signatures from different k:

compare_signatures(res)

plot of chunk node-03-signature_compare

get_signature() returns a data frame invisibly. To get the list of signatures, the function call should be assigned to a variable explicitly. In following code, if plot argument is set to FALSE, no heatmap is plotted while only the differential analysis is performed.

# code only for demonstration
tb = get_signature(res, k = ..., plot = FALSE)

An example of the output of tb is:

#>   which_row         fdr    mean_1    mean_2 scaled_mean_1 scaled_mean_2 km
#> 1        38 0.042760348  8.373488  9.131774    -0.5533452     0.5164555  1
#> 2        40 0.018707592  7.106213  8.469186    -0.6173731     0.5762149  1
#> 3        55 0.019134737 10.221463 11.207825    -0.6159697     0.5749050  1
#> 4        59 0.006059896  5.921854  7.869574    -0.6899429     0.6439467  1
#> 5        60 0.018055526  8.928898 10.211722    -0.6204761     0.5791110  1
#> 6        98 0.009384629 15.714769 14.887706     0.6635654    -0.6193277  2
...

The columns in tb are:

  1. which_row: row indices corresponding to the input matrix.
  2. fdr: FDR for the differential test.
  3. mean_x: The mean value in group x.
  4. scaled_mean_x: The mean value in group x after rows are scaled.
  5. km: Row groups if k-means clustering is applied to rows (which is done by automatically selecting number of clusters).

If there are too many signatures, top_signatures = ... can be set to only show the signatures with the highest FDRs:

# code only for demonstration
# e.g. to show the top 500 most significant rows
tb = get_signature(res, k = ..., top_signatures = 500)

If the signatures are defined as these which are uniquely high in current group, diff_method argument can be set to "uniquely_high_in_one_group":

# code only for demonstration
tb = get_signature(res, k = ..., diff_method = "uniquely_high_in_one_group")

UMAP plot which shows how samples are separated.

dimension_reduction(res, k = 2, method = "UMAP")

plot of chunk tab-node-03-dimension-reduction-1

dimension_reduction(res, k = 3, method = "UMAP")

plot of chunk tab-node-03-dimension-reduction-2

dimension_reduction(res, k = 4, method = "UMAP")

plot of chunk tab-node-03-dimension-reduction-3

dimension_reduction(res, k = 5, method = "UMAP")

plot of chunk tab-node-03-dimension-reduction-4

dimension_reduction(res, k = 6, method = "UMAP")

plot of chunk tab-node-03-dimension-reduction-5

dimension_reduction(res, k = 7, method = "UMAP")

plot of chunk tab-node-03-dimension-reduction-6

dimension_reduction(res, k = 8, method = "UMAP")

plot of chunk tab-node-03-dimension-reduction-7

Following heatmap shows how subgroups are split when increasing k:

collect_classes(res)

plot of chunk node-03-collect-classes

If matrix rows can be associated to genes, consider to use functional_enrichment(res, ...) to perform function enrichment for the signature genes. See this vignette for more detailed explanations.


Node031

Parent node: Node03. Child nodes: Node0121-leaf , Node0122-leaf , Node0123-leaf , Node0124-leaf , Node0131 , Node0132-leaf , Node0221-leaf , Node0222-leaf , Node0223-leaf , Node0311 , Node0312-leaf , Node0313-leaf , Node0321-leaf , Node0322-leaf , Node0431-leaf , Node0432-leaf , Node0433-leaf , Node0511-leaf , Node0512-leaf , Node0513-leaf , Node0521-leaf , Node0522-leaf , Node0523-leaf , Node0531-leaf , Node0532-leaf , Node0533-leaf .

The object with results only for a single top-value method and a single partitioning method can be extracted as:

res = res_rh["031"]

A summary of res and all the functions that can be applied to it:

res
#> A 'ConsensusPartition' object with k = 2, 3, 4, 5, 6, 7, 8.
#>   On a matrix with 30000 rows and 33 columns.
#>   Top rows (1000) are extracted by 'ATC' method.
#>   Subgroups are detected by 'kmeans' method.
#>   Performed in total 350 partitions by row resampling.
#>   Best k for subgroups seems to be 3.
#> 
#> Following methods can be applied to this 'ConsensusPartition' object:
#>  [1] "cola_report"             "collect_classes"         "collect_plots"          
#>  [4] "collect_stats"           "colnames"                "compare_partitions"     
#>  [7] "compare_signatures"      "consensus_heatmap"       "dimension_reduction"    
#> [10] "functional_enrichment"   "get_anno_col"            "get_anno"               
#> [13] "get_classes"             "get_consensus"           "get_matrix"             
#> [16] "get_membership"          "get_param"               "get_signatures"         
#> [19] "get_stats"               "is_best_k"               "is_stable_k"            
#> [22] "membership_heatmap"      "ncol"                    "nrow"                   
#> [25] "plot_ecdf"               "predict_classes"         "rownames"               
#> [28] "select_partition_number" "show"                    "suggest_best_k"         
#> [31] "test_to_known_factors"   "top_rows_heatmap"

collect_plots() function collects all the plots made from res for all k (number of subgroups) into one single page to provide an easy and fast comparison between different k.

collect_plots(res)

plot of chunk node-031-collect-plots

The plots are:

All the plots in panels can be made by individual functions and they are plotted later in this section.

select_partition_number() produces several plots showing different statistics for choosing “optimized” k. There are following statistics:

The detailed explanations of these statistics can be found in the cola vignette.

Generally speaking, higher 1-PAC score, higher mean silhouette score or higher concordance corresponds to better partition. Rand index and Jaccard index measure how similar the current partition is compared to partition with k-1. If they are too similar, we won't accept k is better than k-1.

select_partition_number(res)

plot of chunk node-031-select-partition-number

The numeric values for all these statistics can be obtained by get_stats().

get_stats(res)
#>   k 1-PAC mean_silhouette concordance area_increased  Rand Jaccard
#> 2 2 1.000           0.997       0.998         0.3066 0.693   0.693
#> 3 3 1.000           0.963       0.988         0.9634 0.625   0.487
#> 4 4 0.750           0.869       0.910         0.1731 0.850   0.644
#> 5 5 0.746           0.750       0.857         0.0971 0.894   0.665
#> 6 6 0.720           0.794       0.826         0.0514 0.879   0.519
#> 7 7 0.761           0.792       0.839         0.0373 1.000   1.000
#> 8 8 0.718           0.699       0.796         0.0167 0.989   0.926

suggest_best_k() suggests the best \(k\) based on these statistics. The rules are as follows:

suggest_best_k(res)
#> [1] 3
#> attr(,"optional")
#> [1] 2

There is also optional best \(k\) = 2 that is worth to check.

Following is the table of the partitions (You need to click the show/hide code output link to see it). The membership matrix (columns with name p*) is inferred by clue::cl_consensus() function with the SE method. Basically the value in the membership matrix represents the probability to belong to a certain group. The finall subgroup label for an item is determined with the group with highest probability it belongs to.

In get_classes() function, the entropy is calculated from the membership matrix and the silhouette score is calculated from the consensus matrix.

show/hide code output

cbind(get_classes(res, k = 2), get_membership(res, k = 2))
#>                 class entropy silhouette   p1   p2
#> TCGA.B1.A656.01     2   0.000      0.992 0.00 1.00
#> TCGA.B9.A69E.01     1   0.141      0.979 0.98 0.02
#> TCGA.B3.8121.01     1   0.000      0.999 1.00 0.00
#> TCGA.GL.A9DD.01     1   0.000      0.999 1.00 0.00
#> TCGA.Y8.A8S1.01     1   0.000      0.999 1.00 0.00
#> TCGA.IA.A83S.01     1   0.000      0.999 1.00 0.00
#> TCGA.IA.A83T.01     1   0.000      0.999 1.00 0.00
#> TCGA.KV.A6GD.01     1   0.000      0.999 1.00 0.00
#> TCGA.WN.A9G9.01     1   0.000      0.999 1.00 0.00
#> TCGA.BQ.5876.01     2   0.000      0.992 0.00 1.00
#> TCGA.A4.A48D.01     1   0.000      0.999 1.00 0.00
#> TCGA.BQ.5889.01     1   0.000      0.999 1.00 0.00
#> TCGA.5P.A9JW.01     2   0.141      0.984 0.02 0.98
#> TCGA.B1.A47O.01     1   0.000      0.999 1.00 0.00
#> TCGA.UZ.A9PS.05     2   0.000      0.992 0.00 1.00
#> TCGA.PJ.A5Z8.01     1   0.000      0.999 1.00 0.00
#> TCGA.B9.A5W8.01     1   0.000      0.999 1.00 0.00
#> TCGA.B1.5398.01     1   0.000      0.999 1.00 0.00
#> TCGA.GL.A4EM.01     1   0.000      0.999 1.00 0.00
#> TCGA.HE.7128.01     1   0.000      0.999 1.00 0.00
#> TCGA.BQ.7059.01     1   0.000      0.999 1.00 0.00
#> TCGA.BQ.7049.01     1   0.000      0.999 1.00 0.00
#> TCGA.HE.A5NF.01     1   0.000      0.999 1.00 0.00
#> TCGA.MH.A560.01     2   0.000      0.992 0.00 1.00
#> TCGA.DZ.6134.01     1   0.000      0.999 1.00 0.00
#> TCGA.HE.A5NK.01     1   0.000      0.999 1.00 0.00
#> TCGA.AL.7173.01     1   0.000      0.999 1.00 0.00
#> TCGA.DW.7838.01     1   0.000      0.999 1.00 0.00
#> TCGA.V9.A7HT.01     1   0.000      0.999 1.00 0.00
#> TCGA.DZ.6132.01     1   0.000      0.999 1.00 0.00
#> TCGA.UZ.A9PO.01     2   0.141      0.984 0.02 0.98
#> TCGA.F9.A97G.01     1   0.000      0.999 1.00 0.00
#> TCGA.2K.A9WE.01     1   0.000      0.999 1.00 0.00

show/hide code output

cbind(get_classes(res, k = 3), get_membership(res, k = 3))
#>                 class entropy silhouette  p1 p2  p3
#> TCGA.B1.A656.01     2   0.000      1.000 0.0  1 0.0
#> TCGA.B9.A69E.01     3   0.000      0.950 0.0  0 1.0
#> TCGA.B3.8121.01     1   0.000      1.000 1.0  0 0.0
#> TCGA.GL.A9DD.01     1   0.000      1.000 1.0  0 0.0
#> TCGA.Y8.A8S1.01     3   0.000      0.950 0.0  0 1.0
#> TCGA.IA.A83S.01     1   0.000      1.000 1.0  0 0.0
#> TCGA.IA.A83T.01     3   0.000      0.950 0.0  0 1.0
#> TCGA.KV.A6GD.01     1   0.000      1.000 1.0  0 0.0
#> TCGA.WN.A9G9.01     3   0.000      0.950 0.0  0 1.0
#> TCGA.BQ.5876.01     2   0.000      1.000 0.0  1 0.0
#> TCGA.A4.A48D.01     3   0.000      0.950 0.0  0 1.0
#> TCGA.BQ.5889.01     1   0.000      1.000 1.0  0 0.0
#> TCGA.5P.A9JW.01     3   0.000      0.950 0.0  0 1.0
#> TCGA.B1.A47O.01     1   0.000      1.000 1.0  0 0.0
#> TCGA.UZ.A9PS.05     2   0.000      1.000 0.0  1 0.0
#> TCGA.PJ.A5Z8.01     3   0.613      0.333 0.4  0 0.6
#> TCGA.B9.A5W8.01     1   0.000      1.000 1.0  0 0.0
#> TCGA.B1.5398.01     3   0.000      0.950 0.0  0 1.0
#> TCGA.GL.A4EM.01     3   0.000      0.950 0.0  0 1.0
#> TCGA.HE.7128.01     1   0.000      1.000 1.0  0 0.0
#> TCGA.BQ.7059.01     1   0.000      1.000 1.0  0 0.0
#> TCGA.BQ.7049.01     1   0.000      1.000 1.0  0 0.0
#> TCGA.HE.A5NF.01     1   0.000      1.000 1.0  0 0.0
#> TCGA.MH.A560.01     2   0.000      1.000 0.0  1 0.0
#> TCGA.DZ.6134.01     3   0.000      0.950 0.0  0 1.0
#> TCGA.HE.A5NK.01     1   0.000      1.000 1.0  0 0.0
#> TCGA.AL.7173.01     1   0.000      1.000 1.0  0 0.0
#> TCGA.DW.7838.01     1   0.000      1.000 1.0  0 0.0
#> TCGA.V9.A7HT.01     1   0.000      1.000 1.0  0 0.0
#> TCGA.DZ.6132.01     1   0.000      1.000 1.0  0 0.0
#> TCGA.UZ.A9PO.01     3   0.000      0.950 0.0  0 1.0
#> TCGA.F9.A97G.01     3   0.000      0.950 0.0  0 1.0
#> TCGA.2K.A9WE.01     1   0.000      1.000 1.0  0 0.0

show/hide code output

cbind(get_classes(res, k = 4), get_membership(res, k = 4))
#>                 class entropy silhouette   p1   p2   p3   p4
#> TCGA.B1.A656.01     2  0.1913      0.959 0.00 0.94 0.02 0.04
#> TCGA.B9.A69E.01     4  0.0000      0.968 0.00 0.00 0.00 1.00
#> TCGA.B3.8121.01     1  0.0000      0.888 1.00 0.00 0.00 0.00
#> TCGA.GL.A9DD.01     1  0.0000      0.888 1.00 0.00 0.00 0.00
#> TCGA.Y8.A8S1.01     3  0.3975      0.736 0.00 0.00 0.76 0.24
#> TCGA.IA.A83S.01     1  0.3975      0.833 0.76 0.00 0.24 0.00
#> TCGA.IA.A83T.01     3  0.1637      0.809 0.00 0.00 0.94 0.06
#> TCGA.KV.A6GD.01     1  0.3400      0.867 0.82 0.00 0.18 0.00
#> TCGA.WN.A9G9.01     3  0.3975      0.736 0.00 0.00 0.76 0.24
#> TCGA.BQ.5876.01     2  0.0000      0.981 0.00 1.00 0.00 0.00
#> TCGA.A4.A48D.01     3  0.1637      0.809 0.00 0.00 0.94 0.06
#> TCGA.BQ.5889.01     3  0.2921      0.735 0.14 0.00 0.86 0.00
#> TCGA.5P.A9JW.01     4  0.0000      0.968 0.00 0.00 0.00 1.00
#> TCGA.B1.A47O.01     1  0.0000      0.888 1.00 0.00 0.00 0.00
#> TCGA.UZ.A9PS.05     2  0.0707      0.979 0.00 0.98 0.02 0.00
#> TCGA.PJ.A5Z8.01     3  0.0707      0.804 0.02 0.00 0.98 0.00
#> TCGA.B9.A5W8.01     1  0.3610      0.862 0.80 0.00 0.20 0.00
#> TCGA.B1.5398.01     3  0.3975      0.736 0.00 0.00 0.76 0.24
#> TCGA.GL.A4EM.01     4  0.1637      0.951 0.00 0.00 0.06 0.94
#> TCGA.HE.7128.01     1  0.3610      0.862 0.80 0.00 0.20 0.00
#> TCGA.BQ.7059.01     1  0.3610      0.862 0.80 0.00 0.20 0.00
#> TCGA.BQ.7049.01     1  0.0000      0.888 1.00 0.00 0.00 0.00
#> TCGA.HE.A5NF.01     1  0.0707      0.889 0.98 0.00 0.02 0.00
#> TCGA.MH.A560.01     2  0.0000      0.981 0.00 1.00 0.00 0.00
#> TCGA.DZ.6134.01     3  0.3801      0.761 0.00 0.00 0.78 0.22
#> TCGA.HE.A5NK.01     1  0.3610      0.862 0.80 0.00 0.20 0.00
#> TCGA.AL.7173.01     3  0.2011      0.770 0.08 0.00 0.92 0.00
#> TCGA.DW.7838.01     1  0.0000      0.888 1.00 0.00 0.00 0.00
#> TCGA.V9.A7HT.01     1  0.3975      0.833 0.76 0.00 0.24 0.00
#> TCGA.DZ.6132.01     1  0.0000      0.888 1.00 0.00 0.00 0.00
#> TCGA.UZ.A9PO.01     4  0.0000      0.968 0.00 0.00 0.00 1.00
#> TCGA.F9.A97G.01     4  0.1637      0.951 0.00 0.00 0.06 0.94
#> TCGA.2K.A9WE.01     1  0.0000      0.888 1.00 0.00 0.00 0.00

show/hide code output

cbind(get_classes(res, k = 5), get_membership(res, k = 5))
#>                 class entropy silhouette   p1   p2   p3   p4   p5
#> TCGA.B1.A656.01     2   0.252      0.841 0.00 0.86 0.00 0.14 0.00
#> TCGA.B9.A69E.01     4   0.000      0.833 0.00 0.00 0.00 1.00 0.00
#> TCGA.B3.8121.01     1   0.000      0.772 1.00 0.00 0.00 0.00 0.00
#> TCGA.GL.A9DD.01     1   0.000      0.772 1.00 0.00 0.00 0.00 0.00
#> TCGA.Y8.A8S1.01     5   0.208      0.815 0.00 0.00 0.04 0.04 0.92
#> TCGA.IA.A83S.01     3   0.165      0.768 0.04 0.00 0.94 0.00 0.02
#> TCGA.IA.A83T.01     3   0.342      0.748 0.00 0.00 0.76 0.00 0.24
#> TCGA.KV.A6GD.01     1   0.446      0.658 0.66 0.00 0.32 0.00 0.02
#> TCGA.WN.A9G9.01     5   0.208      0.815 0.00 0.00 0.04 0.04 0.92
#> TCGA.BQ.5876.01     2   0.104      0.940 0.00 0.96 0.00 0.00 0.04
#> TCGA.A4.A48D.01     3   0.293      0.790 0.00 0.00 0.82 0.00 0.18
#> TCGA.BQ.5889.01     5   0.541      0.398 0.20 0.00 0.14 0.00 0.66
#> TCGA.5P.A9JW.01     4   0.000      0.833 0.00 0.00 0.00 1.00 0.00
#> TCGA.B1.A47O.01     1   0.000      0.772 1.00 0.00 0.00 0.00 0.00
#> TCGA.UZ.A9PS.05     2   0.000      0.935 0.00 1.00 0.00 0.00 0.00
#> TCGA.PJ.A5Z8.01     3   0.293      0.787 0.00 0.00 0.82 0.00 0.18
#> TCGA.B9.A5W8.01     1   0.480      0.545 0.54 0.00 0.44 0.00 0.02
#> TCGA.B1.5398.01     5   0.208      0.815 0.00 0.00 0.04 0.04 0.92
#> TCGA.GL.A4EM.01     4   0.425      0.696 0.00 0.00 0.02 0.70 0.28
#> TCGA.HE.7128.01     1   0.480      0.536 0.54 0.00 0.44 0.00 0.02
#> TCGA.BQ.7059.01     1   0.477      0.565 0.56 0.00 0.42 0.00 0.02
#> TCGA.BQ.7049.01     1   0.000      0.772 1.00 0.00 0.00 0.00 0.00
#> TCGA.HE.A5NF.01     1   0.369      0.724 0.78 0.00 0.20 0.00 0.02
#> TCGA.MH.A560.01     2   0.104      0.940 0.00 0.96 0.00 0.00 0.04
#> TCGA.DZ.6134.01     3   0.342      0.748 0.00 0.00 0.76 0.00 0.24
#> TCGA.HE.A5NK.01     1   0.480      0.545 0.54 0.00 0.44 0.00 0.02
#> TCGA.AL.7173.01     3   0.000      0.786 0.00 0.00 1.00 0.00 0.00
#> TCGA.DW.7838.01     1   0.000      0.772 1.00 0.00 0.00 0.00 0.00
#> TCGA.V9.A7HT.01     3   0.165      0.751 0.04 0.00 0.94 0.00 0.02
#> TCGA.DZ.6132.01     1   0.000      0.772 1.00 0.00 0.00 0.00 0.00
#> TCGA.UZ.A9PO.01     4   0.000      0.833 0.00 0.00 0.00 1.00 0.00
#> TCGA.F9.A97G.01     4   0.425      0.696 0.00 0.00 0.02 0.70 0.28
#> TCGA.2K.A9WE.01     1   0.000      0.772 1.00 0.00 0.00 0.00 0.00

show/hide code output

cbind(get_classes(res, k = 6), get_membership(res, k = 6))
#>                 class entropy silhouette   p1   p2   p3   p4   p5   p6
#> TCGA.B1.A656.01     2  0.3318      0.729 0.02 0.82 0.02 0.14 0.00 0.00
#> TCGA.B9.A69E.01     4  0.0000      0.810 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.B3.8121.01     1  0.3679      0.950 0.76 0.00 0.04 0.00 0.00 0.20
#> TCGA.GL.A9DD.01     1  0.2793      0.964 0.80 0.00 0.00 0.00 0.00 0.20
#> TCGA.Y8.A8S1.01     5  0.1480      0.829 0.00 0.00 0.00 0.04 0.94 0.02
#> TCGA.IA.A83S.01     6  0.5043      0.354 0.12 0.00 0.18 0.00 0.02 0.68
#> TCGA.IA.A83T.01     3  0.3787      0.779 0.00 0.00 0.78 0.00 0.12 0.10
#> TCGA.KV.A6GD.01     6  0.2260      0.751 0.14 0.00 0.00 0.00 0.00 0.86
#> TCGA.WN.A9G9.01     5  0.1480      0.829 0.00 0.00 0.00 0.04 0.94 0.02
#> TCGA.BQ.5876.01     2  0.3854      0.852 0.04 0.80 0.12 0.00 0.04 0.00
#> TCGA.A4.A48D.01     3  0.6055      0.781 0.12 0.00 0.60 0.00 0.08 0.20
#> TCGA.BQ.5889.01     5  0.4002      0.431 0.02 0.00 0.00 0.00 0.66 0.32
#> TCGA.5P.A9JW.01     4  0.1480      0.807 0.04 0.00 0.02 0.94 0.00 0.00
#> TCGA.B1.A47O.01     1  0.3679      0.950 0.76 0.00 0.04 0.00 0.00 0.20
#> TCGA.UZ.A9PS.05     2  0.0000      0.840 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.PJ.A5Z8.01     3  0.5199      0.732 0.00 0.00 0.58 0.00 0.12 0.30
#> TCGA.B9.A5W8.01     6  0.0000      0.818 0.00 0.00 0.00 0.00 0.00 1.00
#> TCGA.B1.5398.01     5  0.1480      0.829 0.00 0.00 0.00 0.04 0.94 0.02
#> TCGA.GL.A4EM.01     4  0.3309      0.696 0.00 0.00 0.00 0.72 0.28 0.00
#> TCGA.HE.7128.01     6  0.0937      0.825 0.04 0.00 0.00 0.00 0.00 0.96
#> TCGA.BQ.7059.01     6  0.1556      0.814 0.08 0.00 0.00 0.00 0.00 0.92
#> TCGA.BQ.7049.01     1  0.3076      0.940 0.76 0.00 0.00 0.00 0.00 0.24
#> TCGA.HE.A5NF.01     6  0.2793      0.647 0.20 0.00 0.00 0.00 0.00 0.80
#> TCGA.MH.A560.01     2  0.3351      0.852 0.04 0.80 0.16 0.00 0.00 0.00
#> TCGA.DZ.6134.01     3  0.6524      0.763 0.12 0.00 0.60 0.02 0.14 0.12
#> TCGA.HE.A5NK.01     6  0.0000      0.818 0.00 0.00 0.00 0.00 0.00 1.00
#> TCGA.AL.7173.01     3  0.3711      0.770 0.00 0.00 0.72 0.00 0.02 0.26
#> TCGA.DW.7838.01     1  0.2793      0.964 0.80 0.00 0.00 0.00 0.00 0.20
#> TCGA.V9.A7HT.01     6  0.1814      0.702 0.00 0.00 0.10 0.00 0.00 0.90
#> TCGA.DZ.6132.01     1  0.3198      0.917 0.74 0.00 0.00 0.00 0.00 0.26
#> TCGA.UZ.A9PO.01     4  0.1480      0.807 0.04 0.00 0.02 0.94 0.00 0.00
#> TCGA.F9.A97G.01     4  0.3309      0.696 0.00 0.00 0.00 0.72 0.28 0.00
#> TCGA.2K.A9WE.01     1  0.2793      0.964 0.80 0.00 0.00 0.00 0.00 0.20

show/hide code output

cbind(get_classes(res, k = 7), get_membership(res, k = 7))
#>                 class entropy silhouette   p1   p2   p3   p4   p5   p6   p7
#> TCGA.B1.A656.01     7   0.535      0.719 0.00 0.12 0.00 0.20 0.00 0.06 0.62
#> TCGA.B9.A69E.01     4   0.305      0.831 0.00 0.20 0.00 0.78 0.00 0.02 0.00
#> TCGA.B3.8121.01     1   0.271      0.806 0.78 0.22 0.00 0.00 0.00 0.00 0.00
#> TCGA.GL.A9DD.01     1   0.000      0.892 1.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.Y8.A8S1.01     5   0.000      0.928 0.00 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.IA.A83S.01     6   0.417      0.282 0.00 0.04 0.38 0.00 0.00 0.58 0.00
#> TCGA.IA.A83T.01     3   0.391      0.673 0.00 0.24 0.70 0.00 0.00 0.06 0.00
#> TCGA.KV.A6GD.01     6   0.331      0.823 0.24 0.02 0.00 0.00 0.00 0.74 0.00
#> TCGA.WN.A9G9.01     5   0.136      0.903 0.00 0.04 0.00 0.00 0.94 0.02 0.00
#> TCGA.BQ.5876.01     7   0.000      0.852 0.00 0.00 0.00 0.00 0.00 0.00 1.00
#> TCGA.A4.A48D.01     3   0.193      0.662 0.00 0.00 0.90 0.00 0.02 0.08 0.00
#> TCGA.BQ.5889.01     5   0.216      0.824 0.00 0.02 0.00 0.00 0.88 0.10 0.00
#> TCGA.5P.A9JW.01     4   0.000      0.796 0.00 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.B1.A47O.01     1   0.271      0.806 0.78 0.22 0.00 0.00 0.00 0.00 0.00
#> TCGA.UZ.A9PS.05     7   0.301      0.832 0.00 0.12 0.00 0.00 0.00 0.06 0.82
#> TCGA.PJ.A5Z8.01     3   0.645      0.546 0.00 0.20 0.40 0.00 0.08 0.32 0.00
#> TCGA.B9.A5W8.01     6   0.257      0.850 0.20 0.00 0.00 0.00 0.00 0.80 0.00
#> TCGA.B1.5398.01     5   0.000      0.928 0.00 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.GL.A4EM.01     4   0.471      0.819 0.00 0.22 0.02 0.66 0.10 0.00 0.00
#> TCGA.HE.7128.01     6   0.291      0.852 0.18 0.02 0.00 0.00 0.00 0.80 0.00
#> TCGA.BQ.7059.01     6   0.324      0.847 0.18 0.04 0.00 0.00 0.00 0.78 0.00
#> TCGA.BQ.7049.01     1   0.136      0.866 0.94 0.02 0.00 0.00 0.00 0.04 0.00
#> TCGA.HE.A5NF.01     6   0.331      0.823 0.24 0.02 0.00 0.00 0.00 0.74 0.00
#> TCGA.MH.A560.01     7   0.000      0.852 0.00 0.00 0.00 0.00 0.00 0.00 1.00
#> TCGA.DZ.6134.01     3   0.193      0.662 0.00 0.00 0.90 0.00 0.02 0.08 0.00
#> TCGA.HE.A5NK.01     6   0.339      0.845 0.18 0.02 0.00 0.00 0.02 0.78 0.00
#> TCGA.AL.7173.01     3   0.495      0.643 0.00 0.36 0.52 0.00 0.00 0.12 0.00
#> TCGA.DW.7838.01     1   0.000      0.892 1.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.V9.A7HT.01     6   0.363      0.780 0.10 0.04 0.06 0.00 0.00 0.80 0.00
#> TCGA.DZ.6132.01     1   0.238      0.788 0.86 0.02 0.00 0.00 0.00 0.12 0.00
#> TCGA.UZ.A9PO.01     4   0.000      0.796 0.00 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.F9.A97G.01     4   0.471      0.819 0.00 0.22 0.02 0.66 0.10 0.00 0.00
#> TCGA.2K.A9WE.01     1   0.000      0.892 1.00 0.00 0.00 0.00 0.00 0.00 0.00

show/hide code output

cbind(get_classes(res, k = 8), get_membership(res, k = 8))
#>                 class entropy silhouette   p1   p2   p3   p4   p5   p6   p7   p8
#> TCGA.B1.A656.01     7  0.4904     0.6409 0.00 0.00 0.00 0.32 0.00 0.00 0.50 0.18
#> TCGA.B9.A69E.01     8  0.4061     0.6987 0.02 0.12 0.00 0.14 0.00 0.00 0.00 0.72
#> TCGA.B3.8121.01     1  0.4885     0.7148 0.60 0.04 0.00 0.26 0.00 0.10 0.00 0.00
#> TCGA.GL.A9DD.01     1  0.1563     0.8242 0.90 0.00 0.00 0.00 0.00 0.10 0.00 0.00
#> TCGA.Y8.A8S1.01     5  0.0000     0.8166 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.IA.A83S.01     6  0.5048     0.0529 0.00 0.40 0.08 0.04 0.00 0.48 0.00 0.00
#> TCGA.IA.A83T.01     3  0.3537     0.3206 0.00 0.24 0.72 0.02 0.00 0.02 0.00 0.00
#> TCGA.KV.A6GD.01     6  0.1557     0.7884 0.06 0.02 0.00 0.00 0.00 0.92 0.00 0.00
#> TCGA.WN.A9G9.01     5  0.2484     0.7857 0.02 0.02 0.00 0.10 0.86 0.00 0.00 0.00
#> TCGA.BQ.5876.01     7  0.1275     0.7614 0.04 0.00 0.02 0.00 0.00 0.00 0.94 0.00
#> TCGA.A4.A48D.01     2  0.3873     1.0000 0.00 0.72 0.20 0.00 0.02 0.06 0.00 0.00
#> TCGA.BQ.5889.01     5  0.3426     0.5759 0.00 0.02 0.00 0.02 0.74 0.22 0.00 0.00
#> TCGA.5P.A9JW.01     8  0.0000     0.6701 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00
#> TCGA.B1.A47O.01     1  0.5379     0.7041 0.52 0.04 0.00 0.28 0.00 0.16 0.00 0.00
#> TCGA.UZ.A9PS.05     7  0.3594     0.7432 0.00 0.04 0.00 0.28 0.00 0.00 0.68 0.00
#> TCGA.PJ.A5Z8.01     3  0.5064     0.3570 0.02 0.00 0.58 0.06 0.04 0.30 0.00 0.00
#> TCGA.B9.A5W8.01     6  0.0941     0.7924 0.02 0.00 0.00 0.02 0.00 0.96 0.00 0.00
#> TCGA.B1.5398.01     5  0.0941     0.8097 0.02 0.00 0.00 0.02 0.96 0.00 0.00 0.00
#> TCGA.GL.A4EM.01     8  0.6296     0.6248 0.02 0.16 0.00 0.10 0.26 0.00 0.00 0.46
#> TCGA.HE.7128.01     6  0.1607     0.7908 0.00 0.04 0.00 0.04 0.00 0.92 0.00 0.00
#> TCGA.BQ.7059.01     6  0.3131     0.7825 0.02 0.06 0.04 0.04 0.00 0.84 0.00 0.00
#> TCGA.BQ.7049.01     1  0.3169     0.7957 0.78 0.02 0.00 0.02 0.00 0.18 0.00 0.00
#> TCGA.HE.A5NF.01     6  0.2025     0.7422 0.10 0.02 0.00 0.00 0.00 0.88 0.00 0.00
#> TCGA.MH.A560.01     7  0.0000     0.7614 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.DZ.6134.01     2  0.3873     1.0000 0.00 0.72 0.20 0.00 0.02 0.06 0.00 0.00
#> TCGA.HE.A5NK.01     6  0.1557     0.7740 0.02 0.00 0.00 0.06 0.00 0.92 0.00 0.00
#> TCGA.AL.7173.01     3  0.1275     0.4967 0.00 0.00 0.94 0.04 0.00 0.02 0.00 0.00
#> TCGA.DW.7838.01     1  0.1563     0.8242 0.90 0.00 0.00 0.00 0.00 0.10 0.00 0.00
#> TCGA.V9.A7HT.01     6  0.3128     0.7168 0.00 0.04 0.10 0.04 0.00 0.82 0.00 0.00
#> TCGA.DZ.6132.01     1  0.3995     0.5928 0.60 0.02 0.00 0.02 0.00 0.36 0.00 0.00
#> TCGA.UZ.A9PO.01     8  0.0000     0.6701 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00
#> TCGA.F9.A97G.01     8  0.6296     0.6248 0.02 0.16 0.00 0.10 0.26 0.00 0.00 0.46
#> TCGA.2K.A9WE.01     1  0.1563     0.8242 0.90 0.00 0.00 0.00 0.00 0.10 0.00 0.00

Heatmaps for the consensus matrix. It visualizes the probability of two samples to be in a same group.

consensus_heatmap(res, k = 2)

plot of chunk tab-node-031-consensus-heatmap-1

consensus_heatmap(res, k = 3)

plot of chunk tab-node-031-consensus-heatmap-2

consensus_heatmap(res, k = 4)

plot of chunk tab-node-031-consensus-heatmap-3

consensus_heatmap(res, k = 5)

plot of chunk tab-node-031-consensus-heatmap-4

consensus_heatmap(res, k = 6)

plot of chunk tab-node-031-consensus-heatmap-5

consensus_heatmap(res, k = 7)

plot of chunk tab-node-031-consensus-heatmap-6

consensus_heatmap(res, k = 8)

plot of chunk tab-node-031-consensus-heatmap-7

Heatmaps for the membership of samples in all partitions to see how consistent they are:

membership_heatmap(res, k = 2)

plot of chunk tab-node-031-membership-heatmap-1

membership_heatmap(res, k = 3)

plot of chunk tab-node-031-membership-heatmap-2

membership_heatmap(res, k = 4)

plot of chunk tab-node-031-membership-heatmap-3

membership_heatmap(res, k = 5)

plot of chunk tab-node-031-membership-heatmap-4

membership_heatmap(res, k = 6)

plot of chunk tab-node-031-membership-heatmap-5

membership_heatmap(res, k = 7)

plot of chunk tab-node-031-membership-heatmap-6

membership_heatmap(res, k = 8)

plot of chunk tab-node-031-membership-heatmap-7

As soon as the classes for columns are determined, the signatures that are significantly different between subgroups can be looked for. Following are the heatmaps for signatures.

get_signatures(res, k = 2)

plot of chunk tab-node-031-get-signatures-1

get_signatures(res, k = 3)

plot of chunk tab-node-031-get-signatures-2

get_signatures(res, k = 4)

plot of chunk tab-node-031-get-signatures-3

get_signatures(res, k = 5)

plot of chunk tab-node-031-get-signatures-4

get_signatures(res, k = 6)

plot of chunk tab-node-031-get-signatures-5

get_signatures(res, k = 7)

plot of chunk tab-node-031-get-signatures-6

get_signatures(res, k = 8)

plot of chunk tab-node-031-get-signatures-7

Compare the overlap of signatures from different k:

compare_signatures(res)

plot of chunk node-031-signature_compare

get_signature() returns a data frame invisibly. To get the list of signatures, the function call should be assigned to a variable explicitly. In following code, if plot argument is set to FALSE, no heatmap is plotted while only the differential analysis is performed.

# code only for demonstration
tb = get_signature(res, k = ..., plot = FALSE)

An example of the output of tb is:

#>   which_row         fdr    mean_1    mean_2 scaled_mean_1 scaled_mean_2 km
#> 1        38 0.042760348  8.373488  9.131774    -0.5533452     0.5164555  1
#> 2        40 0.018707592  7.106213  8.469186    -0.6173731     0.5762149  1
#> 3        55 0.019134737 10.221463 11.207825    -0.6159697     0.5749050  1
#> 4        59 0.006059896  5.921854  7.869574    -0.6899429     0.6439467  1
#> 5        60 0.018055526  8.928898 10.211722    -0.6204761     0.5791110  1
#> 6        98 0.009384629 15.714769 14.887706     0.6635654    -0.6193277  2
...

The columns in tb are:

  1. which_row: row indices corresponding to the input matrix.
  2. fdr: FDR for the differential test.
  3. mean_x: The mean value in group x.
  4. scaled_mean_x: The mean value in group x after rows are scaled.
  5. km: Row groups if k-means clustering is applied to rows (which is done by automatically selecting number of clusters).

If there are too many signatures, top_signatures = ... can be set to only show the signatures with the highest FDRs:

# code only for demonstration
# e.g. to show the top 500 most significant rows
tb = get_signature(res, k = ..., top_signatures = 500)

If the signatures are defined as these which are uniquely high in current group, diff_method argument can be set to "uniquely_high_in_one_group":

# code only for demonstration
tb = get_signature(res, k = ..., diff_method = "uniquely_high_in_one_group")

UMAP plot which shows how samples are separated.

dimension_reduction(res, k = 2, method = "UMAP")

plot of chunk tab-node-031-dimension-reduction-1

dimension_reduction(res, k = 3, method = "UMAP")

plot of chunk tab-node-031-dimension-reduction-2

dimension_reduction(res, k = 4, method = "UMAP")

plot of chunk tab-node-031-dimension-reduction-3

dimension_reduction(res, k = 5, method = "UMAP")

plot of chunk tab-node-031-dimension-reduction-4

dimension_reduction(res, k = 6, method = "UMAP")

plot of chunk tab-node-031-dimension-reduction-5

dimension_reduction(res, k = 7, method = "UMAP")

plot of chunk tab-node-031-dimension-reduction-6

dimension_reduction(res, k = 8, method = "UMAP")

plot of chunk tab-node-031-dimension-reduction-7

Following heatmap shows how subgroups are split when increasing k:

collect_classes(res)

plot of chunk node-031-collect-classes

If matrix rows can be associated to genes, consider to use functional_enrichment(res, ...) to perform function enrichment for the signature genes. See this vignette for more detailed explanations.


Node0311

Parent node: Node031. Child nodes: Node01311-leaf , Node01312-leaf , Node03111-leaf , Node03112-leaf , Node03113-leaf .

The object with results only for a single top-value method and a single partitioning method can be extracted as:

res = res_rh["0311"]

A summary of res and all the functions that can be applied to it:

res
#> A 'ConsensusPartition' object with k = 2, 3, 4, 5, 6, 7, 8.
#>   On a matrix with 30000 rows and 17 columns.
#>   Top rows (1000) are extracted by 'SD' method.
#>   Subgroups are detected by 'kmeans' method.
#>   Performed in total 350 partitions by row resampling.
#>   Best k for subgroups seems to be 7.
#> 
#> Following methods can be applied to this 'ConsensusPartition' object:
#>  [1] "cola_report"             "collect_classes"         "collect_plots"          
#>  [4] "collect_stats"           "colnames"                "compare_partitions"     
#>  [7] "compare_signatures"      "consensus_heatmap"       "dimension_reduction"    
#> [10] "functional_enrichment"   "get_anno_col"            "get_anno"               
#> [13] "get_classes"             "get_consensus"           "get_matrix"             
#> [16] "get_membership"          "get_param"               "get_signatures"         
#> [19] "get_stats"               "is_best_k"               "is_stable_k"            
#> [22] "membership_heatmap"      "ncol"                    "nrow"                   
#> [25] "plot_ecdf"               "predict_classes"         "rownames"               
#> [28] "select_partition_number" "show"                    "suggest_best_k"         
#> [31] "test_to_known_factors"   "top_rows_heatmap"

collect_plots() function collects all the plots made from res for all k (number of subgroups) into one single page to provide an easy and fast comparison between different k.

collect_plots(res)

plot of chunk node-0311-collect-plots

The plots are:

All the plots in panels can be made by individual functions and they are plotted later in this section.

select_partition_number() produces several plots showing different statistics for choosing “optimized” k. There are following statistics:

The detailed explanations of these statistics can be found in the cola vignette.

Generally speaking, higher 1-PAC score, higher mean silhouette score or higher concordance corresponds to better partition. Rand index and Jaccard index measure how similar the current partition is compared to partition with k-1. If they are too similar, we won't accept k is better than k-1.

select_partition_number(res)

plot of chunk node-0311-select-partition-number

The numeric values for all these statistics can be obtained by get_stats().

get_stats(res)
#>   k 1-PAC mean_silhouette concordance area_increased  Rand Jaccard
#> 2 2 0.559           0.814       0.900         0.3844 0.691   0.691
#> 3 3 0.640           0.960       0.927         0.5772 0.669   0.521
#> 4 4 0.779           0.841       0.868         0.2103 0.897   0.714
#> 5 5 0.794           0.916       0.913         0.0881 0.926   0.714
#> 6 6 0.838           0.845       0.900         0.0397 1.000   1.000
#> 7 7 0.904           0.793       0.886         0.0279 0.971   0.840
#> 8 8 0.868           0.635       0.836         0.0241 0.993   0.952

suggest_best_k() suggests the best \(k\) based on these statistics. The rules are as follows:

suggest_best_k(res)
#> [1] 7

Following is the table of the partitions (You need to click the show/hide code output link to see it). The membership matrix (columns with name p*) is inferred by clue::cl_consensus() function with the SE method. Basically the value in the membership matrix represents the probability to belong to a certain group. The finall subgroup label for an item is determined with the group with highest probability it belongs to.

In get_classes() function, the entropy is calculated from the membership matrix and the silhouette score is calculated from the consensus matrix.

show/hide code output

cbind(get_classes(res, k = 2), get_membership(res, k = 2))
#>                 class entropy silhouette   p1   p2
#> TCGA.B3.8121.01     2   0.925      1.000 0.34 0.66
#> TCGA.GL.A9DD.01     1   0.925      0.848 0.66 0.34
#> TCGA.IA.A83S.01     1   0.925      0.848 0.66 0.34
#> TCGA.KV.A6GD.01     1   0.925      0.848 0.66 0.34
#> TCGA.BQ.5889.01     1   0.000      0.643 1.00 0.00
#> TCGA.B1.A47O.01     2   0.925      1.000 0.34 0.66
#> TCGA.B9.A5W8.01     1   0.925      0.848 0.66 0.34
#> TCGA.HE.7128.01     1   0.925      0.848 0.66 0.34
#> TCGA.BQ.7059.01     1   0.925      0.848 0.66 0.34
#> TCGA.BQ.7049.01     1   0.000      0.643 1.00 0.00
#> TCGA.HE.A5NF.01     1   0.925      0.848 0.66 0.34
#> TCGA.HE.A5NK.01     1   0.925      0.848 0.66 0.34
#> TCGA.AL.7173.01     2   0.925      1.000 0.34 0.66
#> TCGA.DW.7838.01     1   0.000      0.643 1.00 0.00
#> TCGA.V9.A7HT.01     1   0.925      0.848 0.66 0.34
#> TCGA.DZ.6132.01     1   0.000      0.643 1.00 0.00
#> TCGA.2K.A9WE.01     1   0.000      0.643 1.00 0.00

show/hide code output

cbind(get_classes(res, k = 3), get_membership(res, k = 3))
#>                 class entropy silhouette   p1   p2   p3
#> TCGA.B3.8121.01     2  0.0892      0.981 0.00 0.98 0.02
#> TCGA.GL.A9DD.01     1  0.3340      0.950 0.88 0.00 0.12
#> TCGA.IA.A83S.01     1  0.2537      0.954 0.92 0.00 0.08
#> TCGA.KV.A6GD.01     1  0.2959      0.955 0.90 0.00 0.10
#> TCGA.BQ.5889.01     3  0.2537      0.993 0.08 0.00 0.92
#> TCGA.B1.A47O.01     2  0.0892      0.981 0.00 0.98 0.02
#> TCGA.B9.A5W8.01     1  0.0892      0.890 0.98 0.02 0.00
#> TCGA.HE.7128.01     1  0.2959      0.955 0.90 0.00 0.10
#> TCGA.BQ.7059.01     1  0.3340      0.950 0.88 0.00 0.12
#> TCGA.BQ.7049.01     3  0.2537      0.993 0.08 0.00 0.92
#> TCGA.HE.A5NF.01     1  0.2959      0.955 0.90 0.00 0.10
#> TCGA.HE.A5NK.01     1  0.2537      0.954 0.92 0.00 0.08
#> TCGA.AL.7173.01     2  0.2537      0.962 0.00 0.92 0.08
#> TCGA.DW.7838.01     3  0.2066      0.973 0.06 0.00 0.94
#> TCGA.V9.A7HT.01     1  0.0892      0.890 0.98 0.02 0.00
#> TCGA.DZ.6132.01     3  0.2537      0.993 0.08 0.00 0.92
#> TCGA.2K.A9WE.01     3  0.2537      0.993 0.08 0.00 0.92

show/hide code output

cbind(get_classes(res, k = 4), get_membership(res, k = 4))
#>                 class entropy silhouette   p1   p2   p3   p4
#> TCGA.B3.8121.01     2  0.0000      0.951 0.00 1.00 0.00 0.00
#> TCGA.GL.A9DD.01     1  0.4624      0.509 0.66 0.00 0.00 0.34
#> TCGA.IA.A83S.01     1  0.0000      0.741 1.00 0.00 0.00 0.00
#> TCGA.KV.A6GD.01     1  0.0000      0.741 1.00 0.00 0.00 0.00
#> TCGA.BQ.5889.01     3  0.0000      0.995 0.00 0.00 1.00 0.00
#> TCGA.B1.A47O.01     2  0.0000      0.951 0.00 1.00 0.00 0.00
#> TCGA.B9.A5W8.01     4  0.4994      1.000 0.48 0.00 0.00 0.52
#> TCGA.HE.7128.01     1  0.0000      0.741 1.00 0.00 0.00 0.00
#> TCGA.BQ.7059.01     1  0.4624      0.509 0.66 0.00 0.00 0.34
#> TCGA.BQ.7049.01     3  0.0000      0.995 0.00 0.00 1.00 0.00
#> TCGA.HE.A5NF.01     1  0.0000      0.741 1.00 0.00 0.00 0.00
#> TCGA.HE.A5NK.01     1  0.2345      0.552 0.90 0.00 0.00 0.10
#> TCGA.AL.7173.01     2  0.2921      0.899 0.00 0.86 0.00 0.14
#> TCGA.DW.7838.01     3  0.0707      0.981 0.00 0.00 0.98 0.02
#> TCGA.V9.A7HT.01     4  0.4994      1.000 0.48 0.00 0.00 0.52
#> TCGA.DZ.6132.01     3  0.0000      0.995 0.00 0.00 1.00 0.00
#> TCGA.2K.A9WE.01     3  0.0000      0.995 0.00 0.00 1.00 0.00

show/hide code output

cbind(get_classes(res, k = 5), get_membership(res, k = 5))
#>                 class entropy silhouette   p1   p2   p3   p4   p5
#> TCGA.B3.8121.01     2  0.0609      0.908 0.00 0.98 0.00 0.02 0.00
#> TCGA.GL.A9DD.01     5  0.5092      0.894 0.26 0.00 0.02 0.04 0.68
#> TCGA.IA.A83S.01     1  0.0000      0.909 1.00 0.00 0.00 0.00 0.00
#> TCGA.KV.A6GD.01     1  0.0609      0.918 0.98 0.00 0.02 0.00 0.00
#> TCGA.BQ.5889.01     3  0.0000      0.972 0.00 0.00 1.00 0.00 0.00
#> TCGA.B1.A47O.01     2  0.0000      0.908 0.00 1.00 0.00 0.00 0.00
#> TCGA.B9.A5W8.01     4  0.2516      0.971 0.14 0.00 0.00 0.86 0.00
#> TCGA.HE.7128.01     1  0.1216      0.905 0.96 0.00 0.02 0.02 0.00
#> TCGA.BQ.7059.01     5  0.4096      0.898 0.20 0.00 0.04 0.00 0.76
#> TCGA.BQ.7049.01     3  0.1648      0.950 0.00 0.00 0.94 0.02 0.04
#> TCGA.HE.A5NF.01     1  0.0609      0.918 0.98 0.00 0.02 0.00 0.00
#> TCGA.HE.A5NK.01     1  0.3697      0.740 0.82 0.00 0.00 0.08 0.10
#> TCGA.AL.7173.01     2  0.4170      0.822 0.00 0.78 0.00 0.08 0.14
#> TCGA.DW.7838.01     3  0.1043      0.949 0.00 0.00 0.96 0.00 0.04
#> TCGA.V9.A7HT.01     4  0.2732      0.971 0.16 0.00 0.00 0.84 0.00
#> TCGA.DZ.6132.01     3  0.0609      0.969 0.00 0.00 0.98 0.00 0.02
#> TCGA.2K.A9WE.01     3  0.0000      0.972 0.00 0.00 1.00 0.00 0.00

show/hide code output

cbind(get_classes(res, k = 6), get_membership(res, k = 6))
#>                 class entropy silhouette   p1   p2   p3   p4   p5   p6
#> TCGA.B3.8121.01     2  0.0000      0.853 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.GL.A9DD.01     5  0.2793      0.746 0.20 0.00 0.00 0.00 0.80 0.00
#> TCGA.IA.A83S.01     1  0.0000      0.893 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.KV.A6GD.01     1  0.0000      0.893 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5889.01     3  0.0000      0.922 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.B1.A47O.01     2  0.0000      0.853 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.B9.A5W8.01     4  0.0937      1.000 0.04 0.00 0.00 0.96 0.00 0.00
#> TCGA.HE.7128.01     1  0.0000      0.893 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7059.01     5  0.4926      0.743 0.12 0.00 0.00 0.00 0.64 0.24
#> TCGA.BQ.7049.01     3  0.3787      0.785 0.00 0.00 0.78 0.00 0.12 0.10
#> TCGA.HE.A5NF.01     1  0.0000      0.893 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.HE.A5NK.01     1  0.4844      0.502 0.62 0.00 0.00 0.04 0.02 0.32
#> TCGA.AL.7173.01     2  0.3578      0.683 0.00 0.66 0.00 0.00 0.00 0.34
#> TCGA.DW.7838.01     3  0.2403      0.867 0.00 0.00 0.90 0.04 0.04 0.02
#> TCGA.V9.A7HT.01     4  0.0937      1.000 0.04 0.00 0.00 0.96 0.00 0.00
#> TCGA.DZ.6132.01     3  0.0547      0.919 0.00 0.00 0.98 0.00 0.00 0.02
#> TCGA.2K.A9WE.01     3  0.0000      0.922 0.00 0.00 1.00 0.00 0.00 0.00

show/hide code output

cbind(get_classes(res, k = 7), get_membership(res, k = 7))
#>                 class entropy silhouette   p1   p2   p3   p4   p5   p6   p7
#> TCGA.B3.8121.01     2  0.1363      0.803 0.00 0.94 0.04 0.00 0.02 0.00 0.00
#> TCGA.GL.A9DD.01     5  0.4426      0.642 0.06 0.00 0.38 0.00 0.56 0.00 0.00
#> TCGA.IA.A83S.01     1  0.0000      1.000 1.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.KV.A6GD.01     1  0.0000      1.000 1.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5889.01     6  0.0000      0.914 0.00 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.B1.A47O.01     2  0.0000      0.803 0.00 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.B9.A5W8.01     4  0.0000      0.801 0.00 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.HE.7128.01     1  0.0000      1.000 1.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7059.01     5  0.0504      0.649 0.02 0.00 0.00 0.00 0.98 0.00 0.00
#> TCGA.BQ.7049.01     6  0.3835      0.742 0.00 0.00 0.16 0.00 0.00 0.74 0.10
#> TCGA.HE.A5NF.01     1  0.0000      1.000 1.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.HE.A5NK.01     7  0.3459      0.000 0.40 0.00 0.00 0.00 0.00 0.00 0.60
#> TCGA.AL.7173.01     2  0.4789      0.623 0.00 0.60 0.14 0.00 0.00 0.00 0.26
#> TCGA.DW.7838.01     6  0.1006      0.901 0.00 0.00 0.00 0.00 0.02 0.96 0.02
#> TCGA.V9.A7HT.01     4  0.3186      0.801 0.00 0.00 0.22 0.76 0.00 0.00 0.02
#> TCGA.DZ.6132.01     6  0.1433      0.890 0.00 0.00 0.08 0.00 0.00 0.92 0.00
#> TCGA.2K.A9WE.01     6  0.0000      0.914 0.00 0.00 0.00 0.00 0.00 1.00 0.00

show/hide code output

cbind(get_classes(res, k = 8), get_membership(res, k = 8))
#>                 class entropy silhouette   p1   p2   p3   p4   p5   p6   p7   p8
#> TCGA.B3.8121.01     2  0.3329      0.733 0.00 0.52 0.48 0.00 0.00 0.00 0.00 0.00
#> TCGA.GL.A9DD.01     5  0.2981      0.000 0.02 0.00 0.00 0.00 0.76 0.00 0.00 0.22
#> TCGA.IA.A83S.01     1  0.0000      0.988 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.KV.A6GD.01     1  0.0000      0.988 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5889.01     6  0.0000      0.777 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.B1.A47O.01     2  0.4995      0.733 0.00 0.52 0.36 0.00 0.08 0.00 0.04 0.00
#> TCGA.B9.A5W8.01     4  0.0000      0.828 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.HE.7128.01     1  0.0471      0.963 0.98 0.00 0.00 0.00 0.02 0.00 0.00 0.00
#> TCGA.BQ.7059.01     8  0.0000      0.000 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00
#> TCGA.BQ.7049.01     6  0.5425      0.273 0.00 0.00 0.34 0.00 0.02 0.44 0.20 0.00
#> TCGA.HE.A5NF.01     1  0.0000      0.988 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.HE.A5NK.01     7  0.3658      0.000 0.40 0.00 0.00 0.02 0.00 0.00 0.58 0.00
#> TCGA.AL.7173.01     2  0.0000      0.523 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.DW.7838.01     6  0.3817      0.636 0.00 0.00 0.12 0.00 0.00 0.76 0.08 0.04
#> TCGA.V9.A7HT.01     4  0.3454      0.828 0.00 0.00 0.06 0.80 0.08 0.00 0.06 0.00
#> TCGA.DZ.6132.01     6  0.1887      0.752 0.00 0.00 0.00 0.00 0.06 0.90 0.04 0.00
#> TCGA.2K.A9WE.01     6  0.0000      0.777 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00

Heatmaps for the consensus matrix. It visualizes the probability of two samples to be in a same group.

consensus_heatmap(res, k = 2)

plot of chunk tab-node-0311-consensus-heatmap-1

consensus_heatmap(res, k = 3)

plot of chunk tab-node-0311-consensus-heatmap-2

consensus_heatmap(res, k = 4)

plot of chunk tab-node-0311-consensus-heatmap-3

consensus_heatmap(res, k = 5)

plot of chunk tab-node-0311-consensus-heatmap-4

consensus_heatmap(res, k = 6)

plot of chunk tab-node-0311-consensus-heatmap-5

consensus_heatmap(res, k = 7)

plot of chunk tab-node-0311-consensus-heatmap-6

consensus_heatmap(res, k = 8)

plot of chunk tab-node-0311-consensus-heatmap-7

Heatmaps for the membership of samples in all partitions to see how consistent they are:

membership_heatmap(res, k = 2)

plot of chunk tab-node-0311-membership-heatmap-1

membership_heatmap(res, k = 3)

plot of chunk tab-node-0311-membership-heatmap-2

membership_heatmap(res, k = 4)

plot of chunk tab-node-0311-membership-heatmap-3

membership_heatmap(res, k = 5)

plot of chunk tab-node-0311-membership-heatmap-4

membership_heatmap(res, k = 6)

plot of chunk tab-node-0311-membership-heatmap-5

membership_heatmap(res, k = 7)

plot of chunk tab-node-0311-membership-heatmap-6

membership_heatmap(res, k = 8)

plot of chunk tab-node-0311-membership-heatmap-7

As soon as the classes for columns are determined, the signatures that are significantly different between subgroups can be looked for. Following are the heatmaps for signatures.

get_signatures(res, k = 2)

plot of chunk tab-node-0311-get-signatures-1

get_signatures(res, k = 3)

plot of chunk tab-node-0311-get-signatures-2

get_signatures(res, k = 4)

plot of chunk tab-node-0311-get-signatures-3

get_signatures(res, k = 5)

plot of chunk tab-node-0311-get-signatures-4

get_signatures(res, k = 6)

plot of chunk tab-node-0311-get-signatures-5

get_signatures(res, k = 7)

plot of chunk tab-node-0311-get-signatures-6

get_signatures(res, k = 8)

plot of chunk tab-node-0311-get-signatures-7

Compare the overlap of signatures from different k:

compare_signatures(res)

plot of chunk node-0311-signature_compare

get_signature() returns a data frame invisibly. To get the list of signatures, the function call should be assigned to a variable explicitly. In following code, if plot argument is set to FALSE, no heatmap is plotted while only the differential analysis is performed.

# code only for demonstration
tb = get_signature(res, k = ..., plot = FALSE)

An example of the output of tb is:

#>   which_row         fdr    mean_1    mean_2 scaled_mean_1 scaled_mean_2 km
#> 1        38 0.042760348  8.373488  9.131774    -0.5533452     0.5164555  1
#> 2        40 0.018707592  7.106213  8.469186    -0.6173731     0.5762149  1
#> 3        55 0.019134737 10.221463 11.207825    -0.6159697     0.5749050  1
#> 4        59 0.006059896  5.921854  7.869574    -0.6899429     0.6439467  1
#> 5        60 0.018055526  8.928898 10.211722    -0.6204761     0.5791110  1
#> 6        98 0.009384629 15.714769 14.887706     0.6635654    -0.6193277  2
...

The columns in tb are:

  1. which_row: row indices corresponding to the input matrix.
  2. fdr: FDR for the differential test.
  3. mean_x: The mean value in group x.
  4. scaled_mean_x: The mean value in group x after rows are scaled.
  5. km: Row groups if k-means clustering is applied to rows (which is done by automatically selecting number of clusters).

If there are too many signatures, top_signatures = ... can be set to only show the signatures with the highest FDRs:

# code only for demonstration
# e.g. to show the top 500 most significant rows
tb = get_signature(res, k = ..., top_signatures = 500)

If the signatures are defined as these which are uniquely high in current group, diff_method argument can be set to "uniquely_high_in_one_group":

# code only for demonstration
tb = get_signature(res, k = ..., diff_method = "uniquely_high_in_one_group")

UMAP plot which shows how samples are separated.

dimension_reduction(res, k = 2, method = "UMAP")

plot of chunk tab-node-0311-dimension-reduction-1

dimension_reduction(res, k = 3, method = "UMAP")

plot of chunk tab-node-0311-dimension-reduction-2

dimension_reduction(res, k = 4, method = "UMAP")

plot of chunk tab-node-0311-dimension-reduction-3

dimension_reduction(res, k = 5, method = "UMAP")

plot of chunk tab-node-0311-dimension-reduction-4

dimension_reduction(res, k = 6, method = "UMAP")

plot of chunk tab-node-0311-dimension-reduction-5

dimension_reduction(res, k = 7, method = "UMAP")

plot of chunk tab-node-0311-dimension-reduction-6

dimension_reduction(res, k = 8, method = "UMAP")

plot of chunk tab-node-0311-dimension-reduction-7

Following heatmap shows how subgroups are split when increasing k:

collect_classes(res)

plot of chunk node-0311-collect-classes

If matrix rows can be associated to genes, consider to use functional_enrichment(res, ...) to perform function enrichment for the signature genes. See this vignette for more detailed explanations.


Node032

Parent node: Node03. Child nodes: Node0121-leaf , Node0122-leaf , Node0123-leaf , Node0124-leaf , Node0131 , Node0132-leaf , Node0221-leaf , Node0222-leaf , Node0223-leaf , Node0311 , Node0312-leaf , Node0313-leaf , Node0321-leaf , Node0322-leaf , Node0431-leaf , Node0432-leaf , Node0433-leaf , Node0511-leaf , Node0512-leaf , Node0513-leaf , Node0521-leaf , Node0522-leaf , Node0523-leaf , Node0531-leaf , Node0532-leaf , Node0533-leaf .

The object with results only for a single top-value method and a single partitioning method can be extracted as:

res = res_rh["032"]

A summary of res and all the functions that can be applied to it:

res
#> A 'ConsensusPartition' object with k = 2, 3, 4, 5, 6, 7, 8.
#>   On a matrix with 30000 rows and 22 columns.
#>   Top rows (1000) are extracted by 'SD' method.
#>   Subgroups are detected by 'kmeans' method.
#>   Performed in total 350 partitions by row resampling.
#>   Best k for subgroups seems to be 2.
#> 
#> Following methods can be applied to this 'ConsensusPartition' object:
#>  [1] "cola_report"             "collect_classes"         "collect_plots"          
#>  [4] "collect_stats"           "colnames"                "compare_partitions"     
#>  [7] "compare_signatures"      "consensus_heatmap"       "dimension_reduction"    
#> [10] "functional_enrichment"   "get_anno_col"            "get_anno"               
#> [13] "get_classes"             "get_consensus"           "get_matrix"             
#> [16] "get_membership"          "get_param"               "get_signatures"         
#> [19] "get_stats"               "is_best_k"               "is_stable_k"            
#> [22] "membership_heatmap"      "ncol"                    "nrow"                   
#> [25] "plot_ecdf"               "predict_classes"         "rownames"               
#> [28] "select_partition_number" "show"                    "suggest_best_k"         
#> [31] "test_to_known_factors"   "top_rows_heatmap"

collect_plots() function collects all the plots made from res for all k (number of subgroups) into one single page to provide an easy and fast comparison between different k.

collect_plots(res)

plot of chunk node-032-collect-plots

The plots are:

All the plots in panels can be made by individual functions and they are plotted later in this section.

select_partition_number() produces several plots showing different statistics for choosing “optimized” k. There are following statistics:

The detailed explanations of these statistics can be found in the cola vignette.

Generally speaking, higher 1-PAC score, higher mean silhouette score or higher concordance corresponds to better partition. Rand index and Jaccard index measure how similar the current partition is compared to partition with k-1. If they are too similar, we won't accept k is better than k-1.

select_partition_number(res)

plot of chunk node-032-select-partition-number

The numeric values for all these statistics can be obtained by get_stats().

get_stats(res)
#>   k 1-PAC mean_silhouette concordance area_increased  Rand Jaccard
#> 2 2 1.000           0.976       0.980         0.5128 0.481   0.481
#> 3 3 0.737           0.807       0.905         0.1936 0.952   0.901
#> 4 4 0.614           0.667       0.811         0.1316 0.931   0.840
#> 5 5 0.610           0.739       0.825         0.0987 0.870   0.643
#> 6 6 0.600           0.586       0.717         0.0578 0.948   0.778
#> 7 7 0.753           0.765       0.837         0.0573 0.900   0.521
#> 8 8 0.771           0.645       0.829         0.0211 0.983   0.871

suggest_best_k() suggests the best \(k\) based on these statistics. The rules are as follows:

suggest_best_k(res)
#> [1] 2

Following is the table of the partitions (You need to click the show/hide code output link to see it). The membership matrix (columns with name p*) is inferred by clue::cl_consensus() function with the SE method. Basically the value in the membership matrix represents the probability to belong to a certain group. The finall subgroup label for an item is determined with the group with highest probability it belongs to.

In get_classes() function, the entropy is calculated from the membership matrix and the silhouette score is calculated from the consensus matrix.

show/hide code output

cbind(get_classes(res, k = 2), get_membership(res, k = 2))
#>                 class entropy silhouette   p1   p2
#> TCGA.PJ.A8JU.01     2   0.141      1.000 0.02 0.98
#> TCGA.F9.A7Q0.01     1   0.795      0.707 0.76 0.24
#> TCGA.A4.A7UZ.01     1   0.000      0.979 1.00 0.00
#> TCGA.BQ.5880.01     1   0.000      0.979 1.00 0.00
#> TCGA.B1.A655.01     2   0.141      1.000 0.02 0.98
#> TCGA.Y8.A896.01     1   0.000      0.979 1.00 0.00
#> TCGA.BQ.5888.01     2   0.141      1.000 0.02 0.98
#> TCGA.IA.A83V.01     1   0.000      0.979 1.00 0.00
#> TCGA.4A.A93Y.01     2   0.141      1.000 0.02 0.98
#> TCGA.A4.8518.01     1   0.000      0.979 1.00 0.00
#> TCGA.MH.A855.01     2   0.141      1.000 0.02 0.98
#> TCGA.2Z.A9JO.01     2   0.141      1.000 0.02 0.98
#> TCGA.2Z.A9JK.01     1   0.000      0.979 1.00 0.00
#> TCGA.BQ.5892.01     1   0.000      0.979 1.00 0.00
#> TCGA.BQ.5884.01     2   0.141      1.000 0.02 0.98
#> TCGA.5P.A9KC.01     2   0.141      1.000 0.02 0.98
#> TCGA.WN.AB4C.01     2   0.141      1.000 0.02 0.98
#> TCGA.G7.6796.01     1   0.000      0.979 1.00 0.00
#> TCGA.2Z.A9J2.01     2   0.141      1.000 0.02 0.98
#> TCGA.UZ.A9PM.01     1   0.000      0.979 1.00 0.00
#> TCGA.UZ.A9PN.01     1   0.000      0.979 1.00 0.00
#> TCGA.A4.7585.01     1   0.000      0.979 1.00 0.00

show/hide code output

cbind(get_classes(res, k = 3), get_membership(res, k = 3))
#>                 class entropy silhouette   p1   p2   p3
#> TCGA.PJ.A8JU.01     2  0.4555      0.729 0.00 0.80 0.20
#> TCGA.F9.A7Q0.01     3  0.5416      0.000 0.08 0.10 0.82
#> TCGA.A4.A7UZ.01     1  0.0000      0.922 1.00 0.00 0.00
#> TCGA.BQ.5880.01     1  0.2066      0.895 0.94 0.00 0.06
#> TCGA.B1.A655.01     2  0.1529      0.846 0.00 0.96 0.04
#> TCGA.Y8.A896.01     1  0.3340      0.899 0.88 0.00 0.12
#> TCGA.BQ.5888.01     2  0.5835      0.523 0.00 0.66 0.34
#> TCGA.IA.A83V.01     1  0.3340      0.899 0.88 0.00 0.12
#> TCGA.4A.A93Y.01     2  0.4291      0.762 0.00 0.82 0.18
#> TCGA.A4.8518.01     1  0.1529      0.906 0.96 0.00 0.04
#> TCGA.MH.A855.01     2  0.1529      0.837 0.00 0.96 0.04
#> TCGA.2Z.A9JO.01     2  0.1529      0.837 0.00 0.96 0.04
#> TCGA.2Z.A9JK.01     1  0.1529      0.922 0.96 0.00 0.04
#> TCGA.BQ.5892.01     1  0.0892      0.923 0.98 0.00 0.02
#> TCGA.BQ.5884.01     2  0.1529      0.846 0.00 0.96 0.04
#> TCGA.5P.A9KC.01     2  0.3686      0.779 0.00 0.86 0.14
#> TCGA.WN.AB4C.01     2  0.1529      0.846 0.00 0.96 0.04
#> TCGA.G7.6796.01     1  0.3340      0.899 0.88 0.00 0.12
#> TCGA.2Z.A9J2.01     2  0.4002      0.766 0.00 0.84 0.16
#> TCGA.UZ.A9PM.01     1  0.0000      0.922 1.00 0.00 0.00
#> TCGA.UZ.A9PN.01     1  0.3340      0.899 0.88 0.00 0.12
#> TCGA.A4.7585.01     1  0.2066      0.895 0.94 0.00 0.06

show/hide code output

cbind(get_classes(res, k = 4), get_membership(res, k = 4))
#>                 class entropy silhouette   p1   p2   p3   p4
#> TCGA.PJ.A8JU.01     4  0.3975      0.924 0.00 0.24 0.00 0.76
#> TCGA.F9.A7Q0.01     3  0.7528      0.000 0.14 0.04 0.60 0.22
#> TCGA.A4.A7UZ.01     1  0.4907      0.672 0.58 0.00 0.42 0.00
#> TCGA.BQ.5880.01     1  0.7040      0.580 0.46 0.00 0.42 0.12
#> TCGA.B1.A655.01     2  0.3610      0.724 0.00 0.80 0.00 0.20
#> TCGA.Y8.A896.01     1  0.0707      0.685 0.98 0.00 0.02 0.00
#> TCGA.BQ.5888.01     2  0.1211      0.719 0.00 0.96 0.00 0.04
#> TCGA.IA.A83V.01     1  0.0707      0.685 0.98 0.00 0.02 0.00
#> TCGA.4A.A93Y.01     2  0.0000      0.756 0.00 1.00 0.00 0.00
#> TCGA.A4.8518.01     1  0.4907      0.672 0.58 0.00 0.42 0.00
#> TCGA.MH.A855.01     2  0.4522      0.513 0.00 0.68 0.00 0.32
#> TCGA.2Z.A9JO.01     2  0.4522      0.513 0.00 0.68 0.00 0.32
#> TCGA.2Z.A9JK.01     1  0.1913      0.706 0.94 0.00 0.04 0.02
#> TCGA.BQ.5892.01     1  0.3037      0.712 0.88 0.00 0.10 0.02
#> TCGA.BQ.5884.01     2  0.1637      0.765 0.00 0.94 0.00 0.06
#> TCGA.5P.A9KC.01     2  0.0000      0.756 0.00 1.00 0.00 0.00
#> TCGA.WN.AB4C.01     2  0.3610      0.724 0.00 0.80 0.00 0.20
#> TCGA.G7.6796.01     1  0.0707      0.685 0.98 0.00 0.02 0.00
#> TCGA.2Z.A9J2.01     4  0.4277      0.922 0.00 0.28 0.00 0.72
#> TCGA.UZ.A9PM.01     1  0.4855      0.679 0.60 0.00 0.40 0.00
#> TCGA.UZ.A9PN.01     1  0.0000      0.695 1.00 0.00 0.00 0.00
#> TCGA.A4.7585.01     1  0.7040      0.580 0.46 0.00 0.42 0.12

show/hide code output

cbind(get_classes(res, k = 5), get_membership(res, k = 5))
#>                 class entropy silhouette   p1   p2   p3   p4   p5
#> TCGA.PJ.A8JU.01     4  0.4254      0.877 0.00 0.04 0.00 0.74 0.22
#> TCGA.F9.A7Q0.01     3  0.1043      0.000 0.04 0.00 0.96 0.00 0.00
#> TCGA.A4.A7UZ.01     5  0.4182      0.816 0.40 0.00 0.00 0.00 0.60
#> TCGA.BQ.5880.01     5  0.3690      0.786 0.20 0.00 0.00 0.02 0.78
#> TCGA.B1.A655.01     2  0.3731      0.758 0.00 0.80 0.00 0.16 0.04
#> TCGA.Y8.A896.01     1  0.1410      0.817 0.94 0.00 0.06 0.00 0.00
#> TCGA.BQ.5888.01     2  0.0609      0.791 0.00 0.98 0.00 0.00 0.02
#> TCGA.IA.A83V.01     1  0.2012      0.800 0.92 0.00 0.06 0.00 0.02
#> TCGA.4A.A93Y.01     2  0.0609      0.791 0.00 0.98 0.00 0.00 0.02
#> TCGA.A4.8518.01     5  0.4060      0.827 0.36 0.00 0.00 0.00 0.64
#> TCGA.MH.A855.01     2  0.5156      0.558 0.00 0.62 0.00 0.32 0.06
#> TCGA.2Z.A9JO.01     2  0.5156      0.558 0.00 0.62 0.00 0.32 0.06
#> TCGA.2Z.A9JK.01     1  0.4312      0.747 0.78 0.00 0.04 0.16 0.02
#> TCGA.BQ.5892.01     1  0.5055      0.714 0.74 0.00 0.04 0.16 0.06
#> TCGA.BQ.5884.01     2  0.0609      0.797 0.00 0.98 0.00 0.02 0.00
#> TCGA.5P.A9KC.01     2  0.2012      0.757 0.00 0.92 0.00 0.06 0.02
#> TCGA.WN.AB4C.01     2  0.3731      0.758 0.00 0.80 0.00 0.16 0.04
#> TCGA.G7.6796.01     1  0.1410      0.817 0.94 0.00 0.06 0.00 0.00
#> TCGA.2Z.A9J2.01     4  0.3641      0.879 0.00 0.06 0.00 0.82 0.12
#> TCGA.UZ.A9PM.01     5  0.4182      0.816 0.40 0.00 0.00 0.00 0.60
#> TCGA.UZ.A9PN.01     1  0.1648      0.812 0.94 0.00 0.02 0.04 0.00
#> TCGA.A4.7585.01     5  0.3690      0.786 0.20 0.00 0.00 0.02 0.78

show/hide code output

cbind(get_classes(res, k = 6), get_membership(res, k = 6))
#>                 class entropy silhouette   p1   p2 p3   p4   p5   p6
#> TCGA.PJ.A8JU.01     4   0.263      0.646 0.00 0.00  0 0.82 0.00 0.18
#> TCGA.F9.A7Q0.01     3   0.000      0.000 0.00 0.00  1 0.00 0.00 0.00
#> TCGA.A4.A7UZ.01     5   0.181      0.756 0.10 0.00  0 0.00 0.90 0.00
#> TCGA.BQ.5880.01     5   0.332      0.763 0.02 0.00  0 0.14 0.82 0.02
#> TCGA.B1.A655.01     2   0.535      0.110 0.06 0.50  0 0.02 0.00 0.42
#> TCGA.Y8.A896.01     1   0.331      0.712 0.72 0.00  0 0.00 0.28 0.00
#> TCGA.BQ.5888.01     2   0.000      0.524 0.00 1.00  0 0.00 0.00 0.00
#> TCGA.IA.A83V.01     1   0.350      0.674 0.68 0.00  0 0.00 0.32 0.00
#> TCGA.4A.A93Y.01     2   0.000      0.524 0.00 1.00  0 0.00 0.00 0.00
#> TCGA.A4.8518.01     5   0.000      0.794 0.00 0.00  0 0.00 1.00 0.00
#> TCGA.MH.A855.01     6   0.442      1.000 0.00 0.34  0 0.04 0.00 0.62
#> TCGA.2Z.A9JO.01     6   0.442      1.000 0.00 0.34  0 0.04 0.00 0.62
#> TCGA.2Z.A9JK.01     1   0.651      0.538 0.56 0.00  0 0.16 0.12 0.16
#> TCGA.BQ.5892.01     1   0.693      0.486 0.50 0.00  0 0.16 0.16 0.18
#> TCGA.BQ.5884.01     2   0.446      0.280 0.06 0.66  0 0.00 0.00 0.28
#> TCGA.5P.A9KC.01     2   0.181      0.442 0.00 0.90  0 0.00 0.00 0.10
#> TCGA.WN.AB4C.01     2   0.535      0.110 0.06 0.50  0 0.02 0.00 0.42
#> TCGA.G7.6796.01     1   0.331      0.712 0.72 0.00  0 0.00 0.28 0.00
#> TCGA.2Z.A9J2.01     4   0.529      0.649 0.06 0.02  0 0.54 0.00 0.38
#> TCGA.UZ.A9PM.01     5   0.226      0.710 0.14 0.00  0 0.00 0.86 0.00
#> TCGA.UZ.A9PN.01     1   0.398      0.705 0.74 0.00  0 0.02 0.22 0.02
#> TCGA.A4.7585.01     5   0.332      0.763 0.02 0.00  0 0.14 0.82 0.02

show/hide code output

cbind(get_classes(res, k = 7), get_membership(res, k = 7))
#>                 class entropy silhouette   p1   p2 p3   p4   p5   p6   p7
#> TCGA.PJ.A8JU.01     4  0.1671      0.821 0.00 0.00  0 0.90 0.00 0.10 0.00
#> TCGA.F9.A7Q0.01     3  0.0000      0.000 0.00 0.00  1 0.00 0.00 0.00 0.00
#> TCGA.A4.A7UZ.01     5  0.5848      0.631 0.20 0.16  0 0.04 0.58 0.00 0.02
#> TCGA.BQ.5880.01     5  0.0863      0.817 0.04 0.00  0 0.00 0.96 0.00 0.00
#> TCGA.B1.A655.01     6  0.0000      0.658 0.00 0.00  0 0.00 0.00 1.00 0.00
#> TCGA.Y8.A896.01     1  0.0000      0.957 1.00 0.00  0 0.00 0.00 0.00 0.00
#> TCGA.BQ.5888.01     2  0.3139      0.955 0.00 0.70  0 0.00 0.00 0.30 0.00
#> TCGA.IA.A83V.01     1  0.1006      0.930 0.96 0.02  0 0.02 0.00 0.00 0.00
#> TCGA.4A.A93Y.01     2  0.3139      0.955 0.00 0.70  0 0.00 0.00 0.30 0.00
#> TCGA.A4.8518.01     5  0.1363      0.814 0.04 0.02  0 0.00 0.94 0.00 0.00
#> TCGA.MH.A855.01     6  0.6099      0.568 0.00 0.06  0 0.16 0.02 0.56 0.20
#> TCGA.2Z.A9JO.01     6  0.6099      0.568 0.00 0.06  0 0.16 0.02 0.56 0.20
#> TCGA.2Z.A9JK.01     7  0.2832      0.963 0.24 0.00  0 0.00 0.00 0.00 0.76
#> TCGA.BQ.5892.01     7  0.3186      0.963 0.22 0.00  0 0.00 0.02 0.00 0.76
#> TCGA.BQ.5884.01     6  0.2259      0.479 0.00 0.16  0 0.00 0.00 0.84 0.00
#> TCGA.5P.A9KC.01     2  0.2832      0.911 0.00 0.76  0 0.00 0.00 0.24 0.00
#> TCGA.WN.AB4C.01     6  0.0000      0.658 0.00 0.00  0 0.00 0.00 1.00 0.00
#> TCGA.G7.6796.01     1  0.0000      0.957 1.00 0.00  0 0.00 0.00 0.00 0.00
#> TCGA.2Z.A9J2.01     4  0.4110      0.821 0.00 0.10  0 0.78 0.02 0.06 0.04
#> TCGA.UZ.A9PM.01     5  0.3984      0.680 0.28 0.02  0 0.02 0.68 0.00 0.00
#> TCGA.UZ.A9PN.01     1  0.1363      0.909 0.94 0.00  0 0.02 0.00 0.00 0.04
#> TCGA.A4.7585.01     5  0.0863      0.817 0.04 0.00  0 0.00 0.96 0.00 0.00

show/hide code output

cbind(get_classes(res, k = 8), get_membership(res, k = 8))
#>                 class entropy silhouette   p1   p2 p3   p4   p5   p6   p7   p8
#> TCGA.PJ.A8JU.01     4   0.453      0.609 0.00 0.02  0 0.68 0.08 0.00 0.02 0.20
#> TCGA.F9.A7Q0.01     3   0.000      0.000 0.00 0.00  1 0.00 0.00 0.00 0.00 0.00
#> TCGA.A4.A7UZ.01     8   0.441      0.000 0.12 0.00  0 0.00 0.28 0.00 0.00 0.60
#> TCGA.BQ.5880.01     5   0.128      0.607 0.04 0.00  0 0.02 0.94 0.00 0.00 0.00
#> TCGA.B1.A655.01     6   0.000      0.707 0.00 0.00  0 0.00 0.00 1.00 0.00 0.00
#> TCGA.Y8.A896.01     1   0.000      0.911 1.00 0.00  0 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5888.01     2   0.241      0.929 0.00 0.80  0 0.00 0.00 0.20 0.00 0.00
#> TCGA.IA.A83V.01     1   0.109      0.867 0.94 0.00  0 0.00 0.00 0.00 0.00 0.06
#> TCGA.4A.A93Y.01     2   0.241      0.929 0.00 0.80  0 0.00 0.00 0.20 0.00 0.00
#> TCGA.A4.8518.01     5   0.319      0.517 0.06 0.04  0 0.00 0.82 0.00 0.00 0.08
#> TCGA.MH.A855.01     6   0.648      0.593 0.00 0.08  0 0.12 0.00 0.52 0.14 0.14
#> TCGA.2Z.A9JO.01     6   0.648      0.593 0.00 0.08  0 0.12 0.00 0.52 0.14 0.14
#> TCGA.2Z.A9JK.01     7   0.211      0.970 0.16 0.00  0 0.00 0.00 0.00 0.84 0.00
#> TCGA.BQ.5892.01     7   0.240      0.970 0.14 0.00  0 0.00 0.02 0.00 0.84 0.00
#> TCGA.BQ.5884.01     6   0.134      0.678 0.00 0.08  0 0.00 0.00 0.92 0.00 0.00
#> TCGA.5P.A9KC.01     2   0.349      0.857 0.00 0.78  0 0.00 0.04 0.14 0.00 0.04
#> TCGA.WN.AB4C.01     6   0.000      0.707 0.00 0.00  0 0.00 0.00 1.00 0.00 0.00
#> TCGA.G7.6796.01     1   0.000      0.911 1.00 0.00  0 0.00 0.00 0.00 0.00 0.00
#> TCGA.2Z.A9J2.01     4   0.156      0.611 0.00 0.06  0 0.92 0.00 0.02 0.00 0.00
#> TCGA.UZ.A9PM.01     5   0.533     -0.159 0.38 0.04  0 0.00 0.46 0.00 0.00 0.12
#> TCGA.UZ.A9PN.01     1   0.286      0.786 0.84 0.06  0 0.00 0.00 0.00 0.08 0.02
#> TCGA.A4.7585.01     5   0.128      0.607 0.04 0.00  0 0.02 0.94 0.00 0.00 0.00

Heatmaps for the consensus matrix. It visualizes the probability of two samples to be in a same group.

consensus_heatmap(res, k = 2)

plot of chunk tab-node-032-consensus-heatmap-1

consensus_heatmap(res, k = 3)

plot of chunk tab-node-032-consensus-heatmap-2

consensus_heatmap(res, k = 4)

plot of chunk tab-node-032-consensus-heatmap-3

consensus_heatmap(res, k = 5)

plot of chunk tab-node-032-consensus-heatmap-4

consensus_heatmap(res, k = 6)

plot of chunk tab-node-032-consensus-heatmap-5

consensus_heatmap(res, k = 7)

plot of chunk tab-node-032-consensus-heatmap-6

consensus_heatmap(res, k = 8)

plot of chunk tab-node-032-consensus-heatmap-7

Heatmaps for the membership of samples in all partitions to see how consistent they are:

membership_heatmap(res, k = 2)

plot of chunk tab-node-032-membership-heatmap-1

membership_heatmap(res, k = 3)

plot of chunk tab-node-032-membership-heatmap-2

membership_heatmap(res, k = 4)

plot of chunk tab-node-032-membership-heatmap-3

membership_heatmap(res, k = 5)

plot of chunk tab-node-032-membership-heatmap-4

membership_heatmap(res, k = 6)

plot of chunk tab-node-032-membership-heatmap-5

membership_heatmap(res, k = 7)

plot of chunk tab-node-032-membership-heatmap-6

membership_heatmap(res, k = 8)

plot of chunk tab-node-032-membership-heatmap-7

As soon as the classes for columns are determined, the signatures that are significantly different between subgroups can be looked for. Following are the heatmaps for signatures.

get_signatures(res, k = 2)

plot of chunk tab-node-032-get-signatures-1

get_signatures(res, k = 3)

plot of chunk tab-node-032-get-signatures-2

get_signatures(res, k = 4)

plot of chunk tab-node-032-get-signatures-3

get_signatures(res, k = 5)

plot of chunk tab-node-032-get-signatures-4

get_signatures(res, k = 6)

plot of chunk tab-node-032-get-signatures-5

get_signatures(res, k = 7)

plot of chunk tab-node-032-get-signatures-6

get_signatures(res, k = 8)

plot of chunk tab-node-032-get-signatures-7

Compare the overlap of signatures from different k:

compare_signatures(res)

plot of chunk node-032-signature_compare

get_signature() returns a data frame invisibly. To get the list of signatures, the function call should be assigned to a variable explicitly. In following code, if plot argument is set to FALSE, no heatmap is plotted while only the differential analysis is performed.

# code only for demonstration
tb = get_signature(res, k = ..., plot = FALSE)

An example of the output of tb is:

#>   which_row         fdr    mean_1    mean_2 scaled_mean_1 scaled_mean_2 km
#> 1        38 0.042760348  8.373488  9.131774    -0.5533452     0.5164555  1
#> 2        40 0.018707592  7.106213  8.469186    -0.6173731     0.5762149  1
#> 3        55 0.019134737 10.221463 11.207825    -0.6159697     0.5749050  1
#> 4        59 0.006059896  5.921854  7.869574    -0.6899429     0.6439467  1
#> 5        60 0.018055526  8.928898 10.211722    -0.6204761     0.5791110  1
#> 6        98 0.009384629 15.714769 14.887706     0.6635654    -0.6193277  2
...

The columns in tb are:

  1. which_row: row indices corresponding to the input matrix.
  2. fdr: FDR for the differential test.
  3. mean_x: The mean value in group x.
  4. scaled_mean_x: The mean value in group x after rows are scaled.
  5. km: Row groups if k-means clustering is applied to rows (which is done by automatically selecting number of clusters).

If there are too many signatures, top_signatures = ... can be set to only show the signatures with the highest FDRs:

# code only for demonstration
# e.g. to show the top 500 most significant rows
tb = get_signature(res, k = ..., top_signatures = 500)

If the signatures are defined as these which are uniquely high in current group, diff_method argument can be set to "uniquely_high_in_one_group":

# code only for demonstration
tb = get_signature(res, k = ..., diff_method = "uniquely_high_in_one_group")

UMAP plot which shows how samples are separated.

dimension_reduction(res, k = 2, method = "UMAP")

plot of chunk tab-node-032-dimension-reduction-1

dimension_reduction(res, k = 3, method = "UMAP")

plot of chunk tab-node-032-dimension-reduction-2

dimension_reduction(res, k = 4, method = "UMAP")

plot of chunk tab-node-032-dimension-reduction-3

dimension_reduction(res, k = 5, method = "UMAP")

plot of chunk tab-node-032-dimension-reduction-4

dimension_reduction(res, k = 6, method = "UMAP")

plot of chunk tab-node-032-dimension-reduction-5

dimension_reduction(res, k = 7, method = "UMAP")

plot of chunk tab-node-032-dimension-reduction-6

dimension_reduction(res, k = 8, method = "UMAP")

plot of chunk tab-node-032-dimension-reduction-7

Following heatmap shows how subgroups are split when increasing k:

collect_classes(res)

plot of chunk node-032-collect-classes

If matrix rows can be associated to genes, consider to use functional_enrichment(res, ...) to perform function enrichment for the signature genes. See this vignette for more detailed explanations.


Node04

Parent node: Node0. Child nodes: Node011-leaf , Node012 , Node013 , Node021-leaf , Node022 , Node023-leaf , Node031 , Node032 , Node033-leaf , Node041-leaf , Node042-leaf , Node043 , Node044-leaf , Node051 , Node052 , Node053 , Node054-leaf .

The object with results only for a single top-value method and a single partitioning method can be extracted as:

res = res_rh["04"]

A summary of res and all the functions that can be applied to it:

res
#> A 'ConsensusPartition' object with k = 2, 3, 4, 5, 6, 7, 8.
#>   On a matrix with 30000 rows and 44 columns.
#>   Top rows (1000) are extracted by 'SD' method.
#>   Subgroups are detected by 'kmeans' method.
#>   Performed in total 350 partitions by row resampling.
#>   Best k for subgroups seems to be 6.
#> 
#> Following methods can be applied to this 'ConsensusPartition' object:
#>  [1] "cola_report"             "collect_classes"         "collect_plots"          
#>  [4] "collect_stats"           "colnames"                "compare_partitions"     
#>  [7] "compare_signatures"      "consensus_heatmap"       "dimension_reduction"    
#> [10] "functional_enrichment"   "get_anno_col"            "get_anno"               
#> [13] "get_classes"             "get_consensus"           "get_matrix"             
#> [16] "get_membership"          "get_param"               "get_signatures"         
#> [19] "get_stats"               "is_best_k"               "is_stable_k"            
#> [22] "membership_heatmap"      "ncol"                    "nrow"                   
#> [25] "plot_ecdf"               "predict_classes"         "rownames"               
#> [28] "select_partition_number" "show"                    "suggest_best_k"         
#> [31] "test_to_known_factors"   "top_rows_heatmap"

collect_plots() function collects all the plots made from res for all k (number of subgroups) into one single page to provide an easy and fast comparison between different k.

collect_plots(res)

plot of chunk node-04-collect-plots

The plots are:

All the plots in panels can be made by individual functions and they are plotted later in this section.

select_partition_number() produces several plots showing different statistics for choosing “optimized” k. There are following statistics:

The detailed explanations of these statistics can be found in the cola vignette.

Generally speaking, higher 1-PAC score, higher mean silhouette score or higher concordance corresponds to better partition. Rand index and Jaccard index measure how similar the current partition is compared to partition with k-1. If they are too similar, we won't accept k is better than k-1.

select_partition_number(res)

plot of chunk node-04-select-partition-number

The numeric values for all these statistics can be obtained by get_stats().

get_stats(res)
#>   k 1-PAC mean_silhouette concordance area_increased  Rand Jaccard
#> 2 2 1.000           0.976       0.976         0.4466 0.556   0.556
#> 3 3 0.598           0.685       0.801         0.4754 0.738   0.556
#> 4 4 1.000           0.980       0.973         0.1552 0.872   0.646
#> 5 5 0.894           0.913       0.932         0.0627 0.916   0.667
#> 6 6 0.900           0.842       0.882         0.0329 0.982   0.907
#> 7 7 0.878           0.789       0.862         0.0177 0.962   0.805
#> 8 8 0.867           0.780       0.836         0.0212 0.964   0.796

suggest_best_k() suggests the best \(k\) based on these statistics. The rules are as follows:

suggest_best_k(res)
#> [1] 6
#> attr(,"optional")
#> [1] 2 4

There is also optional best \(k\) = 2 4 that is worth to check.

Following is the table of the partitions (You need to click the show/hide code output link to see it). The membership matrix (columns with name p*) is inferred by clue::cl_consensus() function with the SE method. Basically the value in the membership matrix represents the probability to belong to a certain group. The finall subgroup label for an item is determined with the group with highest probability it belongs to.

In get_classes() function, the entropy is calculated from the membership matrix and the silhouette score is calculated from the consensus matrix.

show/hide code output

cbind(get_classes(res, k = 2), get_membership(res, k = 2))
#>                 class entropy silhouette   p1   p2
#> TCGA.SX.A7SM.01     2   0.141      0.978 0.02 0.98
#> TCGA.4A.A93X.01     2   0.141      0.978 0.02 0.98
#> TCGA.BQ.5894.01     1   0.141      0.993 0.98 0.02
#> TCGA.BQ.5882.01     2   0.242      0.974 0.04 0.96
#> TCGA.BQ.5893.01     1   0.141      0.993 0.98 0.02
#> TCGA.IZ.8195.01     2   0.000      0.975 0.00 1.00
#> TCGA.G7.A8LD.01     2   0.584      0.884 0.14 0.86
#> TCGA.J7.8537.01     1   0.000      0.984 1.00 0.00
#> TCGA.BQ.5890.01     2   0.141      0.978 0.02 0.98
#> TCGA.BQ.5879.01     1   0.141      0.993 0.98 0.02
#> TCGA.GL.A9DE.01     2   0.141      0.978 0.02 0.98
#> TCGA.B9.A8YI.01     2   0.000      0.975 0.00 1.00
#> TCGA.F9.A8NY.01     1   0.141      0.993 0.98 0.02
#> TCGA.BQ.5891.01     2   0.242      0.974 0.04 0.96
#> TCGA.P4.AAVO.01     2   0.000      0.975 0.00 1.00
#> TCGA.A4.A5Y1.01     2   0.242      0.974 0.04 0.96
#> TCGA.BQ.5875.01     2   0.141      0.978 0.02 0.98
#> TCGA.Q2.A5QZ.01     2   0.141      0.978 0.02 0.98
#> TCGA.P4.A5E8.01     1   0.141      0.993 0.98 0.02
#> TCGA.B9.A5W9.01     2   0.141      0.969 0.02 0.98
#> TCGA.P4.AAVK.01     2   0.242      0.974 0.04 0.96
#> TCGA.5P.A9K9.01     2   0.242      0.974 0.04 0.96
#> TCGA.IA.A40Y.01     2   0.584      0.884 0.14 0.86
#> TCGA.P4.A5EA.01     1   0.141      0.993 0.98 0.02
#> TCGA.5P.A9K3.01     2   0.141      0.978 0.02 0.98
#> TCGA.B9.A44B.01     2   0.141      0.978 0.02 0.98
#> TCGA.BQ.5877.01     2   0.242      0.974 0.04 0.96
#> TCGA.2Z.A9JG.01     2   0.141      0.969 0.02 0.98
#> TCGA.2Z.A9JI.01     1   0.000      0.984 1.00 0.00
#> TCGA.5P.A9JU.01     2   0.141      0.978 0.02 0.98
#> TCGA.F9.A4JJ.01     1   0.141      0.993 0.98 0.02
#> TCGA.UZ.A9PQ.01     2   0.000      0.975 0.00 1.00
#> TCGA.UZ.A9Q1.01     2   0.000      0.975 0.00 1.00
#> TCGA.GL.6846.01     2   0.000      0.975 0.00 1.00
#> TCGA.G7.6793.01     1   0.141      0.993 0.98 0.02
#> TCGA.BQ.7061.01     2   0.141      0.978 0.02 0.98
#> TCGA.BQ.7058.01     2   0.141      0.978 0.02 0.98
#> TCGA.GL.7966.01     1   0.141      0.993 0.98 0.02
#> TCGA.AL.A5DJ.01     1   0.000      0.984 1.00 0.00
#> TCGA.BQ.7048.01     2   0.000      0.975 0.00 1.00
#> TCGA.BQ.5887.01     2   0.402      0.946 0.08 0.92
#> TCGA.A4.7915.01     1   0.141      0.993 0.98 0.02
#> TCGA.G7.6789.01     1   0.000      0.984 1.00 0.00
#> TCGA.BQ.7044.01     2   0.000      0.975 0.00 1.00

show/hide code output

cbind(get_classes(res, k = 3), get_membership(res, k = 3))
#>                 class entropy silhouette   p1   p2   p3
#> TCGA.SX.A7SM.01     2   0.630      0.663 0.00 0.52 0.48
#> TCGA.4A.A93X.01     2   0.630      0.663 0.00 0.52 0.48
#> TCGA.BQ.5894.01     1   0.000      1.000 1.00 0.00 0.00
#> TCGA.BQ.5882.01     3   0.369      0.581 0.00 0.14 0.86
#> TCGA.BQ.5893.01     1   0.000      1.000 1.00 0.00 0.00
#> TCGA.IZ.8195.01     2   0.000      0.637 0.00 1.00 0.00
#> TCGA.G7.A8LD.01     3   0.918      0.649 0.22 0.24 0.54
#> TCGA.J7.8537.01     3   0.827      0.567 0.40 0.08 0.52
#> TCGA.BQ.5890.01     2   0.630      0.663 0.00 0.52 0.48
#> TCGA.BQ.5879.01     1   0.000      1.000 1.00 0.00 0.00
#> TCGA.GL.A9DE.01     2   0.630      0.663 0.00 0.52 0.48
#> TCGA.B9.A8YI.01     2   0.000      0.637 0.00 1.00 0.00
#> TCGA.F9.A8NY.01     1   0.000      1.000 1.00 0.00 0.00
#> TCGA.BQ.5891.01     3   0.369      0.581 0.00 0.14 0.86
#> TCGA.P4.AAVO.01     2   0.000      0.637 0.00 1.00 0.00
#> TCGA.A4.A5Y1.01     3   0.000      0.472 0.00 0.00 1.00
#> TCGA.BQ.5875.01     2   0.630      0.663 0.00 0.52 0.48
#> TCGA.Q2.A5QZ.01     2   0.153      0.616 0.00 0.96 0.04
#> TCGA.P4.A5E8.01     1   0.000      1.000 1.00 0.00 0.00
#> TCGA.B9.A5W9.01     2   0.630     -0.441 0.00 0.52 0.48
#> TCGA.P4.AAVK.01     2   0.630      0.663 0.00 0.52 0.48
#> TCGA.5P.A9K9.01     3   0.628      0.451 0.00 0.46 0.54
#> TCGA.IA.A40Y.01     3   0.832      0.690 0.24 0.14 0.62
#> TCGA.P4.A5EA.01     1   0.000      1.000 1.00 0.00 0.00
#> TCGA.5P.A9K3.01     2   0.630      0.663 0.00 0.52 0.48
#> TCGA.B9.A44B.01     2   0.630      0.663 0.00 0.52 0.48
#> TCGA.BQ.5877.01     3   0.000      0.472 0.00 0.00 1.00
#> TCGA.2Z.A9JG.01     2   0.000      0.637 0.00 1.00 0.00
#> TCGA.2Z.A9JI.01     3   0.821      0.598 0.38 0.08 0.54
#> TCGA.5P.A9JU.01     2   0.630      0.663 0.00 0.52 0.48
#> TCGA.F9.A4JJ.01     1   0.000      1.000 1.00 0.00 0.00
#> TCGA.UZ.A9PQ.01     2   0.000      0.637 0.00 1.00 0.00
#> TCGA.UZ.A9Q1.01     2   0.000      0.637 0.00 1.00 0.00
#> TCGA.GL.6846.01     2   0.000      0.637 0.00 1.00 0.00
#> TCGA.G7.6793.01     1   0.000      1.000 1.00 0.00 0.00
#> TCGA.BQ.7061.01     2   0.630      0.663 0.00 0.52 0.48
#> TCGA.BQ.7058.01     2   0.630      0.663 0.00 0.52 0.48
#> TCGA.GL.7966.01     1   0.000      1.000 1.00 0.00 0.00
#> TCGA.AL.A5DJ.01     3   0.827      0.567 0.40 0.08 0.52
#> TCGA.BQ.7048.01     2   0.000      0.637 0.00 1.00 0.00
#> TCGA.BQ.5887.01     3   0.832      0.690 0.24 0.14 0.62
#> TCGA.A4.7915.01     1   0.000      1.000 1.00 0.00 0.00
#> TCGA.G7.6789.01     3   0.821      0.598 0.38 0.08 0.54
#> TCGA.BQ.7044.01     2   0.000      0.637 0.00 1.00 0.00

show/hide code output

cbind(get_classes(res, k = 4), get_membership(res, k = 4))
#>                 class entropy silhouette   p1   p2   p3   p4
#> TCGA.SX.A7SM.01     2  0.0000      0.998 0.00 1.00 0.00 0.00
#> TCGA.4A.A93X.01     2  0.0000      0.998 0.00 1.00 0.00 0.00
#> TCGA.BQ.5894.01     1  0.0000      0.976 1.00 0.00 0.00 0.00
#> TCGA.BQ.5882.01     3  0.0000      0.981 0.00 0.00 1.00 0.00
#> TCGA.BQ.5893.01     1  0.1637      0.976 0.94 0.00 0.00 0.06
#> TCGA.IZ.8195.01     4  0.1637      0.988 0.00 0.06 0.00 0.94
#> TCGA.G7.A8LD.01     3  0.0000      0.981 0.00 0.00 1.00 0.00
#> TCGA.J7.8537.01     3  0.0000      0.981 0.00 0.00 1.00 0.00
#> TCGA.BQ.5890.01     2  0.0000      0.998 0.00 1.00 0.00 0.00
#> TCGA.BQ.5879.01     1  0.1637      0.976 0.94 0.00 0.00 0.06
#> TCGA.GL.A9DE.01     2  0.0000      0.998 0.00 1.00 0.00 0.00
#> TCGA.B9.A8YI.01     4  0.1637      0.988 0.00 0.06 0.00 0.94
#> TCGA.F9.A8NY.01     1  0.1637      0.976 0.94 0.00 0.00 0.06
#> TCGA.BQ.5891.01     3  0.0000      0.981 0.00 0.00 1.00 0.00
#> TCGA.P4.AAVO.01     4  0.1637      0.988 0.00 0.06 0.00 0.94
#> TCGA.A4.A5Y1.01     3  0.2345      0.899 0.00 0.10 0.90 0.00
#> TCGA.BQ.5875.01     2  0.0707      0.978 0.00 0.98 0.00 0.02
#> TCGA.Q2.A5QZ.01     4  0.2411      0.956 0.00 0.04 0.04 0.92
#> TCGA.P4.A5E8.01     1  0.0000      0.976 1.00 0.00 0.00 0.00
#> TCGA.B9.A5W9.01     4  0.1637      0.925 0.00 0.00 0.06 0.94
#> TCGA.P4.AAVK.01     2  0.0000      0.998 0.00 1.00 0.00 0.00
#> TCGA.5P.A9K9.01     3  0.0000      0.981 0.00 0.00 1.00 0.00
#> TCGA.IA.A40Y.01     3  0.0000      0.981 0.00 0.00 1.00 0.00
#> TCGA.P4.A5EA.01     1  0.0000      0.976 1.00 0.00 0.00 0.00
#> TCGA.5P.A9K3.01     2  0.0000      0.998 0.00 1.00 0.00 0.00
#> TCGA.B9.A44B.01     2  0.0000      0.998 0.00 1.00 0.00 0.00
#> TCGA.BQ.5877.01     3  0.2345      0.899 0.00 0.10 0.90 0.00
#> TCGA.2Z.A9JG.01     4  0.1637      0.988 0.00 0.06 0.00 0.94
#> TCGA.2Z.A9JI.01     3  0.0000      0.981 0.00 0.00 1.00 0.00
#> TCGA.5P.A9JU.01     2  0.0000      0.998 0.00 1.00 0.00 0.00
#> TCGA.F9.A4JJ.01     1  0.0000      0.976 1.00 0.00 0.00 0.00
#> TCGA.UZ.A9PQ.01     4  0.1637      0.988 0.00 0.06 0.00 0.94
#> TCGA.UZ.A9Q1.01     4  0.1637      0.988 0.00 0.06 0.00 0.94
#> TCGA.GL.6846.01     4  0.1637      0.988 0.00 0.06 0.00 0.94
#> TCGA.G7.6793.01     1  0.1637      0.976 0.94 0.00 0.00 0.06
#> TCGA.BQ.7061.01     2  0.0000      0.998 0.00 1.00 0.00 0.00
#> TCGA.BQ.7058.01     2  0.0000      0.998 0.00 1.00 0.00 0.00
#> TCGA.GL.7966.01     1  0.1637      0.976 0.94 0.00 0.00 0.06
#> TCGA.AL.A5DJ.01     3  0.0000      0.981 0.00 0.00 1.00 0.00
#> TCGA.BQ.7048.01     4  0.1637      0.988 0.00 0.06 0.00 0.94
#> TCGA.BQ.5887.01     3  0.0000      0.981 0.00 0.00 1.00 0.00
#> TCGA.A4.7915.01     1  0.0000      0.976 1.00 0.00 0.00 0.00
#> TCGA.G7.6789.01     3  0.0000      0.981 0.00 0.00 1.00 0.00
#> TCGA.BQ.7044.01     4  0.1637      0.988 0.00 0.06 0.00 0.94

show/hide code output

cbind(get_classes(res, k = 5), get_membership(res, k = 5))
#>                 class entropy silhouette   p1   p2   p3   p4   p5
#> TCGA.SX.A7SM.01     2  0.1043      1.000 0.00 0.96 0.00 0.04 0.00
#> TCGA.4A.A93X.01     2  0.1043      1.000 0.00 0.96 0.00 0.04 0.00
#> TCGA.BQ.5894.01     1  0.3037      0.936 0.86 0.04 0.00 0.00 0.10
#> TCGA.BQ.5882.01     3  0.2732      0.790 0.00 0.00 0.84 0.00 0.16
#> TCGA.BQ.5893.01     1  0.0000      0.941 1.00 0.00 0.00 0.00 0.00
#> TCGA.IZ.8195.01     4  0.0000      0.952 0.00 0.00 0.00 1.00 0.00
#> TCGA.G7.A8LD.01     3  0.0609      0.966 0.00 0.00 0.98 0.00 0.02
#> TCGA.J7.8537.01     3  0.0000      0.967 0.00 0.00 1.00 0.00 0.00
#> TCGA.BQ.5890.01     2  0.1043      1.000 0.00 0.96 0.00 0.04 0.00
#> TCGA.BQ.5879.01     1  0.0000      0.941 1.00 0.00 0.00 0.00 0.00
#> TCGA.GL.A9DE.01     2  0.1043      1.000 0.00 0.96 0.00 0.04 0.00
#> TCGA.B9.A8YI.01     4  0.0000      0.952 0.00 0.00 0.00 1.00 0.00
#> TCGA.F9.A8NY.01     1  0.0000      0.941 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5891.01     5  0.2732      0.780 0.00 0.00 0.16 0.00 0.84
#> TCGA.P4.AAVO.01     4  0.0000      0.952 0.00 0.00 0.00 1.00 0.00
#> TCGA.A4.A5Y1.01     5  0.2732      0.780 0.00 0.00 0.16 0.00 0.84
#> TCGA.BQ.5875.01     5  0.3106      0.767 0.00 0.14 0.02 0.00 0.84
#> TCGA.Q2.A5QZ.01     4  0.4967      0.526 0.00 0.00 0.28 0.66 0.06
#> TCGA.P4.A5E8.01     1  0.2616      0.940 0.88 0.02 0.00 0.00 0.10
#> TCGA.B9.A5W9.01     5  0.3424      0.667 0.00 0.00 0.00 0.24 0.76
#> TCGA.P4.AAVK.01     5  0.3424      0.675 0.00 0.24 0.00 0.00 0.76
#> TCGA.5P.A9K9.01     3  0.0000      0.967 0.00 0.00 1.00 0.00 0.00
#> TCGA.IA.A40Y.01     3  0.0609      0.966 0.00 0.00 0.98 0.00 0.02
#> TCGA.P4.A5EA.01     1  0.3037      0.936 0.86 0.04 0.00 0.00 0.10
#> TCGA.5P.A9K3.01     2  0.1043      1.000 0.00 0.96 0.00 0.04 0.00
#> TCGA.B9.A44B.01     2  0.1043      1.000 0.00 0.96 0.00 0.04 0.00
#> TCGA.BQ.5877.01     5  0.2929      0.776 0.00 0.00 0.18 0.00 0.82
#> TCGA.2Z.A9JG.01     5  0.3424      0.667 0.00 0.00 0.00 0.24 0.76
#> TCGA.2Z.A9JI.01     3  0.0000      0.967 0.00 0.00 1.00 0.00 0.00
#> TCGA.5P.A9JU.01     2  0.1043      1.000 0.00 0.96 0.00 0.04 0.00
#> TCGA.F9.A4JJ.01     1  0.2616      0.940 0.88 0.02 0.00 0.00 0.10
#> TCGA.UZ.A9PQ.01     4  0.0000      0.952 0.00 0.00 0.00 1.00 0.00
#> TCGA.UZ.A9Q1.01     4  0.0000      0.952 0.00 0.00 0.00 1.00 0.00
#> TCGA.GL.6846.01     4  0.0000      0.952 0.00 0.00 0.00 1.00 0.00
#> TCGA.G7.6793.01     1  0.0609      0.936 0.98 0.02 0.00 0.00 0.00
#> TCGA.BQ.7061.01     2  0.1043      1.000 0.00 0.96 0.00 0.04 0.00
#> TCGA.BQ.7058.01     2  0.1043      1.000 0.00 0.96 0.00 0.04 0.00
#> TCGA.GL.7966.01     1  0.0000      0.941 1.00 0.00 0.00 0.00 0.00
#> TCGA.AL.A5DJ.01     3  0.0609      0.966 0.00 0.00 0.98 0.00 0.02
#> TCGA.BQ.7048.01     4  0.0000      0.952 0.00 0.00 0.00 1.00 0.00
#> TCGA.BQ.5887.01     3  0.0000      0.967 0.00 0.00 1.00 0.00 0.00
#> TCGA.A4.7915.01     1  0.2616      0.940 0.88 0.02 0.00 0.00 0.10
#> TCGA.G7.6789.01     3  0.0609      0.966 0.00 0.00 0.98 0.00 0.02
#> TCGA.BQ.7044.01     4  0.0000      0.952 0.00 0.00 0.00 1.00 0.00

show/hide code output

cbind(get_classes(res, k = 6), get_membership(res, k = 6))
#>                 class entropy silhouette   p1   p2   p3   p4   p5   p6
#> TCGA.SX.A7SM.01     2  0.0547     0.9835 0.00 0.98 0.02 0.00 0.00 0.00
#> TCGA.4A.A93X.01     2  0.0000     0.9882 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5894.01     1  0.3198     0.8678 0.74 0.00 0.26 0.00 0.00 0.00
#> TCGA.BQ.5882.01     6  0.3679     0.5651 0.00 0.00 0.04 0.00 0.20 0.76
#> TCGA.BQ.5893.01     1  0.0547     0.8678 0.98 0.00 0.02 0.00 0.00 0.00
#> TCGA.IZ.8195.01     4  0.0000     0.9690 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.G7.A8LD.01     6  0.4172     0.7289 0.00 0.00 0.28 0.00 0.04 0.68
#> TCGA.J7.8537.01     6  0.0547     0.7576 0.00 0.00 0.00 0.00 0.02 0.98
#> TCGA.BQ.5890.01     2  0.0000     0.9882 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5879.01     1  0.0000     0.8719 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.GL.A9DE.01     2  0.0547     0.9835 0.00 0.98 0.02 0.00 0.00 0.00
#> TCGA.B9.A8YI.01     4  0.1556     0.9478 0.00 0.00 0.08 0.92 0.00 0.00
#> TCGA.F9.A8NY.01     1  0.0000     0.8719 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5891.01     5  0.1807     0.8014 0.00 0.00 0.06 0.00 0.92 0.02
#> TCGA.P4.AAVO.01     4  0.0000     0.9690 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.A4.A5Y1.01     5  0.1807     0.8014 0.00 0.00 0.06 0.00 0.92 0.02
#> TCGA.BQ.5875.01     5  0.2794     0.7946 0.00 0.06 0.08 0.00 0.86 0.00
#> TCGA.Q2.A5QZ.01     6  0.6547    -0.0108 0.00 0.00 0.14 0.36 0.06 0.44
#> TCGA.P4.A5E8.01     1  0.3198     0.8688 0.74 0.00 0.26 0.00 0.00 0.00
#> TCGA.B9.A5W9.01     5  0.4926     0.7002 0.00 0.00 0.24 0.12 0.64 0.00
#> TCGA.P4.AAVK.01     5  0.3679     0.7099 0.00 0.20 0.04 0.00 0.76 0.00
#> TCGA.5P.A9K9.01     6  0.0547     0.7660 0.00 0.00 0.02 0.00 0.00 0.98
#> TCGA.IA.A40Y.01     6  0.4631     0.6885 0.00 0.00 0.32 0.00 0.06 0.62
#> TCGA.P4.A5EA.01     1  0.3198     0.8678 0.74 0.00 0.26 0.00 0.00 0.00
#> TCGA.5P.A9K3.01     2  0.0547     0.9789 0.00 0.98 0.00 0.00 0.02 0.00
#> TCGA.B9.A44B.01     2  0.0000     0.9882 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5877.01     5  0.1480     0.7993 0.00 0.00 0.04 0.00 0.94 0.02
#> TCGA.2Z.A9JG.01     5  0.4926     0.7002 0.00 0.00 0.24 0.12 0.64 0.00
#> TCGA.2Z.A9JI.01     6  0.2094     0.7688 0.00 0.00 0.08 0.00 0.02 0.90
#> TCGA.5P.A9JU.01     2  0.0547     0.9789 0.00 0.98 0.00 0.00 0.02 0.00
#> TCGA.F9.A4JJ.01     1  0.3076     0.8719 0.76 0.00 0.24 0.00 0.00 0.00
#> TCGA.UZ.A9PQ.01     4  0.1556     0.9478 0.00 0.00 0.08 0.92 0.00 0.00
#> TCGA.UZ.A9Q1.01     4  0.0000     0.9690 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.GL.6846.01     4  0.0000     0.9690 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.G7.6793.01     1  0.0547     0.8688 0.98 0.00 0.02 0.00 0.00 0.00
#> TCGA.BQ.7061.01     2  0.0000     0.9882 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7058.01     2  0.0547     0.9835 0.00 0.98 0.02 0.00 0.00 0.00
#> TCGA.GL.7966.01     1  0.0547     0.8678 0.98 0.00 0.02 0.00 0.00 0.00
#> TCGA.AL.A5DJ.01     6  0.3198     0.7470 0.00 0.00 0.26 0.00 0.00 0.74
#> TCGA.BQ.7048.01     4  0.1556     0.9478 0.00 0.00 0.08 0.92 0.00 0.00
#> TCGA.BQ.5887.01     6  0.0547     0.7576 0.00 0.00 0.00 0.00 0.02 0.98
#> TCGA.A4.7915.01     1  0.3076     0.8719 0.76 0.00 0.24 0.00 0.00 0.00
#> TCGA.G7.6789.01     6  0.4067     0.7341 0.00 0.00 0.26 0.00 0.04 0.70
#> TCGA.BQ.7044.01     4  0.0000     0.9690 0.00 0.00 0.00 1.00 0.00 0.00

show/hide code output

cbind(get_classes(res, k = 7), get_membership(res, k = 7))
#>                 class entropy silhouette   p1   p2   p3   p4   p5   p6   p7
#> TCGA.SX.A7SM.01     3  0.0863      0.941 0.00 0.04 0.96 0.00 0.00 0.00 0.00
#> TCGA.4A.A93X.01     3  0.0504      0.945 0.00 0.00 0.98 0.00 0.00 0.00 0.02
#> TCGA.BQ.5894.01     1  0.3011      0.893 0.82 0.12 0.00 0.00 0.00 0.00 0.06
#> TCGA.BQ.5882.01     5  0.5378      0.113 0.00 0.30 0.00 0.00 0.48 0.22 0.00
#> TCGA.BQ.5893.01     1  0.1363      0.879 0.94 0.04 0.00 0.00 0.00 0.00 0.02
#> TCGA.IZ.8195.01     4  0.0000      0.947 0.00 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.G7.A8LD.01     6  0.2259      0.715 0.00 0.16 0.00 0.00 0.00 0.84 0.00
#> TCGA.J7.8537.01     6  0.3139      0.749 0.00 0.30 0.00 0.00 0.00 0.70 0.00
#> TCGA.BQ.5890.01     3  0.0000      0.945 0.00 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5879.01     1  0.0000      0.896 1.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.GL.A9DE.01     3  0.0863      0.941 0.00 0.04 0.96 0.00 0.00 0.00 0.00
#> TCGA.B9.A8YI.01     4  0.2421      0.917 0.00 0.08 0.00 0.88 0.02 0.00 0.02
#> TCGA.F9.A8NY.01     1  0.0000      0.896 1.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5891.01     5  0.5536      0.227 0.00 0.22 0.00 0.00 0.54 0.02 0.22
#> TCGA.P4.AAVO.01     4  0.0000      0.947 0.00 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.A4.A5Y1.01     5  0.5536      0.227 0.00 0.22 0.00 0.00 0.54 0.02 0.22
#> TCGA.BQ.5875.01     5  0.0000      0.450 0.00 0.00 0.00 0.00 1.00 0.00 0.00
#> TCGA.Q2.A5QZ.01     5  0.6386      0.195 0.00 0.38 0.00 0.08 0.42 0.10 0.02
#> TCGA.P4.A5E8.01     1  0.3449      0.883 0.78 0.14 0.00 0.00 0.00 0.00 0.08
#> TCGA.B9.A5W9.01     7  0.2722      1.000 0.00 0.00 0.00 0.04 0.12 0.00 0.84
#> TCGA.P4.AAVK.01     5  0.4451      0.304 0.00 0.10 0.26 0.00 0.64 0.00 0.00
#> TCGA.5P.A9K9.01     6  0.3139      0.764 0.00 0.30 0.00 0.00 0.00 0.70 0.00
#> TCGA.IA.A40Y.01     6  0.2081      0.696 0.00 0.14 0.00 0.00 0.00 0.86 0.00
#> TCGA.P4.A5EA.01     1  0.3011      0.893 0.82 0.12 0.00 0.00 0.00 0.00 0.06
#> TCGA.5P.A9K3.01     3  0.2769      0.873 0.00 0.04 0.86 0.00 0.08 0.00 0.02
#> TCGA.B9.A44B.01     3  0.0504      0.945 0.00 0.00 0.98 0.00 0.00 0.00 0.02
#> TCGA.BQ.5877.01     5  0.1006      0.455 0.00 0.00 0.00 0.00 0.96 0.02 0.02
#> TCGA.2Z.A9JG.01     7  0.2722      1.000 0.00 0.00 0.00 0.04 0.12 0.00 0.84
#> TCGA.2Z.A9JI.01     6  0.2422      0.791 0.00 0.18 0.00 0.00 0.00 0.82 0.00
#> TCGA.5P.A9JU.01     3  0.2769      0.873 0.00 0.04 0.86 0.00 0.08 0.00 0.02
#> TCGA.F9.A4JJ.01     1  0.2803      0.897 0.84 0.10 0.00 0.00 0.00 0.00 0.06
#> TCGA.UZ.A9PQ.01     4  0.2421      0.917 0.00 0.08 0.00 0.88 0.02 0.00 0.02
#> TCGA.UZ.A9Q1.01     4  0.0504      0.945 0.00 0.02 0.00 0.98 0.00 0.00 0.00
#> TCGA.GL.6846.01     4  0.0000      0.947 0.00 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.G7.6793.01     1  0.0504      0.894 0.98 0.02 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7061.01     3  0.1006      0.933 0.00 0.02 0.96 0.00 0.02 0.00 0.00
#> TCGA.BQ.7058.01     3  0.0863      0.941 0.00 0.04 0.96 0.00 0.00 0.00 0.00
#> TCGA.GL.7966.01     1  0.1363      0.879 0.94 0.04 0.00 0.00 0.00 0.00 0.02
#> TCGA.AL.A5DJ.01     6  0.0863      0.778 0.00 0.04 0.00 0.00 0.00 0.96 0.00
#> TCGA.BQ.7048.01     4  0.2421      0.917 0.00 0.08 0.00 0.88 0.02 0.00 0.02
#> TCGA.BQ.5887.01     6  0.3139      0.749 0.00 0.30 0.00 0.00 0.00 0.70 0.00
#> TCGA.A4.7915.01     1  0.2803      0.897 0.84 0.10 0.00 0.00 0.00 0.00 0.06
#> TCGA.G7.6789.01     6  0.0000      0.784 0.00 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.BQ.7044.01     4  0.0000      0.947 0.00 0.00 0.00 1.00 0.00 0.00 0.00

show/hide code output

cbind(get_classes(res, k = 8), get_membership(res, k = 8))
#>                 class entropy silhouette   p1   p2   p3   p4   p5   p6   p7   p8
#> TCGA.SX.A7SM.01     3  0.0000      0.910 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.4A.A93X.01     3  0.0471      0.907 0.00 0.00 0.98 0.00 0.00 0.02 0.00 0.00
#> TCGA.BQ.5894.01     1  0.3618      0.755 0.60 0.00 0.00 0.00 0.00 0.02 0.00 0.38
#> TCGA.BQ.5882.01     6  0.3663      0.586 0.00 0.10 0.00 0.00 0.06 0.78 0.00 0.06
#> TCGA.BQ.5893.01     1  0.1607      0.754 0.92 0.00 0.00 0.00 0.00 0.00 0.04 0.04
#> TCGA.IZ.8195.01     4  0.0471      0.873 0.00 0.00 0.00 0.98 0.00 0.00 0.02 0.00
#> TCGA.G7.A8LD.01     2  0.0000      0.877 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.J7.8537.01     6  0.3374      0.687 0.00 0.30 0.00 0.00 0.00 0.68 0.00 0.02
#> TCGA.BQ.5890.01     3  0.0471      0.907 0.00 0.00 0.98 0.00 0.00 0.00 0.00 0.02
#> TCGA.BQ.5879.01     1  0.0000      0.769 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.GL.A9DE.01     3  0.0000      0.910 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.B9.A8YI.01     4  0.3895      0.804 0.00 0.00 0.00 0.74 0.00 0.12 0.02 0.12
#> TCGA.F9.A8NY.01     1  0.0000      0.769 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.5891.01     5  0.2350      0.634 0.00 0.00 0.00 0.00 0.86 0.00 0.04 0.10
#> TCGA.P4.AAVO.01     4  0.0471      0.873 0.00 0.00 0.00 0.98 0.00 0.00 0.02 0.00
#> TCGA.A4.A5Y1.01     5  0.0471      0.689 0.00 0.00 0.00 0.00 0.98 0.00 0.02 0.00
#> TCGA.BQ.5875.01     5  0.4560      0.624 0.00 0.00 0.00 0.00 0.60 0.18 0.00 0.22
#> TCGA.Q2.A5QZ.01     6  0.3319      0.464 0.00 0.02 0.00 0.06 0.02 0.82 0.00 0.08
#> TCGA.P4.A5E8.01     1  0.4100      0.749 0.58 0.00 0.00 0.00 0.00 0.00 0.06 0.36
#> TCGA.B9.A5W9.01     7  0.1765      1.000 0.00 0.00 0.00 0.00 0.12 0.00 0.88 0.00
#> TCGA.P4.AAVK.01     5  0.3991      0.608 0.00 0.00 0.22 0.00 0.70 0.02 0.00 0.06
#> TCGA.5P.A9K9.01     6  0.3272      0.613 0.00 0.42 0.00 0.00 0.00 0.58 0.00 0.00
#> TCGA.IA.A40Y.01     2  0.3311      0.732 0.00 0.80 0.00 0.00 0.14 0.02 0.02 0.02
#> TCGA.P4.A5EA.01     1  0.3618      0.755 0.60 0.00 0.00 0.00 0.00 0.02 0.00 0.38
#> TCGA.5P.A9K3.01     3  0.3291      0.748 0.00 0.00 0.70 0.00 0.00 0.00 0.02 0.28
#> TCGA.B9.A44B.01     3  0.0471      0.907 0.00 0.00 0.98 0.00 0.00 0.02 0.00 0.00
#> TCGA.BQ.5877.01     5  0.3227      0.703 0.00 0.00 0.00 0.00 0.78 0.14 0.00 0.08
#> TCGA.2Z.A9JG.01     7  0.1765      1.000 0.00 0.00 0.00 0.00 0.12 0.00 0.88 0.00
#> TCGA.2Z.A9JI.01     6  0.3329      0.501 0.00 0.48 0.00 0.00 0.00 0.52 0.00 0.00
#> TCGA.5P.A9JU.01     3  0.3291      0.748 0.00 0.00 0.70 0.00 0.00 0.00 0.02 0.28
#> TCGA.F9.A4JJ.01     1  0.3193      0.764 0.62 0.00 0.00 0.00 0.00 0.00 0.00 0.38
#> TCGA.UZ.A9PQ.01     4  0.3895      0.804 0.00 0.00 0.00 0.74 0.00 0.12 0.02 0.12
#> TCGA.UZ.A9Q1.01     4  0.0941      0.868 0.00 0.00 0.00 0.96 0.00 0.02 0.02 0.00
#> TCGA.GL.6846.01     4  0.0471      0.873 0.00 0.00 0.00 0.98 0.00 0.00 0.02 0.00
#> TCGA.G7.6793.01     1  0.0471      0.768 0.98 0.00 0.00 0.00 0.00 0.02 0.00 0.00
#> TCGA.BQ.7061.01     3  0.1765      0.866 0.00 0.00 0.88 0.00 0.00 0.00 0.00 0.12
#> TCGA.BQ.7058.01     3  0.0000      0.910 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.GL.7966.01     1  0.1275      0.756 0.94 0.00 0.00 0.00 0.00 0.02 0.00 0.04
#> TCGA.AL.A5DJ.01     2  0.1091      0.855 0.00 0.94 0.00 0.00 0.00 0.06 0.00 0.00
#> TCGA.BQ.7048.01     4  0.3895      0.804 0.00 0.00 0.00 0.74 0.00 0.12 0.02 0.12
#> TCGA.BQ.5887.01     6  0.3514      0.682 0.00 0.34 0.00 0.00 0.00 0.64 0.00 0.02
#> TCGA.A4.7915.01     1  0.3193      0.764 0.62 0.00 0.00 0.00 0.00 0.00 0.00 0.38
#> TCGA.G7.6789.01     2  0.0471      0.880 0.00 0.98 0.00 0.00 0.00 0.02 0.00 0.00
#> TCGA.BQ.7044.01     4  0.0471      0.873 0.00 0.00 0.00 0.98 0.00 0.00 0.02 0.00

Heatmaps for the consensus matrix. It visualizes the probability of two samples to be in a same group.

consensus_heatmap(res, k = 2)

plot of chunk tab-node-04-consensus-heatmap-1

consensus_heatmap(res, k = 3)

plot of chunk tab-node-04-consensus-heatmap-2

consensus_heatmap(res, k = 4)

plot of chunk tab-node-04-consensus-heatmap-3

consensus_heatmap(res, k = 5)

plot of chunk tab-node-04-consensus-heatmap-4

consensus_heatmap(res, k = 6)

plot of chunk tab-node-04-consensus-heatmap-5

consensus_heatmap(res, k = 7)

plot of chunk tab-node-04-consensus-heatmap-6

consensus_heatmap(res, k = 8)

plot of chunk tab-node-04-consensus-heatmap-7

Heatmaps for the membership of samples in all partitions to see how consistent they are:

membership_heatmap(res, k = 2)

plot of chunk tab-node-04-membership-heatmap-1

membership_heatmap(res, k = 3)

plot of chunk tab-node-04-membership-heatmap-2

membership_heatmap(res, k = 4)

plot of chunk tab-node-04-membership-heatmap-3

membership_heatmap(res, k = 5)

plot of chunk tab-node-04-membership-heatmap-4

membership_heatmap(res, k = 6)

plot of chunk tab-node-04-membership-heatmap-5

membership_heatmap(res, k = 7)

plot of chunk tab-node-04-membership-heatmap-6

membership_heatmap(res, k = 8)

plot of chunk tab-node-04-membership-heatmap-7

As soon as the classes for columns are determined, the signatures that are significantly different between subgroups can be looked for. Following are the heatmaps for signatures.

get_signatures(res, k = 2)

plot of chunk tab-node-04-get-signatures-1

get_signatures(res, k = 3)

plot of chunk tab-node-04-get-signatures-2

get_signatures(res, k = 4)

plot of chunk tab-node-04-get-signatures-3

get_signatures(res, k = 5)

plot of chunk tab-node-04-get-signatures-4

get_signatures(res, k = 6)

plot of chunk tab-node-04-get-signatures-5

get_signatures(res, k = 7)

plot of chunk tab-node-04-get-signatures-6

get_signatures(res, k = 8)

plot of chunk tab-node-04-get-signatures-7

Compare the overlap of signatures from different k:

compare_signatures(res)

plot of chunk node-04-signature_compare

get_signature() returns a data frame invisibly. To get the list of signatures, the function call should be assigned to a variable explicitly. In following code, if plot argument is set to FALSE, no heatmap is plotted while only the differential analysis is performed.

# code only for demonstration
tb = get_signature(res, k = ..., plot = FALSE)

An example of the output of tb is:

#>   which_row         fdr    mean_1    mean_2 scaled_mean_1 scaled_mean_2 km
#> 1        38 0.042760348  8.373488  9.131774    -0.5533452     0.5164555  1
#> 2        40 0.018707592  7.106213  8.469186    -0.6173731     0.5762149  1
#> 3        55 0.019134737 10.221463 11.207825    -0.6159697     0.5749050  1
#> 4        59 0.006059896  5.921854  7.869574    -0.6899429     0.6439467  1
#> 5        60 0.018055526  8.928898 10.211722    -0.6204761     0.5791110  1
#> 6        98 0.009384629 15.714769 14.887706     0.6635654    -0.6193277  2
...

The columns in tb are:

  1. which_row: row indices corresponding to the input matrix.
  2. fdr: FDR for the differential test.
  3. mean_x: The mean value in group x.
  4. scaled_mean_x: The mean value in group x after rows are scaled.
  5. km: Row groups if k-means clustering is applied to rows (which is done by automatically selecting number of clusters).

If there are too many signatures, top_signatures = ... can be set to only show the signatures with the highest FDRs:

# code only for demonstration
# e.g. to show the top 500 most significant rows
tb = get_signature(res, k = ..., top_signatures = 500)

If the signatures are defined as these which are uniquely high in current group, diff_method argument can be set to "uniquely_high_in_one_group":

# code only for demonstration
tb = get_signature(res, k = ..., diff_method = "uniquely_high_in_one_group")

UMAP plot which shows how samples are separated.

dimension_reduction(res, k = 2, method = "UMAP")

plot of chunk tab-node-04-dimension-reduction-1

dimension_reduction(res, k = 3, method = "UMAP")

plot of chunk tab-node-04-dimension-reduction-2

dimension_reduction(res, k = 4, method = "UMAP")

plot of chunk tab-node-04-dimension-reduction-3

dimension_reduction(res, k = 5, method = "UMAP")

plot of chunk tab-node-04-dimension-reduction-4

dimension_reduction(res, k = 6, method = "UMAP")

plot of chunk tab-node-04-dimension-reduction-5

dimension_reduction(res, k = 7, method = "UMAP")

plot of chunk tab-node-04-dimension-reduction-6

dimension_reduction(res, k = 8, method = "UMAP")

plot of chunk tab-node-04-dimension-reduction-7

Following heatmap shows how subgroups are split when increasing k:

collect_classes(res)

plot of chunk node-04-collect-classes

If matrix rows can be associated to genes, consider to use functional_enrichment(res, ...) to perform function enrichment for the signature genes. See this vignette for more detailed explanations.


Node043

Parent node: Node04. Child nodes: Node0121-leaf , Node0122-leaf , Node0123-leaf , Node0124-leaf , Node0131 , Node0132-leaf , Node0221-leaf , Node0222-leaf , Node0223-leaf , Node0311 , Node0312-leaf , Node0313-leaf , Node0321-leaf , Node0322-leaf , Node0431-leaf , Node0432-leaf , Node0433-leaf , Node0511-leaf , Node0512-leaf , Node0513-leaf , Node0521-leaf , Node0522-leaf , Node0523-leaf , Node0531-leaf , Node0532-leaf , Node0533-leaf .

The object with results only for a single top-value method and a single partitioning method can be extracted as:

res = res_rh["043"]

A summary of res and all the functions that can be applied to it:

res
#> A 'ConsensusPartition' object with k = 2, 3, 4, 5, 6, 7, 8.
#>   On a matrix with 30000 rows and 12 columns.
#>   Top rows (1000) are extracted by 'ATC' method.
#>   Subgroups are detected by 'skmeans' method.
#>   Performed in total 350 partitions by row resampling.
#>   Best k for subgroups seems to be 7.
#> 
#> Following methods can be applied to this 'ConsensusPartition' object:
#>  [1] "cola_report"             "collect_classes"         "collect_plots"          
#>  [4] "collect_stats"           "colnames"                "compare_partitions"     
#>  [7] "compare_signatures"      "consensus_heatmap"       "dimension_reduction"    
#> [10] "functional_enrichment"   "get_anno_col"            "get_anno"               
#> [13] "get_classes"             "get_consensus"           "get_matrix"             
#> [16] "get_membership"          "get_param"               "get_signatures"         
#> [19] "get_stats"               "is_best_k"               "is_stable_k"            
#> [22] "membership_heatmap"      "ncol"                    "nrow"                   
#> [25] "plot_ecdf"               "predict_classes"         "rownames"               
#> [28] "select_partition_number" "show"                    "suggest_best_k"         
#> [31] "test_to_known_factors"   "top_rows_heatmap"

collect_plots() function collects all the plots made from res for all k (number of subgroups) into one single page to provide an easy and fast comparison between different k.

collect_plots(res)

plot of chunk node-043-collect-plots

The plots are:

All the plots in panels can be made by individual functions and they are plotted later in this section.

select_partition_number() produces several plots showing different statistics for choosing “optimized” k. There are following statistics:

The detailed explanations of these statistics can be found in the cola vignette.

Generally speaking, higher 1-PAC score, higher mean silhouette score or higher concordance corresponds to better partition. Rand index and Jaccard index measure how similar the current partition is compared to partition with k-1. If they are too similar, we won't accept k is better than k-1.

select_partition_number(res)

plot of chunk node-043-select-partition-number

The numeric values for all these statistics can be obtained by get_stats().

get_stats(res)
#>   k 1-PAC mean_silhouette concordance area_increased  Rand Jaccard
#> 2 2 1.000           0.993       0.997         0.4871 0.515   0.515
#> 3 3 1.000           1.000       1.000         0.4935 0.758   0.529
#> 4 4 1.000           0.909       0.990         0.0632 0.955   0.833
#> 5 5 0.894           0.898       0.968         0.0755 0.939   0.733
#> 6 6 0.924           0.776       0.963         0.0572 0.955   0.727
#> 7 7 0.924           0.636       0.942         0.0316 0.939   0.556
#> 8 8 0.970           0.519       0.970         0.0191 0.985   0.833

suggest_best_k() suggests the best \(k\) based on these statistics. The rules are as follows:

suggest_best_k(res)
#> [1] 7
#> attr(,"optional")
#> [1] 2 3 6

There is also optional best \(k\) = 2 3 6 that is worth to check.

Following is the table of the partitions (You need to click the show/hide code output link to see it). The membership matrix (columns with name p*) is inferred by clue::cl_consensus() function with the SE method. Basically the value in the membership matrix represents the probability to belong to a certain group. The finall subgroup label for an item is determined with the group with highest probability it belongs to.

In get_classes() function, the entropy is calculated from the membership matrix and the silhouette score is calculated from the consensus matrix.

show/hide code output

cbind(get_classes(res, k = 2), get_membership(res, k = 2))
#>                 class entropy silhouette   p1   p2
#> TCGA.BQ.5882.01     2   0.242      0.958 0.04 0.96
#> TCGA.G7.A8LD.01     2   0.000      0.994 0.00 1.00
#> TCGA.J7.8537.01     2   0.000      0.994 0.00 1.00
#> TCGA.BQ.5891.01     1   0.000      1.000 1.00 0.00
#> TCGA.A4.A5Y1.01     1   0.000      1.000 1.00 0.00
#> TCGA.5P.A9K9.01     2   0.000      0.994 0.00 1.00
#> TCGA.IA.A40Y.01     1   0.000      1.000 1.00 0.00
#> TCGA.BQ.5877.01     1   0.000      1.000 1.00 0.00
#> TCGA.2Z.A9JI.01     2   0.000      0.994 0.00 1.00
#> TCGA.AL.A5DJ.01     2   0.000      0.994 0.00 1.00
#> TCGA.BQ.5887.01     2   0.000      0.994 0.00 1.00
#> TCGA.G7.6789.01     2   0.000      0.994 0.00 1.00

show/hide code output

cbind(get_classes(res, k = 3), get_membership(res, k = 3))
#>                 class entropy silhouette p1 p2 p3
#> TCGA.BQ.5882.01     2       0          1  0  1  0
#> TCGA.G7.A8LD.01     3       0          1  0  0  1
#> TCGA.J7.8537.01     2       0          1  0  1  0
#> TCGA.BQ.5891.01     1       0          1  1  0  0
#> TCGA.A4.A5Y1.01     1       0          1  1  0  0
#> TCGA.5P.A9K9.01     3       0          1  0  0  1
#> TCGA.IA.A40Y.01     1       0          1  1  0  0
#> TCGA.BQ.5877.01     1       0          1  1  0  0
#> TCGA.2Z.A9JI.01     2       0          1  0  1  0
#> TCGA.AL.A5DJ.01     3       0          1  0  0  1
#> TCGA.BQ.5887.01     2       0          1  0  1  0
#> TCGA.G7.6789.01     3       0          1  0  0  1

show/hide code output

cbind(get_classes(res, k = 4), get_membership(res, k = 4))
#>                 class entropy silhouette   p1 p2   p3   p4
#> TCGA.BQ.5882.01     2   0.000      1.000 0.00  1 0.00 0.00
#> TCGA.G7.A8LD.01     4   0.121      0.000 0.00  0 0.04 0.96
#> TCGA.J7.8537.01     2   0.000      1.000 0.00  1 0.00 0.00
#> TCGA.BQ.5891.01     1   0.121      0.976 0.96  0 0.00 0.04
#> TCGA.A4.A5Y1.01     1   0.121      0.976 0.96  0 0.00 0.04
#> TCGA.5P.A9K9.01     3   0.000      1.000 0.00  0 1.00 0.00
#> TCGA.IA.A40Y.01     1   0.000      0.976 1.00  0 0.00 0.00
#> TCGA.BQ.5877.01     1   0.000      0.976 1.00  0 0.00 0.00
#> TCGA.2Z.A9JI.01     2   0.000      1.000 0.00  1 0.00 0.00
#> TCGA.AL.A5DJ.01     3   0.000      1.000 0.00  0 1.00 0.00
#> TCGA.BQ.5887.01     2   0.000      1.000 0.00  1 0.00 0.00
#> TCGA.G7.6789.01     3   0.000      1.000 0.00  0 1.00 0.00

show/hide code output

cbind(get_classes(res, k = 5), get_membership(res, k = 5))
#>                 class entropy silhouette   p1   p2 p3 p4   p5
#> TCGA.BQ.5882.01     2  0.2280      0.897 0.12 0.88  0  0 0.00
#> TCGA.G7.A8LD.01     4  0.0000      0.000 0.00 0.00  0  1 0.00
#> TCGA.J7.8537.01     2  0.0000      0.960 0.00 1.00  0  0 0.00
#> TCGA.BQ.5891.01     1  0.2280      1.000 0.88 0.00  0  0 0.12
#> TCGA.A4.A5Y1.01     1  0.2280      1.000 0.88 0.00  0  0 0.12
#> TCGA.5P.A9K9.01     3  0.0000      1.000 0.00 0.00  1  0 0.00
#> TCGA.IA.A40Y.01     5  0.0000      1.000 0.00 0.00  0  0 1.00
#> TCGA.BQ.5877.01     5  0.0000      1.000 0.00 0.00  0  0 1.00
#> TCGA.2Z.A9JI.01     2  0.0000      0.960 0.00 1.00  0  0 0.00
#> TCGA.AL.A5DJ.01     3  0.0000      1.000 0.00 0.00  1  0 0.00
#> TCGA.BQ.5887.01     2  0.0609      0.957 0.02 0.98  0  0 0.00
#> TCGA.G7.6789.01     3  0.0000      1.000 0.00 0.00  1  0 0.00

show/hide code output

cbind(get_classes(res, k = 6), get_membership(res, k = 6))
#>                 class entropy silhouette   p1   p2 p3 p4   p5   p6
#> TCGA.BQ.5882.01     6  0.0937      0.000 0.00 0.04  0  0 0.00 0.96
#> TCGA.G7.A8LD.01     4  0.0000      0.000 0.00 0.00  0  1 0.00 0.00
#> TCGA.J7.8537.01     2  0.0000      0.810 0.00 1.00  0  0 0.00 0.00
#> TCGA.BQ.5891.01     1  0.0000      1.000 1.00 0.00  0  0 0.00 0.00
#> TCGA.A4.A5Y1.01     1  0.0000      1.000 1.00 0.00  0  0 0.00 0.00
#> TCGA.5P.A9K9.01     3  0.0000      1.000 0.00 0.00  1  0 0.00 0.00
#> TCGA.IA.A40Y.01     5  0.0547      0.947 0.02 0.00  0  0 0.98 0.00
#> TCGA.BQ.5877.01     5  0.0937      0.947 0.00 0.00  0  0 0.96 0.04
#> TCGA.2Z.A9JI.01     2  0.1814      0.850 0.00 0.90  0  0 0.00 0.10
#> TCGA.AL.A5DJ.01     3  0.0000      1.000 0.00 0.00  1  0 0.00 0.00
#> TCGA.BQ.5887.01     2  0.3076      0.758 0.00 0.76  0  0 0.00 0.24
#> TCGA.G7.6789.01     3  0.0000      1.000 0.00 0.00  1  0 0.00 0.00

show/hide code output

cbind(get_classes(res, k = 7), get_membership(res, k = 7))
#>                 class entropy silhouette p1   p2   p3 p4   p5   p6   p7
#> TCGA.BQ.5882.01     6  0.0000      0.534  0 0.00 0.00  0 0.00 1.00 0.00
#> TCGA.G7.A8LD.01     4  0.0000      0.000  0 0.00 0.00  1 0.00 0.00 0.00
#> TCGA.J7.8537.01     2  0.2259      0.000  0 0.84 0.00  0 0.00 0.00 0.16
#> TCGA.BQ.5891.01     1  0.0000      1.000  1 0.00 0.00  0 0.00 0.00 0.00
#> TCGA.A4.A5Y1.01     1  0.0000      1.000  1 0.00 0.00  0 0.00 0.00 0.00
#> TCGA.5P.A9K9.01     3  0.0504      0.983  0 0.02 0.98  0 0.00 0.00 0.00
#> TCGA.IA.A40Y.01     5  0.2081      0.880  0 0.14 0.00  0 0.86 0.00 0.00
#> TCGA.BQ.5877.01     5  0.0000      0.880  0 0.00 0.00  0 1.00 0.00 0.00
#> TCGA.2Z.A9JI.01     7  0.0000      0.000  0 0.00 0.00  0 0.00 0.00 1.00
#> TCGA.AL.A5DJ.01     3  0.0000      0.991  0 0.00 1.00  0 0.00 0.00 0.00
#> TCGA.BQ.5887.01     6  0.4698      0.373  0 0.24 0.00  0 0.00 0.62 0.14
#> TCGA.G7.6789.01     3  0.0000      0.991  0 0.00 1.00  0 0.00 0.00 0.00

show/hide code output

cbind(get_classes(res, k = 8), get_membership(res, k = 8))
#>                 class entropy silhouette p1   p2   p3 p4   p5  p6   p7   p8
#> TCGA.BQ.5882.01     6  0.0000      0.664  0 0.00 0.00  0 0.00 1.0 0.00 0.00
#> TCGA.G7.A8LD.01     4  0.0000      0.000  0 0.00 0.00  1 0.00 0.0 0.00 0.00
#> TCGA.J7.8537.01     2  0.0471      0.000  0 0.98 0.00  0 0.00 0.0 0.02 0.00
#> TCGA.BQ.5891.01     1  0.0000      1.000  1 0.00 0.00  0 0.00 0.0 0.00 0.00
#> TCGA.A4.A5Y1.01     1  0.0000      1.000  1 0.00 0.00  0 0.00 0.0 0.00 0.00
#> TCGA.5P.A9K9.01     3  0.0471      0.983  0 0.02 0.98  0 0.00 0.0 0.00 0.00
#> TCGA.IA.A40Y.01     5  0.0471      0.000  0 0.00 0.00  0 0.98 0.0 0.00 0.02
#> TCGA.BQ.5877.01     8  0.0000      0.000  0 0.00 0.00  0 0.00 0.0 0.00 1.00
#> TCGA.2Z.A9JI.01     7  0.0000      0.000  0 0.00 0.00  0 0.00 0.0 1.00 0.00
#> TCGA.AL.A5DJ.01     3  0.0000      0.991  0 0.00 1.00  0 0.00 0.0 0.00 0.00
#> TCGA.BQ.5887.01     6  0.3637      0.604  0 0.26 0.00  0 0.02 0.7 0.02 0.00
#> TCGA.G7.6789.01     3  0.0000      0.991  0 0.00 1.00  0 0.00 0.0 0.00 0.00

Heatmaps for the consensus matrix. It visualizes the probability of two samples to be in a same group.

consensus_heatmap(res, k = 2)

plot of chunk tab-node-043-consensus-heatmap-1

consensus_heatmap(res, k = 3)

plot of chunk tab-node-043-consensus-heatmap-2

consensus_heatmap(res, k = 4)

plot of chunk tab-node-043-consensus-heatmap-3

consensus_heatmap(res, k = 5)

plot of chunk tab-node-043-consensus-heatmap-4

consensus_heatmap(res, k = 6)

plot of chunk tab-node-043-consensus-heatmap-5

consensus_heatmap(res, k = 7)

plot of chunk tab-node-043-consensus-heatmap-6

consensus_heatmap(res, k = 8)

plot of chunk tab-node-043-consensus-heatmap-7

Heatmaps for the membership of samples in all partitions to see how consistent they are:

membership_heatmap(res, k = 2)

plot of chunk tab-node-043-membership-heatmap-1

membership_heatmap(res, k = 3)

plot of chunk tab-node-043-membership-heatmap-2

membership_heatmap(res, k = 4)

plot of chunk tab-node-043-membership-heatmap-3

membership_heatmap(res, k = 5)

plot of chunk tab-node-043-membership-heatmap-4

membership_heatmap(res, k = 6)

plot of chunk tab-node-043-membership-heatmap-5

membership_heatmap(res, k = 7)

plot of chunk tab-node-043-membership-heatmap-6

membership_heatmap(res, k = 8)

plot of chunk tab-node-043-membership-heatmap-7

As soon as the classes for columns are determined, the signatures that are significantly different between subgroups can be looked for. Following are the heatmaps for signatures.

get_signatures(res, k = 2)

plot of chunk tab-node-043-get-signatures-1

get_signatures(res, k = 3)

plot of chunk tab-node-043-get-signatures-2

get_signatures(res, k = 4)

plot of chunk tab-node-043-get-signatures-3

get_signatures(res, k = 5)

plot of chunk tab-node-043-get-signatures-4

get_signatures(res, k = 6)

plot of chunk tab-node-043-get-signatures-5

get_signatures(res, k = 7)

plot of chunk tab-node-043-get-signatures-6

get_signatures(res, k = 8)

plot of chunk tab-node-043-get-signatures-7

Compare the overlap of signatures from different k:

compare_signatures(res)

plot of chunk node-043-signature_compare

get_signature() returns a data frame invisibly. To get the list of signatures, the function call should be assigned to a variable explicitly. In following code, if plot argument is set to FALSE, no heatmap is plotted while only the differential analysis is performed.

# code only for demonstration
tb = get_signature(res, k = ..., plot = FALSE)

An example of the output of tb is:

#>   which_row         fdr    mean_1    mean_2 scaled_mean_1 scaled_mean_2 km
#> 1        38 0.042760348  8.373488  9.131774    -0.5533452     0.5164555  1
#> 2        40 0.018707592  7.106213  8.469186    -0.6173731     0.5762149  1
#> 3        55 0.019134737 10.221463 11.207825    -0.6159697     0.5749050  1
#> 4        59 0.006059896  5.921854  7.869574    -0.6899429     0.6439467  1
#> 5        60 0.018055526  8.928898 10.211722    -0.6204761     0.5791110  1
#> 6        98 0.009384629 15.714769 14.887706     0.6635654    -0.6193277  2
...

The columns in tb are:

  1. which_row: row indices corresponding to the input matrix.
  2. fdr: FDR for the differential test.
  3. mean_x: The mean value in group x.
  4. scaled_mean_x: The mean value in group x after rows are scaled.
  5. km: Row groups if k-means clustering is applied to rows (which is done by automatically selecting number of clusters).

If there are too many signatures, top_signatures = ... can be set to only show the signatures with the highest FDRs:

# code only for demonstration
# e.g. to show the top 500 most significant rows
tb = get_signature(res, k = ..., top_signatures = 500)

If the signatures are defined as these which are uniquely high in current group, diff_method argument can be set to "uniquely_high_in_one_group":

# code only for demonstration
tb = get_signature(res, k = ..., diff_method = "uniquely_high_in_one_group")

UMAP plot which shows how samples are separated.

dimension_reduction(res, k = 2, method = "UMAP")

plot of chunk tab-node-043-dimension-reduction-1

dimension_reduction(res, k = 3, method = "UMAP")

plot of chunk tab-node-043-dimension-reduction-2

dimension_reduction(res, k = 4, method = "UMAP")

plot of chunk tab-node-043-dimension-reduction-3

dimension_reduction(res, k = 5, method = "UMAP")

plot of chunk tab-node-043-dimension-reduction-4

dimension_reduction(res, k = 6, method = "UMAP")

plot of chunk tab-node-043-dimension-reduction-5

dimension_reduction(res, k = 7, method = "UMAP")

plot of chunk tab-node-043-dimension-reduction-6

dimension_reduction(res, k = 8, method = "UMAP")

plot of chunk tab-node-043-dimension-reduction-7

Following heatmap shows how subgroups are split when increasing k:

collect_classes(res)

plot of chunk node-043-collect-classes

If matrix rows can be associated to genes, consider to use functional_enrichment(res, ...) to perform function enrichment for the signature genes. See this vignette for more detailed explanations.


Node05

Parent node: Node0. Child nodes: Node011-leaf , Node012 , Node013 , Node021-leaf , Node022 , Node023-leaf , Node031 , Node032 , Node033-leaf , Node041-leaf , Node042-leaf , Node043 , Node044-leaf , Node051 , Node052 , Node053 , Node054-leaf .

The object with results only for a single top-value method and a single partitioning method can be extracted as:

res = res_rh["05"]

A summary of res and all the functions that can be applied to it:

res
#> A 'ConsensusPartition' object with k = 2, 3, 4, 5, 6, 7, 8.
#>   On a matrix with 30000 rows and 83 columns.
#>   Top rows (1000) are extracted by 'ATC' method.
#>   Subgroups are detected by 'skmeans' method.
#>   Performed in total 350 partitions by row resampling.
#>   Best k for subgroups seems to be 8.
#> 
#> Following methods can be applied to this 'ConsensusPartition' object:
#>  [1] "cola_report"             "collect_classes"         "collect_plots"          
#>  [4] "collect_stats"           "colnames"                "compare_partitions"     
#>  [7] "compare_signatures"      "consensus_heatmap"       "dimension_reduction"    
#> [10] "functional_enrichment"   "get_anno_col"            "get_anno"               
#> [13] "get_classes"             "get_consensus"           "get_matrix"             
#> [16] "get_membership"          "get_param"               "get_signatures"         
#> [19] "get_stats"               "is_best_k"               "is_stable_k"            
#> [22] "membership_heatmap"      "ncol"                    "nrow"                   
#> [25] "plot_ecdf"               "predict_classes"         "rownames"               
#> [28] "select_partition_number" "show"                    "suggest_best_k"         
#> [31] "test_to_known_factors"   "top_rows_heatmap"

collect_plots() function collects all the plots made from res for all k (number of subgroups) into one single page to provide an easy and fast comparison between different k.

collect_plots(res)

plot of chunk node-05-collect-plots

The plots are:

All the plots in panels can be made by individual functions and they are plotted later in this section.

select_partition_number() produces several plots showing different statistics for choosing “optimized” k. There are following statistics:

The detailed explanations of these statistics can be found in the cola vignette.

Generally speaking, higher 1-PAC score, higher mean silhouette score or higher concordance corresponds to better partition. Rand index and Jaccard index measure how similar the current partition is compared to partition with k-1. If they are too similar, we won't accept k is better than k-1.

select_partition_number(res)

plot of chunk node-05-select-partition-number

The numeric values for all these statistics can be obtained by get_stats().

get_stats(res)
#>   k 1-PAC mean_silhouette concordance area_increased  Rand Jaccard
#> 2 2 1.000           0.996       0.998         0.3844 0.617   0.617
#> 3 3 1.000           0.982       0.993         0.6634 0.658   0.482
#> 4 4 0.988           0.971       0.987         0.0669 0.855   0.650
#> 5 5 0.858           0.895       0.909         0.0939 0.872   0.625
#> 6 6 0.853           0.835       0.889         0.0551 0.980   0.915
#> 7 7 0.892           0.818       0.892         0.0490 0.922   0.661
#> 8 8 0.915           0.883       0.923         0.0247 0.980   0.880

suggest_best_k() suggests the best \(k\) based on these statistics. The rules are as follows:

suggest_best_k(res)
#> [1] 8
#> attr(,"optional")
#> [1] 2 3 4

There is also optional best \(k\) = 2 3 4 that is worth to check.

Following is the table of the partitions (You need to click the show/hide code output link to see it). The membership matrix (columns with name p*) is inferred by clue::cl_consensus() function with the SE method. Basically the value in the membership matrix represents the probability to belong to a certain group. The finall subgroup label for an item is determined with the group with highest probability it belongs to.

In get_classes() function, the entropy is calculated from the membership matrix and the silhouette score is calculated from the consensus matrix.

show/hide code output

cbind(get_classes(res, k = 2), get_membership(res, k = 2))
#>                 class entropy silhouette   p1   p2
#> TCGA.IA.A83W.01     1   0.000      0.998 1.00 0.00
#> TCGA.G7.A8LC.01     1   0.000      0.998 1.00 0.00
#> TCGA.EV.5901.01     2   0.000      0.999 0.00 1.00
#> TCGA.SX.A7SR.01     1   0.000      0.998 1.00 0.00
#> TCGA.IZ.A6M8.01     1   0.000      0.998 1.00 0.00
#> TCGA.MH.A856.01     1   0.000      0.998 1.00 0.00
#> TCGA.B9.5156.01     1   0.000      0.998 1.00 0.00
#> TCGA.Y8.A897.01     1   0.000      0.998 1.00 0.00
#> TCGA.SX.A7SP.01     2   0.000      0.999 0.00 1.00
#> TCGA.Y8.A8RZ.01     2   0.000      0.999 0.00 1.00
#> TCGA.A4.A5XZ.01     2   0.141      0.979 0.02 0.98
#> TCGA.Y8.A898.01     1   0.000      0.998 1.00 0.00
#> TCGA.Y8.A8RY.01     1   0.000      0.998 1.00 0.00
#> TCGA.SX.A7SN.01     1   0.000      0.998 1.00 0.00
#> TCGA.A4.8517.01     1   0.000      0.998 1.00 0.00
#> TCGA.SX.A7SO.01     2   0.000      0.999 0.00 1.00
#> TCGA.B1.A657.01     1   0.000      0.998 1.00 0.00
#> TCGA.EV.5903.01     1   0.000      0.998 1.00 0.00
#> TCGA.A4.A6HP.01     1   0.000      0.998 1.00 0.00
#> TCGA.BQ.5886.01     1   0.000      0.998 1.00 0.00
#> TCGA.A4.A5Y0.01     2   0.000      0.999 0.00 1.00
#> TCGA.A4.8098.01     1   0.000      0.998 1.00 0.00
#> TCGA.DW.5560.01     2   0.000      0.999 0.00 1.00
#> TCGA.A4.8310.01     1   0.000      0.998 1.00 0.00
#> TCGA.2Z.A9J8.01     2   0.000      0.999 0.00 1.00
#> TCGA.P4.A5E7.01     2   0.000      0.999 0.00 1.00
#> TCGA.2Z.A9JM.01     1   0.000      0.998 1.00 0.00
#> TCGA.2Z.A9JD.01     1   0.000      0.998 1.00 0.00
#> TCGA.SX.A71V.01     1   0.000      0.998 1.00 0.00
#> TCGA.IA.A40X.01     2   0.000      0.999 0.00 1.00
#> TCGA.5P.A9KE.01     1   0.000      0.998 1.00 0.00
#> TCGA.5P.A9KA.01     1   0.000      0.998 1.00 0.00
#> TCGA.A4.A772.01     1   0.000      0.998 1.00 0.00
#> TCGA.IA.A40U.01     1   0.000      0.998 1.00 0.00
#> TCGA.DW.7963.01     1   0.000      0.998 1.00 0.00
#> TCGA.2Z.A9JL.01     1   0.000      0.998 1.00 0.00
#> TCGA.P4.AAVM.01     1   0.000      0.998 1.00 0.00
#> TCGA.5P.A9JZ.01     2   0.000      0.999 0.00 1.00
#> TCGA.BQ.5881.01     1   0.000      0.998 1.00 0.00
#> TCGA.UZ.A9PS.01     2   0.000      0.999 0.00 1.00
#> TCGA.5P.A9K0.01     1   0.000      0.998 1.00 0.00
#> TCGA.5P.A9K6.01     1   0.000      0.998 1.00 0.00
#> TCGA.P4.A5E6.01     1   0.000      0.998 1.00 0.00
#> TCGA.BQ.5885.01     1   0.000      0.998 1.00 0.00
#> TCGA.2Z.A9JP.01     1   0.000      0.998 1.00 0.00
#> TCGA.2Z.A9JR.01     1   0.000      0.998 1.00 0.00
#> TCGA.GL.A59T.01     1   0.000      0.998 1.00 0.00
#> TCGA.B1.A47M.01     1   0.000      0.998 1.00 0.00
#> TCGA.2Z.A9JJ.01     2   0.000      0.999 0.00 1.00
#> TCGA.2Z.A9JT.01     1   0.000      0.998 1.00 0.00
#> TCGA.HE.A5NL.01     1   0.000      0.998 1.00 0.00
#> TCGA.G7.7502.01     1   0.000      0.998 1.00 0.00
#> TCGA.DW.7841.01     1   0.000      0.998 1.00 0.00
#> TCGA.BQ.7045.01     1   0.000      0.998 1.00 0.00
#> TCGA.A4.7996.01     2   0.000      0.999 0.00 1.00
#> TCGA.BQ.7046.01     1   0.000      0.998 1.00 0.00
#> TCGA.G7.7501.01     2   0.000      0.999 0.00 1.00
#> TCGA.DW.7834.01     1   0.000      0.998 1.00 0.00
#> TCGA.BQ.7060.01     1   0.000      0.998 1.00 0.00
#> TCGA.G7.6792.01     1   0.000      0.998 1.00 0.00
#> TCGA.GL.7773.01     2   0.000      0.999 0.00 1.00
#> TCGA.BQ.7053.01     2   0.000      0.999 0.00 1.00
#> TCGA.BQ.7062.01     1   0.000      0.998 1.00 0.00
#> TCGA.A4.7288.01     2   0.000      0.999 0.00 1.00
#> TCGA.A4.7286.01     1   0.000      0.998 1.00 0.00
#> TCGA.G7.6795.01     1   0.000      0.998 1.00 0.00
#> TCGA.MH.A55W.01     1   0.000      0.998 1.00 0.00
#> TCGA.G7.6790.01     1   0.000      0.998 1.00 0.00
#> TCGA.A4.7997.01     1   0.000      0.998 1.00 0.00
#> TCGA.MH.A561.01     1   0.000      0.998 1.00 0.00
#> TCGA.A4.A57E.01     2   0.000      0.999 0.00 1.00
#> TCGA.DW.7837.01     1   0.000      0.998 1.00 0.00
#> TCGA.SX.A71U.01     1   0.000      0.998 1.00 0.00
#> TCGA.BQ.7050.01     2   0.000      0.999 0.00 1.00
#> TCGA.J7.6720.01     1   0.000      0.998 1.00 0.00
#> TCGA.MH.A562.01     1   0.000      0.998 1.00 0.00
#> TCGA.A4.7584.01     1   0.000      0.998 1.00 0.00
#> TCGA.BQ.7056.01     2   0.000      0.999 0.00 1.00
#> TCGA.2Z.A9J1.01     1   0.000      0.998 1.00 0.00
#> TCGA.UN.AAZ9.01     1   0.529      0.863 0.88 0.12
#> TCGA.2Z.A9J6.01     1   0.000      0.998 1.00 0.00
#> TCGA.A4.7583.01     1   0.000      0.998 1.00 0.00
#> TCGA.2Z.A9J5.01     1   0.000      0.998 1.00 0.00

show/hide code output

cbind(get_classes(res, k = 3), get_membership(res, k = 3))
#>                 class entropy silhouette   p1   p2   p3
#> TCGA.IA.A83W.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.G7.A8LC.01     3  0.0000      0.984 0.00 0.00 1.00
#> TCGA.EV.5901.01     2  0.0000      1.000 0.00 1.00 0.00
#> TCGA.SX.A7SR.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.IZ.A6M8.01     3  0.0000      0.984 0.00 0.00 1.00
#> TCGA.MH.A856.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.B9.5156.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.Y8.A897.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.SX.A7SP.01     2  0.0000      1.000 0.00 1.00 0.00
#> TCGA.Y8.A8RZ.01     3  0.0000      0.984 0.00 0.00 1.00
#> TCGA.A4.A5XZ.01     3  0.0000      0.984 0.00 0.00 1.00
#> TCGA.Y8.A898.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.Y8.A8RY.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.SX.A7SN.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.A4.8517.01     3  0.0000      0.984 0.00 0.00 1.00
#> TCGA.SX.A7SO.01     3  0.0892      0.966 0.00 0.02 0.98
#> TCGA.B1.A657.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.EV.5903.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.A4.A6HP.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.BQ.5886.01     3  0.0000      0.984 0.00 0.00 1.00
#> TCGA.A4.A5Y0.01     2  0.0000      1.000 0.00 1.00 0.00
#> TCGA.A4.8098.01     3  0.0000      0.984 0.00 0.00 1.00
#> TCGA.DW.5560.01     2  0.0000      1.000 0.00 1.00 0.00
#> TCGA.A4.8310.01     3  0.0000      0.984 0.00 0.00 1.00
#> TCGA.2Z.A9J8.01     3  0.0000      0.984 0.00 0.00 1.00
#> TCGA.P4.A5E7.01     2  0.0000      1.000 0.00 1.00 0.00
#> TCGA.2Z.A9JM.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.2Z.A9JD.01     3  0.0000      0.984 0.00 0.00 1.00
#> TCGA.SX.A71V.01     3  0.0000      0.984 0.00 0.00 1.00
#> TCGA.IA.A40X.01     2  0.0000      1.000 0.00 1.00 0.00
#> TCGA.5P.A9KE.01     3  0.0000      0.984 0.00 0.00 1.00
#> TCGA.5P.A9KA.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.A4.A772.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.IA.A40U.01     3  0.0000      0.984 0.00 0.00 1.00
#> TCGA.DW.7963.01     1  0.0892      0.977 0.98 0.00 0.02
#> TCGA.2Z.A9JL.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.P4.AAVM.01     3  0.0000      0.984 0.00 0.00 1.00
#> TCGA.5P.A9JZ.01     2  0.0000      1.000 0.00 1.00 0.00
#> TCGA.BQ.5881.01     3  0.0000      0.984 0.00 0.00 1.00
#> TCGA.UZ.A9PS.01     2  0.0000      1.000 0.00 1.00 0.00
#> TCGA.5P.A9K0.01     3  0.0000      0.984 0.00 0.00 1.00
#> TCGA.5P.A9K6.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.P4.A5E6.01     3  0.0000      0.984 0.00 0.00 1.00
#> TCGA.BQ.5885.01     3  0.0000      0.984 0.00 0.00 1.00
#> TCGA.2Z.A9JP.01     3  0.0000      0.984 0.00 0.00 1.00
#> TCGA.2Z.A9JR.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.GL.A59T.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.B1.A47M.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.2Z.A9JJ.01     2  0.0000      1.000 0.00 1.00 0.00
#> TCGA.2Z.A9JT.01     3  0.0000      0.984 0.00 0.00 1.00
#> TCGA.HE.A5NL.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.G7.7502.01     3  0.0000      0.984 0.00 0.00 1.00
#> TCGA.DW.7841.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.BQ.7045.01     3  0.0000      0.984 0.00 0.00 1.00
#> TCGA.A4.7996.01     3  0.6244      0.214 0.00 0.44 0.56
#> TCGA.BQ.7046.01     3  0.0000      0.984 0.00 0.00 1.00
#> TCGA.G7.7501.01     2  0.0000      1.000 0.00 1.00 0.00
#> TCGA.DW.7834.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.BQ.7060.01     3  0.0000      0.984 0.00 0.00 1.00
#> TCGA.G7.6792.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.GL.7773.01     2  0.0000      1.000 0.00 1.00 0.00
#> TCGA.BQ.7053.01     2  0.0000      1.000 0.00 1.00 0.00
#> TCGA.BQ.7062.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.A4.7288.01     2  0.0000      1.000 0.00 1.00 0.00
#> TCGA.A4.7286.01     3  0.0000      0.984 0.00 0.00 1.00
#> TCGA.G7.6795.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.MH.A55W.01     3  0.0000      0.984 0.00 0.00 1.00
#> TCGA.G7.6790.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.A4.7997.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.MH.A561.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.A4.A57E.01     3  0.0892      0.966 0.00 0.02 0.98
#> TCGA.DW.7837.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.SX.A71U.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.BQ.7050.01     2  0.0000      1.000 0.00 1.00 0.00
#> TCGA.J7.6720.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.MH.A562.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.A4.7584.01     1  0.2066      0.931 0.94 0.00 0.06
#> TCGA.BQ.7056.01     2  0.0000      1.000 0.00 1.00 0.00
#> TCGA.2Z.A9J1.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.UN.AAZ9.01     3  0.0000      0.984 0.00 0.00 1.00
#> TCGA.2Z.A9J6.01     1  0.0000      0.998 1.00 0.00 0.00
#> TCGA.A4.7583.01     3  0.0000      0.984 0.00 0.00 1.00
#> TCGA.2Z.A9J5.01     1  0.0000      0.998 1.00 0.00 0.00

show/hide code output

cbind(get_classes(res, k = 4), get_membership(res, k = 4))
#>                 class entropy silhouette   p1   p2   p3   p4
#> TCGA.IA.A83W.01     1  0.0000      0.998 1.00 0.00 0.00 0.00
#> TCGA.G7.A8LC.01     3  0.0000      0.981 0.00 0.00 1.00 0.00
#> TCGA.EV.5901.01     4  0.0000      1.000 0.00 0.00 0.00 1.00
#> TCGA.SX.A7SR.01     1  0.0000      0.998 1.00 0.00 0.00 0.00
#> TCGA.IZ.A6M8.01     3  0.0000      0.981 0.00 0.00 1.00 0.00
#> TCGA.MH.A856.01     1  0.0000      0.998 1.00 0.00 0.00 0.00
#> TCGA.B9.5156.01     1  0.0000      0.998 1.00 0.00 0.00 0.00
#> TCGA.Y8.A897.01     1  0.1913      0.935 0.94 0.00 0.02 0.04
#> TCGA.SX.A7SP.01     2  0.5151      0.727 0.00 0.76 0.10 0.14
#> TCGA.Y8.A8RZ.01     2  0.0000      0.951 0.00 1.00 0.00 0.00
#> TCGA.A4.A5XZ.01     3  0.0000      0.981 0.00 0.00 1.00 0.00
#> TCGA.Y8.A898.01     1  0.0000      0.998 1.00 0.00 0.00 0.00
#> TCGA.Y8.A8RY.01     1  0.0000      0.998 1.00 0.00 0.00 0.00
#> TCGA.SX.A7SN.01     1  0.0000      0.998 1.00 0.00 0.00 0.00
#> TCGA.A4.8517.01     3  0.0000      0.981 0.00 0.00 1.00 0.00
#> TCGA.SX.A7SO.01     2  0.0000      0.951 0.00 1.00 0.00 0.00
#> TCGA.B1.A657.01     1  0.0000      0.998 1.00 0.00 0.00 0.00
#> TCGA.EV.5903.01     1  0.0000      0.998 1.00 0.00 0.00 0.00
#> TCGA.A4.A6HP.01     1  0.0000      0.998 1.00 0.00 0.00 0.00
#> TCGA.BQ.5886.01     3  0.0000      0.981 0.00 0.00 1.00 0.00
#> TCGA.A4.A5Y0.01     2  0.0000      0.951 0.00 1.00 0.00 0.00
#> TCGA.A4.8098.01     3  0.0000      0.981 0.00 0.00 1.00 0.00
#> TCGA.DW.5560.01     4  0.0000      1.000 0.00 0.00 0.00 1.00
#> TCGA.A4.8310.01     3  0.0000      0.981 0.00 0.00 1.00 0.00
#> TCGA.2Z.A9J8.01     2  0.0000      0.951 0.00 1.00 0.00 0.00
#> TCGA.P4.A5E7.01     4  0.0000      1.000 0.00 0.00 0.00 1.00
#> TCGA.2Z.A9JM.01     1  0.0000      0.998 1.00 0.00 0.00 0.00
#> TCGA.2Z.A9JD.01     3  0.0000      0.981 0.00 0.00 1.00 0.00
#> TCGA.SX.A71V.01     3  0.0000      0.981 0.00 0.00 1.00 0.00
#> TCGA.IA.A40X.01     2  0.0000      0.951 0.00 1.00 0.00 0.00
#> TCGA.5P.A9KE.01     3  0.0000      0.981 0.00 0.00 1.00 0.00
#> TCGA.5P.A9KA.01     1  0.0000      0.998 1.00 0.00 0.00 0.00
#> TCGA.A4.A772.01     1  0.0000      0.998 1.00 0.00 0.00 0.00
#> TCGA.IA.A40U.01     3  0.0000      0.981 0.00 0.00 1.00 0.00
#> TCGA.DW.7963.01     3  0.0707      0.962 0.02 0.00 0.98 0.00
#> TCGA.2Z.A9JL.01     1  0.0000      0.998 1.00 0.00 0.00 0.00
#> TCGA.P4.AAVM.01     3  0.0000      0.981 0.00 0.00 1.00 0.00
#> TCGA.5P.A9JZ.01     4  0.0000      1.000 0.00 0.00 0.00 1.00
#> TCGA.BQ.5881.01     3  0.0000      0.981 0.00 0.00 1.00 0.00
#> TCGA.UZ.A9PS.01     2  0.3606      0.830 0.00 0.84 0.02 0.14
#> TCGA.5P.A9K0.01     3  0.0000      0.981 0.00 0.00 1.00 0.00
#> TCGA.5P.A9K6.01     3  0.2921      0.809 0.14 0.00 0.86 0.00
#> TCGA.P4.A5E6.01     3  0.0000      0.981 0.00 0.00 1.00 0.00
#> TCGA.BQ.5885.01     3  0.0000      0.981 0.00 0.00 1.00 0.00
#> TCGA.2Z.A9JP.01     3  0.0000      0.981 0.00 0.00 1.00 0.00
#> TCGA.2Z.A9JR.01     1  0.0000      0.998 1.00 0.00 0.00 0.00
#> TCGA.GL.A59T.01     1  0.0000      0.998 1.00 0.00 0.00 0.00
#> TCGA.B1.A47M.01     1  0.0000      0.998 1.00 0.00 0.00 0.00
#> TCGA.2Z.A9JJ.01     4  0.0000      1.000 0.00 0.00 0.00 1.00
#> TCGA.2Z.A9JT.01     3  0.0000      0.981 0.00 0.00 1.00 0.00
#> TCGA.HE.A5NL.01     1  0.0000      0.998 1.00 0.00 0.00 0.00
#> TCGA.G7.7502.01     3  0.0000      0.981 0.00 0.00 1.00 0.00
#> TCGA.DW.7841.01     1  0.0000      0.998 1.00 0.00 0.00 0.00
#> TCGA.BQ.7045.01     3  0.0000      0.981 0.00 0.00 1.00 0.00
#> TCGA.A4.7996.01     3  0.2921      0.831 0.00 0.00 0.86 0.14
#> TCGA.BQ.7046.01     3  0.0000      0.981 0.00 0.00 1.00 0.00
#> TCGA.G7.7501.01     2  0.0000      0.951 0.00 1.00 0.00 0.00
#> TCGA.DW.7834.01     1  0.0000      0.998 1.00 0.00 0.00 0.00
#> TCGA.BQ.7060.01     3  0.0000      0.981 0.00 0.00 1.00 0.00
#> TCGA.G7.6792.01     1  0.0000      0.998 1.00 0.00 0.00 0.00
#> TCGA.GL.7773.01     4  0.0000      1.000 0.00 0.00 0.00 1.00
#> TCGA.BQ.7053.01     2  0.0000      0.951 0.00 1.00 0.00 0.00
#> TCGA.BQ.7062.01     3  0.0707      0.962 0.02 0.00 0.98 0.00
#> TCGA.A4.7288.01     2  0.3606      0.830 0.00 0.84 0.02 0.14
#> TCGA.A4.7286.01     3  0.0000      0.981 0.00 0.00 1.00 0.00
#> TCGA.G7.6795.01     1  0.0000      0.998 1.00 0.00 0.00 0.00
#> TCGA.MH.A55W.01     3  0.0000      0.981 0.00 0.00 1.00 0.00
#> TCGA.G7.6790.01     3  0.2921      0.809 0.14 0.00 0.86 0.00
#> TCGA.A4.7997.01     1  0.0000      0.998 1.00 0.00 0.00 0.00
#> TCGA.MH.A561.01     1  0.0000      0.998 1.00 0.00 0.00 0.00
#> TCGA.A4.A57E.01     2  0.0000      0.951 0.00 1.00 0.00 0.00
#> TCGA.DW.7837.01     1  0.0000      0.998 1.00 0.00 0.00 0.00
#> TCGA.SX.A71U.01     1  0.0000      0.998 1.00 0.00 0.00 0.00
#> TCGA.BQ.7050.01     2  0.0000      0.951 0.00 1.00 0.00 0.00
#> TCGA.J7.6720.01     1  0.0000      0.998 1.00 0.00 0.00 0.00
#> TCGA.MH.A562.01     1  0.0000      0.998 1.00 0.00 0.00 0.00
#> TCGA.A4.7584.01     3  0.0707      0.962 0.02 0.00 0.98 0.00
#> TCGA.BQ.7056.01     2  0.0000      0.951 0.00 1.00 0.00 0.00
#> TCGA.2Z.A9J1.01     1  0.0000      0.998 1.00 0.00 0.00 0.00
#> TCGA.UN.AAZ9.01     3  0.0000      0.981 0.00 0.00 1.00 0.00
#> TCGA.2Z.A9J6.01     1  0.0000      0.998 1.00 0.00 0.00 0.00
#> TCGA.A4.7583.01     3  0.0000      0.981 0.00 0.00 1.00 0.00
#> TCGA.2Z.A9J5.01     1  0.0000      0.998 1.00 0.00 0.00 0.00

show/hide code output

cbind(get_classes(res, k = 5), get_membership(res, k = 5))
#>                 class entropy silhouette   p1   p2   p3   p4   p5
#> TCGA.IA.A83W.01     5  0.3684      1.000 0.28 0.00 0.00 0.00 0.72
#> TCGA.G7.A8LC.01     3  0.0000      0.968 0.00 0.00 1.00 0.00 0.00
#> TCGA.EV.5901.01     4  0.0000      1.000 0.00 0.00 0.00 1.00 0.00
#> TCGA.SX.A7SR.01     1  0.0000      0.903 1.00 0.00 0.00 0.00 0.00
#> TCGA.IZ.A6M8.01     3  0.0609      0.950 0.02 0.00 0.98 0.00 0.00
#> TCGA.MH.A856.01     5  0.3684      1.000 0.28 0.00 0.00 0.00 0.72
#> TCGA.B9.5156.01     1  0.0000      0.903 1.00 0.00 0.00 0.00 0.00
#> TCGA.Y8.A897.01     1  0.1732      0.827 0.92 0.00 0.00 0.00 0.08
#> TCGA.SX.A7SP.01     2  0.7587      0.225 0.00 0.44 0.32 0.16 0.08
#> TCGA.Y8.A8RZ.01     2  0.3109      0.780 0.00 0.80 0.00 0.00 0.20
#> TCGA.A4.A5XZ.01     3  0.1732      0.901 0.00 0.00 0.92 0.00 0.08
#> TCGA.Y8.A898.01     1  0.0000      0.903 1.00 0.00 0.00 0.00 0.00
#> TCGA.Y8.A8RY.01     1  0.0000      0.903 1.00 0.00 0.00 0.00 0.00
#> TCGA.SX.A7SN.01     5  0.3684      1.000 0.28 0.00 0.00 0.00 0.72
#> TCGA.A4.8517.01     3  0.0000      0.968 0.00 0.00 1.00 0.00 0.00
#> TCGA.SX.A7SO.01     2  0.3109      0.780 0.00 0.80 0.00 0.00 0.20
#> TCGA.B1.A657.01     1  0.0000      0.903 1.00 0.00 0.00 0.00 0.00
#> TCGA.EV.5903.01     5  0.3684      1.000 0.28 0.00 0.00 0.00 0.72
#> TCGA.A4.A6HP.01     5  0.3684      1.000 0.28 0.00 0.00 0.00 0.72
#> TCGA.BQ.5886.01     3  0.0000      0.968 0.00 0.00 1.00 0.00 0.00
#> TCGA.A4.A5Y0.01     2  0.0000      0.830 0.00 1.00 0.00 0.00 0.00
#> TCGA.A4.8098.01     3  0.0000      0.968 0.00 0.00 1.00 0.00 0.00
#> TCGA.DW.5560.01     4  0.0000      1.000 0.00 0.00 0.00 1.00 0.00
#> TCGA.A4.8310.01     3  0.0000      0.968 0.00 0.00 1.00 0.00 0.00
#> TCGA.2Z.A9J8.01     2  0.3109      0.780 0.00 0.80 0.00 0.00 0.20
#> TCGA.P4.A5E7.01     4  0.0000      1.000 0.00 0.00 0.00 1.00 0.00
#> TCGA.2Z.A9JM.01     5  0.3684      1.000 0.28 0.00 0.00 0.00 0.72
#> TCGA.2Z.A9JD.01     3  0.0000      0.968 0.00 0.00 1.00 0.00 0.00
#> TCGA.SX.A71V.01     3  0.0000      0.968 0.00 0.00 1.00 0.00 0.00
#> TCGA.IA.A40X.01     2  0.0609      0.827 0.00 0.98 0.00 0.02 0.00
#> TCGA.5P.A9KE.01     3  0.0000      0.968 0.00 0.00 1.00 0.00 0.00
#> TCGA.5P.A9KA.01     5  0.3684      1.000 0.28 0.00 0.00 0.00 0.72
#> TCGA.A4.A772.01     1  0.0000      0.903 1.00 0.00 0.00 0.00 0.00
#> TCGA.IA.A40U.01     3  0.0000      0.968 0.00 0.00 1.00 0.00 0.00
#> TCGA.DW.7963.01     1  0.3895      0.541 0.68 0.00 0.32 0.00 0.00
#> TCGA.2Z.A9JL.01     5  0.3684      1.000 0.28 0.00 0.00 0.00 0.72
#> TCGA.P4.AAVM.01     3  0.0000      0.968 0.00 0.00 1.00 0.00 0.00
#> TCGA.5P.A9JZ.01     4  0.0000      1.000 0.00 0.00 0.00 1.00 0.00
#> TCGA.BQ.5881.01     3  0.0000      0.968 0.00 0.00 1.00 0.00 0.00
#> TCGA.UZ.A9PS.01     2  0.5347      0.640 0.00 0.72 0.04 0.16 0.08
#> TCGA.5P.A9K0.01     3  0.0000      0.968 0.00 0.00 1.00 0.00 0.00
#> TCGA.5P.A9K6.01     1  0.3561      0.624 0.74 0.00 0.26 0.00 0.00
#> TCGA.P4.A5E6.01     3  0.0000      0.968 0.00 0.00 1.00 0.00 0.00
#> TCGA.BQ.5885.01     3  0.0000      0.968 0.00 0.00 1.00 0.00 0.00
#> TCGA.2Z.A9JP.01     3  0.0000      0.968 0.00 0.00 1.00 0.00 0.00
#> TCGA.2Z.A9JR.01     1  0.0000      0.903 1.00 0.00 0.00 0.00 0.00
#> TCGA.GL.A59T.01     1  0.0000      0.903 1.00 0.00 0.00 0.00 0.00
#> TCGA.B1.A47M.01     1  0.0000      0.903 1.00 0.00 0.00 0.00 0.00
#> TCGA.2Z.A9JJ.01     4  0.0000      1.000 0.00 0.00 0.00 1.00 0.00
#> TCGA.2Z.A9JT.01     3  0.0000      0.968 0.00 0.00 1.00 0.00 0.00
#> TCGA.HE.A5NL.01     1  0.0000      0.903 1.00 0.00 0.00 0.00 0.00
#> TCGA.G7.7502.01     3  0.0000      0.968 0.00 0.00 1.00 0.00 0.00
#> TCGA.DW.7841.01     5  0.3684      1.000 0.28 0.00 0.00 0.00 0.72
#> TCGA.BQ.7045.01     3  0.1410      0.908 0.06 0.00 0.94 0.00 0.00
#> TCGA.A4.7996.01     3  0.3946      0.764 0.00 0.00 0.80 0.12 0.08
#> TCGA.BQ.7046.01     3  0.0000      0.968 0.00 0.00 1.00 0.00 0.00
#> TCGA.G7.7501.01     2  0.0000      0.830 0.00 1.00 0.00 0.00 0.00
#> TCGA.DW.7834.01     1  0.0000      0.903 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7060.01     3  0.0000      0.968 0.00 0.00 1.00 0.00 0.00
#> TCGA.G7.6792.01     5  0.3684      1.000 0.28 0.00 0.00 0.00 0.72
#> TCGA.GL.7773.01     4  0.0000      1.000 0.00 0.00 0.00 1.00 0.00
#> TCGA.BQ.7053.01     2  0.0609      0.827 0.00 0.98 0.00 0.02 0.00
#> TCGA.BQ.7062.01     1  0.3684      0.594 0.72 0.00 0.28 0.00 0.00
#> TCGA.A4.7288.01     2  0.5347      0.640 0.00 0.72 0.04 0.16 0.08
#> TCGA.A4.7286.01     3  0.0000      0.968 0.00 0.00 1.00 0.00 0.00
#> TCGA.G7.6795.01     1  0.0000      0.903 1.00 0.00 0.00 0.00 0.00
#> TCGA.MH.A55W.01     3  0.0000      0.968 0.00 0.00 1.00 0.00 0.00
#> TCGA.G7.6790.01     1  0.3561      0.624 0.74 0.00 0.26 0.00 0.00
#> TCGA.A4.7997.01     5  0.3684      1.000 0.28 0.00 0.00 0.00 0.72
#> TCGA.MH.A561.01     1  0.0000      0.903 1.00 0.00 0.00 0.00 0.00
#> TCGA.A4.A57E.01     2  0.3109      0.780 0.00 0.80 0.00 0.00 0.20
#> TCGA.DW.7837.01     5  0.3684      1.000 0.28 0.00 0.00 0.00 0.72
#> TCGA.SX.A71U.01     1  0.0000      0.903 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7050.01     2  0.0609      0.827 0.00 0.98 0.00 0.02 0.00
#> TCGA.J7.6720.01     1  0.0000      0.903 1.00 0.00 0.00 0.00 0.00
#> TCGA.MH.A562.01     1  0.0000      0.903 1.00 0.00 0.00 0.00 0.00
#> TCGA.A4.7584.01     3  0.3895      0.492 0.32 0.00 0.68 0.00 0.00
#> TCGA.BQ.7056.01     2  0.0000      0.830 0.00 1.00 0.00 0.00 0.00
#> TCGA.2Z.A9J1.01     5  0.3684      1.000 0.28 0.00 0.00 0.00 0.72
#> TCGA.UN.AAZ9.01     3  0.1732      0.901 0.00 0.00 0.92 0.00 0.08
#> TCGA.2Z.A9J6.01     1  0.0000      0.903 1.00 0.00 0.00 0.00 0.00
#> TCGA.A4.7583.01     3  0.0000      0.968 0.00 0.00 1.00 0.00 0.00
#> TCGA.2Z.A9J5.01     1  0.0000      0.903 1.00 0.00 0.00 0.00 0.00

show/hide code output

cbind(get_classes(res, k = 6), get_membership(res, k = 6))
#>                 class entropy silhouette   p1   p2   p3   p4   p5   p6
#> TCGA.IA.A83W.01     5  0.1267      1.000 0.06 0.00 0.00 0.00 0.94 0.00
#> TCGA.G7.A8LC.01     3  0.5247      0.764 0.12 0.00 0.72 0.08 0.02 0.06
#> TCGA.EV.5901.01     4  0.3797      0.813 0.00 0.00 0.00 0.58 0.00 0.42
#> TCGA.SX.A7SR.01     1  0.0000      0.937 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.IZ.A6M8.01     3  0.0000      0.878 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.MH.A856.01     5  0.1267      1.000 0.06 0.00 0.00 0.00 0.94 0.00
#> TCGA.B9.5156.01     1  0.0547      0.935 0.98 0.00 0.00 0.00 0.02 0.00
#> TCGA.Y8.A897.01     1  0.3409      0.613 0.70 0.00 0.00 0.30 0.00 0.00
#> TCGA.SX.A7SP.01     2  0.3864      0.502 0.00 0.52 0.00 0.48 0.00 0.00
#> TCGA.Y8.A8RZ.01     6  0.4632      1.000 0.00 0.44 0.00 0.00 0.04 0.52
#> TCGA.A4.A5XZ.01     3  0.5815      0.392 0.00 0.02 0.48 0.42 0.02 0.06
#> TCGA.Y8.A898.01     1  0.0000      0.937 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.Y8.A8RY.01     1  0.0547      0.935 0.98 0.00 0.00 0.00 0.02 0.00
#> TCGA.SX.A7SN.01     5  0.1267      1.000 0.06 0.00 0.00 0.00 0.94 0.00
#> TCGA.A4.8517.01     3  0.0000      0.878 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.SX.A7SO.01     6  0.4632      1.000 0.00 0.44 0.00 0.00 0.04 0.52
#> TCGA.B1.A657.01     1  0.0000      0.937 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.EV.5903.01     5  0.1267      1.000 0.06 0.00 0.00 0.00 0.94 0.00
#> TCGA.A4.A6HP.01     5  0.1267      1.000 0.06 0.00 0.00 0.00 0.94 0.00
#> TCGA.BQ.5886.01     3  0.1480      0.874 0.00 0.00 0.94 0.04 0.02 0.00
#> TCGA.A4.A5Y0.01     2  0.0547      0.596 0.00 0.98 0.00 0.00 0.00 0.02
#> TCGA.A4.8098.01     3  0.3045      0.854 0.00 0.00 0.86 0.06 0.02 0.06
#> TCGA.DW.5560.01     4  0.3797      0.813 0.00 0.00 0.00 0.58 0.00 0.42
#> TCGA.A4.8310.01     3  0.2020      0.872 0.00 0.00 0.92 0.04 0.02 0.02
#> TCGA.2Z.A9J8.01     6  0.4632      1.000 0.00 0.44 0.00 0.00 0.04 0.52
#> TCGA.P4.A5E7.01     4  0.3797      0.813 0.00 0.00 0.00 0.58 0.00 0.42
#> TCGA.2Z.A9JM.01     5  0.1267      1.000 0.06 0.00 0.00 0.00 0.94 0.00
#> TCGA.2Z.A9JD.01     3  0.0000      0.878 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.SX.A71V.01     3  0.4984      0.779 0.12 0.00 0.74 0.06 0.02 0.06
#> TCGA.IA.A40X.01     2  0.0547      0.629 0.00 0.98 0.00 0.02 0.00 0.00
#> TCGA.5P.A9KE.01     3  0.0000      0.878 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.5P.A9KA.01     5  0.1267      1.000 0.06 0.00 0.00 0.00 0.94 0.00
#> TCGA.A4.A772.01     1  0.0000      0.937 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.IA.A40U.01     3  0.4259      0.827 0.06 0.00 0.80 0.06 0.02 0.06
#> TCGA.DW.7963.01     1  0.3198      0.655 0.74 0.00 0.26 0.00 0.00 0.00
#> TCGA.2Z.A9JL.01     5  0.1267      1.000 0.06 0.00 0.00 0.00 0.94 0.00
#> TCGA.P4.AAVM.01     3  0.0000      0.878 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.5P.A9JZ.01     4  0.3797      0.813 0.00 0.00 0.00 0.58 0.00 0.42
#> TCGA.BQ.5881.01     3  0.0000      0.878 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.UZ.A9PS.01     2  0.3864      0.502 0.00 0.52 0.00 0.48 0.00 0.00
#> TCGA.5P.A9K0.01     3  0.0000      0.878 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.5P.A9K6.01     1  0.2941      0.727 0.78 0.00 0.22 0.00 0.00 0.00
#> TCGA.P4.A5E6.01     3  0.2020      0.872 0.00 0.00 0.92 0.04 0.02 0.02
#> TCGA.BQ.5885.01     3  0.3324      0.846 0.00 0.00 0.84 0.08 0.02 0.06
#> TCGA.2Z.A9JP.01     3  0.0000      0.878 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.2Z.A9JR.01     1  0.0937      0.925 0.96 0.00 0.00 0.00 0.04 0.00
#> TCGA.GL.A59T.01     1  0.0000      0.937 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.B1.A47M.01     1  0.0000      0.937 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.2Z.A9JJ.01     4  0.3797      0.813 0.00 0.00 0.00 0.58 0.00 0.42
#> TCGA.2Z.A9JT.01     3  0.0000      0.878 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.HE.A5NL.01     1  0.0547      0.935 0.98 0.00 0.00 0.00 0.02 0.00
#> TCGA.G7.7502.01     3  0.4984      0.778 0.12 0.00 0.74 0.06 0.02 0.06
#> TCGA.DW.7841.01     5  0.1267      1.000 0.06 0.00 0.00 0.00 0.94 0.00
#> TCGA.BQ.7045.01     3  0.0937      0.851 0.04 0.00 0.96 0.00 0.00 0.00
#> TCGA.A4.7996.01     4  0.6028     -0.359 0.00 0.08 0.42 0.46 0.02 0.02
#> TCGA.BQ.7046.01     3  0.0000      0.878 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.G7.7501.01     2  0.0547      0.596 0.00 0.98 0.00 0.00 0.00 0.02
#> TCGA.DW.7834.01     1  0.0937      0.925 0.96 0.00 0.00 0.00 0.04 0.00
#> TCGA.BQ.7060.01     3  0.0000      0.878 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.G7.6792.01     5  0.1267      1.000 0.06 0.00 0.00 0.00 0.94 0.00
#> TCGA.GL.7773.01     4  0.3797      0.813 0.00 0.00 0.00 0.58 0.00 0.42
#> TCGA.BQ.7053.01     2  0.0547      0.629 0.00 0.98 0.00 0.02 0.00 0.00
#> TCGA.BQ.7062.01     1  0.1480      0.885 0.94 0.00 0.04 0.00 0.02 0.00
#> TCGA.A4.7288.01     2  0.3864      0.502 0.00 0.52 0.00 0.48 0.00 0.00
#> TCGA.A4.7286.01     3  0.3045      0.854 0.00 0.00 0.86 0.06 0.02 0.06
#> TCGA.G7.6795.01     1  0.0000      0.937 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.MH.A55W.01     3  0.3045      0.854 0.00 0.00 0.86 0.06 0.02 0.06
#> TCGA.G7.6790.01     1  0.1267      0.885 0.94 0.00 0.06 0.00 0.00 0.00
#> TCGA.A4.7997.01     5  0.1267      1.000 0.06 0.00 0.00 0.00 0.94 0.00
#> TCGA.MH.A561.01     1  0.0000      0.937 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.A4.A57E.01     6  0.4632      1.000 0.00 0.44 0.00 0.00 0.04 0.52
#> TCGA.DW.7837.01     5  0.1267      1.000 0.06 0.00 0.00 0.00 0.94 0.00
#> TCGA.SX.A71U.01     1  0.0547      0.935 0.98 0.00 0.00 0.00 0.02 0.00
#> TCGA.BQ.7050.01     2  0.0547      0.629 0.00 0.98 0.00 0.02 0.00 0.00
#> TCGA.J7.6720.01     1  0.0937      0.925 0.96 0.00 0.00 0.00 0.04 0.00
#> TCGA.MH.A562.01     1  0.0937      0.925 0.96 0.00 0.00 0.00 0.04 0.00
#> TCGA.A4.7584.01     3  0.2048      0.766 0.12 0.00 0.88 0.00 0.00 0.00
#> TCGA.BQ.7056.01     2  0.0547      0.596 0.00 0.98 0.00 0.00 0.00 0.02
#> TCGA.2Z.A9J1.01     5  0.1267      1.000 0.06 0.00 0.00 0.00 0.94 0.00
#> TCGA.UN.AAZ9.01     3  0.6124      0.385 0.04 0.00 0.46 0.42 0.02 0.06
#> TCGA.2Z.A9J6.01     1  0.0937      0.925 0.96 0.00 0.00 0.00 0.04 0.00
#> TCGA.A4.7583.01     3  0.3948      0.838 0.04 0.00 0.82 0.06 0.02 0.06
#> TCGA.2Z.A9J5.01     1  0.0000      0.937 1.00 0.00 0.00 0.00 0.00 0.00

show/hide code output

cbind(get_classes(res, k = 7), get_membership(res, k = 7))
#>                 class entropy silhouette   p1   p2   p3   p4   p5   p6   p7
#> TCGA.IA.A83W.01     5  0.0863     0.9900 0.04 0.00 0.00 0.00 0.96 0.00 0.00
#> TCGA.G7.A8LC.01     7  0.2745     0.7714 0.02 0.00 0.16 0.00 0.00 0.00 0.82
#> TCGA.EV.5901.01     4  0.0000     0.9953 0.00 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.SX.A7SR.01     1  0.0504     0.9610 0.98 0.00 0.00 0.00 0.00 0.00 0.02
#> TCGA.IZ.A6M8.01     3  0.0000     0.8145 0.00 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.MH.A856.01     5  0.0863     0.9900 0.04 0.00 0.00 0.00 0.96 0.00 0.00
#> TCGA.B9.5156.01     1  0.0000     0.9664 1.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.Y8.A897.01     1  0.5398     0.4522 0.60 0.00 0.00 0.00 0.04 0.16 0.20
#> TCGA.SX.A7SP.01     2  0.5628     0.5602 0.00 0.56 0.00 0.00 0.04 0.22 0.18
#> TCGA.Y8.A8RZ.01     6  0.2708     0.9807 0.00 0.22 0.00 0.00 0.00 0.78 0.00
#> TCGA.A4.A5XZ.01     7  0.6495     0.3333 0.00 0.06 0.16 0.00 0.04 0.22 0.52
#> TCGA.Y8.A898.01     1  0.0000     0.9664 1.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.Y8.A8RY.01     1  0.0000     0.9664 1.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.SX.A7SN.01     5  0.1166     0.9795 0.06 0.00 0.00 0.00 0.94 0.00 0.00
#> TCGA.A4.8517.01     3  0.0000     0.8145 0.00 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.SX.A7SO.01     6  0.2832     0.9805 0.00 0.24 0.00 0.00 0.00 0.76 0.00
#> TCGA.B1.A657.01     1  0.0504     0.9610 0.98 0.00 0.00 0.00 0.00 0.00 0.02
#> TCGA.EV.5903.01     5  0.0863     0.9900 0.04 0.00 0.00 0.00 0.96 0.00 0.00
#> TCGA.A4.A6HP.01     5  0.1166     0.9795 0.06 0.00 0.00 0.00 0.94 0.00 0.00
#> TCGA.BQ.5886.01     3  0.3745     0.3922 0.00 0.00 0.70 0.00 0.00 0.04 0.26
#> TCGA.A4.A5Y0.01     2  0.1166     0.6987 0.00 0.94 0.00 0.00 0.00 0.06 0.00
#> TCGA.A4.8098.01     7  0.3388     0.7715 0.00 0.00 0.20 0.00 0.00 0.04 0.76
#> TCGA.DW.5560.01     4  0.0000     0.9953 0.00 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.A4.8310.01     3  0.3685     0.2431 0.00 0.00 0.66 0.00 0.00 0.02 0.32
#> TCGA.2Z.A9J8.01     6  0.2708     0.9807 0.00 0.22 0.00 0.00 0.00 0.78 0.00
#> TCGA.P4.A5E7.01     4  0.0000     0.9953 0.00 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.2Z.A9JM.01     5  0.0863     0.9900 0.04 0.00 0.00 0.00 0.96 0.00 0.00
#> TCGA.2Z.A9JD.01     3  0.0000     0.8145 0.00 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.SX.A71V.01     7  0.3795     0.7494 0.06 0.00 0.22 0.00 0.00 0.00 0.72
#> TCGA.IA.A40X.01     2  0.0504     0.7205 0.00 0.98 0.00 0.00 0.00 0.02 0.00
#> TCGA.5P.A9KE.01     3  0.0000     0.8145 0.00 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.5P.A9KA.01     5  0.0863     0.9900 0.04 0.00 0.00 0.00 0.96 0.00 0.00
#> TCGA.A4.A772.01     1  0.0000     0.9664 1.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.IA.A40U.01     7  0.2572     0.7779 0.00 0.00 0.20 0.00 0.00 0.00 0.80
#> TCGA.DW.7963.01     3  0.3459     0.2950 0.40 0.00 0.60 0.00 0.00 0.00 0.00
#> TCGA.2Z.A9JL.01     5  0.0863     0.9900 0.04 0.00 0.00 0.00 0.96 0.00 0.00
#> TCGA.P4.AAVM.01     3  0.1006     0.7925 0.00 0.00 0.96 0.00 0.00 0.02 0.02
#> TCGA.5P.A9JZ.01     4  0.0504     0.9765 0.00 0.02 0.00 0.98 0.00 0.00 0.00
#> TCGA.BQ.5881.01     3  0.0000     0.8145 0.00 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.UZ.A9PS.01     2  0.5628     0.5602 0.00 0.56 0.00 0.00 0.04 0.22 0.18
#> TCGA.5P.A9K0.01     3  0.1006     0.7925 0.00 0.00 0.96 0.00 0.00 0.02 0.02
#> TCGA.5P.A9K6.01     3  0.3459     0.2912 0.40 0.00 0.60 0.00 0.00 0.00 0.00
#> TCGA.P4.A5E6.01     3  0.4127     0.0677 0.00 0.00 0.60 0.00 0.00 0.04 0.36
#> TCGA.BQ.5885.01     7  0.3388     0.7715 0.00 0.00 0.20 0.00 0.00 0.04 0.76
#> TCGA.2Z.A9JP.01     3  0.0000     0.8145 0.00 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.2Z.A9JR.01     1  0.0000     0.9664 1.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.GL.A59T.01     1  0.0504     0.9610 0.98 0.00 0.00 0.00 0.00 0.00 0.02
#> TCGA.B1.A47M.01     1  0.0504     0.9610 0.98 0.00 0.00 0.00 0.00 0.00 0.02
#> TCGA.2Z.A9JJ.01     4  0.0000     0.9953 0.00 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.2Z.A9JT.01     3  0.0000     0.8145 0.00 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.HE.A5NL.01     1  0.0000     0.9664 1.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.G7.7502.01     7  0.4353     0.7021 0.10 0.00 0.24 0.00 0.00 0.00 0.66
#> TCGA.DW.7841.01     5  0.1433     0.9566 0.08 0.00 0.00 0.00 0.92 0.00 0.00
#> TCGA.BQ.7045.01     3  0.0000     0.8145 0.00 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.A4.7996.01     7  0.6495     0.3333 0.00 0.06 0.16 0.00 0.04 0.22 0.52
#> TCGA.BQ.7046.01     3  0.2163     0.7071 0.00 0.00 0.88 0.00 0.00 0.02 0.10
#> TCGA.G7.7501.01     2  0.1166     0.6987 0.00 0.94 0.00 0.00 0.00 0.06 0.00
#> TCGA.DW.7834.01     1  0.0000     0.9664 1.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7060.01     3  0.0000     0.8145 0.00 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.G7.6792.01     5  0.0863     0.9900 0.04 0.00 0.00 0.00 0.96 0.00 0.00
#> TCGA.GL.7773.01     4  0.0000     0.9953 0.00 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.BQ.7053.01     2  0.0000     0.7248 0.00 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7062.01     1  0.1363     0.9224 0.94 0.00 0.02 0.00 0.00 0.00 0.04
#> TCGA.A4.7288.01     2  0.5628     0.5602 0.00 0.56 0.00 0.00 0.04 0.22 0.18
#> TCGA.A4.7286.01     7  0.2945     0.7511 0.00 0.00 0.26 0.00 0.00 0.00 0.74
#> TCGA.G7.6795.01     1  0.0000     0.9664 1.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.MH.A55W.01     7  0.3943     0.4836 0.00 0.00 0.42 0.00 0.00 0.02 0.56
#> TCGA.G7.6790.01     1  0.1363     0.9187 0.94 0.00 0.04 0.00 0.00 0.00 0.02
#> TCGA.A4.7997.01     5  0.0863     0.9900 0.04 0.00 0.00 0.00 0.96 0.00 0.00
#> TCGA.MH.A561.01     1  0.0504     0.9610 0.98 0.00 0.00 0.00 0.00 0.00 0.02
#> TCGA.A4.A57E.01     6  0.2832     0.9805 0.00 0.24 0.00 0.00 0.00 0.76 0.00
#> TCGA.DW.7837.01     5  0.1166     0.9795 0.06 0.00 0.00 0.00 0.94 0.00 0.00
#> TCGA.SX.A71U.01     1  0.0000     0.9664 1.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7050.01     2  0.0000     0.7248 0.00 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.J7.6720.01     1  0.0000     0.9664 1.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.MH.A562.01     1  0.0000     0.9664 1.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.A4.7584.01     3  0.0000     0.8145 0.00 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7056.01     2  0.1166     0.6987 0.00 0.94 0.00 0.00 0.00 0.06 0.00
#> TCGA.2Z.A9J1.01     5  0.0863     0.9900 0.04 0.00 0.00 0.00 0.96 0.00 0.00
#> TCGA.UN.AAZ9.01     7  0.1166     0.6919 0.00 0.00 0.06 0.00 0.00 0.00 0.94
#> TCGA.2Z.A9J6.01     1  0.0000     0.9664 1.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.A4.7583.01     7  0.2708     0.7746 0.00 0.00 0.22 0.00 0.00 0.00 0.78
#> TCGA.2Z.A9J5.01     1  0.0504     0.9610 0.98 0.00 0.00 0.00 0.00 0.00 0.02

show/hide code output

cbind(get_classes(res, k = 8), get_membership(res, k = 8))
#>                 class entropy silhouette   p1   p2   p3   p4   p5   p6   p7   p8
#> TCGA.IA.A83W.01     5  0.1408      0.942 0.00 0.02 0.00 0.00 0.94 0.02 0.00 0.02
#> TCGA.G7.A8LC.01     7  0.1874      0.823 0.02 0.00 0.02 0.00 0.00 0.02 0.92 0.02
#> TCGA.EV.5901.01     4  0.0000      0.995 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.SX.A7SR.01     1  0.0471      0.967 0.98 0.00 0.00 0.00 0.00 0.00 0.00 0.02
#> TCGA.IZ.A6M8.01     3  0.1091      0.838 0.00 0.00 0.94 0.00 0.00 0.00 0.00 0.06
#> TCGA.MH.A856.01     5  0.1408      0.942 0.00 0.02 0.00 0.00 0.94 0.02 0.00 0.02
#> TCGA.B9.5156.01     1  0.0471      0.965 0.98 0.00 0.00 0.00 0.00 0.00 0.02 0.00
#> TCGA.Y8.A897.01     8  0.3449      0.437 0.32 0.00 0.00 0.00 0.00 0.00 0.02 0.66
#> TCGA.SX.A7SP.01     8  0.2114      0.777 0.00 0.16 0.00 0.00 0.00 0.00 0.00 0.84
#> TCGA.Y8.A8RZ.01     6  0.0808      0.986 0.00 0.04 0.00 0.00 0.00 0.96 0.00 0.00
#> TCGA.A4.A5XZ.01     8  0.2623      0.739 0.00 0.00 0.10 0.00 0.00 0.00 0.06 0.84
#> TCGA.Y8.A898.01     1  0.0471      0.967 0.98 0.00 0.00 0.00 0.00 0.00 0.00 0.02
#> TCGA.Y8.A8RY.01     1  0.0941      0.958 0.96 0.00 0.00 0.00 0.00 0.00 0.02 0.02
#> TCGA.SX.A7SN.01     5  0.1408      0.923 0.02 0.00 0.00 0.00 0.94 0.00 0.02 0.02
#> TCGA.A4.8517.01     3  0.0471      0.847 0.00 0.00 0.98 0.00 0.00 0.00 0.02 0.00
#> TCGA.SX.A7SO.01     6  0.1557      0.973 0.00 0.06 0.00 0.00 0.00 0.92 0.00 0.02
#> TCGA.B1.A657.01     1  0.0471      0.967 0.98 0.00 0.00 0.00 0.00 0.00 0.00 0.02
#> TCGA.EV.5903.01     5  0.0000      0.940 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.A4.A6HP.01     5  0.1741      0.911 0.04 0.00 0.00 0.00 0.92 0.00 0.02 0.02
#> TCGA.BQ.5886.01     3  0.2981      0.656 0.00 0.00 0.76 0.00 0.00 0.00 0.22 0.02
#> TCGA.A4.A5Y0.01     2  0.0471      0.984 0.00 0.98 0.00 0.00 0.00 0.02 0.00 0.00
#> TCGA.A4.8098.01     7  0.2025      0.876 0.00 0.00 0.10 0.00 0.00 0.02 0.88 0.00
#> TCGA.DW.5560.01     4  0.0000      0.995 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.A4.8310.01     3  0.3374      0.516 0.00 0.00 0.68 0.00 0.00 0.00 0.30 0.02
#> TCGA.2Z.A9J8.01     6  0.0808      0.986 0.00 0.04 0.00 0.00 0.00 0.96 0.00 0.00
#> TCGA.P4.A5E7.01     4  0.0000      0.995 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.2Z.A9JM.01     5  0.0941      0.931 0.00 0.00 0.00 0.00 0.96 0.00 0.02 0.02
#> TCGA.2Z.A9JD.01     3  0.1091      0.838 0.00 0.00 0.94 0.00 0.00 0.00 0.00 0.06
#> TCGA.SX.A71V.01     7  0.3314      0.833 0.08 0.00 0.10 0.00 0.00 0.00 0.80 0.02
#> TCGA.IA.A40X.01     2  0.0471      0.984 0.00 0.98 0.00 0.00 0.00 0.00 0.00 0.02
#> TCGA.5P.A9KE.01     3  0.0471      0.845 0.00 0.00 0.98 0.00 0.00 0.00 0.00 0.02
#> TCGA.5P.A9KA.01     5  0.1408      0.942 0.00 0.02 0.00 0.00 0.94 0.02 0.00 0.02
#> TCGA.A4.A772.01     1  0.0000      0.968 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.IA.A40U.01     7  0.1804      0.878 0.02 0.00 0.08 0.00 0.00 0.00 0.90 0.00
#> TCGA.DW.7963.01     3  0.4134      0.449 0.30 0.00 0.62 0.00 0.00 0.00 0.00 0.08
#> TCGA.2Z.A9JL.01     5  0.1408      0.942 0.00 0.02 0.00 0.00 0.94 0.02 0.00 0.02
#> TCGA.P4.AAVM.01     3  0.0941      0.843 0.00 0.00 0.96 0.00 0.00 0.00 0.02 0.02
#> TCGA.5P.A9JZ.01     4  0.0471      0.975 0.00 0.02 0.00 0.98 0.00 0.00 0.00 0.00
#> TCGA.BQ.5881.01     3  0.0941      0.843 0.00 0.00 0.96 0.00 0.00 0.00 0.02 0.02
#> TCGA.UZ.A9PS.01     8  0.2114      0.777 0.00 0.16 0.00 0.00 0.00 0.00 0.00 0.84
#> TCGA.5P.A9K0.01     3  0.0941      0.843 0.00 0.00 0.96 0.00 0.00 0.00 0.02 0.02
#> TCGA.5P.A9K6.01     3  0.3660      0.575 0.24 0.00 0.70 0.00 0.00 0.00 0.00 0.06
#> TCGA.P4.A5E6.01     3  0.3449      0.472 0.00 0.00 0.66 0.00 0.00 0.00 0.32 0.02
#> TCGA.BQ.5885.01     7  0.2224      0.873 0.00 0.00 0.12 0.00 0.00 0.02 0.86 0.00
#> TCGA.2Z.A9JP.01     3  0.0471      0.847 0.00 0.00 0.98 0.00 0.00 0.00 0.02 0.00
#> TCGA.2Z.A9JR.01     1  0.0941      0.958 0.96 0.00 0.00 0.00 0.00 0.00 0.02 0.02
#> TCGA.GL.A59T.01     1  0.0471      0.967 0.98 0.00 0.00 0.00 0.00 0.00 0.00 0.02
#> TCGA.B1.A47M.01     1  0.0471      0.967 0.98 0.00 0.00 0.00 0.00 0.00 0.00 0.02
#> TCGA.2Z.A9JJ.01     4  0.0000      0.995 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.2Z.A9JT.01     3  0.0471      0.847 0.00 0.00 0.98 0.00 0.00 0.00 0.02 0.00
#> TCGA.HE.A5NL.01     1  0.0000      0.968 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.G7.7502.01     7  0.3314      0.823 0.10 0.00 0.08 0.00 0.00 0.00 0.80 0.02
#> TCGA.DW.7841.01     5  0.2020      0.891 0.06 0.00 0.00 0.00 0.90 0.00 0.02 0.02
#> TCGA.BQ.7045.01     3  0.1091      0.838 0.00 0.00 0.94 0.00 0.00 0.00 0.00 0.06
#> TCGA.A4.7996.01     8  0.2623      0.739 0.00 0.00 0.10 0.00 0.00 0.00 0.06 0.84
#> TCGA.BQ.7046.01     3  0.2404      0.754 0.00 0.00 0.84 0.00 0.00 0.00 0.14 0.02
#> TCGA.G7.7501.01     2  0.0471      0.984 0.00 0.98 0.00 0.00 0.00 0.02 0.00 0.00
#> TCGA.DW.7834.01     1  0.0941      0.958 0.96 0.00 0.00 0.00 0.00 0.00 0.02 0.02
#> TCGA.BQ.7060.01     3  0.1091      0.838 0.00 0.00 0.94 0.00 0.00 0.00 0.00 0.06
#> TCGA.G7.6792.01     5  0.1408      0.942 0.00 0.02 0.00 0.00 0.94 0.02 0.00 0.02
#> TCGA.GL.7773.01     4  0.0000      0.995 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7053.01     2  0.0471      0.984 0.00 0.98 0.00 0.00 0.00 0.00 0.00 0.02
#> TCGA.BQ.7062.01     1  0.0941      0.954 0.96 0.00 0.00 0.00 0.00 0.00 0.02 0.02
#> TCGA.A4.7288.01     8  0.2114      0.777 0.00 0.16 0.00 0.00 0.00 0.00 0.00 0.84
#> TCGA.A4.7286.01     7  0.1765      0.871 0.00 0.00 0.12 0.00 0.00 0.00 0.88 0.00
#> TCGA.G7.6795.01     1  0.0000      0.968 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.MH.A55W.01     7  0.3095      0.731 0.00 0.00 0.24 0.00 0.00 0.00 0.74 0.02
#> TCGA.G7.6790.01     1  0.0941      0.954 0.96 0.00 0.00 0.00 0.00 0.00 0.02 0.02
#> TCGA.A4.7997.01     5  0.0941      0.943 0.00 0.02 0.00 0.00 0.96 0.02 0.00 0.00
#> TCGA.MH.A561.01     1  0.0471      0.967 0.98 0.00 0.00 0.00 0.00 0.00 0.00 0.02
#> TCGA.A4.A57E.01     6  0.1275      0.984 0.00 0.04 0.00 0.00 0.00 0.94 0.00 0.02
#> TCGA.DW.7837.01     5  0.1741      0.911 0.04 0.00 0.00 0.00 0.92 0.00 0.02 0.02
#> TCGA.SX.A71U.01     1  0.0941      0.958 0.96 0.00 0.00 0.00 0.00 0.00 0.02 0.02
#> TCGA.BQ.7050.01     2  0.0471      0.984 0.00 0.98 0.00 0.00 0.00 0.00 0.00 0.02
#> TCGA.J7.6720.01     1  0.0941      0.958 0.96 0.00 0.00 0.00 0.00 0.00 0.02 0.02
#> TCGA.MH.A562.01     1  0.1408      0.943 0.94 0.00 0.00 0.00 0.02 0.00 0.02 0.02
#> TCGA.A4.7584.01     3  0.1091      0.838 0.00 0.00 0.94 0.00 0.00 0.00 0.00 0.06
#> TCGA.BQ.7056.01     2  0.0471      0.984 0.00 0.98 0.00 0.00 0.00 0.02 0.00 0.00
#> TCGA.2Z.A9J1.01     5  0.0471      0.942 0.00 0.00 0.00 0.00 0.98 0.00 0.00 0.02
#> TCGA.UN.AAZ9.01     7  0.1557      0.811 0.00 0.00 0.00 0.00 0.00 0.02 0.92 0.06
#> TCGA.2Z.A9J6.01     1  0.0941      0.958 0.96 0.00 0.00 0.00 0.00 0.00 0.02 0.02
#> TCGA.A4.7583.01     7  0.1091      0.879 0.00 0.00 0.06 0.00 0.00 0.00 0.94 0.00
#> TCGA.2Z.A9J5.01     1  0.0471      0.967 0.98 0.00 0.00 0.00 0.00 0.00 0.00 0.02

Heatmaps for the consensus matrix. It visualizes the probability of two samples to be in a same group.

consensus_heatmap(res, k = 2)

plot of chunk tab-node-05-consensus-heatmap-1

consensus_heatmap(res, k = 3)

plot of chunk tab-node-05-consensus-heatmap-2

consensus_heatmap(res, k = 4)

plot of chunk tab-node-05-consensus-heatmap-3

consensus_heatmap(res, k = 5)

plot of chunk tab-node-05-consensus-heatmap-4

consensus_heatmap(res, k = 6)

plot of chunk tab-node-05-consensus-heatmap-5

consensus_heatmap(res, k = 7)

plot of chunk tab-node-05-consensus-heatmap-6

consensus_heatmap(res, k = 8)

plot of chunk tab-node-05-consensus-heatmap-7

Heatmaps for the membership of samples in all partitions to see how consistent they are:

membership_heatmap(res, k = 2)

plot of chunk tab-node-05-membership-heatmap-1

membership_heatmap(res, k = 3)

plot of chunk tab-node-05-membership-heatmap-2

membership_heatmap(res, k = 4)

plot of chunk tab-node-05-membership-heatmap-3

membership_heatmap(res, k = 5)

plot of chunk tab-node-05-membership-heatmap-4

membership_heatmap(res, k = 6)

plot of chunk tab-node-05-membership-heatmap-5

membership_heatmap(res, k = 7)

plot of chunk tab-node-05-membership-heatmap-6

membership_heatmap(res, k = 8)

plot of chunk tab-node-05-membership-heatmap-7

As soon as the classes for columns are determined, the signatures that are significantly different between subgroups can be looked for. Following are the heatmaps for signatures.

get_signatures(res, k = 2)

plot of chunk tab-node-05-get-signatures-1

get_signatures(res, k = 3)

plot of chunk tab-node-05-get-signatures-2

get_signatures(res, k = 4)

plot of chunk tab-node-05-get-signatures-3

get_signatures(res, k = 5)

plot of chunk tab-node-05-get-signatures-4

get_signatures(res, k = 6)

plot of chunk tab-node-05-get-signatures-5

get_signatures(res, k = 7)

plot of chunk tab-node-05-get-signatures-6

get_signatures(res, k = 8)

plot of chunk tab-node-05-get-signatures-7

Compare the overlap of signatures from different k:

compare_signatures(res)

plot of chunk node-05-signature_compare

get_signature() returns a data frame invisibly. To get the list of signatures, the function call should be assigned to a variable explicitly. In following code, if plot argument is set to FALSE, no heatmap is plotted while only the differential analysis is performed.

# code only for demonstration
tb = get_signature(res, k = ..., plot = FALSE)

An example of the output of tb is:

#>   which_row         fdr    mean_1    mean_2 scaled_mean_1 scaled_mean_2 km
#> 1        38 0.042760348  8.373488  9.131774    -0.5533452     0.5164555  1
#> 2        40 0.018707592  7.106213  8.469186    -0.6173731     0.5762149  1
#> 3        55 0.019134737 10.221463 11.207825    -0.6159697     0.5749050  1
#> 4        59 0.006059896  5.921854  7.869574    -0.6899429     0.6439467  1
#> 5        60 0.018055526  8.928898 10.211722    -0.6204761     0.5791110  1
#> 6        98 0.009384629 15.714769 14.887706     0.6635654    -0.6193277  2
...

The columns in tb are:

  1. which_row: row indices corresponding to the input matrix.
  2. fdr: FDR for the differential test.
  3. mean_x: The mean value in group x.
  4. scaled_mean_x: The mean value in group x after rows are scaled.
  5. km: Row groups if k-means clustering is applied to rows (which is done by automatically selecting number of clusters).

If there are too many signatures, top_signatures = ... can be set to only show the signatures with the highest FDRs:

# code only for demonstration
# e.g. to show the top 500 most significant rows
tb = get_signature(res, k = ..., top_signatures = 500)

If the signatures are defined as these which are uniquely high in current group, diff_method argument can be set to "uniquely_high_in_one_group":

# code only for demonstration
tb = get_signature(res, k = ..., diff_method = "uniquely_high_in_one_group")

UMAP plot which shows how samples are separated.

dimension_reduction(res, k = 2, method = "UMAP")

plot of chunk tab-node-05-dimension-reduction-1

dimension_reduction(res, k = 3, method = "UMAP")

plot of chunk tab-node-05-dimension-reduction-2

dimension_reduction(res, k = 4, method = "UMAP")

plot of chunk tab-node-05-dimension-reduction-3

dimension_reduction(res, k = 5, method = "UMAP")

plot of chunk tab-node-05-dimension-reduction-4

dimension_reduction(res, k = 6, method = "UMAP")

plot of chunk tab-node-05-dimension-reduction-5

dimension_reduction(res, k = 7, method = "UMAP")

plot of chunk tab-node-05-dimension-reduction-6

dimension_reduction(res, k = 8, method = "UMAP")

plot of chunk tab-node-05-dimension-reduction-7

Following heatmap shows how subgroups are split when increasing k:

collect_classes(res)

plot of chunk node-05-collect-classes

If matrix rows can be associated to genes, consider to use functional_enrichment(res, ...) to perform function enrichment for the signature genes. See this vignette for more detailed explanations.


Node051

Parent node: Node05. Child nodes: Node0121-leaf , Node0122-leaf , Node0123-leaf , Node0124-leaf , Node0131 , Node0132-leaf , Node0221-leaf , Node0222-leaf , Node0223-leaf , Node0311 , Node0312-leaf , Node0313-leaf , Node0321-leaf , Node0322-leaf , Node0431-leaf , Node0432-leaf , Node0433-leaf , Node0511-leaf , Node0512-leaf , Node0513-leaf , Node0521-leaf , Node0522-leaf , Node0523-leaf , Node0531-leaf , Node0532-leaf , Node0533-leaf .

The object with results only for a single top-value method and a single partitioning method can be extracted as:

res = res_rh["051"]

A summary of res and all the functions that can be applied to it:

res
#> A 'ConsensusPartition' object with k = 2, 3, 4, 5, 6, 7, 8.
#>   On a matrix with 30000 rows and 32 columns.
#>   Top rows (1000) are extracted by 'ATC' method.
#>   Subgroups are detected by 'kmeans' method.
#>   Performed in total 350 partitions by row resampling.
#>   Best k for subgroups seems to be 3.
#> 
#> Following methods can be applied to this 'ConsensusPartition' object:
#>  [1] "cola_report"             "collect_classes"         "collect_plots"          
#>  [4] "collect_stats"           "colnames"                "compare_partitions"     
#>  [7] "compare_signatures"      "consensus_heatmap"       "dimension_reduction"    
#> [10] "functional_enrichment"   "get_anno_col"            "get_anno"               
#> [13] "get_classes"             "get_consensus"           "get_matrix"             
#> [16] "get_membership"          "get_param"               "get_signatures"         
#> [19] "get_stats"               "is_best_k"               "is_stable_k"            
#> [22] "membership_heatmap"      "ncol"                    "nrow"                   
#> [25] "plot_ecdf"               "predict_classes"         "rownames"               
#> [28] "select_partition_number" "show"                    "suggest_best_k"         
#> [31] "test_to_known_factors"   "top_rows_heatmap"

collect_plots() function collects all the plots made from res for all k (number of subgroups) into one single page to provide an easy and fast comparison between different k.

collect_plots(res)

plot of chunk node-051-collect-plots

The plots are:

All the plots in panels can be made by individual functions and they are plotted later in this section.

select_partition_number() produces several plots showing different statistics for choosing “optimized” k. There are following statistics:

The detailed explanations of these statistics can be found in the cola vignette.

Generally speaking, higher 1-PAC score, higher mean silhouette score or higher concordance corresponds to better partition. Rand index and Jaccard index measure how similar the current partition is compared to partition with k-1. If they are too similar, we won't accept k is better than k-1.

select_partition_number(res)

plot of chunk node-051-select-partition-number

The numeric values for all these statistics can be obtained by get_stats().

get_stats(res)
#>   k 1-PAC mean_silhouette concordance area_increased  Rand Jaccard
#> 2 2 0.685           0.805       0.914         0.4623 0.583   0.583
#> 3 3 1.000           1.000       1.000         0.4182 0.698   0.508
#> 4 4 0.752           0.689       0.863         0.1301 0.883   0.672
#> 5 5 0.703           0.691       0.829         0.0725 0.903   0.644
#> 6 6 0.713           0.493       0.686         0.0355 0.909   0.609
#> 7 7 0.789           0.667       0.784         0.0388 0.940   0.688
#> 8 8 0.821           0.646       0.810         0.0208 0.944   0.659

suggest_best_k() suggests the best \(k\) based on these statistics. The rules are as follows:

suggest_best_k(res)
#> [1] 3

Following is the table of the partitions (You need to click the show/hide code output link to see it). The membership matrix (columns with name p*) is inferred by clue::cl_consensus() function with the SE method. Basically the value in the membership matrix represents the probability to belong to a certain group. The finall subgroup label for an item is determined with the group with highest probability it belongs to.

In get_classes() function, the entropy is calculated from the membership matrix and the silhouette score is calculated from the consensus matrix.

show/hide code output

cbind(get_classes(res, k = 2), get_membership(res, k = 2))
#>                 class entropy silhouette   p1   p2
#> TCGA.IA.A83W.01     2   0.000      1.000 0.00 1.00
#> TCGA.SX.A7SR.01     1   0.000      0.862 1.00 0.00
#> TCGA.MH.A856.01     2   0.000      1.000 0.00 1.00
#> TCGA.B9.5156.01     1   0.000      0.862 1.00 0.00
#> TCGA.Y8.A897.01     1   0.000      0.862 1.00 0.00
#> TCGA.Y8.A898.01     1   0.000      0.862 1.00 0.00
#> TCGA.Y8.A8RY.01     1   0.000      0.862 1.00 0.00
#> TCGA.SX.A7SN.01     1   0.995      0.342 0.54 0.46
#> TCGA.B1.A657.01     1   0.000      0.862 1.00 0.00
#> TCGA.EV.5903.01     2   0.000      1.000 0.00 1.00
#> TCGA.A4.A6HP.01     1   0.995      0.342 0.54 0.46
#> TCGA.2Z.A9JM.01     2   0.000      1.000 0.00 1.00
#> TCGA.5P.A9KA.01     2   0.000      1.000 0.00 1.00
#> TCGA.A4.A772.01     1   0.000      0.862 1.00 0.00
#> TCGA.2Z.A9JL.01     2   0.000      1.000 0.00 1.00
#> TCGA.2Z.A9JR.01     1   0.000      0.862 1.00 0.00
#> TCGA.GL.A59T.01     1   0.000      0.862 1.00 0.00
#> TCGA.B1.A47M.01     1   0.000      0.862 1.00 0.00
#> TCGA.HE.A5NL.01     1   0.990      0.378 0.56 0.44
#> TCGA.DW.7841.01     1   0.995      0.342 0.54 0.46
#> TCGA.DW.7834.01     1   0.000      0.862 1.00 0.00
#> TCGA.G7.6792.01     2   0.000      1.000 0.00 1.00
#> TCGA.G7.6795.01     1   0.000      0.862 1.00 0.00
#> TCGA.A4.7997.01     2   0.000      1.000 0.00 1.00
#> TCGA.MH.A561.01     1   0.000      0.862 1.00 0.00
#> TCGA.DW.7837.01     1   0.995      0.342 0.54 0.46
#> TCGA.SX.A71U.01     1   0.000      0.862 1.00 0.00
#> TCGA.J7.6720.01     1   0.000      0.862 1.00 0.00
#> TCGA.MH.A562.01     1   0.000      0.862 1.00 0.00
#> TCGA.2Z.A9J1.01     2   0.000      1.000 0.00 1.00
#> TCGA.2Z.A9J6.01     1   0.995      0.342 0.54 0.46
#> TCGA.2Z.A9J5.01     1   0.000      0.862 1.00 0.00

show/hide code output

cbind(get_classes(res, k = 3), get_membership(res, k = 3))
#>                 class entropy silhouette p1 p2 p3
#> TCGA.IA.A83W.01     2       0          1  0  1  0
#> TCGA.SX.A7SR.01     1       0          1  1  0  0
#> TCGA.MH.A856.01     2       0          1  0  1  0
#> TCGA.B9.5156.01     3       0          1  0  0  1
#> TCGA.Y8.A897.01     1       0          1  1  0  0
#> TCGA.Y8.A898.01     1       0          1  1  0  0
#> TCGA.Y8.A8RY.01     1       0          1  1  0  0
#> TCGA.SX.A7SN.01     3       0          1  0  0  1
#> TCGA.B1.A657.01     1       0          1  1  0  0
#> TCGA.EV.5903.01     3       0          1  0  0  1
#> TCGA.A4.A6HP.01     3       0          1  0  0  1
#> TCGA.2Z.A9JM.01     3       0          1  0  0  1
#> TCGA.5P.A9KA.01     2       0          1  0  1  0
#> TCGA.A4.A772.01     1       0          1  1  0  0
#> TCGA.2Z.A9JL.01     2       0          1  0  1  0
#> TCGA.2Z.A9JR.01     1       0          1  1  0  0
#> TCGA.GL.A59T.01     1       0          1  1  0  0
#> TCGA.B1.A47M.01     1       0          1  1  0  0
#> TCGA.HE.A5NL.01     3       0          1  0  0  1
#> TCGA.DW.7841.01     3       0          1  0  0  1
#> TCGA.DW.7834.01     1       0          1  1  0  0
#> TCGA.G7.6792.01     2       0          1  0  1  0
#> TCGA.G7.6795.01     1       0          1  1  0  0
#> TCGA.A4.7997.01     2       0          1  0  1  0
#> TCGA.MH.A561.01     1       0          1  1  0  0
#> TCGA.DW.7837.01     3       0          1  0  0  1
#> TCGA.SX.A71U.01     1       0          1  1  0  0
#> TCGA.J7.6720.01     1       0          1  1  0  0
#> TCGA.MH.A562.01     3       0          1  0  0  1
#> TCGA.2Z.A9J1.01     2       0          1  0  1  0
#> TCGA.2Z.A9J6.01     3       0          1  0  0  1
#> TCGA.2Z.A9J5.01     1       0          1  1  0  0

show/hide code output

cbind(get_classes(res, k = 4), get_membership(res, k = 4))
#>                 class entropy silhouette   p1   p2   p3   p4
#> TCGA.IA.A83W.01     2  0.1637     0.9005 0.00 0.94 0.00 0.06
#> TCGA.SX.A7SR.01     1  0.0000     0.8554 1.00 0.00 0.00 0.00
#> TCGA.MH.A856.01     2  0.0000     0.9219 0.00 1.00 0.00 0.00
#> TCGA.B9.5156.01     4  0.2647     0.4563 0.00 0.00 0.12 0.88
#> TCGA.Y8.A897.01     1  0.1637     0.8282 0.94 0.00 0.00 0.06
#> TCGA.Y8.A898.01     1  0.0000     0.8554 1.00 0.00 0.00 0.00
#> TCGA.Y8.A8RY.01     1  0.4977    -0.0542 0.54 0.00 0.00 0.46
#> TCGA.SX.A7SN.01     3  0.0000     0.8144 0.00 0.00 1.00 0.00
#> TCGA.B1.A657.01     1  0.0707     0.8497 0.98 0.00 0.00 0.02
#> TCGA.EV.5903.01     3  0.0000     0.8144 0.00 0.00 1.00 0.00
#> TCGA.A4.A6HP.01     3  0.1211     0.8191 0.00 0.00 0.96 0.04
#> TCGA.2Z.A9JM.01     3  0.0000     0.8144 0.00 0.00 1.00 0.00
#> TCGA.5P.A9KA.01     2  0.5327     0.6450 0.00 0.72 0.22 0.06
#> TCGA.A4.A772.01     4  0.4713     0.3703 0.36 0.00 0.00 0.64
#> TCGA.2Z.A9JL.01     2  0.1637     0.9222 0.00 0.94 0.00 0.06
#> TCGA.2Z.A9JR.01     4  0.4977     0.1068 0.46 0.00 0.00 0.54
#> TCGA.GL.A59T.01     1  0.0000     0.8554 1.00 0.00 0.00 0.00
#> TCGA.B1.A47M.01     1  0.0000     0.8554 1.00 0.00 0.00 0.00
#> TCGA.HE.A5NL.01     3  0.4948     0.5780 0.00 0.00 0.56 0.44
#> TCGA.DW.7841.01     3  0.3610     0.7929 0.00 0.00 0.80 0.20
#> TCGA.DW.7834.01     1  0.5000    -0.2022 0.50 0.00 0.00 0.50
#> TCGA.G7.6792.01     2  0.0000     0.9219 0.00 1.00 0.00 0.00
#> TCGA.G7.6795.01     1  0.0000     0.8554 1.00 0.00 0.00 0.00
#> TCGA.A4.7997.01     2  0.1637     0.9222 0.00 0.94 0.00 0.06
#> TCGA.MH.A561.01     1  0.0000     0.8554 1.00 0.00 0.00 0.00
#> TCGA.DW.7837.01     3  0.3610     0.7929 0.00 0.00 0.80 0.20
#> TCGA.SX.A71U.01     1  0.2647     0.7709 0.88 0.00 0.00 0.12
#> TCGA.J7.6720.01     1  0.1211     0.8394 0.96 0.00 0.00 0.04
#> TCGA.MH.A562.01     4  0.4713     0.1190 0.00 0.00 0.36 0.64
#> TCGA.2Z.A9J1.01     2  0.1637     0.9222 0.00 0.94 0.00 0.06
#> TCGA.2Z.A9J6.01     3  0.4790     0.6626 0.00 0.00 0.62 0.38
#> TCGA.2Z.A9J5.01     4  0.2647     0.5944 0.12 0.00 0.00 0.88

show/hide code output

cbind(get_classes(res, k = 5), get_membership(res, k = 5))
#>                 class entropy silhouette   p1   p2   p3   p4   p5
#> TCGA.IA.A83W.01     2   0.342     0.8120 0.00 0.84 0.00 0.08 0.08
#> TCGA.SX.A7SR.01     1   0.000     0.8445 1.00 0.00 0.00 0.00 0.00
#> TCGA.MH.A856.01     2   0.000     0.8778 0.00 1.00 0.00 0.00 0.00
#> TCGA.B9.5156.01     5   0.516     0.6028 0.00 0.00 0.06 0.32 0.62
#> TCGA.Y8.A897.01     1   0.273     0.7239 0.84 0.00 0.00 0.16 0.00
#> TCGA.Y8.A898.01     1   0.000     0.8445 1.00 0.00 0.00 0.00 0.00
#> TCGA.Y8.A8RY.01     4   0.453     0.6434 0.26 0.00 0.00 0.70 0.04
#> TCGA.SX.A7SN.01     3   0.000     0.7931 0.00 0.00 1.00 0.00 0.00
#> TCGA.B1.A657.01     1   0.141     0.8132 0.94 0.00 0.00 0.06 0.00
#> TCGA.EV.5903.01     3   0.104     0.7905 0.00 0.00 0.96 0.00 0.04
#> TCGA.A4.A6HP.01     3   0.273     0.7775 0.00 0.00 0.84 0.00 0.16
#> TCGA.2Z.A9JM.01     3   0.104     0.7905 0.00 0.00 0.96 0.00 0.04
#> TCGA.5P.A9KA.01     2   0.667     0.5976 0.00 0.62 0.12 0.10 0.16
#> TCGA.A4.A772.01     4   0.521     0.5241 0.12 0.00 0.00 0.68 0.20
#> TCGA.2Z.A9JL.01     2   0.244     0.8740 0.00 0.90 0.00 0.04 0.06
#> TCGA.2Z.A9JR.01     4   0.351     0.7251 0.18 0.00 0.00 0.80 0.02
#> TCGA.GL.A59T.01     1   0.000     0.8445 1.00 0.00 0.00 0.00 0.00
#> TCGA.B1.A47M.01     1   0.000     0.8445 1.00 0.00 0.00 0.00 0.00
#> TCGA.HE.A5NL.01     5   0.395     0.6398 0.00 0.00 0.12 0.08 0.80
#> TCGA.DW.7841.01     3   0.436     0.6785 0.00 0.00 0.68 0.02 0.30
#> TCGA.DW.7834.01     4   0.311     0.7263 0.20 0.00 0.00 0.80 0.00
#> TCGA.G7.6792.01     2   0.000     0.8778 0.00 1.00 0.00 0.00 0.00
#> TCGA.G7.6795.01     1   0.000     0.8445 1.00 0.00 0.00 0.00 0.00
#> TCGA.A4.7997.01     2   0.275     0.8705 0.00 0.88 0.00 0.08 0.04
#> TCGA.MH.A561.01     1   0.165     0.8107 0.94 0.00 0.00 0.02 0.04
#> TCGA.DW.7837.01     3   0.436     0.6785 0.00 0.00 0.68 0.02 0.30
#> TCGA.SX.A71U.01     1   0.406     0.3676 0.64 0.00 0.00 0.36 0.00
#> TCGA.J7.6720.01     1   0.516    -0.0956 0.52 0.00 0.00 0.44 0.04
#> TCGA.MH.A562.01     4   0.589     0.1669 0.00 0.00 0.22 0.60 0.18
#> TCGA.2Z.A9J1.01     2   0.244     0.8740 0.00 0.90 0.00 0.04 0.06
#> TCGA.2Z.A9J6.01     5   0.293     0.5283 0.00 0.00 0.18 0.00 0.82
#> TCGA.2Z.A9J5.01     5   0.530     0.4141 0.06 0.00 0.00 0.36 0.58

show/hide code output

cbind(get_classes(res, k = 6), get_membership(res, k = 6))
#>                 class entropy silhouette   p1   p2   p3   p4   p5   p6
#> TCGA.IA.A83W.01     2  0.3756    -0.0625 0.00 0.60 0.00 0.00 0.00 0.40
#> TCGA.SX.A7SR.01     1  0.0000     0.8109 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.MH.A856.01     2  0.3315     0.5729 0.00 0.78 0.00 0.02 0.00 0.20
#> TCGA.B9.5156.01     5  0.5922     0.3778 0.00 0.00 0.00 0.34 0.44 0.22
#> TCGA.Y8.A897.01     1  0.4195     0.5266 0.74 0.00 0.00 0.20 0.02 0.04
#> TCGA.Y8.A898.01     1  0.0000     0.8109 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.Y8.A8RY.01     4  0.5029     0.6920 0.26 0.00 0.00 0.62 0.00 0.12
#> TCGA.SX.A7SN.01     3  0.0000     0.7897 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.B1.A657.01     1  0.1092     0.7937 0.96 0.00 0.00 0.02 0.00 0.02
#> TCGA.EV.5903.01     3  0.0000     0.7897 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.A4.A6HP.01     3  0.3864     0.2221 0.00 0.00 0.52 0.00 0.48 0.00
#> TCGA.2Z.A9JM.01     3  0.0937     0.7761 0.00 0.00 0.96 0.00 0.00 0.04
#> TCGA.5P.A9KA.01     6  0.6323     0.0000 0.00 0.38 0.04 0.00 0.14 0.44
#> TCGA.A4.A772.01     4  0.5854     0.4397 0.12 0.00 0.00 0.64 0.12 0.12
#> TCGA.2Z.A9JL.01     2  0.0547     0.6789 0.00 0.98 0.00 0.02 0.00 0.00
#> TCGA.2Z.A9JR.01     4  0.2941     0.7590 0.22 0.00 0.00 0.78 0.00 0.00
#> TCGA.GL.A59T.01     1  0.0000     0.8109 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.B1.A47M.01     1  0.1865     0.7655 0.92 0.00 0.00 0.04 0.00 0.04
#> TCGA.HE.A5NL.01     5  0.4890     0.4257 0.00 0.00 0.00 0.18 0.66 0.16
#> TCGA.DW.7841.01     5  0.3797    -0.3194 0.00 0.00 0.42 0.00 0.58 0.00
#> TCGA.DW.7834.01     4  0.2941     0.7590 0.22 0.00 0.00 0.78 0.00 0.00
#> TCGA.G7.6792.01     2  0.3315     0.5729 0.00 0.78 0.00 0.02 0.00 0.20
#> TCGA.G7.6795.01     1  0.0000     0.8109 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.A4.7997.01     2  0.0000     0.6802 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.MH.A561.01     1  0.4798     0.4266 0.62 0.00 0.00 0.08 0.00 0.30
#> TCGA.DW.7837.01     5  0.3797    -0.3194 0.00 0.00 0.42 0.00 0.58 0.00
#> TCGA.SX.A71U.01     1  0.4420     0.1900 0.62 0.00 0.00 0.34 0.00 0.04
#> TCGA.J7.6720.01     4  0.5324     0.5767 0.34 0.00 0.00 0.54 0.00 0.12
#> TCGA.MH.A562.01     5  0.5447     0.0257 0.00 0.00 0.12 0.42 0.46 0.00
#> TCGA.2Z.A9J1.01     2  0.0547     0.6789 0.00 0.98 0.00 0.02 0.00 0.00
#> TCGA.2Z.A9J6.01     5  0.5184     0.4008 0.00 0.00 0.02 0.12 0.66 0.20
#> TCGA.2Z.A9J5.01     5  0.5957     0.3257 0.00 0.00 0.00 0.38 0.40 0.22

show/hide code output

cbind(get_classes(res, k = 7), get_membership(res, k = 7))
#>                 class entropy silhouette   p1   p2   p3   p4   p5   p6   p7
#> TCGA.IA.A83W.01     6  0.3459     0.4391 0.00 0.40 0.00 0.00 0.00 0.60 0.00
#> TCGA.SX.A7SR.01     1  0.0000     0.7719 1.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.MH.A856.01     2  0.3526     0.6621 0.00 0.76 0.06 0.00 0.00 0.18 0.00
#> TCGA.B9.5156.01     5  0.2163     0.7442 0.00 0.00 0.00 0.10 0.88 0.00 0.02
#> TCGA.Y8.A897.01     1  0.6429     0.4202 0.54 0.00 0.08 0.22 0.04 0.12 0.00
#> TCGA.Y8.A898.01     1  0.0000     0.7719 1.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.Y8.A8RY.01     4  0.1363     0.6969 0.04 0.00 0.02 0.94 0.00 0.00 0.00
#> TCGA.SX.A7SN.01     3  0.4710     0.8285 0.00 0.00 0.48 0.00 0.04 0.02 0.46
#> TCGA.B1.A657.01     1  0.2769     0.7362 0.86 0.00 0.04 0.00 0.02 0.08 0.00
#> TCGA.EV.5903.01     3  0.3496     0.8883 0.00 0.00 0.58 0.00 0.00 0.00 0.42
#> TCGA.A4.A6HP.01     7  0.1363     0.7762 0.00 0.00 0.04 0.00 0.00 0.02 0.94
#> TCGA.2Z.A9JM.01     3  0.3546     0.8729 0.00 0.00 0.54 0.00 0.00 0.00 0.46
#> TCGA.5P.A9KA.01     6  0.5162     0.6005 0.00 0.16 0.06 0.00 0.02 0.68 0.08
#> TCGA.A4.A772.01     4  0.5516     0.3238 0.00 0.00 0.04 0.50 0.36 0.10 0.00
#> TCGA.2Z.A9JL.01     2  0.0000     0.7911 0.00 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.2Z.A9JR.01     4  0.2376     0.7077 0.02 0.00 0.00 0.86 0.12 0.00 0.00
#> TCGA.GL.A59T.01     1  0.1363     0.7662 0.94 0.00 0.02 0.00 0.00 0.04 0.00
#> TCGA.B1.A47M.01     1  0.1664     0.7526 0.92 0.00 0.00 0.06 0.00 0.02 0.00
#> TCGA.HE.A5NL.01     5  0.4242     0.7400 0.00 0.00 0.02 0.00 0.72 0.08 0.18
#> TCGA.DW.7841.01     7  0.0863     0.9008 0.00 0.00 0.00 0.00 0.04 0.00 0.96
#> TCGA.DW.7834.01     4  0.2376     0.7077 0.02 0.00 0.00 0.86 0.12 0.00 0.00
#> TCGA.G7.6792.01     2  0.3526     0.6621 0.00 0.76 0.06 0.00 0.00 0.18 0.00
#> TCGA.G7.6795.01     1  0.0000     0.7719 1.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.A4.7997.01     2  0.1860     0.7551 0.00 0.92 0.04 0.02 0.02 0.00 0.00
#> TCGA.MH.A561.01     1  0.6871     0.2920 0.46 0.00 0.22 0.14 0.02 0.16 0.00
#> TCGA.DW.7837.01     7  0.0863     0.9008 0.00 0.00 0.00 0.00 0.04 0.00 0.96
#> TCGA.SX.A71U.01     1  0.6263     0.0892 0.42 0.00 0.04 0.40 0.04 0.10 0.00
#> TCGA.J7.6720.01     4  0.2163     0.6575 0.10 0.00 0.02 0.88 0.00 0.00 0.00
#> TCGA.MH.A562.01     4  0.4710     0.0976 0.00 0.00 0.00 0.48 0.04 0.02 0.46
#> TCGA.2Z.A9J1.01     2  0.0000     0.7911 0.00 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.2Z.A9J6.01     5  0.4500     0.6973 0.00 0.00 0.02 0.00 0.68 0.08 0.22
#> TCGA.2Z.A9J5.01     5  0.1671     0.7311 0.00 0.00 0.00 0.10 0.90 0.00 0.00

show/hide code output

cbind(get_classes(res, k = 8), get_membership(res, k = 8))
#>                 class entropy silhouette   p1   p2   p3   p4   p5   p6   p7   p8
#> TCGA.IA.A83W.01     6  0.3015      0.580 0.00 0.32 0.00 0.00 0.00 0.68 0.00 0.00
#> TCGA.SX.A7SR.01     1  0.0471      0.704 0.98 0.00 0.00 0.00 0.00 0.00 0.00 0.02
#> TCGA.MH.A856.01     2  0.4280      0.462 0.00 0.68 0.00 0.02 0.00 0.24 0.04 0.02
#> TCGA.B9.5156.01     5  0.1275      0.794 0.00 0.00 0.00 0.04 0.94 0.00 0.02 0.00
#> TCGA.Y8.A897.01     1  0.7521     -0.130 0.36 0.00 0.12 0.28 0.04 0.12 0.00 0.08
#> TCGA.Y8.A898.01     1  0.0000      0.709 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.Y8.A8RY.01     4  0.2071      0.750 0.04 0.00 0.04 0.90 0.00 0.00 0.00 0.02
#> TCGA.SX.A7SN.01     3  0.2852      0.930 0.00 0.00 0.72 0.00 0.00 0.00 0.28 0.00
#> TCGA.B1.A657.01     1  0.2025      0.638 0.88 0.00 0.00 0.00 0.02 0.00 0.00 0.10
#> TCGA.EV.5903.01     3  0.2650      0.952 0.00 0.00 0.76 0.00 0.00 0.00 0.24 0.00
#> TCGA.A4.A6HP.01     7  0.1804      0.703 0.00 0.00 0.08 0.00 0.00 0.00 0.90 0.02
#> TCGA.2Z.A9JM.01     3  0.3404      0.944 0.00 0.00 0.72 0.00 0.00 0.00 0.24 0.04
#> TCGA.5P.A9KA.01     6  0.3178      0.668 0.00 0.14 0.04 0.00 0.00 0.80 0.02 0.00
#> TCGA.A4.A772.01     4  0.5564      0.468 0.00 0.00 0.10 0.52 0.28 0.00 0.00 0.10
#> TCGA.2Z.A9JL.01     2  0.1887      0.637 0.00 0.90 0.04 0.00 0.00 0.00 0.00 0.06
#> TCGA.2Z.A9JR.01     4  0.0941      0.764 0.02 0.00 0.00 0.96 0.02 0.00 0.00 0.00
#> TCGA.GL.A59T.01     1  0.1091      0.693 0.94 0.00 0.00 0.00 0.00 0.00 0.00 0.06
#> TCGA.B1.A47M.01     1  0.2204      0.623 0.90 0.00 0.02 0.04 0.00 0.02 0.00 0.02
#> TCGA.HE.A5NL.01     5  0.4186      0.802 0.00 0.00 0.02 0.00 0.72 0.18 0.06 0.02
#> TCGA.DW.7841.01     7  0.0808      0.775 0.00 0.00 0.00 0.00 0.04 0.00 0.96 0.00
#> TCGA.DW.7834.01     4  0.0941      0.764 0.02 0.00 0.00 0.96 0.02 0.00 0.00 0.00
#> TCGA.G7.6792.01     2  0.4280      0.462 0.00 0.68 0.00 0.02 0.00 0.24 0.04 0.02
#> TCGA.G7.6795.01     1  0.0471      0.704 0.98 0.00 0.00 0.00 0.00 0.00 0.00 0.02
#> TCGA.A4.7997.01     2  0.2114      0.591 0.00 0.84 0.00 0.00 0.00 0.00 0.00 0.16
#> TCGA.MH.A561.01     8  0.3658      0.000 0.40 0.00 0.00 0.02 0.00 0.00 0.00 0.58
#> TCGA.DW.7837.01     7  0.0808      0.775 0.00 0.00 0.00 0.00 0.04 0.00 0.96 0.00
#> TCGA.SX.A71U.01     4  0.5909      0.437 0.22 0.00 0.12 0.54 0.02 0.00 0.00 0.10
#> TCGA.J7.6720.01     4  0.2348      0.737 0.06 0.00 0.04 0.88 0.00 0.00 0.00 0.02
#> TCGA.MH.A562.01     7  0.3449      0.507 0.00 0.00 0.00 0.32 0.00 0.00 0.66 0.02
#> TCGA.2Z.A9J1.01     2  0.1887      0.637 0.00 0.90 0.04 0.00 0.00 0.00 0.00 0.06
#> TCGA.2Z.A9J6.01     5  0.4186      0.802 0.00 0.00 0.02 0.00 0.72 0.18 0.06 0.02
#> TCGA.2Z.A9J5.01     5  0.0471      0.786 0.00 0.00 0.00 0.02 0.98 0.00 0.00 0.00

Heatmaps for the consensus matrix. It visualizes the probability of two samples to be in a same group.

consensus_heatmap(res, k = 2)

plot of chunk tab-node-051-consensus-heatmap-1

consensus_heatmap(res, k = 3)

plot of chunk tab-node-051-consensus-heatmap-2

consensus_heatmap(res, k = 4)

plot of chunk tab-node-051-consensus-heatmap-3

consensus_heatmap(res, k = 5)

plot of chunk tab-node-051-consensus-heatmap-4

consensus_heatmap(res, k = 6)

plot of chunk tab-node-051-consensus-heatmap-5

consensus_heatmap(res, k = 7)

plot of chunk tab-node-051-consensus-heatmap-6

consensus_heatmap(res, k = 8)

plot of chunk tab-node-051-consensus-heatmap-7

Heatmaps for the membership of samples in all partitions to see how consistent they are:

membership_heatmap(res, k = 2)

plot of chunk tab-node-051-membership-heatmap-1

membership_heatmap(res, k = 3)

plot of chunk tab-node-051-membership-heatmap-2

membership_heatmap(res, k = 4)

plot of chunk tab-node-051-membership-heatmap-3

membership_heatmap(res, k = 5)

plot of chunk tab-node-051-membership-heatmap-4

membership_heatmap(res, k = 6)

plot of chunk tab-node-051-membership-heatmap-5

membership_heatmap(res, k = 7)

plot of chunk tab-node-051-membership-heatmap-6

membership_heatmap(res, k = 8)

plot of chunk tab-node-051-membership-heatmap-7

As soon as the classes for columns are determined, the signatures that are significantly different between subgroups can be looked for. Following are the heatmaps for signatures.

get_signatures(res, k = 2)

plot of chunk tab-node-051-get-signatures-1

get_signatures(res, k = 3)

plot of chunk tab-node-051-get-signatures-2

get_signatures(res, k = 4)

plot of chunk tab-node-051-get-signatures-3

get_signatures(res, k = 5)

plot of chunk tab-node-051-get-signatures-4

get_signatures(res, k = 6)

plot of chunk tab-node-051-get-signatures-5

get_signatures(res, k = 7)

plot of chunk tab-node-051-get-signatures-6

get_signatures(res, k = 8)

plot of chunk tab-node-051-get-signatures-7

Compare the overlap of signatures from different k:

compare_signatures(res)

plot of chunk node-051-signature_compare

get_signature() returns a data frame invisibly. To get the list of signatures, the function call should be assigned to a variable explicitly. In following code, if plot argument is set to FALSE, no heatmap is plotted while only the differential analysis is performed.

# code only for demonstration
tb = get_signature(res, k = ..., plot = FALSE)

An example of the output of tb is:

#>   which_row         fdr    mean_1    mean_2 scaled_mean_1 scaled_mean_2 km
#> 1        38 0.042760348  8.373488  9.131774    -0.5533452     0.5164555  1
#> 2        40 0.018707592  7.106213  8.469186    -0.6173731     0.5762149  1
#> 3        55 0.019134737 10.221463 11.207825    -0.6159697     0.5749050  1
#> 4        59 0.006059896  5.921854  7.869574    -0.6899429     0.6439467  1
#> 5        60 0.018055526  8.928898 10.211722    -0.6204761     0.5791110  1
#> 6        98 0.009384629 15.714769 14.887706     0.6635654    -0.6193277  2
...

The columns in tb are:

  1. which_row: row indices corresponding to the input matrix.
  2. fdr: FDR for the differential test.
  3. mean_x: The mean value in group x.
  4. scaled_mean_x: The mean value in group x after rows are scaled.
  5. km: Row groups if k-means clustering is applied to rows (which is done by automatically selecting number of clusters).

If there are too many signatures, top_signatures = ... can be set to only show the signatures with the highest FDRs:

# code only for demonstration
# e.g. to show the top 500 most significant rows
tb = get_signature(res, k = ..., top_signatures = 500)

If the signatures are defined as these which are uniquely high in current group, diff_method argument can be set to "uniquely_high_in_one_group":

# code only for demonstration
tb = get_signature(res, k = ..., diff_method = "uniquely_high_in_one_group")

UMAP plot which shows how samples are separated.

dimension_reduction(res, k = 2, method = "UMAP")

plot of chunk tab-node-051-dimension-reduction-1

dimension_reduction(res, k = 3, method = "UMAP")

plot of chunk tab-node-051-dimension-reduction-2

dimension_reduction(res, k = 4, method = "UMAP")

plot of chunk tab-node-051-dimension-reduction-3

dimension_reduction(res, k = 5, method = "UMAP")

plot of chunk tab-node-051-dimension-reduction-4

dimension_reduction(res, k = 6, method = "UMAP")

plot of chunk tab-node-051-dimension-reduction-5

dimension_reduction(res, k = 7, method = "UMAP")

plot of chunk tab-node-051-dimension-reduction-6

dimension_reduction(res, k = 8, method = "UMAP")

plot of chunk tab-node-051-dimension-reduction-7

Following heatmap shows how subgroups are split when increasing k:

collect_classes(res)

plot of chunk node-051-collect-classes

If matrix rows can be associated to genes, consider to use functional_enrichment(res, ...) to perform function enrichment for the signature genes. See this vignette for more detailed explanations.


Node052

Parent node: Node05. Child nodes: Node0121-leaf , Node0122-leaf , Node0123-leaf , Node0124-leaf , Node0131 , Node0132-leaf , Node0221-leaf , Node0222-leaf , Node0223-leaf , Node0311 , Node0312-leaf , Node0313-leaf , Node0321-leaf , Node0322-leaf , Node0431-leaf , Node0432-leaf , Node0433-leaf , Node0511-leaf , Node0512-leaf , Node0513-leaf , Node0521-leaf , Node0522-leaf , Node0523-leaf , Node0531-leaf , Node0532-leaf , Node0533-leaf .

The object with results only for a single top-value method and a single partitioning method can be extracted as:

res = res_rh["052"]

A summary of res and all the functions that can be applied to it:

res
#> A 'ConsensusPartition' object with k = 2, 3, 4, 5, 6, 7, 8.
#>   On a matrix with 30000 rows and 13 columns.
#>   Top rows (1000) are extracted by 'ATC' method.
#>   Subgroups are detected by 'skmeans' method.
#>   Performed in total 350 partitions by row resampling.
#>   Best k for subgroups seems to be 4.
#> 
#> Following methods can be applied to this 'ConsensusPartition' object:
#>  [1] "cola_report"             "collect_classes"         "collect_plots"          
#>  [4] "collect_stats"           "colnames"                "compare_partitions"     
#>  [7] "compare_signatures"      "consensus_heatmap"       "dimension_reduction"    
#> [10] "functional_enrichment"   "get_anno_col"            "get_anno"               
#> [13] "get_classes"             "get_consensus"           "get_matrix"             
#> [16] "get_membership"          "get_param"               "get_signatures"         
#> [19] "get_stats"               "is_best_k"               "is_stable_k"            
#> [22] "membership_heatmap"      "ncol"                    "nrow"                   
#> [25] "plot_ecdf"               "predict_classes"         "rownames"               
#> [28] "select_partition_number" "show"                    "suggest_best_k"         
#> [31] "test_to_known_factors"   "top_rows_heatmap"

collect_plots() function collects all the plots made from res for all k (number of subgroups) into one single page to provide an easy and fast comparison between different k.

collect_plots(res)

plot of chunk node-052-collect-plots

The plots are:

All the plots in panels can be made by individual functions and they are plotted later in this section.

select_partition_number() produces several plots showing different statistics for choosing “optimized” k. There are following statistics:

The detailed explanations of these statistics can be found in the cola vignette.

Generally speaking, higher 1-PAC score, higher mean silhouette score or higher concordance corresponds to better partition. Rand index and Jaccard index measure how similar the current partition is compared to partition with k-1. If they are too similar, we won't accept k is better than k-1.

select_partition_number(res)

plot of chunk node-052-select-partition-number

The numeric values for all these statistics can be obtained by get_stats().

get_stats(res)
#>   k 1-PAC mean_silhouette concordance area_increased  Rand Jaccard
#> 2 2 1.000           1.000       1.000         0.5133 0.487   0.487
#> 3 3 1.000           0.997       0.998         0.1488 0.923   0.842
#> 4 4 1.000           0.911       0.991         0.1562 0.910   0.781
#> 5 5 0.833           0.690       0.920         0.0627 0.987   0.960
#> 6 6 0.808           0.663       0.862         0.0974 0.846   0.500
#> 7 7 0.846           0.649       0.965         0.0861 0.974   0.833
#> 8 8 0.897           0.497       0.922         0.0493 0.962   0.700

suggest_best_k() suggests the best \(k\) based on these statistics. The rules are as follows:

suggest_best_k(res)
#> [1] 4
#> attr(,"optional")
#> [1] 2

There is also optional best \(k\) = 2 that is worth to check.

Following is the table of the partitions (You need to click the show/hide code output link to see it). The membership matrix (columns with name p*) is inferred by clue::cl_consensus() function with the SE method. Basically the value in the membership matrix represents the probability to belong to a certain group. The finall subgroup label for an item is determined with the group with highest probability it belongs to.

In get_classes() function, the entropy is calculated from the membership matrix and the silhouette score is calculated from the consensus matrix.

show/hide code output

cbind(get_classes(res, k = 2), get_membership(res, k = 2))
#>                 class entropy silhouette p1 p2
#> TCGA.SX.A7SP.01     2       0          1  0  1
#> TCGA.Y8.A8RZ.01     1       0          1  1  0
#> TCGA.SX.A7SO.01     1       0          1  1  0
#> TCGA.A4.A5Y0.01     2       0          1  0  1
#> TCGA.2Z.A9J8.01     1       0          1  1  0
#> TCGA.IA.A40X.01     2       0          1  0  1
#> TCGA.UZ.A9PS.01     2       0          1  0  1
#> TCGA.G7.7501.01     1       0          1  1  0
#> TCGA.BQ.7053.01     2       0          1  0  1
#> TCGA.A4.7288.01     2       0          1  0  1
#> TCGA.A4.A57E.01     1       0          1  1  0
#> TCGA.BQ.7050.01     2       0          1  0  1
#> TCGA.BQ.7056.01     2       0          1  0  1

show/hide code output

cbind(get_classes(res, k = 3), get_membership(res, k = 3))
#>                 class entropy silhouette   p1 p2   p3
#> TCGA.SX.A7SP.01     2  0.0000       1.00 0.00  1 0.00
#> TCGA.Y8.A8RZ.01     3  0.0000       0.98 0.00  0 1.00
#> TCGA.SX.A7SO.01     1  0.0000       1.00 1.00  0 0.00
#> TCGA.A4.A5Y0.01     2  0.0000       1.00 0.00  1 0.00
#> TCGA.2Z.A9J8.01     3  0.0892       0.98 0.02  0 0.98
#> TCGA.IA.A40X.01     2  0.0000       1.00 0.00  1 0.00
#> TCGA.UZ.A9PS.01     2  0.0000       1.00 0.00  1 0.00
#> TCGA.G7.7501.01     1  0.0000       1.00 1.00  0 0.00
#> TCGA.BQ.7053.01     2  0.0000       1.00 0.00  1 0.00
#> TCGA.A4.7288.01     2  0.0000       1.00 0.00  1 0.00
#> TCGA.A4.A57E.01     1  0.0000       1.00 1.00  0 0.00
#> TCGA.BQ.7050.01     2  0.0000       1.00 0.00  1 0.00
#> TCGA.BQ.7056.01     2  0.0000       1.00 0.00  1 0.00

show/hide code output

cbind(get_classes(res, k = 4), get_membership(res, k = 4))
#>                 class entropy silhouette p1   p2   p3   p4
#> TCGA.SX.A7SP.01     2  0.0000      0.987  0 1.00 0.00 0.00
#> TCGA.Y8.A8RZ.01     3  0.0000      0.984  0 0.00 1.00 0.00
#> TCGA.SX.A7SO.01     1  0.0000      1.000  1 0.00 0.00 0.00
#> TCGA.A4.A5Y0.01     2  0.0000      0.987  0 1.00 0.00 0.00
#> TCGA.2Z.A9J8.01     3  0.0707      0.984  0 0.00 0.98 0.02
#> TCGA.IA.A40X.01     2  0.1211      0.968  0 0.96 0.00 0.04
#> TCGA.UZ.A9PS.01     2  0.0000      0.987  0 1.00 0.00 0.00
#> TCGA.G7.7501.01     1  0.0000      1.000  1 0.00 0.00 0.00
#> TCGA.BQ.7053.01     2  0.0707      0.983  0 0.98 0.00 0.02
#> TCGA.A4.7288.01     2  0.0000      0.987  0 1.00 0.00 0.00
#> TCGA.A4.A57E.01     1  0.0000      1.000  1 0.00 0.00 0.00
#> TCGA.BQ.7050.01     2  0.0707      0.983  0 0.98 0.00 0.02
#> TCGA.BQ.7056.01     4  0.0707      0.000  0 0.02 0.00 0.98

show/hide code output

cbind(get_classes(res, k = 5), get_membership(res, k = 5))
#>                 class entropy silhouette   p1   p2   p3 p4  p5
#> TCGA.SX.A7SP.01     2  0.0609      0.888 0.00 0.98 0.02  0 0.0
#> TCGA.Y8.A8RZ.01     3  0.3796      0.000 0.00 0.00 0.70  0 0.3
#> TCGA.SX.A7SO.01     1  0.1732      0.928 0.92 0.00 0.08  0 0.0
#> TCGA.A4.A5Y0.01     2  0.0000      0.888 0.00 1.00 0.00  0 0.0
#> TCGA.2Z.A9J8.01     5  0.0000      0.000 0.00 0.00 0.00  0 1.0
#> TCGA.IA.A40X.01     2  0.3274      0.854 0.00 0.78 0.22  0 0.0
#> TCGA.UZ.A9PS.01     2  0.0000      0.888 0.00 1.00 0.00  0 0.0
#> TCGA.G7.7501.01     1  0.0000      0.965 1.00 0.00 0.00  0 0.0
#> TCGA.BQ.7053.01     2  0.3274      0.854 0.00 0.78 0.22  0 0.0
#> TCGA.A4.7288.01     2  0.0000      0.888 0.00 1.00 0.00  0 0.0
#> TCGA.A4.A57E.01     1  0.0000      0.965 1.00 0.00 0.00  0 0.0
#> TCGA.BQ.7050.01     2  0.3274      0.854 0.00 0.78 0.22  0 0.0
#> TCGA.BQ.7056.01     4  0.0000      0.000 0.00 0.00 0.00  1 0.0

show/hide code output

cbind(get_classes(res, k = 6), get_membership(res, k = 6))
#>                 class entropy silhouette  p1   p2   p3   p4   p5   p6
#> TCGA.SX.A7SP.01     2  0.3864      0.852 0.0 0.52 0.00 0.00 0.00 0.48
#> TCGA.Y8.A8RZ.01     3  0.0000      0.000 0.0 0.00 1.00 0.00 0.00 0.00
#> TCGA.SX.A7SO.01     1  0.4482      0.580 0.6 0.00 0.00 0.36 0.04 0.00
#> TCGA.A4.A5Y0.01     2  0.3647      0.867 0.0 0.64 0.00 0.00 0.00 0.36
#> TCGA.2Z.A9J8.01     5  0.0937      0.000 0.0 0.00 0.04 0.00 0.96 0.00
#> TCGA.IA.A40X.01     6  0.0000      0.963 0.0 0.00 0.00 0.00 0.00 1.00
#> TCGA.UZ.A9PS.01     2  0.3797      0.926 0.0 0.58 0.00 0.00 0.00 0.42
#> TCGA.G7.7501.01     1  0.0000      0.811 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7053.01     6  0.0937      0.923 0.0 0.04 0.00 0.00 0.00 0.96
#> TCGA.A4.7288.01     2  0.3797      0.926 0.0 0.58 0.00 0.00 0.00 0.42
#> TCGA.A4.A57E.01     1  0.0000      0.811 1.0 0.00 0.00 0.00 0.00 0.00
#> TCGA.BQ.7050.01     6  0.0000      0.963 0.0 0.00 0.00 0.00 0.00 1.00
#> TCGA.BQ.7056.01     4  0.3647      0.000 0.0 0.36 0.00 0.64 0.00 0.00

show/hide code output

cbind(get_classes(res, k = 7), get_membership(res, k = 7))
#>                 class entropy silhouette   p1   p2 p3 p4 p5   p6   p7
#> TCGA.SX.A7SP.01     2  0.2422      0.859 0.00 0.82  0  0  0 0.18 0.00
#> TCGA.Y8.A8RZ.01     3  0.0000      0.000 0.00 0.00  1  0  0 0.00 0.00
#> TCGA.SX.A7SO.01     7  0.0504      0.000 0.02 0.00  0  0  0 0.00 0.98
#> TCGA.A4.A5Y0.01     2  0.0504      0.846 0.00 0.98  0  0  0 0.00 0.02
#> TCGA.2Z.A9J8.01     5  0.0000      0.000 0.00 0.00  0  0  1 0.00 0.00
#> TCGA.IA.A40X.01     6  0.0504      0.973 0.00 0.02  0  0  0 0.98 0.00
#> TCGA.UZ.A9PS.01     2  0.1671      0.915 0.00 0.90  0  0  0 0.10 0.00
#> TCGA.G7.7501.01     1  0.0000      1.000 1.00 0.00  0  0  0 0.00 0.00
#> TCGA.BQ.7053.01     6  0.0863      0.962 0.00 0.04  0  0  0 0.96 0.00
#> TCGA.A4.7288.01     2  0.1433      0.915 0.00 0.92  0  0  0 0.08 0.00
#> TCGA.A4.A57E.01     1  0.0000      1.000 1.00 0.00  0  0  0 0.00 0.00
#> TCGA.BQ.7050.01     6  0.0000      0.962 0.00 0.00  0  0  0 1.00 0.00
#> TCGA.BQ.7056.01     4  0.0000      0.000 0.00 0.00  0  1  0 0.00 0.00

show/hide code output

cbind(get_classes(res, k = 8), get_membership(res, k = 8))
#>                 class entropy silhouette   p1   p2 p3 p4 p5   p6 p7   p8
#> TCGA.SX.A7SP.01     2  0.0000      0.440 0.00 1.00  0  0  0 0.00  0 0.00
#> TCGA.Y8.A8RZ.01     3  0.0000      0.000 0.00 0.00  1  0  0 0.00  0 0.00
#> TCGA.SX.A7SO.01     7  0.0000      0.000 0.00 0.00  0  0  0 0.00  1 0.00
#> TCGA.A4.A5Y0.01     8  0.1091      0.000 0.00 0.06  0  0  0 0.00  0 0.94
#> TCGA.2Z.A9J8.01     5  0.0000      0.000 0.00 0.00  0  0  1 0.00  0 0.00
#> TCGA.IA.A40X.01     6  0.1607      0.924 0.00 0.04  0  0  0 0.92  0 0.04
#> TCGA.UZ.A9PS.01     2  0.3193      0.662 0.00 0.62  0  0  0 0.00  0 0.38
#> TCGA.G7.7501.01     1  0.0471      0.984 0.98 0.00  0  0  0 0.00  0 0.02
#> TCGA.BQ.7053.01     6  0.1563      0.901 0.00 0.10  0  0  0 0.90  0 0.00
#> TCGA.A4.7288.01     2  0.3193      0.662 0.00 0.62  0  0  0 0.00  0 0.38
#> TCGA.A4.A57E.01     1  0.0000      0.984 1.00 0.00  0  0  0 0.00  0 0.00
#> TCGA.BQ.7050.01     6  0.0000      0.906 0.00 0.00  0  0  0 1.00  0 0.00
#> TCGA.BQ.7056.01     4  0.0000      0.000 0.00 0.00  0  1  0 0.00  0 0.00

Heatmaps for the consensus matrix. It visualizes the probability of two samples to be in a same group.

consensus_heatmap(res, k = 2)

plot of chunk tab-node-052-consensus-heatmap-1

consensus_heatmap(res, k = 3)

plot of chunk tab-node-052-consensus-heatmap-2

consensus_heatmap(res, k = 4)

plot of chunk tab-node-052-consensus-heatmap-3

consensus_heatmap(res, k = 5)

plot of chunk tab-node-052-consensus-heatmap-4

consensus_heatmap(res, k = 6)

plot of chunk tab-node-052-consensus-heatmap-5

consensus_heatmap(res, k = 7)

plot of chunk tab-node-052-consensus-heatmap-6

consensus_heatmap(res, k = 8)

plot of chunk tab-node-052-consensus-heatmap-7

Heatmaps for the membership of samples in all partitions to see how consistent they are:

membership_heatmap(res, k = 2)

plot of chunk tab-node-052-membership-heatmap-1

membership_heatmap(res, k = 3)

plot of chunk tab-node-052-membership-heatmap-2

membership_heatmap(res, k = 4)

plot of chunk tab-node-052-membership-heatmap-3

membership_heatmap(res, k = 5)

plot of chunk tab-node-052-membership-heatmap-4

membership_heatmap(res, k = 6)

plot of chunk tab-node-052-membership-heatmap-5

membership_heatmap(res, k = 7)

plot of chunk tab-node-052-membership-heatmap-6

membership_heatmap(res, k = 8)

plot of chunk tab-node-052-membership-heatmap-7

As soon as the classes for columns are determined, the signatures that are significantly different between subgroups can be looked for. Following are the heatmaps for signatures.

get_signatures(res, k = 2)

plot of chunk tab-node-052-get-signatures-1

get_signatures(res, k = 3)

plot of chunk tab-node-052-get-signatures-2

get_signatures(res, k = 4)

plot of chunk tab-node-052-get-signatures-3

get_signatures(res, k = 5)

plot of chunk tab-node-052-get-signatures-4

get_signatures(res, k = 6)

plot of chunk tab-node-052-get-signatures-5

get_signatures(res, k = 7)

plot of chunk tab-node-052-get-signatures-6

get_signatures(res, k = 8)

plot of chunk tab-node-052-get-signatures-7

Compare the overlap of signatures from different k:

compare_signatures(res)

plot of chunk node-052-signature_compare

get_signature() returns a data frame invisibly. To get the list of signatures, the function call should be assigned to a variable explicitly. In following code, if plot argument is set to FALSE, no heatmap is plotted while only the differential analysis is performed.

# code only for demonstration
tb = get_signature(res, k = ..., plot = FALSE)

An example of the output of tb is:

#>   which_row         fdr    mean_1    mean_2 scaled_mean_1 scaled_mean_2 km
#> 1        38 0.042760348  8.373488  9.131774    -0.5533452     0.5164555  1
#> 2        40 0.018707592  7.106213  8.469186    -0.6173731     0.5762149  1
#> 3        55 0.019134737 10.221463 11.207825    -0.6159697     0.5749050  1
#> 4        59 0.006059896  5.921854  7.869574    -0.6899429     0.6439467  1
#> 5        60 0.018055526  8.928898 10.211722    -0.6204761     0.5791110  1
#> 6        98 0.009384629 15.714769 14.887706     0.6635654    -0.6193277  2
...

The columns in tb are:

  1. which_row: row indices corresponding to the input matrix.
  2. fdr: FDR for the differential test.
  3. mean_x: The mean value in group x.
  4. scaled_mean_x: The mean value in group x after rows are scaled.
  5. km: Row groups if k-means clustering is applied to rows (which is done by automatically selecting number of clusters).

If there are too many signatures, top_signatures = ... can be set to only show the signatures with the highest FDRs:

# code only for demonstration
# e.g. to show the top 500 most significant rows
tb = get_signature(res, k = ..., top_signatures = 500)

If the signatures are defined as these which are uniquely high in current group, diff_method argument can be set to "uniquely_high_in_one_group":

# code only for demonstration
tb = get_signature(res, k = ..., diff_method = "uniquely_high_in_one_group")

UMAP plot which shows how samples are separated.

dimension_reduction(res, k = 2, method = "UMAP")

plot of chunk tab-node-052-dimension-reduction-1

dimension_reduction(res, k = 3, method = "UMAP")

plot of chunk tab-node-052-dimension-reduction-2

dimension_reduction(res, k = 4, method = "UMAP")

plot of chunk tab-node-052-dimension-reduction-3

dimension_reduction(res, k = 5, method = "UMAP")

plot of chunk tab-node-052-dimension-reduction-4

dimension_reduction(res, k = 6, method = "UMAP")

plot of chunk tab-node-052-dimension-reduction-5

dimension_reduction(res, k = 7, method = "UMAP")

plot of chunk tab-node-052-dimension-reduction-6

dimension_reduction(res, k = 8, method = "UMAP")

plot of chunk tab-node-052-dimension-reduction-7

Following heatmap shows how subgroups are split when increasing k:

collect_classes(res)

plot of chunk node-052-collect-classes

If matrix rows can be associated to genes, consider to use functional_enrichment(res, ...) to perform function enrichment for the signature genes. See this vignette for more detailed explanations.


Node053

Parent node: Node05. Child nodes: Node0121-leaf , Node0122-leaf , Node0123-leaf , Node0124-leaf , Node0131 , Node0132-leaf , Node0221-leaf , Node0222-leaf , Node0223-leaf , Node0311 , Node0312-leaf , Node0313-leaf , Node0321-leaf , Node0322-leaf , Node0431-leaf , Node0432-leaf , Node0433-leaf , Node0511-leaf , Node0512-leaf , Node0513-leaf , Node0521-leaf , Node0522-leaf , Node0523-leaf , Node0531-leaf , Node0532-leaf , Node0533-leaf .

The object with results only for a single top-value method and a single partitioning method can be extracted as:

res = res_rh["053"]

A summary of res and all the functions that can be applied to it:

res
#> A 'ConsensusPartition' object with k = 2, 3, 4, 5, 6, 7, 8.
#>   On a matrix with 30000 rows and 32 columns.
#>   Top rows (1000) are extracted by 'ATC' method.
#>   Subgroups are detected by 'kmeans' method.
#>   Performed in total 350 partitions by row resampling.
#>   Best k for subgroups seems to be 3.
#> 
#> Following methods can be applied to this 'ConsensusPartition' object:
#>  [1] "cola_report"             "collect_classes"         "collect_plots"          
#>  [4] "collect_stats"           "colnames"                "compare_partitions"     
#>  [7] "compare_signatures"      "consensus_heatmap"       "dimension_reduction"    
#> [10] "functional_enrichment"   "get_anno_col"            "get_anno"               
#> [13] "get_classes"             "get_consensus"           "get_matrix"             
#> [16] "get_membership"          "get_param"               "get_signatures"         
#> [19] "get_stats"               "is_best_k"               "is_stable_k"            
#> [22] "membership_heatmap"      "ncol"                    "nrow"                   
#> [25] "plot_ecdf"               "predict_classes"         "rownames"               
#> [28] "select_partition_number" "show"                    "suggest_best_k"         
#> [31] "test_to_known_factors"   "top_rows_heatmap"

collect_plots() function collects all the plots made from res for all k (number of subgroups) into one single page to provide an easy and fast comparison between different k.

collect_plots(res)

plot of chunk node-053-collect-plots

The plots are:

All the plots in panels can be made by individual functions and they are plotted later in this section.

select_partition_number() produces several plots showing different statistics for choosing “optimized” k. There are following statistics:

The detailed explanations of these statistics can be found in the cola vignette.

Generally speaking, higher 1-PAC score, higher mean silhouette score or higher concordance corresponds to better partition. Rand index and Jaccard index measure how similar the current partition is compared to partition with k-1. If they are too similar, we won't accept k is better than k-1.

select_partition_number(res)

plot of chunk node-053-select-partition-number

The numeric values for all these statistics can be obtained by get_stats().

get_stats(res)
#>   k 1-PAC mean_silhouette concordance area_increased  Rand Jaccard
#> 2 2 0.557           0.920       0.931         0.4560 0.492   0.492
#> 3 3 1.000           1.000       1.000         0.3228 0.865   0.736
#> 4 4 0.743           0.562       0.807         0.1600 0.915   0.787
#> 5 5 0.715           0.697       0.721         0.0997 0.847   0.558
#> 6 6 0.724           0.828       0.853         0.0663 0.909   0.628
#> 7 7 0.687           0.789       0.811         0.0164 1.000   1.000
#> 8 8 0.844           0.725       0.781         0.0451 1.000   1.000

suggest_best_k() suggests the best \(k\) based on these statistics. The rules are as follows:

suggest_best_k(res)
#> [1] 3

Following is the table of the partitions (You need to click the show/hide code output link to see it). The membership matrix (columns with name p*) is inferred by clue::cl_consensus() function with the SE method. Basically the value in the membership matrix represents the probability to belong to a certain group. The finall subgroup label for an item is determined with the group with highest probability it belongs to.

In get_classes() function, the entropy is calculated from the membership matrix and the silhouette score is calculated from the consensus matrix.

show/hide code output

cbind(get_classes(res, k = 2), get_membership(res, k = 2))
#>                 class entropy silhouette   p1   p2
#> TCGA.G7.A8LC.01     2   0.000      0.823 0.00 1.00
#> TCGA.IZ.A6M8.01     1   0.000      0.993 1.00 0.00
#> TCGA.A4.A5XZ.01     2   0.990      0.476 0.44 0.56
#> TCGA.A4.8517.01     1   0.000      0.993 1.00 0.00
#> TCGA.BQ.5886.01     1   0.000      0.993 1.00 0.00
#> TCGA.A4.8098.01     2   0.000      0.823 0.00 1.00
#> TCGA.A4.8310.01     2   0.722      0.887 0.20 0.80
#> TCGA.2Z.A9JD.01     1   0.000      0.993 1.00 0.00
#> TCGA.SX.A71V.01     2   0.722      0.887 0.20 0.80
#> TCGA.5P.A9KE.01     1   0.000      0.993 1.00 0.00
#> TCGA.IA.A40U.01     2   0.402      0.854 0.08 0.92
#> TCGA.DW.7963.01     1   0.000      0.993 1.00 0.00
#> TCGA.P4.AAVM.01     1   0.000      0.993 1.00 0.00
#> TCGA.BQ.5881.01     1   0.000      0.993 1.00 0.00
#> TCGA.5P.A9K0.01     1   0.000      0.993 1.00 0.00
#> TCGA.5P.A9K6.01     1   0.000      0.993 1.00 0.00
#> TCGA.P4.A5E6.01     1   0.469      0.859 0.90 0.10
#> TCGA.BQ.5885.01     2   0.722      0.887 0.20 0.80
#> TCGA.2Z.A9JP.01     1   0.000      0.993 1.00 0.00
#> TCGA.2Z.A9JT.01     1   0.000      0.993 1.00 0.00
#> TCGA.G7.7502.01     2   0.722      0.887 0.20 0.80
#> TCGA.BQ.7045.01     1   0.000      0.993 1.00 0.00
#> TCGA.A4.7996.01     2   0.722      0.887 0.20 0.80
#> TCGA.BQ.7046.01     1   0.000      0.993 1.00 0.00
#> TCGA.BQ.7060.01     1   0.000      0.993 1.00 0.00
#> TCGA.BQ.7062.01     2   0.722      0.887 0.20 0.80
#> TCGA.A4.7286.01     2   0.722      0.887 0.20 0.80
#> TCGA.MH.A55W.01     2   0.722      0.887 0.20 0.80
#> TCGA.G7.6790.01     1   0.000      0.993 1.00 0.00
#> TCGA.A4.7584.01     1   0.000      0.993 1.00 0.00
#> TCGA.UN.AAZ9.01     2   0.000      0.823 0.00 1.00
#> TCGA.A4.7583.01     2   0.000      0.823 0.00 1.00

show/hide code output

cbind(get_classes(res, k = 3), get_membership(res, k = 3))
#>                 class entropy silhouette p1 p2 p3
#> TCGA.G7.A8LC.01     3       0          1  0  0  1
#> TCGA.IZ.A6M8.01     1       0          1  1  0  0
#> TCGA.A4.A5XZ.01     2       0          1  0  1  0
#> TCGA.A4.8517.01     1       0          1  1  0  0
#> TCGA.BQ.5886.01     1       0          1  1  0  0
#> TCGA.A4.8098.01     3       0          1  0  0  1
#> TCGA.A4.8310.01     2       0          1  0  1  0
#> TCGA.2Z.A9JD.01     1       0          1  1  0  0
#> TCGA.SX.A71V.01     2       0          1  0  1  0
#> TCGA.5P.A9KE.01     1       0          1  1  0  0
#> TCGA.IA.A40U.01     2       0          1  0  1  0
#> TCGA.DW.7963.01     1       0          1  1  0  0
#> TCGA.P4.AAVM.01     1       0          1  1  0  0
#> TCGA.BQ.5881.01     1       0          1  1  0  0
#> TCGA.5P.A9K0.01     1       0          1  1  0  0
#> TCGA.5P.A9K6.01     1       0          1  1  0  0
#> TCGA.P4.A5E6.01     2       0          1  0  1  0
#> TCGA.BQ.5885.01     2       0          1  0  1  0
#> TCGA.2Z.A9JP.01     1       0          1  1  0  0
#> TCGA.2Z.A9JT.01     1       0          1  1  0  0
#> TCGA.G7.7502.01     2       0          1  0  1  0
#> TCGA.BQ.7045.01     1       0          1  1  0  0
#> TCGA.A4.7996.01     2       0          1  0  1  0
#> TCGA.BQ.7046.01     1       0          1  1  0  0
#> TCGA.BQ.7060.01     1       0          1  1  0  0
#> TCGA.BQ.7062.01     2       0          1  0  1  0
#> TCGA.A4.7286.01     2       0          1  0  1  0
#> TCGA.MH.A55W.01     2       0          1  0  1  0
#> TCGA.G7.6790.01     1       0          1  1  0  0
#> TCGA.A4.7584.01     1       0          1  1  0  0
#> TCGA.UN.AAZ9.01     3       0          1  0  0  1
#> TCGA.A4.7583.01     3       0          1  0  0  1

show/hide code output

cbind(get_classes(res, k = 4), get_membership(res, k = 4))
#>                 class entropy silhouette   p1   p2   p3   p4
#> TCGA.G7.A8LC.01     3  0.2647     0.9516 0.00 0.00 0.88 0.12
#> TCGA.IZ.A6M8.01     1  0.4406     0.1307 0.70 0.00 0.00 0.30
#> TCGA.A4.A5XZ.01     2  0.0707     0.9442 0.00 0.98 0.00 0.02
#> TCGA.A4.8517.01     1  0.3801     0.3823 0.78 0.00 0.00 0.22
#> TCGA.BQ.5886.01     1  0.5000    -0.8088 0.50 0.00 0.00 0.50
#> TCGA.A4.8098.01     3  0.0707     0.9454 0.00 0.00 0.98 0.02
#> TCGA.A4.8310.01     2  0.3610     0.8383 0.00 0.80 0.00 0.20
#> TCGA.2Z.A9JD.01     1  0.0000     0.4963 1.00 0.00 0.00 0.00
#> TCGA.SX.A71V.01     2  0.0000     0.9524 0.00 1.00 0.00 0.00
#> TCGA.5P.A9KE.01     1  0.4713     0.1460 0.64 0.00 0.00 0.36
#> TCGA.IA.A40U.01     2  0.0000     0.9524 0.00 1.00 0.00 0.00
#> TCGA.DW.7963.01     4  0.4994     0.7386 0.48 0.00 0.00 0.52
#> TCGA.P4.AAVM.01     1  0.0000     0.4963 1.00 0.00 0.00 0.00
#> TCGA.BQ.5881.01     1  0.4713     0.1460 0.64 0.00 0.00 0.36
#> TCGA.5P.A9K0.01     1  0.4907     0.0973 0.58 0.00 0.00 0.42
#> TCGA.5P.A9K6.01     1  0.0000     0.4963 1.00 0.00 0.00 0.00
#> TCGA.P4.A5E6.01     2  0.1211     0.9319 0.00 0.96 0.00 0.04
#> TCGA.BQ.5885.01     2  0.2011     0.9176 0.00 0.92 0.00 0.08
#> TCGA.2Z.A9JP.01     1  0.4624     0.2699 0.66 0.00 0.00 0.34
#> TCGA.2Z.A9JT.01     4  0.4713     0.6006 0.36 0.00 0.00 0.64
#> TCGA.G7.7502.01     2  0.0000     0.9524 0.00 1.00 0.00 0.00
#> TCGA.BQ.7045.01     1  0.4790    -0.4419 0.62 0.00 0.00 0.38
#> TCGA.A4.7996.01     2  0.3610     0.8383 0.00 0.80 0.00 0.20
#> TCGA.BQ.7046.01     4  0.4994     0.7181 0.48 0.00 0.00 0.52
#> TCGA.BQ.7060.01     1  0.0000     0.4963 1.00 0.00 0.00 0.00
#> TCGA.BQ.7062.01     2  0.0000     0.9524 0.00 1.00 0.00 0.00
#> TCGA.A4.7286.01     2  0.0000     0.9524 0.00 1.00 0.00 0.00
#> TCGA.MH.A55W.01     2  0.0000     0.9524 0.00 1.00 0.00 0.00
#> TCGA.G7.6790.01     1  0.4855    -0.4493 0.60 0.00 0.00 0.40
#> TCGA.A4.7584.01     1  0.0000     0.4963 1.00 0.00 0.00 0.00
#> TCGA.UN.AAZ9.01     3  0.2647     0.9516 0.00 0.00 0.88 0.12
#> TCGA.A4.7583.01     3  0.0000     0.9498 0.00 0.00 1.00 0.00

show/hide code output

cbind(get_classes(res, k = 5), get_membership(res, k = 5))
#>                 class entropy silhouette   p1   p2   p3   p4   p5
#> TCGA.G7.A8LC.01     3   0.000      0.943 0.00 0.00 1.00 0.00 0.00
#> TCGA.IZ.A6M8.01     1   0.413      0.329 0.62 0.00 0.00 0.38 0.00
#> TCGA.A4.A5XZ.01     2   0.426      0.862 0.00 0.56 0.00 0.00 0.44
#> TCGA.A4.8517.01     1   0.104      0.504 0.96 0.00 0.00 0.04 0.00
#> TCGA.BQ.5886.01     4   0.597      0.981 0.14 0.30 0.00 0.56 0.00
#> TCGA.A4.8098.01     3   0.275      0.943 0.00 0.08 0.88 0.04 0.00
#> TCGA.A4.8310.01     5   0.000      0.758 0.00 0.00 0.00 0.00 1.00
#> TCGA.2Z.A9JD.01     1   0.429      0.480 0.54 0.00 0.00 0.46 0.00
#> TCGA.SX.A71V.01     2   0.535      0.888 0.00 0.56 0.00 0.06 0.38
#> TCGA.5P.A9KE.01     1   0.311      0.437 0.80 0.00 0.00 0.20 0.00
#> TCGA.IA.A40U.01     2   0.535      0.888 0.00 0.56 0.00 0.06 0.38
#> TCGA.DW.7963.01     4   0.597      0.981 0.14 0.30 0.00 0.56 0.00
#> TCGA.P4.AAVM.01     1   0.429      0.480 0.54 0.00 0.00 0.46 0.00
#> TCGA.BQ.5881.01     1   0.311      0.437 0.80 0.00 0.00 0.20 0.00
#> TCGA.5P.A9K0.01     1   0.311      0.437 0.80 0.00 0.00 0.20 0.00
#> TCGA.5P.A9K6.01     1   0.429      0.480 0.54 0.00 0.00 0.46 0.00
#> TCGA.P4.A5E6.01     2   0.516      0.808 0.00 0.52 0.00 0.04 0.44
#> TCGA.BQ.5885.01     5   0.413      0.168 0.00 0.26 0.00 0.02 0.72
#> TCGA.2Z.A9JP.01     1   0.252      0.472 0.86 0.00 0.00 0.14 0.00
#> TCGA.2Z.A9JT.01     1   0.423     -0.101 0.58 0.00 0.00 0.42 0.00
#> TCGA.G7.7502.01     2   0.423      0.881 0.00 0.58 0.00 0.00 0.42
#> TCGA.BQ.7045.01     4   0.579      0.972 0.12 0.30 0.00 0.58 0.00
#> TCGA.A4.7996.01     5   0.000      0.758 0.00 0.00 0.00 0.00 1.00
#> TCGA.BQ.7046.01     4   0.597      0.981 0.14 0.30 0.00 0.56 0.00
#> TCGA.BQ.7060.01     1   0.429      0.480 0.54 0.00 0.00 0.46 0.00
#> TCGA.BQ.7062.01     2   0.413      0.903 0.00 0.62 0.00 0.00 0.38
#> TCGA.A4.7286.01     2   0.505      0.897 0.00 0.58 0.00 0.04 0.38
#> TCGA.MH.A55W.01     2   0.468      0.902 0.00 0.60 0.00 0.02 0.38
#> TCGA.G7.6790.01     4   0.579      0.972 0.12 0.30 0.00 0.58 0.00
#> TCGA.A4.7584.01     1   0.429      0.480 0.54 0.00 0.00 0.46 0.00
#> TCGA.UN.AAZ9.01     3   0.000      0.943 0.00 0.00 1.00 0.00 0.00
#> TCGA.A4.7583.01     3   0.275      0.943 0.00 0.08 0.88 0.04 0.00

show/hide code output

cbind(get_classes(res, k = 6), get_membership(res, k = 6))
#>                 class entropy silhouette   p1   p2   p3   p4   p5   p6
#> TCGA.G7.A8LC.01     3  0.0000      0.928 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.IZ.A6M8.01     1  0.4903      0.679 0.70 0.00 0.00 0.02 0.14 0.14
#> TCGA.A4.A5XZ.01     2  0.3007      0.746 0.00 0.86 0.00 0.04 0.08 0.02
#> TCGA.A4.8517.01     1  0.1814      0.753 0.90 0.00 0.00 0.00 0.00 0.10
#> TCGA.BQ.5886.01     4  0.5157      0.825 0.10 0.00 0.00 0.70 0.14 0.06
#> TCGA.A4.8098.01     3  0.3045      0.922 0.00 0.00 0.86 0.02 0.06 0.06
#> TCGA.A4.8310.01     5  0.2793      1.000 0.00 0.20 0.00 0.00 0.80 0.00
#> TCGA.2Z.A9JD.01     6  0.2631      1.000 0.18 0.00 0.00 0.00 0.00 0.82
#> TCGA.SX.A71V.01     2  0.1807      0.798 0.00 0.92 0.00 0.06 0.00 0.02
#> TCGA.5P.A9KE.01     1  0.3318      0.807 0.82 0.00 0.00 0.02 0.14 0.02
#> TCGA.IA.A40U.01     2  0.2474      0.782 0.00 0.88 0.00 0.08 0.00 0.04
#> TCGA.DW.7963.01     4  0.3572      0.920 0.10 0.00 0.00 0.82 0.02 0.06
#> TCGA.P4.AAVM.01     6  0.2631      1.000 0.18 0.00 0.00 0.00 0.00 0.82
#> TCGA.BQ.5881.01     1  0.3318      0.807 0.82 0.00 0.00 0.02 0.14 0.02
#> TCGA.5P.A9K0.01     1  0.0000      0.814 1.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.5P.A9K6.01     6  0.2631      1.000 0.18 0.00 0.00 0.00 0.00 0.82
#> TCGA.P4.A5E6.01     2  0.4519      0.653 0.00 0.76 0.00 0.10 0.08 0.06
#> TCGA.BQ.5885.01     2  0.5347     -0.216 0.00 0.50 0.00 0.02 0.42 0.06
#> TCGA.2Z.A9JP.01     1  0.0937      0.796 0.96 0.00 0.00 0.00 0.00 0.04
#> TCGA.2Z.A9JT.01     1  0.2790      0.679 0.84 0.00 0.00 0.14 0.02 0.00
#> TCGA.G7.7502.01     2  0.1267      0.790 0.00 0.94 0.00 0.00 0.06 0.00
#> TCGA.BQ.7045.01     4  0.3321      0.926 0.10 0.00 0.00 0.82 0.00 0.08
#> TCGA.A4.7996.01     5  0.2793      1.000 0.00 0.20 0.00 0.00 0.80 0.00
#> TCGA.BQ.7046.01     4  0.2474      0.921 0.08 0.00 0.00 0.88 0.00 0.04
#> TCGA.BQ.7060.01     6  0.2631      1.000 0.18 0.00 0.00 0.00 0.00 0.82
#> TCGA.BQ.7062.01     2  0.0000      0.809 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.A4.7286.01     2  0.2190      0.790 0.00 0.90 0.00 0.06 0.00 0.04
#> TCGA.MH.A55W.01     2  0.0547      0.809 0.00 0.98 0.00 0.02 0.00 0.00
#> TCGA.G7.6790.01     4  0.2794      0.918 0.08 0.00 0.00 0.86 0.00 0.06
#> TCGA.A4.7584.01     6  0.2631      1.000 0.18 0.00 0.00 0.00 0.00 0.82
#> TCGA.UN.AAZ9.01     3  0.0000      0.928 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.A4.7583.01     3  0.3103      0.922 0.00 0.00 0.86 0.04 0.06 0.04

show/hide code output

cbind(get_classes(res, k = 7), get_membership(res, k = 7))
#>                 class entropy silhouette   p1   p2   p3   p4   p5   p6   p7
#> TCGA.G7.A8LC.01     3  0.0000    0.72721 0.00 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.IZ.A6M8.01     1  0.5170    0.58259 0.66 0.08 0.00 0.12 0.00 0.14 0.00
#> TCGA.A4.A5XZ.01     7  0.4357    0.67369 0.00 0.10 0.00 0.04 0.08 0.02 0.76
#> TCGA.A4.8517.01     1  0.2569    0.71466 0.84 0.02 0.00 0.00 0.00 0.14 0.00
#> TCGA.BQ.5886.01     4  0.3449    0.88628 0.14 0.08 0.00 0.78 0.00 0.00 0.00
#> TCGA.A4.8098.01     3  0.3562    0.67670 0.00 0.50 0.50 0.00 0.00 0.00 0.00
#> TCGA.A4.8310.01     5  0.0504    1.00000 0.00 0.00 0.00 0.00 0.98 0.00 0.02
#> TCGA.2Z.A9JD.01     6  0.4905    0.90362 0.16 0.10 0.00 0.06 0.00 0.68 0.00
#> TCGA.SX.A71V.01     7  0.2912    0.74823 0.00 0.04 0.00 0.00 0.00 0.14 0.82
#> TCGA.5P.A9KE.01     1  0.2572    0.80134 0.86 0.08 0.00 0.06 0.00 0.00 0.00
#> TCGA.IA.A40U.01     7  0.3244    0.73601 0.00 0.04 0.00 0.00 0.00 0.18 0.78
#> TCGA.DW.7963.01     4  0.2081    0.94921 0.14 0.00 0.00 0.86 0.00 0.00 0.00
#> TCGA.P4.AAVM.01     6  0.3370    0.96624 0.16 0.00 0.00 0.06 0.00 0.78 0.00
#> TCGA.BQ.5881.01     1  0.2572    0.80134 0.86 0.08 0.00 0.06 0.00 0.00 0.00
#> TCGA.5P.A9K0.01     1  0.1166    0.80537 0.94 0.06 0.00 0.00 0.00 0.00 0.00
#> TCGA.5P.A9K6.01     6  0.4001    0.94564 0.18 0.02 0.00 0.06 0.00 0.74 0.00
#> TCGA.P4.A5E6.01     7  0.5853    0.53732 0.00 0.20 0.00 0.10 0.08 0.02 0.60
#> TCGA.BQ.5885.01     7  0.6578   -0.00316 0.00 0.12 0.00 0.06 0.34 0.04 0.44
#> TCGA.2Z.A9JP.01     1  0.1363    0.79462 0.94 0.02 0.00 0.00 0.00 0.04 0.00
#> TCGA.2Z.A9JT.01     1  0.2313    0.76336 0.88 0.06 0.00 0.06 0.00 0.00 0.00
#> TCGA.G7.7502.01     7  0.0863    0.75824 0.00 0.00 0.00 0.00 0.04 0.00 0.96
#> TCGA.BQ.7045.01     4  0.2081    0.94921 0.14 0.00 0.00 0.86 0.00 0.00 0.00
#> TCGA.A4.7996.01     5  0.0504    1.00000 0.00 0.00 0.00 0.00 0.98 0.00 0.02
#> TCGA.BQ.7046.01     4  0.2376    0.94178 0.12 0.00 0.00 0.86 0.02 0.00 0.00
#> TCGA.BQ.7060.01     6  0.3370    0.96624 0.16 0.00 0.00 0.06 0.00 0.78 0.00
#> TCGA.BQ.7062.01     7  0.0000    0.76802 0.00 0.00 0.00 0.00 0.00 0.00 1.00
#> TCGA.A4.7286.01     7  0.1166    0.76544 0.00 0.00 0.00 0.00 0.00 0.06 0.94
#> TCGA.MH.A55W.01     7  0.2912    0.74823 0.00 0.04 0.00 0.00 0.00 0.14 0.82
#> TCGA.G7.6790.01     4  0.2376    0.94178 0.12 0.00 0.00 0.86 0.02 0.00 0.00
#> TCGA.A4.7584.01     6  0.3370    0.96624 0.16 0.00 0.00 0.06 0.00 0.78 0.00
#> TCGA.UN.AAZ9.01     3  0.0000    0.72721 0.00 0.00 1.00 0.00 0.00 0.00 0.00
#> TCGA.A4.7583.01     3  0.4622    0.70350 0.00 0.38 0.56 0.04 0.00 0.02 0.00

show/hide code output

cbind(get_classes(res, k = 8), get_membership(res, k = 8))
#>                 class entropy silhouette   p1   p2   p3   p4   p5   p6   p7   p8
#> TCGA.G7.A8LC.01     3  0.3299     0.7338 0.44 0.00 0.56 0.00 0.00 0.00 0.00 0.00
#> TCGA.IZ.A6M8.01     2  0.2350     0.6021 0.00 0.86 0.00 0.00 0.00 0.10 0.00 0.04
#> TCGA.A4.A5XZ.01     7  0.4433     0.5584 0.20 0.00 0.00 0.06 0.00 0.00 0.68 0.06
#> TCGA.A4.8517.01     2  0.5329     0.6163 0.04 0.46 0.00 0.00 0.00 0.12 0.00 0.38
#> TCGA.BQ.5886.01     4  0.3943     0.5650 0.00 0.40 0.00 0.56 0.00 0.04 0.00 0.00
#> TCGA.A4.8098.01     3  0.1275     0.7063 0.02 0.00 0.94 0.04 0.00 0.00 0.00 0.00
#> TCGA.A4.8310.01     5  0.0000     1.0000 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.2Z.A9JD.01     6  0.2348     0.9233 0.06 0.02 0.00 0.00 0.00 0.88 0.00 0.04
#> TCGA.SX.A71V.01     7  0.4504     0.6389 0.10 0.00 0.00 0.02 0.00 0.00 0.64 0.24
#> TCGA.5P.A9KE.01     2  0.0000     0.6808 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.IA.A40U.01     7  0.4833     0.6165 0.12 0.00 0.00 0.02 0.00 0.00 0.58 0.28
#> TCGA.DW.7963.01     4  0.2888     0.8308 0.00 0.16 0.00 0.80 0.00 0.04 0.00 0.00
#> TCGA.P4.AAVM.01     6  0.0471     0.9627 0.00 0.02 0.00 0.00 0.00 0.98 0.00 0.00
#> TCGA.BQ.5881.01     2  0.0000     0.6808 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00
#> TCGA.5P.A9K0.01     2  0.3329     0.6709 0.00 0.52 0.00 0.00 0.00 0.00 0.00 0.48
#> TCGA.5P.A9K6.01     6  0.2020     0.9300 0.02 0.02 0.00 0.00 0.00 0.90 0.00 0.06
#> TCGA.P4.A5E6.01     7  0.5537     0.3847 0.34 0.00 0.00 0.08 0.00 0.00 0.48 0.10
#> TCGA.BQ.5885.01     7  0.6431     0.0728 0.16 0.00 0.00 0.00 0.26 0.02 0.44 0.12
#> TCGA.2Z.A9JP.01     2  0.3942     0.7021 0.02 0.62 0.00 0.00 0.00 0.02 0.00 0.34
#> TCGA.2Z.A9JT.01     2  0.3237     0.6914 0.00 0.60 0.00 0.00 0.00 0.00 0.00 0.40
#> TCGA.G7.7502.01     7  0.0000     0.6810 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.BQ.7045.01     4  0.2165     0.8653 0.00 0.06 0.00 0.88 0.00 0.06 0.00 0.00
#> TCGA.A4.7996.01     5  0.0000     1.0000 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00
#> TCGA.BQ.7046.01     4  0.1887     0.8644 0.00 0.06 0.00 0.90 0.00 0.04 0.00 0.00
#> TCGA.BQ.7060.01     6  0.0471     0.9627 0.00 0.02 0.00 0.00 0.00 0.98 0.00 0.00
#> TCGA.BQ.7062.01     7  0.0000     0.6810 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00
#> TCGA.A4.7286.01     7  0.3073     0.6601 0.10 0.00 0.00 0.00 0.00 0.00 0.80 0.10
#> TCGA.MH.A55W.01     7  0.3537     0.6580 0.02 0.00 0.00 0.02 0.00 0.00 0.72 0.24
#> TCGA.G7.6790.01     4  0.1887     0.8560 0.00 0.04 0.00 0.90 0.00 0.06 0.00 0.00
#> TCGA.A4.7584.01     6  0.0471     0.9627 0.00 0.02 0.00 0.00 0.00 0.98 0.00 0.00
#> TCGA.UN.AAZ9.01     3  0.3299     0.7338 0.44 0.00 0.56 0.00 0.00 0.00 0.00 0.00
#> TCGA.A4.7583.01     3  0.0471     0.7147 0.00 0.00 0.98 0.00 0.00 0.00 0.00 0.02

Heatmaps for the consensus matrix. It visualizes the probability of two samples to be in a same group.

consensus_heatmap(res, k = 2)

plot of chunk tab-node-053-consensus-heatmap-1

consensus_heatmap(res, k = 3)

plot of chunk tab-node-053-consensus-heatmap-2

consensus_heatmap(res, k = 4)

plot of chunk tab-node-053-consensus-heatmap-3

consensus_heatmap(res, k = 5)

plot of chunk tab-node-053-consensus-heatmap-4

consensus_heatmap(res, k = 6)

plot of chunk tab-node-053-consensus-heatmap-5

consensus_heatmap(res, k = 7)

plot of chunk tab-node-053-consensus-heatmap-6

consensus_heatmap(res, k = 8)

plot of chunk tab-node-053-consensus-heatmap-7

Heatmaps for the membership of samples in all partitions to see how consistent they are:

membership_heatmap(res, k = 2)

plot of chunk tab-node-053-membership-heatmap-1

membership_heatmap(res, k = 3)

plot of chunk tab-node-053-membership-heatmap-2

membership_heatmap(res, k = 4)

plot of chunk tab-node-053-membership-heatmap-3

membership_heatmap(res, k = 5)

plot of chunk tab-node-053-membership-heatmap-4

membership_heatmap(res, k = 6)

plot of chunk tab-node-053-membership-heatmap-5

membership_heatmap(res, k = 7)

plot of chunk tab-node-053-membership-heatmap-6

membership_heatmap(res, k = 8)

plot of chunk tab-node-053-membership-heatmap-7

As soon as the classes for columns are determined, the signatures that are significantly different between subgroups can be looked for. Following are the heatmaps for signatures.

get_signatures(res, k = 2)

plot of chunk tab-node-053-get-signatures-1

get_signatures(res, k = 3)

plot of chunk tab-node-053-get-signatures-2

get_signatures(res, k = 4)

plot of chunk tab-node-053-get-signatures-3

get_signatures(res, k = 5)

plot of chunk tab-node-053-get-signatures-4

get_signatures(res, k = 6)

plot of chunk tab-node-053-get-signatures-5

get_signatures(res, k = 7)

plot of chunk tab-node-053-get-signatures-6

get_signatures(res, k = 8)

plot of chunk tab-node-053-get-signatures-7

Compare the overlap of signatures from different k:

compare_signatures(res)

plot of chunk node-053-signature_compare

get_signature() returns a data frame invisibly. To get the list of signatures, the function call should be assigned to a variable explicitly. In following code, if plot argument is set to FALSE, no heatmap is plotted while only the differential analysis is performed.

# code only for demonstration
tb = get_signature(res, k = ..., plot = FALSE)

An example of the output of tb is:

#>   which_row         fdr    mean_1    mean_2 scaled_mean_1 scaled_mean_2 km
#> 1        38 0.042760348  8.373488  9.131774    -0.5533452     0.5164555  1
#> 2        40 0.018707592  7.106213  8.469186    -0.6173731     0.5762149  1
#> 3        55 0.019134737 10.221463 11.207825    -0.6159697     0.5749050  1
#> 4        59 0.006059896  5.921854  7.869574    -0.6899429     0.6439467  1
#> 5        60 0.018055526  8.928898 10.211722    -0.6204761     0.5791110  1
#> 6        98 0.009384629 15.714769 14.887706     0.6635654    -0.6193277  2
...

The columns in tb are:

  1. which_row: row indices corresponding to the input matrix.
  2. fdr: FDR for the differential test.
  3. mean_x: The mean value in group x.
  4. scaled_mean_x: The mean value in group x after rows are scaled.
  5. km: Row groups if k-means clustering is applied to rows (which is done by automatically selecting number of clusters).

If there are too many signatures, top_signatures = ... can be set to only show the signatures with the highest FDRs:

# code only for demonstration
# e.g. to show the top 500 most significant rows
tb = get_signature(res, k = ..., top_signatures = 500)

If the signatures are defined as these which are uniquely high in current group, diff_method argument can be set to "uniquely_high_in_one_group":

# code only for demonstration
tb = get_signature(res, k = ..., diff_method = "uniquely_high_in_one_group")

UMAP plot which shows how samples are separated.

dimension_reduction(res, k = 2, method = "UMAP")

plot of chunk tab-node-053-dimension-reduction-1

dimension_reduction(res, k = 3, method = "UMAP")

plot of chunk tab-node-053-dimension-reduction-2

dimension_reduction(res, k = 4, method = "UMAP")

plot of chunk tab-node-053-dimension-reduction-3

dimension_reduction(res, k = 5, method = "UMAP")

plot of chunk tab-node-053-dimension-reduction-4

dimension_reduction(res, k = 6, method = "UMAP")

plot of chunk tab-node-053-dimension-reduction-5

dimension_reduction(res, k = 7, method = "UMAP")

plot of chunk tab-node-053-dimension-reduction-6

dimension_reduction(res, k = 8, method = "UMAP")

plot of chunk tab-node-053-dimension-reduction-7

Following heatmap shows how subgroups are split when increasing k:

collect_classes(res)

plot of chunk node-053-collect-classes

If matrix rows can be associated to genes, consider to use functional_enrichment(res, ...) to perform function enrichment for the signature genes. See this vignette for more detailed explanations.

Session info

sessionInfo()
#> R version 4.1.0 (2021-05-18)
#> Platform: x86_64-pc-linux-gnu (64-bit)
#> Running under: CentOS Linux 7 (Core)
#> 
#> Matrix products: default
#> BLAS/LAPACK: /usr/lib64/libopenblas-r0.3.3.so
#> 
#> locale:
#>  [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C               LC_TIME=en_US.UTF-8       
#>  [4] LC_COLLATE=en_US.UTF-8     LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   
#>  [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                  LC_ADDRESS=C              
#> [10] LC_TELEPHONE=C             LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       
#> 
#> attached base packages:
#> [1] grid      stats     graphics  grDevices utils     datasets  methods   base     
#> 
#> other attached packages:
#> [1] genefilter_1.74.0    ComplexHeatmap_2.8.0 markdown_1.1         knitr_1.33          
#> [5] matrixStats_0.59.0   cola_1.9.4          
#> 
#> loaded via a namespace (and not attached):
#>   [1] bitops_1.0-7           bit64_4.0.5            doParallel_1.0.16      RColorBrewer_1.1-2    
#>   [5] httr_1.4.2             GenomeInfoDb_1.28.1    data.tree_1.0.0        tools_4.1.0           
#>   [9] utf8_1.2.1             R6_2.5.0               irlba_2.3.3            DBI_1.1.1             
#>  [13] BiocGenerics_0.38.0    colorspace_2.0-2       GetoptLong_1.0.5       gridExtra_2.3         
#>  [17] tidyselect_1.1.1       bit_4.0.4              compiler_4.1.0         Biobase_2.52.0        
#>  [21] Cairo_1.5-12.2         xml2_1.3.2             microbenchmark_1.4-7   slam_0.1-48           
#>  [25] scales_1.1.1           askpass_1.1            stringr_1.4.0          digest_0.6.27         
#>  [29] XVector_0.32.0         pkgconfig_2.0.3        umap_0.2.7.0           fastmap_1.1.0         
#>  [33] highr_0.9              rlang_0.4.11           GlobalOptions_0.1.2    rstudioapi_0.13       
#>  [37] RSQLite_2.2.7          impute_1.66.0          generics_0.1.0         shape_1.4.6           
#>  [41] jsonlite_1.7.2         mclust_5.4.7           dplyr_1.0.7            dendextend_1.15.1     
#>  [45] RCurl_1.98-1.3         magrittr_2.0.1         GenomeInfoDbData_1.2.6 Matrix_1.3-4          
#>  [49] fansi_0.5.0            Rcpp_1.0.7             munsell_0.5.0          S4Vectors_0.30.0      
#>  [53] viridis_0.6.1          reticulate_1.20        lifecycle_1.0.0        scatterplot3d_0.3-41  
#>  [57] stringi_1.7.3          zlibbioc_1.38.0        blob_1.2.1             parallel_4.1.0        
#>  [61] crayon_1.4.1           lattice_0.20-44        Biostrings_2.60.1      splines_4.1.0         
#>  [65] annotate_1.70.0        circlize_0.4.13        KEGGREST_1.32.0        polylabelr_0.2.0      
#>  [69] pillar_1.6.1           rjson_0.2.20           codetools_0.2-18       stats4_4.1.0          
#>  [73] XML_3.99-0.6           glue_1.4.2             evaluate_0.14          png_0.1-7             
#>  [77] vctrs_0.3.8            foreach_1.5.1          polyclip_1.10-0        purrr_0.3.4           
#>  [81] gtable_0.3.0           openssl_1.4.4          assertthat_0.2.1       clue_0.3-59           
#>  [85] cachem_1.0.5           ggplot2_3.3.5          xfun_0.24              eulerr_6.1.0          
#>  [89] xtable_1.8-4           skmeans_0.2-13         RSpectra_0.16-0        viridisLite_0.4.0     
#>  [93] survival_3.2-11        tibble_3.1.2           Polychrome_1.3.1       iterators_1.0.13      
#>  [97] AnnotationDbi_1.54.1   memoise_2.0.0          IRanges_2.26.0         cluster_2.1.2         
#> [101] ellipsis_0.3.2         brew_1.0-6