cola Report for Hierarchical Partitioning - 'DarmanisBrain'

Date: 2021-07-26 10:30:03 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 'ATC:skmeans' method.
#>   On a matrix with 12036 rows and 466 columns.
#>   Performed in total 3750 partitions.
#>   There are 16 groups under the following parameters:
#>     - min_samples: 6
#>     - mean_silhouette_cutoff: 0.9
#>     - min_n_signatures: 355 (signatures are selected based on:)
#>       - fdr_cutoff: 0.05
#>       - group_diff (scaled values): 0.5
#> 
#> Hierarchy of the partition:
#>   0, 466 cols
#>   |-- 01, 238 cols, 3159 signatures
#>   |   |-- 011, 110 cols, 839 signatures
#>   |   |   |-- 0111, 55 cols, 111 signatures (c)
#>   |   |   `-- 0112, 55 cols, 701 signatures
#>   |   |       |-- 01121, 38 cols, 26 signatures (c)
#>   |   |       `-- 01122, 17 cols, 6 signatures (c)
#>   |   |-- 012, 81 cols, 1988 signatures
#>   |   |   |-- 0121, 19 cols, 8 signatures (c)
#>   |   |   |-- 0122, 25 cols, 130 signatures (c)
#>   |   |   |-- 0123, 17 cols, 69 signatures (c)
#>   |   |   `-- 0124, 20 cols, 76 signatures (c)
#>   |   `-- 013, 47 cols, 865 signatures
#>   |       |-- 0131, 18 cols, 5 signatures (c)
#>   |       |-- 0132, 11 cols (b)
#>   |       `-- 0133, 18 cols, 3 signatures (c)
#>   |-- 02, 176 cols, 3358 signatures
#>   |   |-- 021, 92 cols, 1450 signatures
#>   |   |   |-- 0211, 55 cols, 185 signatures (c)
#>   |   |   `-- 0212, 37 cols, 353 signatures (c)
#>   |   `-- 022, 84 cols, 303 signatures (c)
#>   `-- 03, 52 cols, 982 signatures
#>       |-- 031, 22 cols, 8 signatures (c)
#>       |-- 032, 10 cols (b)
#>       `-- 033, 20 cols, 40 signatures (c)
#> 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 = lt$mat, anno = lt$anno, subset = 500, cores = 4)

Dimension of the input matrix:

mat = get_matrix(res_rh)
dim(mat)
#> [1] 12036   466

All the methods that were tried:

res_rh@param$combination_method
#> [[1]]
#> [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, top_annotation = HeatmapAnnotation(df = get_anno(res_rh), 
    col = get_anno_col(res_rh)), 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"   "0111"  "0112"  "01121" "01122" "012"   "0121"  "0122"  "0123"  "0124" 
#> [13] "013"   "0131"  "0132"  "0133"  "02"    "021"   "0211"  "0212"  "022"   "03"    "031"   "032"  
#> [25] "033"
all_leaves(res_rh)
#>  [1] "0111"  "01121" "01122" "0121"  "0122"  "0123"  "0124"  "0131"  "0132"  "0133"  "0211"  "0212" 
#> [13] "022"   "031"   "032"   "033"
node_info(res_rh)
#>       id best_method depth best_k n_columns n_signatures p_signatures is_leaf
#> 1      0 ATC:skmeans     1      3       466         7110     0.590728   FALSE
#> 2     01 ATC:skmeans     2      3       238         3159     0.262463   FALSE
#> 3    011 ATC:skmeans     3      2       110          839     0.069708   FALSE
#> 4   0111 ATC:skmeans     4      3        55          111     0.009222    TRUE
#> 5   0112 ATC:skmeans     4      2        55          701     0.058242   FALSE
#> 6  01121 ATC:skmeans     5      2        38           26     0.002160    TRUE
#> 7  01122 ATC:skmeans     5      2        17            6     0.000499    TRUE
#> 8    012 ATC:skmeans     3      4        81         1988     0.165171   FALSE
#> 9   0121 ATC:skmeans     4      2        19            8     0.000665    TRUE
#> 10  0122 ATC:skmeans     4      3        25          130     0.010801    TRUE
#> 11  0123 ATC:skmeans     4      2        17           69     0.005733    TRUE
#> 12  0124 ATC:skmeans     4      2        20           76     0.006314    TRUE
#> 13   013 ATC:skmeans     3      3        47          865     0.071868   FALSE
#> 14  0131 ATC:skmeans     4      2        18            5     0.000415    TRUE
#> 15  0132 not applied     4     NA        11           NA           NA    TRUE
#> 16  0133 ATC:skmeans     4      2        18            3     0.000249    TRUE
#> 17    02 ATC:skmeans     2      2       176         3358     0.278996   FALSE
#> 18   021 ATC:skmeans     3      2        92         1450     0.120472   FALSE
#> 19  0211 ATC:skmeans     4      2        55          185     0.015371    TRUE
#> 20  0212 ATC:skmeans     4      2        37          353     0.029329    TRUE
#> 21   022 ATC:skmeans     3      2        84          303     0.025174    TRUE
#> 22    03 ATC:skmeans     2      3        52          982     0.081589   FALSE
#> 23   031 ATC:skmeans     3      2        22            8     0.000665    TRUE
#> 24   032 not applied     3     NA        10           NA           NA    TRUE
#> 25   033 ATC:skmeans     3      2        20           40     0.003323    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 4 0.98 0.95 0.97 466 **
Node01 ATC:skmeans 3 1.00 0.98 0.99 238 **
Node011 ATC:skmeans 4 0.90 0.90 0.94 110 *
Node0111-leaf ATC:skmeans ✓ (c) 3 0.98 0.97 0.99 55 **
Node0112 ATC:skmeans 2 1.00 0.99 0.99 55 **
Node01121-leaf ATC:skmeans ✓ (c) 2 0.89 0.95 0.98 38
Node01122-leaf ATC:skmeans ✓ (c) 2 1.00 1.00 1.00 17 **
Node012 ATC:skmeans 4 0.96 0.95 0.97 81 **
Node0121-leaf ATC:skmeans ✓ (c) 2 0.89 0.96 0.98 19
Node0122-leaf ATC:skmeans ✓ (c) 4 0.91 0.83 0.92 25 *
Node0123-leaf ATC:skmeans ✓ (c) 2 1.00 1.00 1.00 17 **
Node0124-leaf ATC:skmeans ✓ (c) 2 1.00 1.00 1.00 20 **
Node013 ATC:skmeans 3 1.00 0.98 0.99 47 **
Node0131-leaf ATC:skmeans ✓ (c) 3 0.84 0.88 0.95 18
Node0132-leaf not applied ✓ (b) 11
Node0133-leaf ATC:skmeans ✓ (c) 2 1.00 1.00 1.00 18 **
Node02 ATC:skmeans 3 0.94 0.93 0.97 176 *
Node021 ATC:skmeans 2 1.00 0.98 0.99 92 **
Node0211-leaf ATC:skmeans ✓ (c) 2 0.93 0.97 0.99 55 *
Node0212-leaf ATC:skmeans ✓ (c) 3 0.96 0.93 0.97 37 **
Node022-leaf ATC:skmeans ✓ (c) 2 0.80 0.92 0.96 84
Node03 ATC:skmeans 3 1.00 0.97 0.99 52 **
Node031-leaf ATC:skmeans ✓ (c) 2 1.00 1.00 1.00 22 **
Node032-leaf not applied ✓ (b) 10
Node033-leaf ATC:skmeans ✓ (c) 2 1.00 1.00 1.00 20 **

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 = 701))

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 = 701))
#> GSM1657871 GSM1657872 GSM1657873 GSM1657874 GSM1657875 GSM1657876 GSM1657877 GSM1657878 GSM1657879 
#>     "0133"      "022"     "0133"      "022"      "022"     "0132"     "0133"     "0124"      "022" 
#> GSM1657880 GSM1657881 GSM1657882 GSM1657883 GSM1657884 GSM1657885 GSM1657886 GSM1657887 GSM1657888 
#>     "0133"     "0133"      "022"     "0211"      "022"     "0122"      "022"      "022"      "022" 
#> GSM1657889 GSM1657890 GSM1657891 GSM1657892 GSM1657893 GSM1657894 GSM1657895 GSM1657896 GSM1657897 
#>     "0133"     "0133"     "0133"     "0133"     "0132"     "0133"     "0211"      "022"     "0133" 
#> GSM1657898 GSM1657899 GSM1657900 GSM1657901 GSM1657902 GSM1657903 GSM1657904 GSM1657905 GSM1657906 
#>      "022"     "0133"     "0133"     "0133"     "0133"     "0121"     "0121"     "0124"     "0132" 
#> GSM1657907 GSM1657908 GSM1657909 GSM1657910 GSM1657911 GSM1657912 GSM1657913 GSM1657914 GSM1657915 
#>     "0132"     "0132"     "0121"     "0121"     "0122"     "0211"     "0132"     "0124"     "0124" 
#> GSM1657916 GSM1657917 GSM1657918 GSM1657919 GSM1657920 GSM1657921 GSM1657922 GSM1657923 GSM1657924 
#>     "0132"     "0132"     "0132"     "0121"     "0121"     "0124"     "0132"     "0133"     "0121" 
#> GSM1657925 GSM1657926 GSM1657927 GSM1657928 GSM1657929 GSM1657930 GSM1657931 GSM1657932 GSM1657933 
#>     "0121"     "0121"     "0121"     "0124"     "0124"     "0212"      "022"      "033"      "022" 
#> GSM1657934 GSM1657935 GSM1657936 GSM1657937 GSM1657938 GSM1657939 GSM1657940 GSM1657941 GSM1657942 
#>     "0121"      "022"      "022"      "022"      "033"     "0124"      "022"     "0124"      "022" 
#> GSM1657943 GSM1657944 GSM1657945 GSM1657946 GSM1657947 GSM1657948 GSM1657949 GSM1657950 GSM1657951 
#>      "022"     "0131"      "022"     "0212"      "022"     "0124"      "022"      "022"     "0124" 
#> GSM1657952 GSM1657953 GSM1657954 GSM1657955 GSM1657956 GSM1657957 GSM1657958 GSM1657959 GSM1657960 
#>     "0211"     "0122"      "022"      "022"     "0211"     "0211"     "0211"      "022"     "0212" 
#> GSM1657961 GSM1657962 GSM1657963 GSM1657964 GSM1657965 GSM1657966 GSM1657967 GSM1657968 GSM1657969 
#>      "022"     "0212"     "0211"      "022"      "033"     "0211"     "0211"      "022"     "0122" 
#> GSM1657970 GSM1657971 GSM1657972 GSM1657973 GSM1657974 GSM1657975 GSM1657976 GSM1657977 GSM1657978 
#>      "022"     "0212"     "0123"     "0211"      "022"      "033"      "022"     "0212"      "022" 
#> GSM1657979 GSM1657980 GSM1657981 GSM1657982 GSM1657983 GSM1657984 GSM1657985 GSM1657986 GSM1657987 
#>      "033"      "022"      "033"     "0212"      "022"      "022"      "022"     "0211"     "0211" 
#> GSM1657988 GSM1657989 GSM1657990 GSM1657991 GSM1657992 GSM1657993 GSM1657994 GSM1657995 GSM1657996 
#>      "022"     "0124"     "0211"      "022"     "0122"     "0123"     "0121"     "0123"     "0121" 
#> GSM1657997 GSM1657998 GSM1657999 GSM1658000 GSM1658001 GSM1658002 GSM1658003 GSM1658004 GSM1658005 
#>     "0121"     "0122"     "0121"     "0122"     "0124"     "0211"    "01121"     "0123"      "022" 
#> GSM1658006 GSM1658007 GSM1658008 GSM1658009 GSM1658010 GSM1658011 GSM1658012 GSM1658013 GSM1658014 
#>      "031"      "031"     "0211"     "0212"     "0212"     "0212"     "0211"     "0212"     "0212" 
#> GSM1658015 GSM1658016 GSM1658017 GSM1658018 GSM1658019 GSM1658020 GSM1658021 GSM1658022 GSM1658023 
#>     "0212"      "033"      "033"     "0131"     "0212"      "033"      "033"     "0212"      "022" 
#> GSM1658024 GSM1658025 GSM1658026 GSM1658027 GSM1658028 GSM1658029 GSM1658030 GSM1658031 GSM1658032 
#>      "033"      "022"      "033"      "033"     "0212"      "031"      "022"      "033"     "0212" 
#> GSM1658033 GSM1658034 GSM1658035 GSM1658036 GSM1658037 GSM1658038 GSM1658039 GSM1658040 GSM1658041 
#>     "0212"     "0212"      "022"     "0124"     "0212"      "022"      "022"     "0212"     "0212" 
#> GSM1658042 GSM1658043 GSM1658044 GSM1658045 GSM1658046 GSM1658047 GSM1658048 GSM1658049 GSM1658050 
#>      "022"      "031"      "022"      "033"      "022"     "0212"      "032"     "0122"      "031" 
#> GSM1658051 GSM1658052 GSM1658053 GSM1658054 GSM1658055 GSM1658056 GSM1658057 GSM1658058 GSM1658059 
#>      "031"     "0212"      "022"      "031"      "022"      "031"     "0212"     "0211"      "031" 
#> GSM1658060 GSM1658061 GSM1658062 GSM1658063 GSM1658064 GSM1658065 GSM1658066 GSM1658067 GSM1658068 
#>     "0212"      "031"      "022"     "0212"      "031"      "031"      "031"      "031"      "031" 
#> GSM1658069 GSM1658070 GSM1658071 GSM1658072 GSM1658073 GSM1658074 GSM1658075 GSM1658076 GSM1658077 
#>      "031"     "0212"      "031"      "031"      "031"     "0212"     "0212"     "0211"      "022" 
#> GSM1658078 GSM1658079 GSM1658080 GSM1658081 GSM1658082 GSM1658083 GSM1658084 GSM1658085 GSM1658086 
#>      "031"      "031"     "0212"      "033"      "031"     "0123"     "0211"     "0131"     "0123" 
#> GSM1658087 GSM1658088 GSM1658089 GSM1658090 GSM1658091 GSM1658092 GSM1658093 GSM1658094 GSM1658095 
#>     "0211"     "0131"     "0123"     "0211"     "0211"     "0123"     "0133"     "0123"      "022" 
#> GSM1658096 GSM1658097 GSM1658098 GSM1658099 GSM1658100 GSM1658101 GSM1658102 GSM1658103 GSM1658104 
#>     "0123"     "0131"     "0123"     "0123"     "0211"     "0211"     "0123"     "0211"      "022" 
#> GSM1658105 GSM1658106 GSM1658107 GSM1658108 GSM1658109 GSM1658110 GSM1658111 GSM1658112 GSM1658113 
#>     "0211"      "022"     "0211"      "022"     "0131"     "0211"     "0211"     "0131"      "022" 
#> GSM1658114 GSM1658115 GSM1658116 GSM1658117 GSM1658118 GSM1658119 GSM1658120 GSM1658121 GSM1658122 
#>      "022"      "022"     "0121"     "0123"     "0131"     "0131"     "0131"     "0211"     "0123" 
#> GSM1658123 GSM1658124 GSM1658125 GSM1658126 GSM1658127 GSM1658128 GSM1658129 GSM1658130 GSM1658131 
#>     "0131"     "0131"     "0133"     "0123"     "0211"      "022"     "0211"      "032"      "022" 
#> GSM1658132 GSM1658133 GSM1658134 GSM1658135 GSM1658136 GSM1658137 GSM1658138 GSM1658139 GSM1658140 
#>     "0211"      "032"     "0211"      "022"     "0124"     "0211"      "022"      "022"     "0211" 
#> GSM1658141 GSM1658142 GSM1658143 GSM1658144 GSM1658145 GSM1658146 GSM1658147 GSM1658148 GSM1658149 
#>     "0212"      "032"      "022"     "0132"     "0211"      "022"     "0212"     "0212"      "022" 
#> GSM1658150 GSM1658151 GSM1658152 GSM1658153 GSM1658154 GSM1658155 GSM1658156 GSM1658157 GSM1658158 
#>      "022"      "022"      "022"      "022"     "0124"     "0131"     "0212"     "0211"     "0211" 
#> GSM1658159 GSM1658160 GSM1658161 GSM1658162 GSM1658163 GSM1658164 GSM1658165 GSM1658166 GSM1658167 
#>      "032"     "0211"      "032"     "0131"     "0211"     "0131"     "0211"     "0211"     "0131" 
#> GSM1658168 GSM1658169 GSM1658170 GSM1658171 GSM1658172 GSM1658173 GSM1658174 GSM1658175 GSM1658176 
#>      "033"     "0211"     "0212"      "022"     "0211"     "0131"      "033"      "022"     "0211" 
#> GSM1658177 GSM1658178 GSM1658179 GSM1658180 GSM1658181 GSM1658182 GSM1658183 GSM1658184 GSM1658185 
#>     "0211"      "032"     "0211"     "0131"      "022"     "0212"      "032"      "033"     "0122" 
#> GSM1658186 GSM1658187 GSM1658188 GSM1658189 GSM1658190 GSM1658191 GSM1658192 GSM1658193 GSM1658194 
#>     "0122"     "0122"     "0121"     "0121"     "0122"     "0122"      "022"     "0122"     "0124" 
#> GSM1658195 GSM1658196 GSM1658197 GSM1658198 GSM1658199 GSM1658200 GSM1658201 GSM1658202 GSM1658203 
#>      "022"     "0121"     "0124"     "0124"     "0122"     "0124"      "033"     "0122"    "01122" 
#> GSM1658204 GSM1658205 GSM1658206 GSM1658207 GSM1658208 GSM1658209 GSM1658210 GSM1658211 GSM1658212 
#>    "01122"     "0122"    "01122"    "01122"     "0122"    "01122"     "0123"    "01122"    "01121" 
#> GSM1658213 GSM1658214 GSM1658215 GSM1658216 GSM1658217 GSM1658218 GSM1658219 GSM1658220 GSM1658221 
#>      "032"    "01122"      "032"    "01122"     "0122"    "01122"    "01122"    "01122"    "01121" 
#> GSM1658222 GSM1658223 GSM1658224 GSM1658225 GSM1658226 GSM1658227 GSM1658228 GSM1658229 GSM1658230 
#>    "01122"     "0122"    "01122"     "0122"    "01121"    "01121"    "01122"     "0111"    "01121" 
#> GSM1658231 GSM1658232 GSM1658233 GSM1658234 GSM1658235 GSM1658236 GSM1658237 GSM1658238 GSM1658239 
#>     "0111"    "01121"     "0111"    "01121"     "0111"    "01121"     "0111"     "0111"     "0111" 
#> GSM1658240 GSM1658241 GSM1658242 GSM1658243 GSM1658244 GSM1658245 GSM1658246 GSM1658247 GSM1658248 
#>     "0111"     "0111"    "01122"     "0111"     "0111"     "0122"     "0111"     "0111"      "022" 
#> GSM1658249 GSM1658251 GSM1658253 GSM1658255 GSM1658257 GSM1658259 GSM1658262 GSM1658264 GSM1658266 
#>     "0111"     "0111"     "0111"      "022"     "0211"     "0211"     "0111"    "01121"     "0111" 
#> GSM1658268 GSM1658270 GSM1658272 GSM1658275 GSM1658277 GSM1658279 GSM1658281 GSM1658284 GSM1658286 
#>      "022"     "0111"     "0111"    "01121"     "0122"     "0111"      "022"     "0111"     "0111" 
#> GSM1658288 GSM1658290 GSM1658292 GSM1658294 GSM1658297 GSM1658299 GSM1658301 GSM1658304 GSM1658305 
#>    "01121"     "0111"     "0111"      "022"    "01121"     "0211"     "0111"     "0122"     "0111" 
#> GSM1658306 GSM1658307 GSM1658308 GSM1658309 GSM1658310 GSM1658311 GSM1658312 GSM1658313 GSM1658314 
#>    "01121"     "0111"    "01121"    "01121"     "0111"    "01121"     "0111"      "022"     "0111" 
#> GSM1658315 GSM1658316 GSM1658317 GSM1658318 GSM1658319 GSM1658320 GSM1658321 GSM1658322 GSM1658323 
#>    "01121"    "01121"     "0111"     "0111"    "01121"    "01121"     "0111"     "0111"     "0211" 
#> GSM1658324 GSM1658325 GSM1658326 GSM1658327 GSM1658328 GSM1658329 GSM1658330 GSM1658331 GSM1658332 
#>    "01121"    "01121"    "01121"     "0111"     "0111"    "01121"     "0111"     "0122"    "01121" 
#> GSM1658333 GSM1658334 GSM1658335 GSM1658336 GSM1658337 GSM1658338 GSM1658339 GSM1658340 GSM1658341 
#>    "01121"    "01121"     "0111"     "0111"    "01121"     "0111"     "0211"     "0111"    "01121" 
#> GSM1658342 GSM1658343 GSM1658344 GSM1658345 GSM1658346 GSM1658347 GSM1658348 GSM1658349 GSM1658350 
#>     "0111"     "0111"     "0111"    "01121"     "0111"    "01122"      "022"     "0111"     "0111" 
#> GSM1658351 GSM1658352 GSM1658353 GSM1658354 GSM1658355 GSM1658356 GSM1658357 GSM1658358 GSM1658359 
#>     "0111"     "0211"    "01121"     "0111"    "01122"     "0111"    "01121"     "0111"    "01121" 
#> GSM1658360 GSM1658361 GSM1658362 GSM1658363 GSM1658364 GSM1658365 GSM1658366 
#>    "01121"    "01121"     "0111"     "0111"    "01121"     "0111"    "01121"

show/hide code output

get_classes(res_rh, merge_node = merge_node_param(min_n_signatures = 839))
#> GSM1657871 GSM1657872 GSM1657873 GSM1657874 GSM1657875 GSM1657876 GSM1657877 GSM1657878 GSM1657879 
#>     "0133"      "022"     "0133"      "022"      "022"     "0132"     "0133"     "0124"      "022" 
#> GSM1657880 GSM1657881 GSM1657882 GSM1657883 GSM1657884 GSM1657885 GSM1657886 GSM1657887 GSM1657888 
#>     "0133"     "0133"      "022"     "0211"      "022"     "0122"      "022"      "022"      "022" 
#> GSM1657889 GSM1657890 GSM1657891 GSM1657892 GSM1657893 GSM1657894 GSM1657895 GSM1657896 GSM1657897 
#>     "0133"     "0133"     "0133"     "0133"     "0132"     "0133"     "0211"      "022"     "0133" 
#> GSM1657898 GSM1657899 GSM1657900 GSM1657901 GSM1657902 GSM1657903 GSM1657904 GSM1657905 GSM1657906 
#>      "022"     "0133"     "0133"     "0133"     "0133"     "0121"     "0121"     "0124"     "0132" 
#> GSM1657907 GSM1657908 GSM1657909 GSM1657910 GSM1657911 GSM1657912 GSM1657913 GSM1657914 GSM1657915 
#>     "0132"     "0132"     "0121"     "0121"     "0122"     "0211"     "0132"     "0124"     "0124" 
#> GSM1657916 GSM1657917 GSM1657918 GSM1657919 GSM1657920 GSM1657921 GSM1657922 GSM1657923 GSM1657924 
#>     "0132"     "0132"     "0132"     "0121"     "0121"     "0124"     "0132"     "0133"     "0121" 
#> GSM1657925 GSM1657926 GSM1657927 GSM1657928 GSM1657929 GSM1657930 GSM1657931 GSM1657932 GSM1657933 
#>     "0121"     "0121"     "0121"     "0124"     "0124"     "0212"      "022"      "033"      "022" 
#> GSM1657934 GSM1657935 GSM1657936 GSM1657937 GSM1657938 GSM1657939 GSM1657940 GSM1657941 GSM1657942 
#>     "0121"      "022"      "022"      "022"      "033"     "0124"      "022"     "0124"      "022" 
#> GSM1657943 GSM1657944 GSM1657945 GSM1657946 GSM1657947 GSM1657948 GSM1657949 GSM1657950 GSM1657951 
#>      "022"     "0131"      "022"     "0212"      "022"     "0124"      "022"      "022"     "0124" 
#> GSM1657952 GSM1657953 GSM1657954 GSM1657955 GSM1657956 GSM1657957 GSM1657958 GSM1657959 GSM1657960 
#>     "0211"     "0122"      "022"      "022"     "0211"     "0211"     "0211"      "022"     "0212" 
#> GSM1657961 GSM1657962 GSM1657963 GSM1657964 GSM1657965 GSM1657966 GSM1657967 GSM1657968 GSM1657969 
#>      "022"     "0212"     "0211"      "022"      "033"     "0211"     "0211"      "022"     "0122" 
#> GSM1657970 GSM1657971 GSM1657972 GSM1657973 GSM1657974 GSM1657975 GSM1657976 GSM1657977 GSM1657978 
#>      "022"     "0212"     "0123"     "0211"      "022"      "033"      "022"     "0212"      "022" 
#> GSM1657979 GSM1657980 GSM1657981 GSM1657982 GSM1657983 GSM1657984 GSM1657985 GSM1657986 GSM1657987 
#>      "033"      "022"      "033"     "0212"      "022"      "022"      "022"     "0211"     "0211" 
#> GSM1657988 GSM1657989 GSM1657990 GSM1657991 GSM1657992 GSM1657993 GSM1657994 GSM1657995 GSM1657996 
#>      "022"     "0124"     "0211"      "022"     "0122"     "0123"     "0121"     "0123"     "0121" 
#> GSM1657997 GSM1657998 GSM1657999 GSM1658000 GSM1658001 GSM1658002 GSM1658003 GSM1658004 GSM1658005 
#>     "0121"     "0122"     "0121"     "0122"     "0124"     "0211"     "0112"     "0123"      "022" 
#> GSM1658006 GSM1658007 GSM1658008 GSM1658009 GSM1658010 GSM1658011 GSM1658012 GSM1658013 GSM1658014 
#>      "031"      "031"     "0211"     "0212"     "0212"     "0212"     "0211"     "0212"     "0212" 
#> GSM1658015 GSM1658016 GSM1658017 GSM1658018 GSM1658019 GSM1658020 GSM1658021 GSM1658022 GSM1658023 
#>     "0212"      "033"      "033"     "0131"     "0212"      "033"      "033"     "0212"      "022" 
#> GSM1658024 GSM1658025 GSM1658026 GSM1658027 GSM1658028 GSM1658029 GSM1658030 GSM1658031 GSM1658032 
#>      "033"      "022"      "033"      "033"     "0212"      "031"      "022"      "033"     "0212" 
#> GSM1658033 GSM1658034 GSM1658035 GSM1658036 GSM1658037 GSM1658038 GSM1658039 GSM1658040 GSM1658041 
#>     "0212"     "0212"      "022"     "0124"     "0212"      "022"      "022"     "0212"     "0212" 
#> GSM1658042 GSM1658043 GSM1658044 GSM1658045 GSM1658046 GSM1658047 GSM1658048 GSM1658049 GSM1658050 
#>      "022"      "031"      "022"      "033"      "022"     "0212"      "032"     "0122"      "031" 
#> GSM1658051 GSM1658052 GSM1658053 GSM1658054 GSM1658055 GSM1658056 GSM1658057 GSM1658058 GSM1658059 
#>      "031"     "0212"      "022"      "031"      "022"      "031"     "0212"     "0211"      "031" 
#> GSM1658060 GSM1658061 GSM1658062 GSM1658063 GSM1658064 GSM1658065 GSM1658066 GSM1658067 GSM1658068 
#>     "0212"      "031"      "022"     "0212"      "031"      "031"      "031"      "031"      "031" 
#> GSM1658069 GSM1658070 GSM1658071 GSM1658072 GSM1658073 GSM1658074 GSM1658075 GSM1658076 GSM1658077 
#>      "031"     "0212"      "031"      "031"      "031"     "0212"     "0212"     "0211"      "022" 
#> GSM1658078 GSM1658079 GSM1658080 GSM1658081 GSM1658082 GSM1658083 GSM1658084 GSM1658085 GSM1658086 
#>      "031"      "031"     "0212"      "033"      "031"     "0123"     "0211"     "0131"     "0123" 
#> GSM1658087 GSM1658088 GSM1658089 GSM1658090 GSM1658091 GSM1658092 GSM1658093 GSM1658094 GSM1658095 
#>     "0211"     "0131"     "0123"     "0211"     "0211"     "0123"     "0133"     "0123"      "022" 
#> GSM1658096 GSM1658097 GSM1658098 GSM1658099 GSM1658100 GSM1658101 GSM1658102 GSM1658103 GSM1658104 
#>     "0123"     "0131"     "0123"     "0123"     "0211"     "0211"     "0123"     "0211"      "022" 
#> GSM1658105 GSM1658106 GSM1658107 GSM1658108 GSM1658109 GSM1658110 GSM1658111 GSM1658112 GSM1658113 
#>     "0211"      "022"     "0211"      "022"     "0131"     "0211"     "0211"     "0131"      "022" 
#> GSM1658114 GSM1658115 GSM1658116 GSM1658117 GSM1658118 GSM1658119 GSM1658120 GSM1658121 GSM1658122 
#>      "022"      "022"     "0121"     "0123"     "0131"     "0131"     "0131"     "0211"     "0123" 
#> GSM1658123 GSM1658124 GSM1658125 GSM1658126 GSM1658127 GSM1658128 GSM1658129 GSM1658130 GSM1658131 
#>     "0131"     "0131"     "0133"     "0123"     "0211"      "022"     "0211"      "032"      "022" 
#> GSM1658132 GSM1658133 GSM1658134 GSM1658135 GSM1658136 GSM1658137 GSM1658138 GSM1658139 GSM1658140 
#>     "0211"      "032"     "0211"      "022"     "0124"     "0211"      "022"      "022"     "0211" 
#> GSM1658141 GSM1658142 GSM1658143 GSM1658144 GSM1658145 GSM1658146 GSM1658147 GSM1658148 GSM1658149 
#>     "0212"      "032"      "022"     "0132"     "0211"      "022"     "0212"     "0212"      "022" 
#> GSM1658150 GSM1658151 GSM1658152 GSM1658153 GSM1658154 GSM1658155 GSM1658156 GSM1658157 GSM1658158 
#>      "022"      "022"      "022"      "022"     "0124"     "0131"     "0212"     "0211"     "0211" 
#> GSM1658159 GSM1658160 GSM1658161 GSM1658162 GSM1658163 GSM1658164 GSM1658165 GSM1658166 GSM1658167 
#>      "032"     "0211"      "032"     "0131"     "0211"     "0131"     "0211"     "0211"     "0131" 
#> GSM1658168 GSM1658169 GSM1658170 GSM1658171 GSM1658172 GSM1658173 GSM1658174 GSM1658175 GSM1658176 
#>      "033"     "0211"     "0212"      "022"     "0211"     "0131"      "033"      "022"     "0211" 
#> GSM1658177 GSM1658178 GSM1658179 GSM1658180 GSM1658181 GSM1658182 GSM1658183 GSM1658184 GSM1658185 
#>     "0211"      "032"     "0211"     "0131"      "022"     "0212"      "032"      "033"     "0122" 
#> GSM1658186 GSM1658187 GSM1658188 GSM1658189 GSM1658190 GSM1658191 GSM1658192 GSM1658193 GSM1658194 
#>     "0122"     "0122"     "0121"     "0121"     "0122"     "0122"      "022"     "0122"     "0124" 
#> GSM1658195 GSM1658196 GSM1658197 GSM1658198 GSM1658199 GSM1658200 GSM1658201 GSM1658202 GSM1658203 
#>      "022"     "0121"     "0124"     "0124"     "0122"     "0124"      "033"     "0122"     "0112" 
#> GSM1658204 GSM1658205 GSM1658206 GSM1658207 GSM1658208 GSM1658209 GSM1658210 GSM1658211 GSM1658212 
#>     "0112"     "0122"     "0112"     "0112"     "0122"     "0112"     "0123"     "0112"     "0112" 
#> GSM1658213 GSM1658214 GSM1658215 GSM1658216 GSM1658217 GSM1658218 GSM1658219 GSM1658220 GSM1658221 
#>      "032"     "0112"      "032"     "0112"     "0122"     "0112"     "0112"     "0112"     "0112" 
#> GSM1658222 GSM1658223 GSM1658224 GSM1658225 GSM1658226 GSM1658227 GSM1658228 GSM1658229 GSM1658230 
#>     "0112"     "0122"     "0112"     "0122"     "0112"     "0112"     "0112"     "0111"     "0112" 
#> GSM1658231 GSM1658232 GSM1658233 GSM1658234 GSM1658235 GSM1658236 GSM1658237 GSM1658238 GSM1658239 
#>     "0111"     "0112"     "0111"     "0112"     "0111"     "0112"     "0111"     "0111"     "0111" 
#> GSM1658240 GSM1658241 GSM1658242 GSM1658243 GSM1658244 GSM1658245 GSM1658246 GSM1658247 GSM1658248 
#>     "0111"     "0111"     "0112"     "0111"     "0111"     "0122"     "0111"     "0111"      "022" 
#> GSM1658249 GSM1658251 GSM1658253 GSM1658255 GSM1658257 GSM1658259 GSM1658262 GSM1658264 GSM1658266 
#>     "0111"     "0111"     "0111"      "022"     "0211"     "0211"     "0111"     "0112"     "0111" 
#> GSM1658268 GSM1658270 GSM1658272 GSM1658275 GSM1658277 GSM1658279 GSM1658281 GSM1658284 GSM1658286 
#>      "022"     "0111"     "0111"     "0112"     "0122"     "0111"      "022"     "0111"     "0111" 
#> GSM1658288 GSM1658290 GSM1658292 GSM1658294 GSM1658297 GSM1658299 GSM1658301 GSM1658304 GSM1658305 
#>     "0112"     "0111"     "0111"      "022"     "0112"     "0211"     "0111"     "0122"     "0111" 
#> GSM1658306 GSM1658307 GSM1658308 GSM1658309 GSM1658310 GSM1658311 GSM1658312 GSM1658313 GSM1658314 
#>     "0112"     "0111"     "0112"     "0112"     "0111"     "0112"     "0111"      "022"     "0111" 
#> GSM1658315 GSM1658316 GSM1658317 GSM1658318 GSM1658319 GSM1658320 GSM1658321 GSM1658322 GSM1658323 
#>     "0112"     "0112"     "0111"     "0111"     "0112"     "0112"     "0111"     "0111"     "0211" 
#> GSM1658324 GSM1658325 GSM1658326 GSM1658327 GSM1658328 GSM1658329 GSM1658330 GSM1658331 GSM1658332 
#>     "0112"     "0112"     "0112"     "0111"     "0111"     "0112"     "0111"     "0122"     "0112" 
#> GSM1658333 GSM1658334 GSM1658335 GSM1658336 GSM1658337 GSM1658338 GSM1658339 GSM1658340 GSM1658341 
#>     "0112"     "0112"     "0111"     "0111"     "0112"     "0111"     "0211"     "0111"     "0112" 
#> GSM1658342 GSM1658343 GSM1658344 GSM1658345 GSM1658346 GSM1658347 GSM1658348 GSM1658349 GSM1658350 
#>     "0111"     "0111"     "0111"     "0112"     "0111"     "0112"      "022"     "0111"     "0111" 
#> GSM1658351 GSM1658352 GSM1658353 GSM1658354 GSM1658355 GSM1658356 GSM1658357 GSM1658358 GSM1658359 
#>     "0111"     "0211"     "0112"     "0111"     "0112"     "0111"     "0112"     "0111"     "0112" 
#> GSM1658360 GSM1658361 GSM1658362 GSM1658363 GSM1658364 GSM1658365 GSM1658366 
#>     "0112"     "0112"     "0111"     "0111"     "0112"     "0111"     "0112"

show/hide code output

get_classes(res_rh, merge_node = merge_node_param(min_n_signatures = 865))
#> GSM1657871 GSM1657872 GSM1657873 GSM1657874 GSM1657875 GSM1657876 GSM1657877 GSM1657878 GSM1657879 
#>     "0133"      "022"     "0133"      "022"      "022"     "0132"     "0133"     "0124"      "022" 
#> GSM1657880 GSM1657881 GSM1657882 GSM1657883 GSM1657884 GSM1657885 GSM1657886 GSM1657887 GSM1657888 
#>     "0133"     "0133"      "022"     "0211"      "022"     "0122"      "022"      "022"      "022" 
#> GSM1657889 GSM1657890 GSM1657891 GSM1657892 GSM1657893 GSM1657894 GSM1657895 GSM1657896 GSM1657897 
#>     "0133"     "0133"     "0133"     "0133"     "0132"     "0133"     "0211"      "022"     "0133" 
#> GSM1657898 GSM1657899 GSM1657900 GSM1657901 GSM1657902 GSM1657903 GSM1657904 GSM1657905 GSM1657906 
#>      "022"     "0133"     "0133"     "0133"     "0133"     "0121"     "0121"     "0124"     "0132" 
#> GSM1657907 GSM1657908 GSM1657909 GSM1657910 GSM1657911 GSM1657912 GSM1657913 GSM1657914 GSM1657915 
#>     "0132"     "0132"     "0121"     "0121"     "0122"     "0211"     "0132"     "0124"     "0124" 
#> GSM1657916 GSM1657917 GSM1657918 GSM1657919 GSM1657920 GSM1657921 GSM1657922 GSM1657923 GSM1657924 
#>     "0132"     "0132"     "0132"     "0121"     "0121"     "0124"     "0132"     "0133"     "0121" 
#> GSM1657925 GSM1657926 GSM1657927 GSM1657928 GSM1657929 GSM1657930 GSM1657931 GSM1657932 GSM1657933 
#>     "0121"     "0121"     "0121"     "0124"     "0124"     "0212"      "022"      "033"      "022" 
#> GSM1657934 GSM1657935 GSM1657936 GSM1657937 GSM1657938 GSM1657939 GSM1657940 GSM1657941 GSM1657942 
#>     "0121"      "022"      "022"      "022"      "033"     "0124"      "022"     "0124"      "022" 
#> GSM1657943 GSM1657944 GSM1657945 GSM1657946 GSM1657947 GSM1657948 GSM1657949 GSM1657950 GSM1657951 
#>      "022"     "0131"      "022"     "0212"      "022"     "0124"      "022"      "022"     "0124" 
#> GSM1657952 GSM1657953 GSM1657954 GSM1657955 GSM1657956 GSM1657957 GSM1657958 GSM1657959 GSM1657960 
#>     "0211"     "0122"      "022"      "022"     "0211"     "0211"     "0211"      "022"     "0212" 
#> GSM1657961 GSM1657962 GSM1657963 GSM1657964 GSM1657965 GSM1657966 GSM1657967 GSM1657968 GSM1657969 
#>      "022"     "0212"     "0211"      "022"      "033"     "0211"     "0211"      "022"     "0122" 
#> GSM1657970 GSM1657971 GSM1657972 GSM1657973 GSM1657974 GSM1657975 GSM1657976 GSM1657977 GSM1657978 
#>      "022"     "0212"     "0123"     "0211"      "022"      "033"      "022"     "0212"      "022" 
#> GSM1657979 GSM1657980 GSM1657981 GSM1657982 GSM1657983 GSM1657984 GSM1657985 GSM1657986 GSM1657987 
#>      "033"      "022"      "033"     "0212"      "022"      "022"      "022"     "0211"     "0211" 
#> GSM1657988 GSM1657989 GSM1657990 GSM1657991 GSM1657992 GSM1657993 GSM1657994 GSM1657995 GSM1657996 
#>      "022"     "0124"     "0211"      "022"     "0122"     "0123"     "0121"     "0123"     "0121" 
#> GSM1657997 GSM1657998 GSM1657999 GSM1658000 GSM1658001 GSM1658002 GSM1658003 GSM1658004 GSM1658005 
#>     "0121"     "0122"     "0121"     "0122"     "0124"     "0211"      "011"     "0123"      "022" 
#> GSM1658006 GSM1658007 GSM1658008 GSM1658009 GSM1658010 GSM1658011 GSM1658012 GSM1658013 GSM1658014 
#>      "031"      "031"     "0211"     "0212"     "0212"     "0212"     "0211"     "0212"     "0212" 
#> GSM1658015 GSM1658016 GSM1658017 GSM1658018 GSM1658019 GSM1658020 GSM1658021 GSM1658022 GSM1658023 
#>     "0212"      "033"      "033"     "0131"     "0212"      "033"      "033"     "0212"      "022" 
#> GSM1658024 GSM1658025 GSM1658026 GSM1658027 GSM1658028 GSM1658029 GSM1658030 GSM1658031 GSM1658032 
#>      "033"      "022"      "033"      "033"     "0212"      "031"      "022"      "033"     "0212" 
#> GSM1658033 GSM1658034 GSM1658035 GSM1658036 GSM1658037 GSM1658038 GSM1658039 GSM1658040 GSM1658041 
#>     "0212"     "0212"      "022"     "0124"     "0212"      "022"      "022"     "0212"     "0212" 
#> GSM1658042 GSM1658043 GSM1658044 GSM1658045 GSM1658046 GSM1658047 GSM1658048 GSM1658049 GSM1658050 
#>      "022"      "031"      "022"      "033"      "022"     "0212"      "032"     "0122"      "031" 
#> GSM1658051 GSM1658052 GSM1658053 GSM1658054 GSM1658055 GSM1658056 GSM1658057 GSM1658058 GSM1658059 
#>      "031"     "0212"      "022"      "031"      "022"      "031"     "0212"     "0211"      "031" 
#> GSM1658060 GSM1658061 GSM1658062 GSM1658063 GSM1658064 GSM1658065 GSM1658066 GSM1658067 GSM1658068 
#>     "0212"      "031"      "022"     "0212"      "031"      "031"      "031"      "031"      "031" 
#> GSM1658069 GSM1658070 GSM1658071 GSM1658072 GSM1658073 GSM1658074 GSM1658075 GSM1658076 GSM1658077 
#>      "031"     "0212"      "031"      "031"      "031"     "0212"     "0212"     "0211"      "022" 
#> GSM1658078 GSM1658079 GSM1658080 GSM1658081 GSM1658082 GSM1658083 GSM1658084 GSM1658085 GSM1658086 
#>      "031"      "031"     "0212"      "033"      "031"     "0123"     "0211"     "0131"     "0123" 
#> GSM1658087 GSM1658088 GSM1658089 GSM1658090 GSM1658091 GSM1658092 GSM1658093 GSM1658094 GSM1658095 
#>     "0211"     "0131"     "0123"     "0211"     "0211"     "0123"     "0133"     "0123"      "022" 
#> GSM1658096 GSM1658097 GSM1658098 GSM1658099 GSM1658100 GSM1658101 GSM1658102 GSM1658103 GSM1658104 
#>     "0123"     "0131"     "0123"     "0123"     "0211"     "0211"     "0123"     "0211"      "022" 
#> GSM1658105 GSM1658106 GSM1658107 GSM1658108 GSM1658109 GSM1658110 GSM1658111 GSM1658112 GSM1658113 
#>     "0211"      "022"     "0211"      "022"     "0131"     "0211"     "0211"     "0131"      "022" 
#> GSM1658114 GSM1658115 GSM1658116 GSM1658117 GSM1658118 GSM1658119 GSM1658120 GSM1658121 GSM1658122 
#>      "022"      "022"     "0121"     "0123"     "0131"     "0131"     "0131"     "0211"     "0123" 
#> GSM1658123 GSM1658124 GSM1658125 GSM1658126 GSM1658127 GSM1658128 GSM1658129 GSM1658130 GSM1658131 
#>     "0131"     "0131"     "0133"     "0123"     "0211"      "022"     "0211"      "032"      "022" 
#> GSM1658132 GSM1658133 GSM1658134 GSM1658135 GSM1658136 GSM1658137 GSM1658138 GSM1658139 GSM1658140 
#>     "0211"      "032"     "0211"      "022"     "0124"     "0211"      "022"      "022"     "0211" 
#> GSM1658141 GSM1658142 GSM1658143 GSM1658144 GSM1658145 GSM1658146 GSM1658147 GSM1658148 GSM1658149 
#>     "0212"      "032"      "022"     "0132"     "0211"      "022"     "0212"     "0212"      "022" 
#> GSM1658150 GSM1658151 GSM1658152 GSM1658153 GSM1658154 GSM1658155 GSM1658156 GSM1658157 GSM1658158 
#>      "022"      "022"      "022"      "022"     "0124"     "0131"     "0212"     "0211"     "0211" 
#> GSM1658159 GSM1658160 GSM1658161 GSM1658162 GSM1658163 GSM1658164 GSM1658165 GSM1658166 GSM1658167 
#>      "032"     "0211"      "032"     "0131"     "0211"     "0131"     "0211"     "0211"     "0131" 
#> GSM1658168 GSM1658169 GSM1658170 GSM1658171 GSM1658172 GSM1658173 GSM1658174 GSM1658175 GSM1658176 
#>      "033"     "0211"     "0212"      "022"     "0211"     "0131"      "033"      "022"     "0211" 
#> GSM1658177 GSM1658178 GSM1658179 GSM1658180 GSM1658181 GSM1658182 GSM1658183 GSM1658184 GSM1658185 
#>     "0211"      "032"     "0211"     "0131"      "022"     "0212"      "032"      "033"     "0122" 
#> GSM1658186 GSM1658187 GSM1658188 GSM1658189 GSM1658190 GSM1658191 GSM1658192 GSM1658193 GSM1658194 
#>     "0122"     "0122"     "0121"     "0121"     "0122"     "0122"      "022"     "0122"     "0124" 
#> GSM1658195 GSM1658196 GSM1658197 GSM1658198 GSM1658199 GSM1658200 GSM1658201 GSM1658202 GSM1658203 
#>      "022"     "0121"     "0124"     "0124"     "0122"     "0124"      "033"     "0122"      "011" 
#> GSM1658204 GSM1658205 GSM1658206 GSM1658207 GSM1658208 GSM1658209 GSM1658210 GSM1658211 GSM1658212 
#>      "011"     "0122"      "011"      "011"     "0122"      "011"     "0123"      "011"      "011" 
#> GSM1658213 GSM1658214 GSM1658215 GSM1658216 GSM1658217 GSM1658218 GSM1658219 GSM1658220 GSM1658221 
#>      "032"      "011"      "032"      "011"     "0122"      "011"      "011"      "011"      "011" 
#> GSM1658222 GSM1658223 GSM1658224 GSM1658225 GSM1658226 GSM1658227 GSM1658228 GSM1658229 GSM1658230 
#>      "011"     "0122"      "011"     "0122"      "011"      "011"      "011"      "011"      "011" 
#> GSM1658231 GSM1658232 GSM1658233 GSM1658234 GSM1658235 GSM1658236 GSM1658237 GSM1658238 GSM1658239 
#>      "011"      "011"      "011"      "011"      "011"      "011"      "011"      "011"      "011" 
#> GSM1658240 GSM1658241 GSM1658242 GSM1658243 GSM1658244 GSM1658245 GSM1658246 GSM1658247 GSM1658248 
#>      "011"      "011"      "011"      "011"      "011"     "0122"      "011"      "011"      "022" 
#> GSM1658249 GSM1658251 GSM1658253 GSM1658255 GSM1658257 GSM1658259 GSM1658262 GSM1658264 GSM1658266 
#>      "011"      "011"      "011"      "022"     "0211"     "0211"      "011"      "011"      "011" 
#> GSM1658268 GSM1658270 GSM1658272 GSM1658275 GSM1658277 GSM1658279 GSM1658281 GSM1658284 GSM1658286 
#>      "022"      "011"      "011"      "011"     "0122"      "011"      "022"      "011"      "011" 
#> GSM1658288 GSM1658290 GSM1658292 GSM1658294 GSM1658297 GSM1658299 GSM1658301 GSM1658304 GSM1658305 
#>      "011"      "011"      "011"      "022"      "011"     "0211"      "011"     "0122"      "011" 
#> GSM1658306 GSM1658307 GSM1658308 GSM1658309 GSM1658310 GSM1658311 GSM1658312 GSM1658313 GSM1658314 
#>      "011"      "011"      "011"      "011"      "011"      "011"      "011"      "022"      "011" 
#> GSM1658315 GSM1658316 GSM1658317 GSM1658318 GSM1658319 GSM1658320 GSM1658321 GSM1658322 GSM1658323 
#>      "011"      "011"      "011"      "011"      "011"      "011"      "011"      "011"     "0211" 
#> GSM1658324 GSM1658325 GSM1658326 GSM1658327 GSM1658328 GSM1658329 GSM1658330 GSM1658331 GSM1658332 
#>      "011"      "011"      "011"      "011"      "011"      "011"      "011"     "0122"      "011" 
#> GSM1658333 GSM1658334 GSM1658335 GSM1658336 GSM1658337 GSM1658338 GSM1658339 GSM1658340 GSM1658341 
#>      "011"      "011"      "011"      "011"      "011"      "011"     "0211"      "011"      "011" 
#> GSM1658342 GSM1658343 GSM1658344 GSM1658345 GSM1658346 GSM1658347 GSM1658348 GSM1658349 GSM1658350 
#>      "011"      "011"      "011"      "011"      "011"      "011"      "022"      "011"      "011" 
#> GSM1658351 GSM1658352 GSM1658353 GSM1658354 GSM1658355 GSM1658356 GSM1658357 GSM1658358 GSM1658359 
#>      "011"     "0211"      "011"      "011"      "011"      "011"      "011"      "011"      "011" 
#> GSM1658360 GSM1658361 GSM1658362 GSM1658363 GSM1658364 GSM1658365 GSM1658366 
#>      "011"      "011"      "011"      "011"      "011"      "011"      "011"

show/hide code output

get_classes(res_rh, merge_node = merge_node_param(min_n_signatures = 982))
#> GSM1657871 GSM1657872 GSM1657873 GSM1657874 GSM1657875 GSM1657876 GSM1657877 GSM1657878 GSM1657879 
#>      "013"      "022"      "013"      "022"      "022"      "013"      "013"     "0124"      "022" 
#> GSM1657880 GSM1657881 GSM1657882 GSM1657883 GSM1657884 GSM1657885 GSM1657886 GSM1657887 GSM1657888 
#>      "013"      "013"      "022"     "0211"      "022"     "0122"      "022"      "022"      "022" 
#> GSM1657889 GSM1657890 GSM1657891 GSM1657892 GSM1657893 GSM1657894 GSM1657895 GSM1657896 GSM1657897 
#>      "013"      "013"      "013"      "013"      "013"      "013"     "0211"      "022"      "013" 
#> GSM1657898 GSM1657899 GSM1657900 GSM1657901 GSM1657902 GSM1657903 GSM1657904 GSM1657905 GSM1657906 
#>      "022"      "013"      "013"      "013"      "013"     "0121"     "0121"     "0124"      "013" 
#> GSM1657907 GSM1657908 GSM1657909 GSM1657910 GSM1657911 GSM1657912 GSM1657913 GSM1657914 GSM1657915 
#>      "013"      "013"     "0121"     "0121"     "0122"     "0211"      "013"     "0124"     "0124" 
#> GSM1657916 GSM1657917 GSM1657918 GSM1657919 GSM1657920 GSM1657921 GSM1657922 GSM1657923 GSM1657924 
#>      "013"      "013"      "013"     "0121"     "0121"     "0124"      "013"      "013"     "0121" 
#> GSM1657925 GSM1657926 GSM1657927 GSM1657928 GSM1657929 GSM1657930 GSM1657931 GSM1657932 GSM1657933 
#>     "0121"     "0121"     "0121"     "0124"     "0124"     "0212"      "022"      "033"      "022" 
#> GSM1657934 GSM1657935 GSM1657936 GSM1657937 GSM1657938 GSM1657939 GSM1657940 GSM1657941 GSM1657942 
#>     "0121"      "022"      "022"      "022"      "033"     "0124"      "022"     "0124"      "022" 
#> GSM1657943 GSM1657944 GSM1657945 GSM1657946 GSM1657947 GSM1657948 GSM1657949 GSM1657950 GSM1657951 
#>      "022"      "013"      "022"     "0212"      "022"     "0124"      "022"      "022"     "0124" 
#> GSM1657952 GSM1657953 GSM1657954 GSM1657955 GSM1657956 GSM1657957 GSM1657958 GSM1657959 GSM1657960 
#>     "0211"     "0122"      "022"      "022"     "0211"     "0211"     "0211"      "022"     "0212" 
#> GSM1657961 GSM1657962 GSM1657963 GSM1657964 GSM1657965 GSM1657966 GSM1657967 GSM1657968 GSM1657969 
#>      "022"     "0212"     "0211"      "022"      "033"     "0211"     "0211"      "022"     "0122" 
#> GSM1657970 GSM1657971 GSM1657972 GSM1657973 GSM1657974 GSM1657975 GSM1657976 GSM1657977 GSM1657978 
#>      "022"     "0212"     "0123"     "0211"      "022"      "033"      "022"     "0212"      "022" 
#> GSM1657979 GSM1657980 GSM1657981 GSM1657982 GSM1657983 GSM1657984 GSM1657985 GSM1657986 GSM1657987 
#>      "033"      "022"      "033"     "0212"      "022"      "022"      "022"     "0211"     "0211" 
#> GSM1657988 GSM1657989 GSM1657990 GSM1657991 GSM1657992 GSM1657993 GSM1657994 GSM1657995 GSM1657996 
#>      "022"     "0124"     "0211"      "022"     "0122"     "0123"     "0121"     "0123"     "0121" 
#> GSM1657997 GSM1657998 GSM1657999 GSM1658000 GSM1658001 GSM1658002 GSM1658003 GSM1658004 GSM1658005 
#>     "0121"     "0122"     "0121"     "0122"     "0124"     "0211"      "011"     "0123"      "022" 
#> GSM1658006 GSM1658007 GSM1658008 GSM1658009 GSM1658010 GSM1658011 GSM1658012 GSM1658013 GSM1658014 
#>      "031"      "031"     "0211"     "0212"     "0212"     "0212"     "0211"     "0212"     "0212" 
#> GSM1658015 GSM1658016 GSM1658017 GSM1658018 GSM1658019 GSM1658020 GSM1658021 GSM1658022 GSM1658023 
#>     "0212"      "033"      "033"      "013"     "0212"      "033"      "033"     "0212"      "022" 
#> GSM1658024 GSM1658025 GSM1658026 GSM1658027 GSM1658028 GSM1658029 GSM1658030 GSM1658031 GSM1658032 
#>      "033"      "022"      "033"      "033"     "0212"      "031"      "022"      "033"     "0212" 
#> GSM1658033 GSM1658034 GSM1658035 GSM1658036 GSM1658037 GSM1658038 GSM1658039 GSM1658040 GSM1658041 
#>     "0212"     "0212"      "022"     "0124"     "0212"      "022"      "022"     "0212"     "0212" 
#> GSM1658042 GSM1658043 GSM1658044 GSM1658045 GSM1658046 GSM1658047 GSM1658048 GSM1658049 GSM1658050 
#>      "022"      "031"      "022"      "033"      "022"     "0212"      "032"     "0122"      "031" 
#> GSM1658051 GSM1658052 GSM1658053 GSM1658054 GSM1658055 GSM1658056 GSM1658057 GSM1658058 GSM1658059 
#>      "031"     "0212"      "022"      "031"      "022"      "031"     "0212"     "0211"      "031" 
#> GSM1658060 GSM1658061 GSM1658062 GSM1658063 GSM1658064 GSM1658065 GSM1658066 GSM1658067 GSM1658068 
#>     "0212"      "031"      "022"     "0212"      "031"      "031"      "031"      "031"      "031" 
#> GSM1658069 GSM1658070 GSM1658071 GSM1658072 GSM1658073 GSM1658074 GSM1658075 GSM1658076 GSM1658077 
#>      "031"     "0212"      "031"      "031"      "031"     "0212"     "0212"     "0211"      "022" 
#> GSM1658078 GSM1658079 GSM1658080 GSM1658081 GSM1658082 GSM1658083 GSM1658084 GSM1658085 GSM1658086 
#>      "031"      "031"     "0212"      "033"      "031"     "0123"     "0211"      "013"     "0123" 
#> GSM1658087 GSM1658088 GSM1658089 GSM1658090 GSM1658091 GSM1658092 GSM1658093 GSM1658094 GSM1658095 
#>     "0211"      "013"     "0123"     "0211"     "0211"     "0123"      "013"     "0123"      "022" 
#> GSM1658096 GSM1658097 GSM1658098 GSM1658099 GSM1658100 GSM1658101 GSM1658102 GSM1658103 GSM1658104 
#>     "0123"      "013"     "0123"     "0123"     "0211"     "0211"     "0123"     "0211"      "022" 
#> GSM1658105 GSM1658106 GSM1658107 GSM1658108 GSM1658109 GSM1658110 GSM1658111 GSM1658112 GSM1658113 
#>     "0211"      "022"     "0211"      "022"      "013"     "0211"     "0211"      "013"      "022" 
#> GSM1658114 GSM1658115 GSM1658116 GSM1658117 GSM1658118 GSM1658119 GSM1658120 GSM1658121 GSM1658122 
#>      "022"      "022"     "0121"     "0123"      "013"      "013"      "013"     "0211"     "0123" 
#> GSM1658123 GSM1658124 GSM1658125 GSM1658126 GSM1658127 GSM1658128 GSM1658129 GSM1658130 GSM1658131 
#>      "013"      "013"      "013"     "0123"     "0211"      "022"     "0211"      "032"      "022" 
#> GSM1658132 GSM1658133 GSM1658134 GSM1658135 GSM1658136 GSM1658137 GSM1658138 GSM1658139 GSM1658140 
#>     "0211"      "032"     "0211"      "022"     "0124"     "0211"      "022"      "022"     "0211" 
#> GSM1658141 GSM1658142 GSM1658143 GSM1658144 GSM1658145 GSM1658146 GSM1658147 GSM1658148 GSM1658149 
#>     "0212"      "032"      "022"      "013"     "0211"      "022"     "0212"     "0212"      "022" 
#> GSM1658150 GSM1658151 GSM1658152 GSM1658153 GSM1658154 GSM1658155 GSM1658156 GSM1658157 GSM1658158 
#>      "022"      "022"      "022"      "022"     "0124"      "013"     "0212"     "0211"     "0211" 
#> GSM1658159 GSM1658160 GSM1658161 GSM1658162 GSM1658163 GSM1658164 GSM1658165 GSM1658166 GSM1658167 
#>      "032"     "0211"      "032"      "013"     "0211"      "013"     "0211"     "0211"      "013" 
#> GSM1658168 GSM1658169 GSM1658170 GSM1658171 GSM1658172 GSM1658173 GSM1658174 GSM1658175 GSM1658176 
#>      "033"     "0211"     "0212"      "022"     "0211"      "013"      "033"      "022"     "0211" 
#> GSM1658177 GSM1658178 GSM1658179 GSM1658180 GSM1658181 GSM1658182 GSM1658183 GSM1658184 GSM1658185 
#>     "0211"      "032"     "0211"      "013"      "022"     "0212"      "032"      "033"     "0122" 
#> GSM1658186 GSM1658187 GSM1658188 GSM1658189 GSM1658190 GSM1658191 GSM1658192 GSM1658193 GSM1658194 
#>     "0122"     "0122"     "0121"     "0121"     "0122"     "0122"      "022"     "0122"     "0124" 
#> GSM1658195 GSM1658196 GSM1658197 GSM1658198 GSM1658199 GSM1658200 GSM1658201 GSM1658202 GSM1658203 
#>      "022"     "0121"     "0124"     "0124"     "0122"     "0124"      "033"     "0122"      "011" 
#> GSM1658204 GSM1658205 GSM1658206 GSM1658207 GSM1658208 GSM1658209 GSM1658210 GSM1658211 GSM1658212 
#>      "011"     "0122"      "011"      "011"     "0122"      "011"     "0123"      "011"      "011" 
#> GSM1658213 GSM1658214 GSM1658215 GSM1658216 GSM1658217 GSM1658218 GSM1658219 GSM1658220 GSM1658221 
#>      "032"      "011"      "032"      "011"     "0122"      "011"      "011"      "011"      "011" 
#> GSM1658222 GSM1658223 GSM1658224 GSM1658225 GSM1658226 GSM1658227 GSM1658228 GSM1658229 GSM1658230 
#>      "011"     "0122"      "011"     "0122"      "011"      "011"      "011"      "011"      "011" 
#> GSM1658231 GSM1658232 GSM1658233 GSM1658234 GSM1658235 GSM1658236 GSM1658237 GSM1658238 GSM1658239 
#>      "011"      "011"      "011"      "011"      "011"      "011"      "011"      "011"      "011" 
#> GSM1658240 GSM1658241 GSM1658242 GSM1658243 GSM1658244 GSM1658245 GSM1658246 GSM1658247 GSM1658248 
#>      "011"      "011"      "011"      "011"      "011"     "0122"      "011"      "011"      "022" 
#> GSM1658249 GSM1658251 GSM1658253 GSM1658255 GSM1658257 GSM1658259 GSM1658262 GSM1658264 GSM1658266 
#>      "011"      "011"      "011"      "022"     "0211"     "0211"      "011"      "011"      "011" 
#> GSM1658268 GSM1658270 GSM1658272 GSM1658275 GSM1658277 GSM1658279 GSM1658281 GSM1658284 GSM1658286 
#>      "022"      "011"      "011"      "011"     "0122"      "011"      "022"      "011"      "011" 
#> GSM1658288 GSM1658290 GSM1658292 GSM1658294 GSM1658297 GSM1658299 GSM1658301 GSM1658304 GSM1658305 
#>      "011"      "011"      "011"      "022"      "011"     "0211"      "011"     "0122"      "011" 
#> GSM1658306 GSM1658307 GSM1658308 GSM1658309 GSM1658310 GSM1658311 GSM1658312 GSM1658313 GSM1658314 
#>      "011"      "011"      "011"      "011"      "011"      "011"      "011"      "022"      "011" 
#> GSM1658315 GSM1658316 GSM1658317 GSM1658318 GSM1658319 GSM1658320 GSM1658321 GSM1658322 GSM1658323 
#>      "011"      "011"      "011"      "011"      "011"      "011"      "011"      "011"     "0211" 
#> GSM1658324 GSM1658325 GSM1658326 GSM1658327 GSM1658328 GSM1658329 GSM1658330 GSM1658331 GSM1658332 
#>      "011"      "011"      "011"      "011"      "011"      "011"      "011"     "0122"      "011" 
#> GSM1658333 GSM1658334 GSM1658335 GSM1658336 GSM1658337 GSM1658338 GSM1658339 GSM1658340 GSM1658341 
#>      "011"      "011"      "011"      "011"      "011"      "011"     "0211"      "011"      "011" 
#> GSM1658342 GSM1658343 GSM1658344 GSM1658345 GSM1658346 GSM1658347 GSM1658348 GSM1658349 GSM1658350 
#>      "011"      "011"      "011"      "011"      "011"      "011"      "022"      "011"      "011" 
#> GSM1658351 GSM1658352 GSM1658353 GSM1658354 GSM1658355 GSM1658356 GSM1658357 GSM1658358 GSM1658359 
#>      "011"     "0211"      "011"      "011"      "011"      "011"      "011"      "011"      "011" 
#> GSM1658360 GSM1658361 GSM1658362 GSM1658363 GSM1658364 GSM1658365 GSM1658366 
#>      "011"      "011"      "011"      "011"      "011"      "011"      "011"

show/hide code output

get_classes(res_rh, merge_node = merge_node_param(min_n_signatures = 1450))
#> GSM1657871 GSM1657872 GSM1657873 GSM1657874 GSM1657875 GSM1657876 GSM1657877 GSM1657878 GSM1657879 
#>      "013"      "022"      "013"      "022"      "022"      "013"      "013"     "0124"      "022" 
#> GSM1657880 GSM1657881 GSM1657882 GSM1657883 GSM1657884 GSM1657885 GSM1657886 GSM1657887 GSM1657888 
#>      "013"      "013"      "022"     "0211"      "022"     "0122"      "022"      "022"      "022" 
#> GSM1657889 GSM1657890 GSM1657891 GSM1657892 GSM1657893 GSM1657894 GSM1657895 GSM1657896 GSM1657897 
#>      "013"      "013"      "013"      "013"      "013"      "013"     "0211"      "022"      "013" 
#> GSM1657898 GSM1657899 GSM1657900 GSM1657901 GSM1657902 GSM1657903 GSM1657904 GSM1657905 GSM1657906 
#>      "022"      "013"      "013"      "013"      "013"     "0121"     "0121"     "0124"      "013" 
#> GSM1657907 GSM1657908 GSM1657909 GSM1657910 GSM1657911 GSM1657912 GSM1657913 GSM1657914 GSM1657915 
#>      "013"      "013"     "0121"     "0121"     "0122"     "0211"      "013"     "0124"     "0124" 
#> GSM1657916 GSM1657917 GSM1657918 GSM1657919 GSM1657920 GSM1657921 GSM1657922 GSM1657923 GSM1657924 
#>      "013"      "013"      "013"     "0121"     "0121"     "0124"      "013"      "013"     "0121" 
#> GSM1657925 GSM1657926 GSM1657927 GSM1657928 GSM1657929 GSM1657930 GSM1657931 GSM1657932 GSM1657933 
#>     "0121"     "0121"     "0121"     "0124"     "0124"     "0212"      "022"       "03"      "022" 
#> GSM1657934 GSM1657935 GSM1657936 GSM1657937 GSM1657938 GSM1657939 GSM1657940 GSM1657941 GSM1657942 
#>     "0121"      "022"      "022"      "022"       "03"     "0124"      "022"     "0124"      "022" 
#> GSM1657943 GSM1657944 GSM1657945 GSM1657946 GSM1657947 GSM1657948 GSM1657949 GSM1657950 GSM1657951 
#>      "022"      "013"      "022"     "0212"      "022"     "0124"      "022"      "022"     "0124" 
#> GSM1657952 GSM1657953 GSM1657954 GSM1657955 GSM1657956 GSM1657957 GSM1657958 GSM1657959 GSM1657960 
#>     "0211"     "0122"      "022"      "022"     "0211"     "0211"     "0211"      "022"     "0212" 
#> GSM1657961 GSM1657962 GSM1657963 GSM1657964 GSM1657965 GSM1657966 GSM1657967 GSM1657968 GSM1657969 
#>      "022"     "0212"     "0211"      "022"       "03"     "0211"     "0211"      "022"     "0122" 
#> GSM1657970 GSM1657971 GSM1657972 GSM1657973 GSM1657974 GSM1657975 GSM1657976 GSM1657977 GSM1657978 
#>      "022"     "0212"     "0123"     "0211"      "022"       "03"      "022"     "0212"      "022" 
#> GSM1657979 GSM1657980 GSM1657981 GSM1657982 GSM1657983 GSM1657984 GSM1657985 GSM1657986 GSM1657987 
#>       "03"      "022"       "03"     "0212"      "022"      "022"      "022"     "0211"     "0211" 
#> GSM1657988 GSM1657989 GSM1657990 GSM1657991 GSM1657992 GSM1657993 GSM1657994 GSM1657995 GSM1657996 
#>      "022"     "0124"     "0211"      "022"     "0122"     "0123"     "0121"     "0123"     "0121" 
#> GSM1657997 GSM1657998 GSM1657999 GSM1658000 GSM1658001 GSM1658002 GSM1658003 GSM1658004 GSM1658005 
#>     "0121"     "0122"     "0121"     "0122"     "0124"     "0211"      "011"     "0123"      "022" 
#> GSM1658006 GSM1658007 GSM1658008 GSM1658009 GSM1658010 GSM1658011 GSM1658012 GSM1658013 GSM1658014 
#>       "03"       "03"     "0211"     "0212"     "0212"     "0212"     "0211"     "0212"     "0212" 
#> GSM1658015 GSM1658016 GSM1658017 GSM1658018 GSM1658019 GSM1658020 GSM1658021 GSM1658022 GSM1658023 
#>     "0212"       "03"       "03"      "013"     "0212"       "03"       "03"     "0212"      "022" 
#> GSM1658024 GSM1658025 GSM1658026 GSM1658027 GSM1658028 GSM1658029 GSM1658030 GSM1658031 GSM1658032 
#>       "03"      "022"       "03"       "03"     "0212"       "03"      "022"       "03"     "0212" 
#> GSM1658033 GSM1658034 GSM1658035 GSM1658036 GSM1658037 GSM1658038 GSM1658039 GSM1658040 GSM1658041 
#>     "0212"     "0212"      "022"     "0124"     "0212"      "022"      "022"     "0212"     "0212" 
#> GSM1658042 GSM1658043 GSM1658044 GSM1658045 GSM1658046 GSM1658047 GSM1658048 GSM1658049 GSM1658050 
#>      "022"       "03"      "022"       "03"      "022"     "0212"       "03"     "0122"       "03" 
#> GSM1658051 GSM1658052 GSM1658053 GSM1658054 GSM1658055 GSM1658056 GSM1658057 GSM1658058 GSM1658059 
#>       "03"     "0212"      "022"       "03"      "022"       "03"     "0212"     "0211"       "03" 
#> GSM1658060 GSM1658061 GSM1658062 GSM1658063 GSM1658064 GSM1658065 GSM1658066 GSM1658067 GSM1658068 
#>     "0212"       "03"      "022"     "0212"       "03"       "03"       "03"       "03"       "03" 
#> GSM1658069 GSM1658070 GSM1658071 GSM1658072 GSM1658073 GSM1658074 GSM1658075 GSM1658076 GSM1658077 
#>       "03"     "0212"       "03"       "03"       "03"     "0212"     "0212"     "0211"      "022" 
#> GSM1658078 GSM1658079 GSM1658080 GSM1658081 GSM1658082 GSM1658083 GSM1658084 GSM1658085 GSM1658086 
#>       "03"       "03"     "0212"       "03"       "03"     "0123"     "0211"      "013"     "0123" 
#> GSM1658087 GSM1658088 GSM1658089 GSM1658090 GSM1658091 GSM1658092 GSM1658093 GSM1658094 GSM1658095 
#>     "0211"      "013"     "0123"     "0211"     "0211"     "0123"      "013"     "0123"      "022" 
#> GSM1658096 GSM1658097 GSM1658098 GSM1658099 GSM1658100 GSM1658101 GSM1658102 GSM1658103 GSM1658104 
#>     "0123"      "013"     "0123"     "0123"     "0211"     "0211"     "0123"     "0211"      "022" 
#> GSM1658105 GSM1658106 GSM1658107 GSM1658108 GSM1658109 GSM1658110 GSM1658111 GSM1658112 GSM1658113 
#>     "0211"      "022"     "0211"      "022"      "013"     "0211"     "0211"      "013"      "022" 
#> GSM1658114 GSM1658115 GSM1658116 GSM1658117 GSM1658118 GSM1658119 GSM1658120 GSM1658121 GSM1658122 
#>      "022"      "022"     "0121"     "0123"      "013"      "013"      "013"     "0211"     "0123" 
#> GSM1658123 GSM1658124 GSM1658125 GSM1658126 GSM1658127 GSM1658128 GSM1658129 GSM1658130 GSM1658131 
#>      "013"      "013"      "013"     "0123"     "0211"      "022"     "0211"       "03"      "022" 
#> GSM1658132 GSM1658133 GSM1658134 GSM1658135 GSM1658136 GSM1658137 GSM1658138 GSM1658139 GSM1658140 
#>     "0211"       "03"     "0211"      "022"     "0124"     "0211"      "022"      "022"     "0211" 
#> GSM1658141 GSM1658142 GSM1658143 GSM1658144 GSM1658145 GSM1658146 GSM1658147 GSM1658148 GSM1658149 
#>     "0212"       "03"      "022"      "013"     "0211"      "022"     "0212"     "0212"      "022" 
#> GSM1658150 GSM1658151 GSM1658152 GSM1658153 GSM1658154 GSM1658155 GSM1658156 GSM1658157 GSM1658158 
#>      "022"      "022"      "022"      "022"     "0124"      "013"     "0212"     "0211"     "0211" 
#> GSM1658159 GSM1658160 GSM1658161 GSM1658162 GSM1658163 GSM1658164 GSM1658165 GSM1658166 GSM1658167 
#>       "03"     "0211"       "03"      "013"     "0211"      "013"     "0211"     "0211"      "013" 
#> GSM1658168 GSM1658169 GSM1658170 GSM1658171 GSM1658172 GSM1658173 GSM1658174 GSM1658175 GSM1658176 
#>       "03"     "0211"     "0212"      "022"     "0211"      "013"       "03"      "022"     "0211" 
#> GSM1658177 GSM1658178 GSM1658179 GSM1658180 GSM1658181 GSM1658182 GSM1658183 GSM1658184 GSM1658185 
#>     "0211"       "03"     "0211"      "013"      "022"     "0212"       "03"       "03"     "0122" 
#> GSM1658186 GSM1658187 GSM1658188 GSM1658189 GSM1658190 GSM1658191 GSM1658192 GSM1658193 GSM1658194 
#>     "0122"     "0122"     "0121"     "0121"     "0122"     "0122"      "022"     "0122"     "0124" 
#> GSM1658195 GSM1658196 GSM1658197 GSM1658198 GSM1658199 GSM1658200 GSM1658201 GSM1658202 GSM1658203 
#>      "022"     "0121"     "0124"     "0124"     "0122"     "0124"       "03"     "0122"      "011" 
#> GSM1658204 GSM1658205 GSM1658206 GSM1658207 GSM1658208 GSM1658209 GSM1658210 GSM1658211 GSM1658212 
#>      "011"     "0122"      "011"      "011"     "0122"      "011"     "0123"      "011"      "011" 
#> GSM1658213 GSM1658214 GSM1658215 GSM1658216 GSM1658217 GSM1658218 GSM1658219 GSM1658220 GSM1658221 
#>       "03"      "011"       "03"      "011"     "0122"      "011"      "011"      "011"      "011" 
#> GSM1658222 GSM1658223 GSM1658224 GSM1658225 GSM1658226 GSM1658227 GSM1658228 GSM1658229 GSM1658230 
#>      "011"     "0122"      "011"     "0122"      "011"      "011"      "011"      "011"      "011" 
#> GSM1658231 GSM1658232 GSM1658233 GSM1658234 GSM1658235 GSM1658236 GSM1658237 GSM1658238 GSM1658239 
#>      "011"      "011"      "011"      "011"      "011"      "011"      "011"      "011"      "011" 
#> GSM1658240 GSM1658241 GSM1658242 GSM1658243 GSM1658244 GSM1658245 GSM1658246 GSM1658247 GSM1658248 
#>      "011"      "011"      "011"      "011"      "011"     "0122"      "011"      "011"      "022" 
#> GSM1658249 GSM1658251 GSM1658253 GSM1658255 GSM1658257 GSM1658259 GSM1658262 GSM1658264 GSM1658266 
#>      "011"      "011"      "011"      "022"     "0211"     "0211"      "011"      "011"      "011" 
#> GSM1658268 GSM1658270 GSM1658272 GSM1658275 GSM1658277 GSM1658279 GSM1658281 GSM1658284 GSM1658286 
#>      "022"      "011"      "011"      "011"     "0122"      "011"      "022"      "011"      "011" 
#> GSM1658288 GSM1658290 GSM1658292 GSM1658294 GSM1658297 GSM1658299 GSM1658301 GSM1658304 GSM1658305 
#>      "011"      "011"      "011"      "022"      "011"     "0211"      "011"     "0122"      "011" 
#> GSM1658306 GSM1658307 GSM1658308 GSM1658309 GSM1658310 GSM1658311 GSM1658312 GSM1658313 GSM1658314 
#>      "011"      "011"      "011"      "011"      "011"      "011"      "011"      "022"      "011" 
#> GSM1658315 GSM1658316 GSM1658317 GSM1658318 GSM1658319 GSM1658320 GSM1658321 GSM1658322 GSM1658323 
#>      "011"      "011"      "011"      "011"      "011"      "011"      "011"      "011"     "0211" 
#> GSM1658324 GSM1658325 GSM1658326 GSM1658327 GSM1658328 GSM1658329 GSM1658330 GSM1658331 GSM1658332 
#>      "011"      "011"      "011"      "011"      "011"      "011"      "011"     "0122"      "011" 
#> GSM1658333 GSM1658334 GSM1658335 GSM1658336 GSM1658337 GSM1658338 GSM1658339 GSM1658340 GSM1658341 
#>      "011"      "011"      "011"      "011"      "011"      "011"     "0211"      "011"      "011" 
#> GSM1658342 GSM1658343 GSM1658344 GSM1658345 GSM1658346 GSM1658347 GSM1658348 GSM1658349 GSM1658350 
#>      "011"      "011"      "011"      "011"      "011"      "011"      "022"      "011"      "011" 
#> GSM1658351 GSM1658352 GSM1658353 GSM1658354 GSM1658355 GSM1658356 GSM1658357 GSM1658358 GSM1658359 
#>      "011"     "0211"      "011"      "011"      "011"      "011"      "011"      "011"      "011" 
#> GSM1658360 GSM1658361 GSM1658362 GSM1658363 GSM1658364 GSM1658365 GSM1658366 
#>      "011"      "011"      "011"      "011"      "011"      "011"      "011"

show/hide code output

get_classes(res_rh, merge_node = merge_node_param(min_n_signatures = 1988))
#> GSM1657871 GSM1657872 GSM1657873 GSM1657874 GSM1657875 GSM1657876 GSM1657877 GSM1657878 GSM1657879 
#>      "013"      "022"      "013"      "022"      "022"      "013"      "013"     "0124"      "022" 
#> GSM1657880 GSM1657881 GSM1657882 GSM1657883 GSM1657884 GSM1657885 GSM1657886 GSM1657887 GSM1657888 
#>      "013"      "013"      "022"      "021"      "022"     "0122"      "022"      "022"      "022" 
#> GSM1657889 GSM1657890 GSM1657891 GSM1657892 GSM1657893 GSM1657894 GSM1657895 GSM1657896 GSM1657897 
#>      "013"      "013"      "013"      "013"      "013"      "013"      "021"      "022"      "013" 
#> GSM1657898 GSM1657899 GSM1657900 GSM1657901 GSM1657902 GSM1657903 GSM1657904 GSM1657905 GSM1657906 
#>      "022"      "013"      "013"      "013"      "013"     "0121"     "0121"     "0124"      "013" 
#> GSM1657907 GSM1657908 GSM1657909 GSM1657910 GSM1657911 GSM1657912 GSM1657913 GSM1657914 GSM1657915 
#>      "013"      "013"     "0121"     "0121"     "0122"      "021"      "013"     "0124"     "0124" 
#> GSM1657916 GSM1657917 GSM1657918 GSM1657919 GSM1657920 GSM1657921 GSM1657922 GSM1657923 GSM1657924 
#>      "013"      "013"      "013"     "0121"     "0121"     "0124"      "013"      "013"     "0121" 
#> GSM1657925 GSM1657926 GSM1657927 GSM1657928 GSM1657929 GSM1657930 GSM1657931 GSM1657932 GSM1657933 
#>     "0121"     "0121"     "0121"     "0124"     "0124"      "021"      "022"       "03"      "022" 
#> GSM1657934 GSM1657935 GSM1657936 GSM1657937 GSM1657938 GSM1657939 GSM1657940 GSM1657941 GSM1657942 
#>     "0121"      "022"      "022"      "022"       "03"     "0124"      "022"     "0124"      "022" 
#> GSM1657943 GSM1657944 GSM1657945 GSM1657946 GSM1657947 GSM1657948 GSM1657949 GSM1657950 GSM1657951 
#>      "022"      "013"      "022"      "021"      "022"     "0124"      "022"      "022"     "0124" 
#> GSM1657952 GSM1657953 GSM1657954 GSM1657955 GSM1657956 GSM1657957 GSM1657958 GSM1657959 GSM1657960 
#>      "021"     "0122"      "022"      "022"      "021"      "021"      "021"      "022"      "021" 
#> GSM1657961 GSM1657962 GSM1657963 GSM1657964 GSM1657965 GSM1657966 GSM1657967 GSM1657968 GSM1657969 
#>      "022"      "021"      "021"      "022"       "03"      "021"      "021"      "022"     "0122" 
#> GSM1657970 GSM1657971 GSM1657972 GSM1657973 GSM1657974 GSM1657975 GSM1657976 GSM1657977 GSM1657978 
#>      "022"      "021"     "0123"      "021"      "022"       "03"      "022"      "021"      "022" 
#> GSM1657979 GSM1657980 GSM1657981 GSM1657982 GSM1657983 GSM1657984 GSM1657985 GSM1657986 GSM1657987 
#>       "03"      "022"       "03"      "021"      "022"      "022"      "022"      "021"      "021" 
#> GSM1657988 GSM1657989 GSM1657990 GSM1657991 GSM1657992 GSM1657993 GSM1657994 GSM1657995 GSM1657996 
#>      "022"     "0124"      "021"      "022"     "0122"     "0123"     "0121"     "0123"     "0121" 
#> GSM1657997 GSM1657998 GSM1657999 GSM1658000 GSM1658001 GSM1658002 GSM1658003 GSM1658004 GSM1658005 
#>     "0121"     "0122"     "0121"     "0122"     "0124"      "021"      "011"     "0123"      "022" 
#> GSM1658006 GSM1658007 GSM1658008 GSM1658009 GSM1658010 GSM1658011 GSM1658012 GSM1658013 GSM1658014 
#>       "03"       "03"      "021"      "021"      "021"      "021"      "021"      "021"      "021" 
#> GSM1658015 GSM1658016 GSM1658017 GSM1658018 GSM1658019 GSM1658020 GSM1658021 GSM1658022 GSM1658023 
#>      "021"       "03"       "03"      "013"      "021"       "03"       "03"      "021"      "022" 
#> GSM1658024 GSM1658025 GSM1658026 GSM1658027 GSM1658028 GSM1658029 GSM1658030 GSM1658031 GSM1658032 
#>       "03"      "022"       "03"       "03"      "021"       "03"      "022"       "03"      "021" 
#> GSM1658033 GSM1658034 GSM1658035 GSM1658036 GSM1658037 GSM1658038 GSM1658039 GSM1658040 GSM1658041 
#>      "021"      "021"      "022"     "0124"      "021"      "022"      "022"      "021"      "021" 
#> GSM1658042 GSM1658043 GSM1658044 GSM1658045 GSM1658046 GSM1658047 GSM1658048 GSM1658049 GSM1658050 
#>      "022"       "03"      "022"       "03"      "022"      "021"       "03"     "0122"       "03" 
#> GSM1658051 GSM1658052 GSM1658053 GSM1658054 GSM1658055 GSM1658056 GSM1658057 GSM1658058 GSM1658059 
#>       "03"      "021"      "022"       "03"      "022"       "03"      "021"      "021"       "03" 
#> GSM1658060 GSM1658061 GSM1658062 GSM1658063 GSM1658064 GSM1658065 GSM1658066 GSM1658067 GSM1658068 
#>      "021"       "03"      "022"      "021"       "03"       "03"       "03"       "03"       "03" 
#> GSM1658069 GSM1658070 GSM1658071 GSM1658072 GSM1658073 GSM1658074 GSM1658075 GSM1658076 GSM1658077 
#>       "03"      "021"       "03"       "03"       "03"      "021"      "021"      "021"      "022" 
#> GSM1658078 GSM1658079 GSM1658080 GSM1658081 GSM1658082 GSM1658083 GSM1658084 GSM1658085 GSM1658086 
#>       "03"       "03"      "021"       "03"       "03"     "0123"      "021"      "013"     "0123" 
#> GSM1658087 GSM1658088 GSM1658089 GSM1658090 GSM1658091 GSM1658092 GSM1658093 GSM1658094 GSM1658095 
#>      "021"      "013"     "0123"      "021"      "021"     "0123"      "013"     "0123"      "022" 
#> GSM1658096 GSM1658097 GSM1658098 GSM1658099 GSM1658100 GSM1658101 GSM1658102 GSM1658103 GSM1658104 
#>     "0123"      "013"     "0123"     "0123"      "021"      "021"     "0123"      "021"      "022" 
#> GSM1658105 GSM1658106 GSM1658107 GSM1658108 GSM1658109 GSM1658110 GSM1658111 GSM1658112 GSM1658113 
#>      "021"      "022"      "021"      "022"      "013"      "021"      "021"      "013"      "022" 
#> GSM1658114 GSM1658115 GSM1658116 GSM1658117 GSM1658118 GSM1658119 GSM1658120 GSM1658121 GSM1658122 
#>      "022"      "022"     "0121"     "0123"      "013"      "013"      "013"      "021"     "0123" 
#> GSM1658123 GSM1658124 GSM1658125 GSM1658126 GSM1658127 GSM1658128 GSM1658129 GSM1658130 GSM1658131 
#>      "013"      "013"      "013"     "0123"      "021"      "022"      "021"       "03"      "022" 
#> GSM1658132 GSM1658133 GSM1658134 GSM1658135 GSM1658136 GSM1658137 GSM1658138 GSM1658139 GSM1658140 
#>      "021"       "03"      "021"      "022"     "0124"      "021"      "022"      "022"      "021" 
#> GSM1658141 GSM1658142 GSM1658143 GSM1658144 GSM1658145 GSM1658146 GSM1658147 GSM1658148 GSM1658149 
#>      "021"       "03"      "022"      "013"      "021"      "022"      "021"      "021"      "022" 
#> GSM1658150 GSM1658151 GSM1658152 GSM1658153 GSM1658154 GSM1658155 GSM1658156 GSM1658157 GSM1658158 
#>      "022"      "022"      "022"      "022"     "0124"      "013"      "021"      "021"      "021" 
#> GSM1658159 GSM1658160 GSM1658161 GSM1658162 GSM1658163 GSM1658164 GSM1658165 GSM1658166 GSM1658167 
#>       "03"      "021"       "03"      "013"      "021"      "013"      "021"      "021"      "013" 
#> GSM1658168 GSM1658169 GSM1658170 GSM1658171 GSM1658172 GSM1658173 GSM1658174 GSM1658175 GSM1658176 
#>       "03"      "021"      "021"      "022"      "021"      "013"       "03"      "022"      "021" 
#> GSM1658177 GSM1658178 GSM1658179 GSM1658180 GSM1658181 GSM1658182 GSM1658183 GSM1658184 GSM1658185 
#>      "021"       "03"      "021"      "013"      "022"      "021"       "03"       "03"     "0122" 
#> GSM1658186 GSM1658187 GSM1658188 GSM1658189 GSM1658190 GSM1658191 GSM1658192 GSM1658193 GSM1658194 
#>     "0122"     "0122"     "0121"     "0121"     "0122"     "0122"      "022"     "0122"     "0124" 
#> GSM1658195 GSM1658196 GSM1658197 GSM1658198 GSM1658199 GSM1658200 GSM1658201 GSM1658202 GSM1658203 
#>      "022"     "0121"     "0124"     "0124"     "0122"     "0124"       "03"     "0122"      "011" 
#> GSM1658204 GSM1658205 GSM1658206 GSM1658207 GSM1658208 GSM1658209 GSM1658210 GSM1658211 GSM1658212 
#>      "011"     "0122"      "011"      "011"     "0122"      "011"     "0123"      "011"      "011" 
#> GSM1658213 GSM1658214 GSM1658215 GSM1658216 GSM1658217 GSM1658218 GSM1658219 GSM1658220 GSM1658221 
#>       "03"      "011"       "03"      "011"     "0122"      "011"      "011"      "011"      "011" 
#> GSM1658222 GSM1658223 GSM1658224 GSM1658225 GSM1658226 GSM1658227 GSM1658228 GSM1658229 GSM1658230 
#>      "011"     "0122"      "011"     "0122"      "011"      "011"      "011"      "011"      "011" 
#> GSM1658231 GSM1658232 GSM1658233 GSM1658234 GSM1658235 GSM1658236 GSM1658237 GSM1658238 GSM1658239 
#>      "011"      "011"      "011"      "011"      "011"      "011"      "011"      "011"      "011" 
#> GSM1658240 GSM1658241 GSM1658242 GSM1658243 GSM1658244 GSM1658245 GSM1658246 GSM1658247 GSM1658248 
#>      "011"      "011"      "011"      "011"      "011"     "0122"      "011"      "011"      "022" 
#> GSM1658249 GSM1658251 GSM1658253 GSM1658255 GSM1658257 GSM1658259 GSM1658262 GSM1658264 GSM1658266 
#>      "011"      "011"      "011"      "022"      "021"      "021"      "011"      "011"      "011" 
#> GSM1658268 GSM1658270 GSM1658272 GSM1658275 GSM1658277 GSM1658279 GSM1658281 GSM1658284 GSM1658286 
#>      "022"      "011"      "011"      "011"     "0122"      "011"      "022"      "011"      "011" 
#> GSM1658288 GSM1658290 GSM1658292 GSM1658294 GSM1658297 GSM1658299 GSM1658301 GSM1658304 GSM1658305 
#>      "011"      "011"      "011"      "022"      "011"      "021"      "011"     "0122"      "011" 
#> GSM1658306 GSM1658307 GSM1658308 GSM1658309 GSM1658310 GSM1658311 GSM1658312 GSM1658313 GSM1658314 
#>      "011"      "011"      "011"      "011"      "011"      "011"      "011"      "022"      "011" 
#> GSM1658315 GSM1658316 GSM1658317 GSM1658318 GSM1658319 GSM1658320 GSM1658321 GSM1658322 GSM1658323 
#>      "011"      "011"      "011"      "011"      "011"      "011"      "011"      "011"      "021" 
#> GSM1658324 GSM1658325 GSM1658326 GSM1658327 GSM1658328 GSM1658329 GSM1658330 GSM1658331 GSM1658332 
#>      "011"      "011"      "011"      "011"      "011"      "011"      "011"     "0122"      "011" 
#> GSM1658333 GSM1658334 GSM1658335 GSM1658336 GSM1658337 GSM1658338 GSM1658339 GSM1658340 GSM1658341 
#>      "011"      "011"      "011"      "011"      "011"      "011"      "021"      "011"      "011" 
#> GSM1658342 GSM1658343 GSM1658344 GSM1658345 GSM1658346 GSM1658347 GSM1658348 GSM1658349 GSM1658350 
#>      "011"      "011"      "011"      "011"      "011"      "011"      "022"      "011"      "011" 
#> GSM1658351 GSM1658352 GSM1658353 GSM1658354 GSM1658355 GSM1658356 GSM1658357 GSM1658358 GSM1658359 
#>      "011"      "021"      "011"      "011"      "011"      "011"      "011"      "011"      "011" 
#> GSM1658360 GSM1658361 GSM1658362 GSM1658363 GSM1658364 GSM1658365 GSM1658366 
#>      "011"      "011"      "011"      "011"      "011"      "011"      "011"

show/hide code output

get_classes(res_rh, merge_node = merge_node_param(min_n_signatures = 3159))
#> GSM1657871 GSM1657872 GSM1657873 GSM1657874 GSM1657875 GSM1657876 GSM1657877 GSM1657878 GSM1657879 
#>      "013"      "022"      "013"      "022"      "022"      "013"      "013"      "012"      "022" 
#> GSM1657880 GSM1657881 GSM1657882 GSM1657883 GSM1657884 GSM1657885 GSM1657886 GSM1657887 GSM1657888 
#>      "013"      "013"      "022"      "021"      "022"      "012"      "022"      "022"      "022" 
#> GSM1657889 GSM1657890 GSM1657891 GSM1657892 GSM1657893 GSM1657894 GSM1657895 GSM1657896 GSM1657897 
#>      "013"      "013"      "013"      "013"      "013"      "013"      "021"      "022"      "013" 
#> GSM1657898 GSM1657899 GSM1657900 GSM1657901 GSM1657902 GSM1657903 GSM1657904 GSM1657905 GSM1657906 
#>      "022"      "013"      "013"      "013"      "013"      "012"      "012"      "012"      "013" 
#> GSM1657907 GSM1657908 GSM1657909 GSM1657910 GSM1657911 GSM1657912 GSM1657913 GSM1657914 GSM1657915 
#>      "013"      "013"      "012"      "012"      "012"      "021"      "013"      "012"      "012" 
#> GSM1657916 GSM1657917 GSM1657918 GSM1657919 GSM1657920 GSM1657921 GSM1657922 GSM1657923 GSM1657924 
#>      "013"      "013"      "013"      "012"      "012"      "012"      "013"      "013"      "012" 
#> GSM1657925 GSM1657926 GSM1657927 GSM1657928 GSM1657929 GSM1657930 GSM1657931 GSM1657932 GSM1657933 
#>      "012"      "012"      "012"      "012"      "012"      "021"      "022"       "03"      "022" 
#> GSM1657934 GSM1657935 GSM1657936 GSM1657937 GSM1657938 GSM1657939 GSM1657940 GSM1657941 GSM1657942 
#>      "012"      "022"      "022"      "022"       "03"      "012"      "022"      "012"      "022" 
#> GSM1657943 GSM1657944 GSM1657945 GSM1657946 GSM1657947 GSM1657948 GSM1657949 GSM1657950 GSM1657951 
#>      "022"      "013"      "022"      "021"      "022"      "012"      "022"      "022"      "012" 
#> GSM1657952 GSM1657953 GSM1657954 GSM1657955 GSM1657956 GSM1657957 GSM1657958 GSM1657959 GSM1657960 
#>      "021"      "012"      "022"      "022"      "021"      "021"      "021"      "022"      "021" 
#> GSM1657961 GSM1657962 GSM1657963 GSM1657964 GSM1657965 GSM1657966 GSM1657967 GSM1657968 GSM1657969 
#>      "022"      "021"      "021"      "022"       "03"      "021"      "021"      "022"      "012" 
#> GSM1657970 GSM1657971 GSM1657972 GSM1657973 GSM1657974 GSM1657975 GSM1657976 GSM1657977 GSM1657978 
#>      "022"      "021"      "012"      "021"      "022"       "03"      "022"      "021"      "022" 
#> GSM1657979 GSM1657980 GSM1657981 GSM1657982 GSM1657983 GSM1657984 GSM1657985 GSM1657986 GSM1657987 
#>       "03"      "022"       "03"      "021"      "022"      "022"      "022"      "021"      "021" 
#> GSM1657988 GSM1657989 GSM1657990 GSM1657991 GSM1657992 GSM1657993 GSM1657994 GSM1657995 GSM1657996 
#>      "022"      "012"      "021"      "022"      "012"      "012"      "012"      "012"      "012" 
#> GSM1657997 GSM1657998 GSM1657999 GSM1658000 GSM1658001 GSM1658002 GSM1658003 GSM1658004 GSM1658005 
#>      "012"      "012"      "012"      "012"      "012"      "021"      "011"      "012"      "022" 
#> GSM1658006 GSM1658007 GSM1658008 GSM1658009 GSM1658010 GSM1658011 GSM1658012 GSM1658013 GSM1658014 
#>       "03"       "03"      "021"      "021"      "021"      "021"      "021"      "021"      "021" 
#> GSM1658015 GSM1658016 GSM1658017 GSM1658018 GSM1658019 GSM1658020 GSM1658021 GSM1658022 GSM1658023 
#>      "021"       "03"       "03"      "013"      "021"       "03"       "03"      "021"      "022" 
#> GSM1658024 GSM1658025 GSM1658026 GSM1658027 GSM1658028 GSM1658029 GSM1658030 GSM1658031 GSM1658032 
#>       "03"      "022"       "03"       "03"      "021"       "03"      "022"       "03"      "021" 
#> GSM1658033 GSM1658034 GSM1658035 GSM1658036 GSM1658037 GSM1658038 GSM1658039 GSM1658040 GSM1658041 
#>      "021"      "021"      "022"      "012"      "021"      "022"      "022"      "021"      "021" 
#> GSM1658042 GSM1658043 GSM1658044 GSM1658045 GSM1658046 GSM1658047 GSM1658048 GSM1658049 GSM1658050 
#>      "022"       "03"      "022"       "03"      "022"      "021"       "03"      "012"       "03" 
#> GSM1658051 GSM1658052 GSM1658053 GSM1658054 GSM1658055 GSM1658056 GSM1658057 GSM1658058 GSM1658059 
#>       "03"      "021"      "022"       "03"      "022"       "03"      "021"      "021"       "03" 
#> GSM1658060 GSM1658061 GSM1658062 GSM1658063 GSM1658064 GSM1658065 GSM1658066 GSM1658067 GSM1658068 
#>      "021"       "03"      "022"      "021"       "03"       "03"       "03"       "03"       "03" 
#> GSM1658069 GSM1658070 GSM1658071 GSM1658072 GSM1658073 GSM1658074 GSM1658075 GSM1658076 GSM1658077 
#>       "03"      "021"       "03"       "03"       "03"      "021"      "021"      "021"      "022" 
#> GSM1658078 GSM1658079 GSM1658080 GSM1658081 GSM1658082 GSM1658083 GSM1658084 GSM1658085 GSM1658086 
#>       "03"       "03"      "021"       "03"       "03"      "012"      "021"      "013"      "012" 
#> GSM1658087 GSM1658088 GSM1658089 GSM1658090 GSM1658091 GSM1658092 GSM1658093 GSM1658094 GSM1658095 
#>      "021"      "013"      "012"      "021"      "021"      "012"      "013"      "012"      "022" 
#> GSM1658096 GSM1658097 GSM1658098 GSM1658099 GSM1658100 GSM1658101 GSM1658102 GSM1658103 GSM1658104 
#>      "012"      "013"      "012"      "012"      "021"      "021"      "012"      "021"      "022" 
#> GSM1658105 GSM1658106 GSM1658107 GSM1658108 GSM1658109 GSM1658110 GSM1658111 GSM1658112 GSM1658113 
#>      "021"      "022"      "021"      "022"      "013"      "021"      "021"      "013"      "022" 
#> GSM1658114 GSM1658115 GSM1658116 GSM1658117 GSM1658118 GSM1658119 GSM1658120 GSM1658121 GSM1658122 
#>      "022"      "022"      "012"      "012"      "013"      "013"      "013"      "021"      "012" 
#> GSM1658123 GSM1658124 GSM1658125 GSM1658126 GSM1658127 GSM1658128 GSM1658129 GSM1658130 GSM1658131 
#>      "013"      "013"      "013"      "012"      "021"      "022"      "021"       "03"      "022" 
#> GSM1658132 GSM1658133 GSM1658134 GSM1658135 GSM1658136 GSM1658137 GSM1658138 GSM1658139 GSM1658140 
#>      "021"       "03"      "021"      "022"      "012"      "021"      "022"      "022"      "021" 
#> GSM1658141 GSM1658142 GSM1658143 GSM1658144 GSM1658145 GSM1658146 GSM1658147 GSM1658148 GSM1658149 
#>      "021"       "03"      "022"      "013"      "021"      "022"      "021"      "021"      "022" 
#> GSM1658150 GSM1658151 GSM1658152 GSM1658153 GSM1658154 GSM1658155 GSM1658156 GSM1658157 GSM1658158 
#>      "022"      "022"      "022"      "022"      "012"      "013"      "021"      "021"      "021" 
#> GSM1658159 GSM1658160 GSM1658161 GSM1658162 GSM1658163 GSM1658164 GSM1658165 GSM1658166 GSM1658167 
#>       "03"      "021"       "03"      "013"      "021"      "013"      "021"      "021"      "013" 
#> GSM1658168 GSM1658169 GSM1658170 GSM1658171 GSM1658172 GSM1658173 GSM1658174 GSM1658175 GSM1658176 
#>       "03"      "021"      "021"      "022"      "021"      "013"       "03"      "022"      "021" 
#> GSM1658177 GSM1658178 GSM1658179 GSM1658180 GSM1658181 GSM1658182 GSM1658183 GSM1658184 GSM1658185 
#>      "021"       "03"      "021"      "013"      "022"      "021"       "03"       "03"      "012" 
#> GSM1658186 GSM1658187 GSM1658188 GSM1658189 GSM1658190 GSM1658191 GSM1658192 GSM1658193 GSM1658194 
#>      "012"      "012"      "012"      "012"      "012"      "012"      "022"      "012"      "012" 
#> GSM1658195 GSM1658196 GSM1658197 GSM1658198 GSM1658199 GSM1658200 GSM1658201 GSM1658202 GSM1658203 
#>      "022"      "012"      "012"      "012"      "012"      "012"       "03"      "012"      "011" 
#> GSM1658204 GSM1658205 GSM1658206 GSM1658207 GSM1658208 GSM1658209 GSM1658210 GSM1658211 GSM1658212 
#>      "011"      "012"      "011"      "011"      "012"      "011"      "012"      "011"      "011" 
#> GSM1658213 GSM1658214 GSM1658215 GSM1658216 GSM1658217 GSM1658218 GSM1658219 GSM1658220 GSM1658221 
#>       "03"      "011"       "03"      "011"      "012"      "011"      "011"      "011"      "011" 
#> GSM1658222 GSM1658223 GSM1658224 GSM1658225 GSM1658226 GSM1658227 GSM1658228 GSM1658229 GSM1658230 
#>      "011"      "012"      "011"      "012"      "011"      "011"      "011"      "011"      "011" 
#> GSM1658231 GSM1658232 GSM1658233 GSM1658234 GSM1658235 GSM1658236 GSM1658237 GSM1658238 GSM1658239 
#>      "011"      "011"      "011"      "011"      "011"      "011"      "011"      "011"      "011" 
#> GSM1658240 GSM1658241 GSM1658242 GSM1658243 GSM1658244 GSM1658245 GSM1658246 GSM1658247 GSM1658248 
#>      "011"      "011"      "011"      "011"      "011"      "012"      "011"      "011"      "022" 
#> GSM1658249 GSM1658251 GSM1658253 GSM1658255 GSM1658257 GSM1658259 GSM1658262 GSM1658264 GSM1658266 
#>      "011"      "011"      "011"      "022"      "021"      "021"      "011"      "011"      "011" 
#> GSM1658268 GSM1658270 GSM1658272 GSM1658275 GSM1658277 GSM1658279 GSM1658281 GSM1658284 GSM1658286 
#>      "022"      "011"      "011"      "011"      "012"      "011"      "022"      "011"      "011" 
#> GSM1658288 GSM1658290 GSM1658292 GSM1658294 GSM1658297 GSM1658299 GSM1658301 GSM1658304 GSM1658305 
#>      "011"      "011"      "011"      "022"      "011"      "021"      "011"      "012"      "011" 
#> GSM1658306 GSM1658307 GSM1658308 GSM1658309 GSM1658310 GSM1658311 GSM1658312 GSM1658313 GSM1658314 
#>      "011"      "011"      "011"      "011"      "011"      "011"      "011"      "022"      "011" 
#> GSM1658315 GSM1658316 GSM1658317 GSM1658318 GSM1658319 GSM1658320 GSM1658321 GSM1658322 GSM1658323 
#>      "011"      "011"      "011"      "011"      "011"      "011"      "011"      "011"      "021" 
#> GSM1658324 GSM1658325 GSM1658326 GSM1658327 GSM1658328 GSM1658329 GSM1658330 GSM1658331 GSM1658332 
#>      "011"      "011"      "011"      "011"      "011"      "011"      "011"      "012"      "011" 
#> GSM1658333 GSM1658334 GSM1658335 GSM1658336 GSM1658337 GSM1658338 GSM1658339 GSM1658340 GSM1658341 
#>      "011"      "011"      "011"      "011"      "011"      "011"      "021"      "011"      "011" 
#> GSM1658342 GSM1658343 GSM1658344 GSM1658345 GSM1658346 GSM1658347 GSM1658348 GSM1658349 GSM1658350 
#>      "011"      "011"      "011"      "011"      "011"      "011"      "022"      "011"      "011" 
#> GSM1658351 GSM1658352 GSM1658353 GSM1658354 GSM1658355 GSM1658356 GSM1658357 GSM1658358 GSM1658359 
#>      "011"      "021"      "011"      "011"      "011"      "011"      "011"      "011"      "011" 
#> GSM1658360 GSM1658361 GSM1658362 GSM1658363 GSM1658364 GSM1658365 GSM1658366 
#>      "011"      "011"      "011"      "011"      "011"      "011"      "011"

show/hide code output

get_classes(res_rh, merge_node = merge_node_param(min_n_signatures = 3358))
#> GSM1657871 GSM1657872 GSM1657873 GSM1657874 GSM1657875 GSM1657876 GSM1657877 GSM1657878 GSM1657879 
#>       "01"      "022"       "01"      "022"      "022"       "01"       "01"       "01"      "022" 
#> GSM1657880 GSM1657881 GSM1657882 GSM1657883 GSM1657884 GSM1657885 GSM1657886 GSM1657887 GSM1657888 
#>       "01"       "01"      "022"      "021"      "022"       "01"      "022"      "022"      "022" 
#> GSM1657889 GSM1657890 GSM1657891 GSM1657892 GSM1657893 GSM1657894 GSM1657895 GSM1657896 GSM1657897 
#>       "01"       "01"       "01"       "01"       "01"       "01"      "021"      "022"       "01" 
#> GSM1657898 GSM1657899 GSM1657900 GSM1657901 GSM1657902 GSM1657903 GSM1657904 GSM1657905 GSM1657906 
#>      "022"       "01"       "01"       "01"       "01"       "01"       "01"       "01"       "01" 
#> GSM1657907 GSM1657908 GSM1657909 GSM1657910 GSM1657911 GSM1657912 GSM1657913 GSM1657914 GSM1657915 
#>       "01"       "01"       "01"       "01"       "01"      "021"       "01"       "01"       "01" 
#> GSM1657916 GSM1657917 GSM1657918 GSM1657919 GSM1657920 GSM1657921 GSM1657922 GSM1657923 GSM1657924 
#>       "01"       "01"       "01"       "01"       "01"       "01"       "01"       "01"       "01" 
#> GSM1657925 GSM1657926 GSM1657927 GSM1657928 GSM1657929 GSM1657930 GSM1657931 GSM1657932 GSM1657933 
#>       "01"       "01"       "01"       "01"       "01"      "021"      "022"       "03"      "022" 
#> GSM1657934 GSM1657935 GSM1657936 GSM1657937 GSM1657938 GSM1657939 GSM1657940 GSM1657941 GSM1657942 
#>       "01"      "022"      "022"      "022"       "03"       "01"      "022"       "01"      "022" 
#> GSM1657943 GSM1657944 GSM1657945 GSM1657946 GSM1657947 GSM1657948 GSM1657949 GSM1657950 GSM1657951 
#>      "022"       "01"      "022"      "021"      "022"       "01"      "022"      "022"       "01" 
#> GSM1657952 GSM1657953 GSM1657954 GSM1657955 GSM1657956 GSM1657957 GSM1657958 GSM1657959 GSM1657960 
#>      "021"       "01"      "022"      "022"      "021"      "021"      "021"      "022"      "021" 
#> GSM1657961 GSM1657962 GSM1657963 GSM1657964 GSM1657965 GSM1657966 GSM1657967 GSM1657968 GSM1657969 
#>      "022"      "021"      "021"      "022"       "03"      "021"      "021"      "022"       "01" 
#> GSM1657970 GSM1657971 GSM1657972 GSM1657973 GSM1657974 GSM1657975 GSM1657976 GSM1657977 GSM1657978 
#>      "022"      "021"       "01"      "021"      "022"       "03"      "022"      "021"      "022" 
#> GSM1657979 GSM1657980 GSM1657981 GSM1657982 GSM1657983 GSM1657984 GSM1657985 GSM1657986 GSM1657987 
#>       "03"      "022"       "03"      "021"      "022"      "022"      "022"      "021"      "021" 
#> GSM1657988 GSM1657989 GSM1657990 GSM1657991 GSM1657992 GSM1657993 GSM1657994 GSM1657995 GSM1657996 
#>      "022"       "01"      "021"      "022"       "01"       "01"       "01"       "01"       "01" 
#> GSM1657997 GSM1657998 GSM1657999 GSM1658000 GSM1658001 GSM1658002 GSM1658003 GSM1658004 GSM1658005 
#>       "01"       "01"       "01"       "01"       "01"      "021"       "01"       "01"      "022" 
#> GSM1658006 GSM1658007 GSM1658008 GSM1658009 GSM1658010 GSM1658011 GSM1658012 GSM1658013 GSM1658014 
#>       "03"       "03"      "021"      "021"      "021"      "021"      "021"      "021"      "021" 
#> GSM1658015 GSM1658016 GSM1658017 GSM1658018 GSM1658019 GSM1658020 GSM1658021 GSM1658022 GSM1658023 
#>      "021"       "03"       "03"       "01"      "021"       "03"       "03"      "021"      "022" 
#> GSM1658024 GSM1658025 GSM1658026 GSM1658027 GSM1658028 GSM1658029 GSM1658030 GSM1658031 GSM1658032 
#>       "03"      "022"       "03"       "03"      "021"       "03"      "022"       "03"      "021" 
#> GSM1658033 GSM1658034 GSM1658035 GSM1658036 GSM1658037 GSM1658038 GSM1658039 GSM1658040 GSM1658041 
#>      "021"      "021"      "022"       "01"      "021"      "022"      "022"      "021"      "021" 
#> GSM1658042 GSM1658043 GSM1658044 GSM1658045 GSM1658046 GSM1658047 GSM1658048 GSM1658049 GSM1658050 
#>      "022"       "03"      "022"       "03"      "022"      "021"       "03"       "01"       "03" 
#> GSM1658051 GSM1658052 GSM1658053 GSM1658054 GSM1658055 GSM1658056 GSM1658057 GSM1658058 GSM1658059 
#>       "03"      "021"      "022"       "03"      "022"       "03"      "021"      "021"       "03" 
#> GSM1658060 GSM1658061 GSM1658062 GSM1658063 GSM1658064 GSM1658065 GSM1658066 GSM1658067 GSM1658068 
#>      "021"       "03"      "022"      "021"       "03"       "03"       "03"       "03"       "03" 
#> GSM1658069 GSM1658070 GSM1658071 GSM1658072 GSM1658073 GSM1658074 GSM1658075 GSM1658076 GSM1658077 
#>       "03"      "021"       "03"       "03"       "03"      "021"      "021"      "021"      "022" 
#> GSM1658078 GSM1658079 GSM1658080 GSM1658081 GSM1658082 GSM1658083 GSM1658084 GSM1658085 GSM1658086 
#>       "03"       "03"      "021"       "03"       "03"       "01"      "021"       "01"       "01" 
#> GSM1658087 GSM1658088 GSM1658089 GSM1658090 GSM1658091 GSM1658092 GSM1658093 GSM1658094 GSM1658095 
#>      "021"       "01"       "01"      "021"      "021"       "01"       "01"       "01"      "022" 
#> GSM1658096 GSM1658097 GSM1658098 GSM1658099 GSM1658100 GSM1658101 GSM1658102 GSM1658103 GSM1658104 
#>       "01"       "01"       "01"       "01"      "021"      "021"       "01"      "021"      "022" 
#> GSM1658105 GSM1658106 GSM1658107 GSM1658108 GSM1658109 GSM1658110 GSM1658111 GSM1658112 GSM1658113 
#>      "021"      "022"      "021"      "022"       "01"      "021"      "021"       "01"      "022" 
#> GSM1658114 GSM1658115 GSM1658116 GSM1658117 GSM1658118 GSM1658119 GSM1658120 GSM1658121 GSM1658122 
#>      "022"      "022"       "01"       "01"       "01"       "01"       "01"      "021"       "01" 
#> GSM1658123 GSM1658124 GSM1658125 GSM1658126 GSM1658127 GSM1658128 GSM1658129 GSM1658130 GSM1658131 
#>       "01"       "01"       "01"       "01"      "021"      "022"      "021"       "03"      "022" 
#> GSM1658132 GSM1658133 GSM1658134 GSM1658135 GSM1658136 GSM1658137 GSM1658138 GSM1658139 GSM1658140 
#>      "021"       "03"      "021"      "022"       "01"      "021"      "022"      "022"      "021" 
#> GSM1658141 GSM1658142 GSM1658143 GSM1658144 GSM1658145 GSM1658146 GSM1658147 GSM1658148 GSM1658149 
#>      "021"       "03"      "022"       "01"      "021"      "022"      "021"      "021"      "022" 
#> GSM1658150 GSM1658151 GSM1658152 GSM1658153 GSM1658154 GSM1658155 GSM1658156 GSM1658157 GSM1658158 
#>      "022"      "022"      "022"      "022"       "01"       "01"      "021"      "021"      "021" 
#> GSM1658159 GSM1658160 GSM1658161 GSM1658162 GSM1658163 GSM1658164 GSM1658165 GSM1658166 GSM1658167 
#>       "03"      "021"       "03"       "01"      "021"       "01"      "021"      "021"       "01" 
#> GSM1658168 GSM1658169 GSM1658170 GSM1658171 GSM1658172 GSM1658173 GSM1658174 GSM1658175 GSM1658176 
#>       "03"      "021"      "021"      "022"      "021"       "01"       "03"      "022"      "021" 
#> GSM1658177 GSM1658178 GSM1658179 GSM1658180 GSM1658181 GSM1658182 GSM1658183 GSM1658184 GSM1658185 
#>      "021"       "03"      "021"       "01"      "022"      "021"       "03"       "03"       "01" 
#> GSM1658186 GSM1658187 GSM1658188 GSM1658189 GSM1658190 GSM1658191 GSM1658192 GSM1658193 GSM1658194 
#>       "01"       "01"       "01"       "01"       "01"       "01"      "022"       "01"       "01" 
#> GSM1658195 GSM1658196 GSM1658197 GSM1658198 GSM1658199 GSM1658200 GSM1658201 GSM1658202 GSM1658203 
#>      "022"       "01"       "01"       "01"       "01"       "01"       "03"       "01"       "01" 
#> GSM1658204 GSM1658205 GSM1658206 GSM1658207 GSM1658208 GSM1658209 GSM1658210 GSM1658211 GSM1658212 
#>       "01"       "01"       "01"       "01"       "01"       "01"       "01"       "01"       "01" 
#> GSM1658213 GSM1658214 GSM1658215 GSM1658216 GSM1658217 GSM1658218 GSM1658219 GSM1658220 GSM1658221 
#>       "03"       "01"       "03"       "01"       "01"       "01"       "01"       "01"       "01" 
#> GSM1658222 GSM1658223 GSM1658224 GSM1658225 GSM1658226 GSM1658227 GSM1658228 GSM1658229 GSM1658230 
#>       "01"       "01"       "01"       "01"       "01"       "01"       "01"       "01"       "01" 
#> GSM1658231 GSM1658232 GSM1658233 GSM1658234 GSM1658235 GSM1658236 GSM1658237 GSM1658238 GSM1658239 
#>       "01"       "01"       "01"       "01"       "01"       "01"       "01"       "01"       "01" 
#> GSM1658240 GSM1658241 GSM1658242 GSM1658243 GSM1658244 GSM1658245 GSM1658246 GSM1658247 GSM1658248 
#>       "01"       "01"       "01"       "01"       "01"       "01"       "01"       "01"      "022" 
#> GSM1658249 GSM1658251 GSM1658253 GSM1658255 GSM1658257 GSM1658259 GSM1658262 GSM1658264 GSM1658266 
#>       "01"       "01"       "01"      "022"      "021"      "021"       "01"       "01"       "01" 
#> GSM1658268 GSM1658270 GSM1658272 GSM1658275 GSM1658277 GSM1658279 GSM1658281 GSM1658284 GSM1658286 
#>      "022"       "01"       "01"       "01"       "01"       "01"      "022"       "01"       "01" 
#> GSM1658288 GSM1658290 GSM1658292 GSM1658294 GSM1658297 GSM1658299 GSM1658301 GSM1658304 GSM1658305 
#>       "01"       "01"       "01"      "022"       "01"      "021"       "01"       "01"       "01" 
#> GSM1658306 GSM1658307 GSM1658308 GSM1658309 GSM1658310 GSM1658311 GSM1658312 GSM1658313 GSM1658314 
#>       "01"       "01"       "01"       "01"       "01"       "01"       "01"      "022"       "01" 
#> GSM1658315 GSM1658316 GSM1658317 GSM1658318 GSM1658319 GSM1658320 GSM1658321 GSM1658322 GSM1658323 
#>       "01"       "01"       "01"       "01"       "01"       "01"       "01"       "01"      "021" 
#> GSM1658324 GSM1658325 GSM1658326 GSM1658327 GSM1658328 GSM1658329 GSM1658330 GSM1658331 GSM1658332 
#>       "01"       "01"       "01"       "01"       "01"       "01"       "01"       "01"       "01" 
#> GSM1658333 GSM1658334 GSM1658335 GSM1658336 GSM1658337 GSM1658338 GSM1658339 GSM1658340 GSM1658341 
#>       "01"       "01"       "01"       "01"       "01"       "01"      "021"       "01"       "01" 
#> GSM1658342 GSM1658343 GSM1658344 GSM1658345 GSM1658346 GSM1658347 GSM1658348 GSM1658349 GSM1658350 
#>       "01"       "01"       "01"       "01"       "01"       "01"      "022"       "01"       "01" 
#> GSM1658351 GSM1658352 GSM1658353 GSM1658354 GSM1658355 GSM1658356 GSM1658357 GSM1658358 GSM1658359 
#>       "01"      "021"       "01"       "01"       "01"       "01"       "01"       "01"       "01" 
#> GSM1658360 GSM1658361 GSM1658362 GSM1658363 GSM1658364 GSM1658365 GSM1658366 
#>       "01"       "01"       "01"       "01"       "01"       "01"       "01"

show/hide code output

get_classes(res_rh, merge_node = merge_node_param(min_n_signatures = 7110))
#> GSM1657871 GSM1657872 GSM1657873 GSM1657874 GSM1657875 GSM1657876 GSM1657877 GSM1657878 GSM1657879 
#>       "01"       "02"       "01"       "02"       "02"       "01"       "01"       "01"       "02" 
#> GSM1657880 GSM1657881 GSM1657882 GSM1657883 GSM1657884 GSM1657885 GSM1657886 GSM1657887 GSM1657888 
#>       "01"       "01"       "02"       "02"       "02"       "01"       "02"       "02"       "02" 
#> GSM1657889 GSM1657890 GSM1657891 GSM1657892 GSM1657893 GSM1657894 GSM1657895 GSM1657896 GSM1657897 
#>       "01"       "01"       "01"       "01"       "01"       "01"       "02"       "02"       "01" 
#> GSM1657898 GSM1657899 GSM1657900 GSM1657901 GSM1657902 GSM1657903 GSM1657904 GSM1657905 GSM1657906 
#>       "02"       "01"       "01"       "01"       "01"       "01"       "01"       "01"       "01" 
#> GSM1657907 GSM1657908 GSM1657909 GSM1657910 GSM1657911 GSM1657912 GSM1657913 GSM1657914 GSM1657915 
#>       "01"       "01"       "01"       "01"       "01"       "02"       "01"       "01"       "01" 
#> GSM1657916 GSM1657917 GSM1657918 GSM1657919 GSM1657920 GSM1657921 GSM1657922 GSM1657923 GSM1657924 
#>       "01"       "01"       "01"       "01"       "01"       "01"       "01"       "01"       "01" 
#> GSM1657925 GSM1657926 GSM1657927 GSM1657928 GSM1657929 GSM1657930 GSM1657931 GSM1657932 GSM1657933 
#>       "01"       "01"       "01"       "01"       "01"       "02"       "02"       "03"       "02" 
#> GSM1657934 GSM1657935 GSM1657936 GSM1657937 GSM1657938 GSM1657939 GSM1657940 GSM1657941 GSM1657942 
#>       "01"       "02"       "02"       "02"       "03"       "01"       "02"       "01"       "02" 
#> GSM1657943 GSM1657944 GSM1657945 GSM1657946 GSM1657947 GSM1657948 GSM1657949 GSM1657950 GSM1657951 
#>       "02"       "01"       "02"       "02"       "02"       "01"       "02"       "02"       "01" 
#> GSM1657952 GSM1657953 GSM1657954 GSM1657955 GSM1657956 GSM1657957 GSM1657958 GSM1657959 GSM1657960 
#>       "02"       "01"       "02"       "02"       "02"       "02"       "02"       "02"       "02" 
#> GSM1657961 GSM1657962 GSM1657963 GSM1657964 GSM1657965 GSM1657966 GSM1657967 GSM1657968 GSM1657969 
#>       "02"       "02"       "02"       "02"       "03"       "02"       "02"       "02"       "01" 
#> GSM1657970 GSM1657971 GSM1657972 GSM1657973 GSM1657974 GSM1657975 GSM1657976 GSM1657977 GSM1657978 
#>       "02"       "02"       "01"       "02"       "02"       "03"       "02"       "02"       "02" 
#> GSM1657979 GSM1657980 GSM1657981 GSM1657982 GSM1657983 GSM1657984 GSM1657985 GSM1657986 GSM1657987 
#>       "03"       "02"       "03"       "02"       "02"       "02"       "02"       "02"       "02" 
#> GSM1657988 GSM1657989 GSM1657990 GSM1657991 GSM1657992 GSM1657993 GSM1657994 GSM1657995 GSM1657996 
#>       "02"       "01"       "02"       "02"       "01"       "01"       "01"       "01"       "01" 
#> GSM1657997 GSM1657998 GSM1657999 GSM1658000 GSM1658001 GSM1658002 GSM1658003 GSM1658004 GSM1658005 
#>       "01"       "01"       "01"       "01"       "01"       "02"       "01"       "01"       "02" 
#> GSM1658006 GSM1658007 GSM1658008 GSM1658009 GSM1658010 GSM1658011 GSM1658012 GSM1658013 GSM1658014 
#>       "03"       "03"       "02"       "02"       "02"       "02"       "02"       "02"       "02" 
#> GSM1658015 GSM1658016 GSM1658017 GSM1658018 GSM1658019 GSM1658020 GSM1658021 GSM1658022 GSM1658023 
#>       "02"       "03"       "03"       "01"       "02"       "03"       "03"       "02"       "02" 
#> GSM1658024 GSM1658025 GSM1658026 GSM1658027 GSM1658028 GSM1658029 GSM1658030 GSM1658031 GSM1658032 
#>       "03"       "02"       "03"       "03"       "02"       "03"       "02"       "03"       "02" 
#> GSM1658033 GSM1658034 GSM1658035 GSM1658036 GSM1658037 GSM1658038 GSM1658039 GSM1658040 GSM1658041 
#>       "02"       "02"       "02"       "01"       "02"       "02"       "02"       "02"       "02" 
#> GSM1658042 GSM1658043 GSM1658044 GSM1658045 GSM1658046 GSM1658047 GSM1658048 GSM1658049 GSM1658050 
#>       "02"       "03"       "02"       "03"       "02"       "02"       "03"       "01"       "03" 
#> GSM1658051 GSM1658052 GSM1658053 GSM1658054 GSM1658055 GSM1658056 GSM1658057 GSM1658058 GSM1658059 
#>       "03"       "02"       "02"       "03"       "02"       "03"       "02"       "02"       "03" 
#> GSM1658060 GSM1658061 GSM1658062 GSM1658063 GSM1658064 GSM1658065 GSM1658066 GSM1658067 GSM1658068 
#>       "02"       "03"       "02"       "02"       "03"       "03"       "03"       "03"       "03" 
#> GSM1658069 GSM1658070 GSM1658071 GSM1658072 GSM1658073 GSM1658074 GSM1658075 GSM1658076 GSM1658077 
#>       "03"       "02"       "03"       "03"       "03"       "02"       "02"       "02"       "02" 
#> GSM1658078 GSM1658079 GSM1658080 GSM1658081 GSM1658082 GSM1658083 GSM1658084 GSM1658085 GSM1658086 
#>       "03"       "03"       "02"       "03"       "03"       "01"       "02"       "01"       "01" 
#> GSM1658087 GSM1658088 GSM1658089 GSM1658090 GSM1658091 GSM1658092 GSM1658093 GSM1658094 GSM1658095 
#>       "02"       "01"       "01"       "02"       "02"       "01"       "01"       "01"       "02" 
#> GSM1658096 GSM1658097 GSM1658098 GSM1658099 GSM1658100 GSM1658101 GSM1658102 GSM1658103 GSM1658104 
#>       "01"       "01"       "01"       "01"       "02"       "02"       "01"       "02"       "02" 
#> GSM1658105 GSM1658106 GSM1658107 GSM1658108 GSM1658109 GSM1658110 GSM1658111 GSM1658112 GSM1658113 
#>       "02"       "02"       "02"       "02"       "01"       "02"       "02"       "01"       "02" 
#> GSM1658114 GSM1658115 GSM1658116 GSM1658117 GSM1658118 GSM1658119 GSM1658120 GSM1658121 GSM1658122 
#>       "02"       "02"       "01"       "01"       "01"       "01"       "01"       "02"       "01" 
#> GSM1658123 GSM1658124 GSM1658125 GSM1658126 GSM1658127 GSM1658128 GSM1658129 GSM1658130 GSM1658131 
#>       "01"       "01"       "01"       "01"       "02"       "02"       "02"       "03"       "02" 
#> GSM1658132 GSM1658133 GSM1658134 GSM1658135 GSM1658136 GSM1658137 GSM1658138 GSM1658139 GSM1658140 
#>       "02"       "03"       "02"       "02"       "01"       "02"       "02"       "02"       "02" 
#> GSM1658141 GSM1658142 GSM1658143 GSM1658144 GSM1658145 GSM1658146 GSM1658147 GSM1658148 GSM1658149 
#>       "02"       "03"       "02"       "01"       "02"       "02"       "02"       "02"       "02" 
#> GSM1658150 GSM1658151 GSM1658152 GSM1658153 GSM1658154 GSM1658155 GSM1658156 GSM1658157 GSM1658158 
#>       "02"       "02"       "02"       "02"       "01"       "01"       "02"       "02"       "02" 
#> GSM1658159 GSM1658160 GSM1658161 GSM1658162 GSM1658163 GSM1658164 GSM1658165 GSM1658166 GSM1658167 
#>       "03"       "02"       "03"       "01"       "02"       "01"       "02"       "02"       "01" 
#> GSM1658168 GSM1658169 GSM1658170 GSM1658171 GSM1658172 GSM1658173 GSM1658174 GSM1658175 GSM1658176 
#>       "03"       "02"       "02"       "02"       "02"       "01"       "03"       "02"       "02" 
#> GSM1658177 GSM1658178 GSM1658179 GSM1658180 GSM1658181 GSM1658182 GSM1658183 GSM1658184 GSM1658185 
#>       "02"       "03"       "02"       "01"       "02"       "02"       "03"       "03"       "01" 
#> GSM1658186 GSM1658187 GSM1658188 GSM1658189 GSM1658190 GSM1658191 GSM1658192 GSM1658193 GSM1658194 
#>       "01"       "01"       "01"       "01"       "01"       "01"       "02"       "01"       "01" 
#> GSM1658195 GSM1658196 GSM1658197 GSM1658198 GSM1658199 GSM1658200 GSM1658201 GSM1658202 GSM1658203 
#>       "02"       "01"       "01"       "01"       "01"       "01"       "03"       "01"       "01" 
#> GSM1658204 GSM1658205 GSM1658206 GSM1658207 GSM1658208 GSM1658209 GSM1658210 GSM1658211 GSM1658212 
#>       "01"       "01"       "01"       "01"       "01"       "01"       "01"       "01"       "01" 
#> GSM1658213 GSM1658214 GSM1658215 GSM1658216 GSM1658217 GSM1658218 GSM1658219 GSM1658220 GSM1658221 
#>       "03"       "01"       "03"       "01"       "01"       "01"       "01"       "01"       "01" 
#> GSM1658222 GSM1658223 GSM1658224 GSM1658225 GSM1658226 GSM1658227 GSM1658228 GSM1658229 GSM1658230 
#>       "01"       "01"       "01"       "01"       "01"       "01"       "01"       "01"       "01" 
#> GSM1658231 GSM1658232 GSM1658233 GSM1658234 GSM1658235 GSM1658236 GSM1658237 GSM1658238 GSM1658239 
#>       "01"       "01"       "01"       "01"       "01"       "01"       "01"       "01"       "01" 
#> GSM1658240 GSM1658241 GSM1658242 GSM1658243 GSM1658244 GSM1658245 GSM1658246 GSM1658247 GSM1658248 
#>       "01"       "01"       "01"       "01"       "01"       "01"       "01"       "01"       "02" 
#> GSM1658249 GSM1658251 GSM1658253 GSM1658255 GSM1658257 GSM1658259 GSM1658262 GSM1658264 GSM1658266 
#>       "01"       "01"       "01"       "02"       "02"       "02"       "01"       "01"       "01" 
#> GSM1658268 GSM1658270 GSM1658272 GSM1658275 GSM1658277 GSM1658279 GSM1658281 GSM1658284 GSM1658286 
#>       "02"       "01"       "01"       "01"       "01"       "01"       "02"       "01"       "01" 
#> GSM1658288 GSM1658290 GSM1658292 GSM1658294 GSM1658297 GSM1658299 GSM1658301 GSM1658304 GSM1658305 
#>       "01"       "01"       "01"       "02"       "01"       "02"       "01"       "01"       "01" 
#> GSM1658306 GSM1658307 GSM1658308 GSM1658309 GSM1658310 GSM1658311 GSM1658312 GSM1658313 GSM1658314 
#>       "01"       "01"       "01"       "01"       "01"       "01"       "01"       "02"       "01" 
#> GSM1658315 GSM1658316 GSM1658317 GSM1658318 GSM1658319 GSM1658320 GSM1658321 GSM1658322 GSM1658323 
#>       "01"       "01"       "01"       "01"       "01"       "01"       "01"       "01"       "02" 
#> GSM1658324 GSM1658325 GSM1658326 GSM1658327 GSM1658328 GSM1658329 GSM1658330 GSM1658331 GSM1658332 
#>       "01"       "01"       "01"       "01"       "01"       "01"       "01"       "01"       "01" 
#> GSM1658333 GSM1658334 GSM1658335 GSM1658336 GSM1658337 GSM1658338 GSM1658339 GSM1658340 GSM1658341 
#>       "01"       "01"       "01"       "01"       "01"       "01"       "02"       "01"       "01" 
#> GSM1658342 GSM1658343 GSM1658344 GSM1658345 GSM1658346 GSM1658347 GSM1658348 GSM1658349 GSM1658350 
#>       "01"       "01"       "01"       "01"       "01"       "01"       "02"       "01"       "01" 
#> GSM1658351 GSM1658352 GSM1658353 GSM1658354 GSM1658355 GSM1658356 GSM1658357 GSM1658358 GSM1658359 
#>       "01"       "02"       "01"       "01"       "01"       "01"       "01"       "01"       "01" 
#> GSM1658360 GSM1658361 GSM1658362 GSM1658363 GSM1658364 GSM1658365 GSM1658366 
#>       "01"       "01"       "01"       "01"       "01"       "01"       "01"

Top rows heatmap

Heatmaps of the top rows:

top_rows_heatmap(res_rh)

plot of chunk top-rows-heatmap

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 = 701),
    method = "UMAP", top_value_method = "SD", top_n = 1400, scale_rows = FALSE)
dimension_reduction(res_rh, merge_node = merge_node_param(min_n_signatures = 701),
    method = "UMAP", top_value_method = "ATC", top_n = 1400, 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 = 839),
    method = "UMAP", top_value_method = "SD", top_n = 1400, scale_rows = FALSE)
dimension_reduction(res_rh, merge_node = merge_node_param(min_n_signatures = 839),
    method = "UMAP", top_value_method = "ATC", top_n = 1400, 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 = 865),
    method = "UMAP", top_value_method = "SD", top_n = 1400, scale_rows = FALSE)
dimension_reduction(res_rh, merge_node = merge_node_param(min_n_signatures = 865),
    method = "UMAP", top_value_method = "ATC", top_n = 1400, 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 = 982),
    method = "UMAP", top_value_method = "SD", top_n = 1400, scale_rows = FALSE)
dimension_reduction(res_rh, merge_node = merge_node_param(min_n_signatures = 982),
    method = "UMAP", top_value_method = "ATC", top_n = 1400, 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 = 1450),
    method = "UMAP", top_value_method = "SD", top_n = 1400, scale_rows = FALSE)
dimension_reduction(res_rh, merge_node = merge_node_param(min_n_signatures = 1450),
    method = "UMAP", top_value_method = "ATC", top_n = 1400, 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 = 1988),
    method = "UMAP", top_value_method = "SD", top_n = 1400, scale_rows = FALSE)
dimension_reduction(res_rh, merge_node = merge_node_param(min_n_signatures = 1988),
    method = "UMAP", top_value_method = "ATC", top_n = 1400, 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 = 3159),
    method = "UMAP", top_value_method = "SD", top_n = 1400, scale_rows = FALSE)
dimension_reduction(res_rh, merge_node = merge_node_param(min_n_signatures = 3159),
    method = "UMAP", top_value_method = "ATC", top_n = 1400, 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 = 3358),
    method = "UMAP", top_value_method = "SD", top_n = 1400, scale_rows = FALSE)
dimension_reduction(res_rh, merge_node = merge_node_param(min_n_signatures = 3358),
    method = "UMAP", top_value_method = "ATC", top_n = 1400, 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 = 7110),
    method = "UMAP", top_value_method = "SD", top_n = 1400, scale_rows = FALSE)
dimension_reduction(res_rh, merge_node = merge_node_param(min_n_signatures = 7110),
    method = "UMAP", top_value_method = "ATC", top_n = 1400, scale_rows = TRUE)

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

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 = 701))

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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)

Test to known annotations

Test correlation between subgroups and known annotations. If the known annotation is numeric, one-way ANOVA test is applied, and if the known annotation is discrete, chi-squared contingency table test is applied.

test_to_known_factors(res_rh, merge_node = merge_node_param(min_n_signatures = 701))
#>             age cell.type
#> class 9.08e-150         0
test_to_known_factors(res_rh, merge_node = merge_node_param(min_n_signatures = 839))
#>             age cell.type
#> class 4.21e-153         0
test_to_known_factors(res_rh, merge_node = merge_node_param(min_n_signatures = 865))
#>             age cell.type
#> class 1.61e-156         0
test_to_known_factors(res_rh, merge_node = merge_node_param(min_n_signatures = 982))
#>            age cell.type
#> class 8.4e-143  1.6e-302
test_to_known_factors(res_rh, merge_node = merge_node_param(min_n_signatures = 1450))
#>             age cell.type
#> class 6.42e-135 3.95e-301
test_to_known_factors(res_rh, merge_node = merge_node_param(min_n_signatures = 1988))
#>            age cell.type
#> class 1.8e-126  8.5e-305
test_to_known_factors(res_rh, merge_node = merge_node_param(min_n_signatures = 3159))
#>             age cell.type
#> class 3.42e-117 5.68e-195
test_to_known_factors(res_rh, merge_node = merge_node_param(min_n_signatures = 3358))
#>            age cell.type
#> class 1.48e-51  1.31e-98
test_to_known_factors(res_rh, merge_node = merge_node_param(min_n_signatures = 7110))
#>            age cell.type
#> class 5.94e-52 2.47e-104

Results for each node


Node0

Child nodes: Node01 , Node02 , Node03 .

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.
#>   On a matrix with 11420 rows and 466 columns.
#>   Top rows (1142) are extracted by 'ATC' method.
#>   Subgroups are detected by 'skmeans' method.
#>   Performed in total 150 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-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.982       0.992          0.486 0.513   0.513
#> 3 3 1.000           0.975       0.991          0.207 0.890   0.789
#> 4 4 0.983           0.949       0.969          0.170 0.876   0.709

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 3

There is also optional best \(k\) = 2 3 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
#> GSM1657871     1   0.000      0.997 1.00 0.00
#> GSM1657872     2   0.000      0.985 0.00 1.00
#> GSM1657873     1   0.000      0.997 1.00 0.00
#> GSM1657874     2   0.680      0.784 0.18 0.82
#> GSM1657875     2   0.000      0.985 0.00 1.00
#> GSM1657876     1   0.000      0.997 1.00 0.00
#> GSM1657877     1   0.000      0.997 1.00 0.00
#> GSM1657878     1   0.000      0.997 1.00 0.00
#> GSM1657879     2   0.000      0.985 0.00 1.00
#> GSM1657880     1   0.000      0.997 1.00 0.00
#> GSM1657881     1   0.000      0.997 1.00 0.00
#> GSM1657882     2   0.000      0.985 0.00 1.00
#> GSM1657883     2   0.000      0.985 0.00 1.00
#> GSM1657884     2   0.000      0.985 0.00 1.00
#> GSM1657885     1   0.000      0.997 1.00 0.00
#> GSM1657886     2   0.000      0.985 0.00 1.00
#> GSM1657887     2   0.000      0.985 0.00 1.00
#> GSM1657888     2   0.000      0.985 0.00 1.00
#> GSM1657889     1   0.000      0.997 1.00 0.00
#> GSM1657890     1   0.000      0.997 1.00 0.00
#> GSM1657891     1   0.000      0.997 1.00 0.00
#> GSM1657892     1   0.000      0.997 1.00 0.00
#> GSM1657893     1   0.000      0.997 1.00 0.00
#> GSM1657894     1   0.000      0.997 1.00 0.00
#> GSM1657895     2   0.000      0.985 0.00 1.00
#> GSM1657896     2   0.000      0.985 0.00 1.00
#> GSM1657897     1   0.000      0.997 1.00 0.00
#> GSM1657898     2   0.000      0.985 0.00 1.00
#> GSM1657899     1   0.000      0.997 1.00 0.00
#> GSM1657900     1   0.000      0.997 1.00 0.00
#> GSM1657901     1   0.000      0.997 1.00 0.00
#> GSM1657902     1   0.000      0.997 1.00 0.00
#> GSM1657903     1   0.000      0.997 1.00 0.00
#> GSM1657904     1   0.000      0.997 1.00 0.00
#> GSM1657905     1   0.000      0.997 1.00 0.00
#> GSM1657906     1   0.000      0.997 1.00 0.00
#> GSM1657907     1   0.000      0.997 1.00 0.00
#> GSM1657908     1   0.000      0.997 1.00 0.00
#> GSM1657909     1   0.000      0.997 1.00 0.00
#> GSM1657910     1   0.000      0.997 1.00 0.00
#> GSM1657911     1   0.000      0.997 1.00 0.00
#> GSM1657912     2   0.000      0.985 0.00 1.00
#> GSM1657913     1   0.000      0.997 1.00 0.00
#> GSM1657914     1   0.000      0.997 1.00 0.00
#> GSM1657915     1   0.000      0.997 1.00 0.00
#> GSM1657916     1   0.000      0.997 1.00 0.00
#> GSM1657917     1   0.000      0.997 1.00 0.00
#> GSM1657918     1   0.000      0.997 1.00 0.00
#> GSM1657919     1   0.000      0.997 1.00 0.00
#> GSM1657920     1   0.000      0.997 1.00 0.00
#> GSM1657921     1   0.000      0.997 1.00 0.00
#> GSM1657922     1   0.000      0.997 1.00 0.00
#> GSM1657923     1   0.000      0.997 1.00 0.00
#> GSM1657924     1   0.000      0.997 1.00 0.00
#> GSM1657925     1   0.000      0.997 1.00 0.00
#> GSM1657926     1   0.000      0.997 1.00 0.00
#> GSM1657927     1   0.000      0.997 1.00 0.00
#> GSM1657928     1   0.000      0.997 1.00 0.00
#> GSM1657929     1   0.000      0.997 1.00 0.00
#> GSM1657930     2   0.000      0.985 0.00 1.00
#> GSM1657931     2   0.469      0.885 0.10 0.90
#> GSM1657932     1   0.000      0.997 1.00 0.00
#> GSM1657933     2   0.000      0.985 0.00 1.00
#> GSM1657934     1   0.000      0.997 1.00 0.00
#> GSM1657935     2   0.000      0.985 0.00 1.00
#> GSM1657936     2   0.000      0.985 0.00 1.00
#> GSM1657937     2   0.000      0.985 0.00 1.00
#> GSM1657938     1   0.000      0.997 1.00 0.00
#> GSM1657939     1   0.000      0.997 1.00 0.00
#> GSM1657940     2   0.000      0.985 0.00 1.00
#> GSM1657941     1   0.141      0.977 0.98 0.02
#> GSM1657942     2   0.981      0.294 0.42 0.58
#> GSM1657943     2   0.000      0.985 0.00 1.00
#> GSM1657944     1   0.000      0.997 1.00 0.00
#> GSM1657945     2   0.000      0.985 0.00 1.00
#> GSM1657946     2   0.000      0.985 0.00 1.00
#> GSM1657947     2   0.000      0.985 0.00 1.00
#> GSM1657948     1   0.000      0.997 1.00 0.00
#> GSM1657949     2   0.000      0.985 0.00 1.00
#> GSM1657950     2   0.000      0.985 0.00 1.00
#> GSM1657951     1   0.000      0.997 1.00 0.00
#> GSM1657952     2   0.000      0.985 0.00 1.00
#> GSM1657953     1   0.000      0.997 1.00 0.00
#> GSM1657954     2   0.000      0.985 0.00 1.00
#> GSM1657955     2   0.000      0.985 0.00 1.00
#> GSM1657956     2   0.000      0.985 0.00 1.00
#> GSM1657957     2   0.000      0.985 0.00 1.00
#> GSM1657958     2   0.000      0.985 0.00 1.00
#> GSM1657959     2   0.000      0.985 0.00 1.00
#> GSM1657960     2   0.000      0.985 0.00 1.00
#> GSM1657961     2   0.000      0.985 0.00 1.00
#> GSM1657962     2   0.000      0.985 0.00 1.00
#> GSM1657963     2   0.000      0.985 0.00 1.00
#> GSM1657964     2   0.000      0.985 0.00 1.00
#> GSM1657965     1   0.000      0.997 1.00 0.00
#> GSM1657966     2   0.000      0.985 0.00 1.00
#> GSM1657967     2   0.000      0.985 0.00 1.00
#> GSM1657968     2   0.000      0.985 0.00 1.00
#> GSM1657969     1   0.000      0.997 1.00 0.00
#> GSM1657970     2   0.141      0.967 0.02 0.98
#> GSM1657971     2   0.000      0.985 0.00 1.00
#> GSM1657972     1   0.000      0.997 1.00 0.00
#> GSM1657973     2   0.000      0.985 0.00 1.00
#> GSM1657974     2   0.141      0.967 0.02 0.98
#> GSM1657975     1   0.000      0.997 1.00 0.00
#> GSM1657976     2   0.760      0.724 0.22 0.78
#> GSM1657977     2   0.000      0.985 0.00 1.00
#> GSM1657978     2   0.000      0.985 0.00 1.00
#> GSM1657979     1   0.000      0.997 1.00 0.00
#> GSM1657980     2   0.000      0.985 0.00 1.00
#> GSM1657981     1   0.529      0.862 0.88 0.12
#> GSM1657982     2   0.000      0.985 0.00 1.00
#> GSM1657983     2   0.000      0.985 0.00 1.00
#> GSM1657984     2   0.000      0.985 0.00 1.00
#> GSM1657985     2   0.000      0.985 0.00 1.00
#> GSM1657986     2   0.000      0.985 0.00 1.00
#> GSM1657987     2   0.000      0.985 0.00 1.00
#> GSM1657988     2   0.000      0.985 0.00 1.00
#> GSM1657989     1   0.000      0.997 1.00 0.00
#> GSM1657990     2   0.000      0.985 0.00 1.00
#> GSM1657991     2   0.000      0.985 0.00 1.00
#> GSM1657992     1   0.000      0.997 1.00 0.00
#> GSM1657993     1   0.000      0.997 1.00 0.00
#> GSM1657994     1   0.000      0.997 1.00 0.00
#> GSM1657995     1   0.000      0.997 1.00 0.00
#> GSM1657996     1   0.000      0.997 1.00 0.00
#> GSM1657997     1   0.000      0.997 1.00 0.00
#> GSM1657998     1   0.000      0.997 1.00 0.00
#> GSM1657999     1   0.000      0.997 1.00 0.00
#> GSM1658000     1   0.000      0.997 1.00 0.00
#> GSM1658001     1   0.000      0.997 1.00 0.00
#> GSM1658002     2   0.000      0.985 0.00 1.00
#> GSM1658003     1   0.000      0.997 1.00 0.00
#> GSM1658004     1   0.000      0.997 1.00 0.00
#> GSM1658005     2   0.000      0.985 0.00 1.00
#> GSM1658006     2   0.000      0.985 0.00 1.00
#> GSM1658007     2   0.000      0.985 0.00 1.00
#> GSM1658008     2   0.000      0.985 0.00 1.00
#> GSM1658009     2   0.000      0.985 0.00 1.00
#> GSM1658010     2   0.000      0.985 0.00 1.00
#> GSM1658011     2   0.000      0.985 0.00 1.00
#> GSM1658012     2   0.000      0.985 0.00 1.00
#> GSM1658013     2   0.000      0.985 0.00 1.00
#> GSM1658014     2   0.000      0.985 0.00 1.00
#> GSM1658015     2   0.000      0.985 0.00 1.00
#> GSM1658016     1   0.000      0.997 1.00 0.00
#> GSM1658017     1   0.000      0.997 1.00 0.00
#> GSM1658018     1   0.000      0.997 1.00 0.00
#> GSM1658019     2   0.000      0.985 0.00 1.00
#> GSM1658020     1   0.000      0.997 1.00 0.00
#> GSM1658021     2   0.958      0.403 0.38 0.62
#> GSM1658022     2   0.000      0.985 0.00 1.00
#> GSM1658023     2   0.000      0.985 0.00 1.00
#> GSM1658024     2   0.141      0.967 0.02 0.98
#> GSM1658025     2   0.000      0.985 0.00 1.00
#> GSM1658026     1   0.000      0.997 1.00 0.00
#> GSM1658027     1   0.000      0.997 1.00 0.00
#> GSM1658028     2   0.000      0.985 0.00 1.00
#> GSM1658029     2   0.000      0.985 0.00 1.00
#> GSM1658030     2   0.000      0.985 0.00 1.00
#> GSM1658031     1   0.000      0.997 1.00 0.00
#> GSM1658032     2   0.000      0.985 0.00 1.00
#> GSM1658033     2   0.000      0.985 0.00 1.00
#> GSM1658034     2   0.000      0.985 0.00 1.00
#> GSM1658035     2   0.000      0.985 0.00 1.00
#> GSM1658036     1   0.000      0.997 1.00 0.00
#> GSM1658037     2   0.000      0.985 0.00 1.00
#> GSM1658038     2   0.000      0.985 0.00 1.00
#> GSM1658039     2   0.000      0.985 0.00 1.00
#> GSM1658040     2   0.000      0.985 0.00 1.00
#> GSM1658041     2   0.000      0.985 0.00 1.00
#> GSM1658042     2   0.000      0.985 0.00 1.00
#> GSM1658043     2   0.000      0.985 0.00 1.00
#> GSM1658044     2   0.000      0.985 0.00 1.00
#> GSM1658045     1   0.000      0.997 1.00 0.00
#> GSM1658046     2   0.000      0.985 0.00 1.00
#> GSM1658047     2   0.000      0.985 0.00 1.00
#> GSM1658048     2   0.000      0.985 0.00 1.00
#> GSM1658049     1   0.000      0.997 1.00 0.00
#> GSM1658050     2   0.000      0.985 0.00 1.00
#> GSM1658051     2   0.943      0.453 0.36 0.64
#> GSM1658052     2   0.000      0.985 0.00 1.00
#> GSM1658053     2   0.000      0.985 0.00 1.00
#> GSM1658054     1   0.000      0.997 1.00 0.00
#> GSM1658055     2   0.000      0.985 0.00 1.00
#> GSM1658056     1   0.000      0.997 1.00 0.00
#> GSM1658057     2   0.000      0.985 0.00 1.00
#> GSM1658058     2   0.000      0.985 0.00 1.00
#> GSM1658059     2   0.981      0.295 0.42 0.58
#> GSM1658060     2   0.000      0.985 0.00 1.00
#> GSM1658061     1   0.000      0.997 1.00 0.00
#> GSM1658062     2   0.000      0.985 0.00 1.00
#> GSM1658063     2   0.000      0.985 0.00 1.00
#> GSM1658064     2   0.141      0.967 0.02 0.98
#> GSM1658065     1   0.000      0.997 1.00 0.00
#> GSM1658066     1   0.000      0.997 1.00 0.00
#> GSM1658067     2   0.760      0.724 0.22 0.78
#> GSM1658068     1   0.000      0.997 1.00 0.00
#> GSM1658069     1   0.000      0.997 1.00 0.00
#> GSM1658070     2   0.000      0.985 0.00 1.00
#> GSM1658071     2   0.469      0.885 0.10 0.90
#> GSM1658072     1   0.000      0.997 1.00 0.00
#> GSM1658073     2   0.000      0.985 0.00 1.00
#> GSM1658074     2   0.000      0.985 0.00 1.00
#> GSM1658075     2   0.000      0.985 0.00 1.00
#> GSM1658076     2   0.000      0.985 0.00 1.00
#> GSM1658077     2   0.000      0.985 0.00 1.00
#> GSM1658078     2   0.000      0.985 0.00 1.00
#> GSM1658079     2   0.000      0.985 0.00 1.00
#> GSM1658080     2   0.000      0.985 0.00 1.00
#> GSM1658081     1   0.000      0.997 1.00 0.00
#> GSM1658082     1   0.000      0.997 1.00 0.00
#> GSM1658083     1   0.000      0.997 1.00 0.00
#> GSM1658084     2   0.000      0.985 0.00 1.00
#> GSM1658085     1   0.000      0.997 1.00 0.00
#> GSM1658086     1   0.000      0.997 1.00 0.00
#> GSM1658087     2   0.000      0.985 0.00 1.00
#> GSM1658088     1   0.000      0.997 1.00 0.00
#> GSM1658089     1   0.000      0.997 1.00 0.00
#> GSM1658090     2   0.000      0.985 0.00 1.00
#> GSM1658091     2   0.000      0.985 0.00 1.00
#> GSM1658092     1   0.000      0.997 1.00 0.00
#> GSM1658093     1   0.000      0.997 1.00 0.00
#> GSM1658094     1   0.000      0.997 1.00 0.00
#> GSM1658095     2   0.000      0.985 0.00 1.00
#> GSM1658096     1   0.000      0.997 1.00 0.00
#> GSM1658097     1   0.000      0.997 1.00 0.00
#> GSM1658098     1   0.000      0.997 1.00 0.00
#> GSM1658099     1   0.000      0.997 1.00 0.00
#> GSM1658100     2   0.000      0.985 0.00 1.00
#> GSM1658101     2   0.000      0.985 0.00 1.00
#> GSM1658102     1   0.000      0.997 1.00 0.00
#> GSM1658103     2   0.000      0.985 0.00 1.00
#> GSM1658104     2   0.000      0.985 0.00 1.00
#> GSM1658105     2   0.000      0.985 0.00 1.00
#> GSM1658106     2   0.000      0.985 0.00 1.00
#> GSM1658107     2   0.000      0.985 0.00 1.00
#> GSM1658108     2   0.000      0.985 0.00 1.00
#> GSM1658109     1   0.000      0.997 1.00 0.00
#> GSM1658110     2   0.000      0.985 0.00 1.00
#> GSM1658111     2   0.000      0.985 0.00 1.00
#> GSM1658112     1   0.000      0.997 1.00 0.00
#> GSM1658113     2   0.000      0.985 0.00 1.00
#> GSM1658114     2   0.000      0.985 0.00 1.00
#> GSM1658115     2   0.000      0.985 0.00 1.00
#> GSM1658116     1   0.000      0.997 1.00 0.00
#> GSM1658117     1   0.000      0.997 1.00 0.00
#> GSM1658118     1   0.000      0.997 1.00 0.00
#> GSM1658119     1   0.000      0.997 1.00 0.00
#> GSM1658120     1   0.000      0.997 1.00 0.00
#> GSM1658121     2   0.000      0.985 0.00 1.00
#> GSM1658122     1   0.000      0.997 1.00 0.00
#> GSM1658123     1   0.000      0.997 1.00 0.00
#> GSM1658124     1   0.000      0.997 1.00 0.00
#> GSM1658125     1   0.000      0.997 1.00 0.00
#> GSM1658126     1   0.000      0.997 1.00 0.00
#> GSM1658127     2   0.000      0.985 0.00 1.00
#> GSM1658128     2   0.000      0.985 0.00 1.00
#> GSM1658129     2   0.000      0.985 0.00 1.00
#> GSM1658130     1   0.000      0.997 1.00 0.00
#> GSM1658131     2   0.000      0.985 0.00 1.00
#> GSM1658132     2   0.000      0.985 0.00 1.00
#> GSM1658133     1   0.402      0.911 0.92 0.08
#> GSM1658134     2   0.000      0.985 0.00 1.00
#> GSM1658135     2   0.000      0.985 0.00 1.00
#> GSM1658136     1   0.000      0.997 1.00 0.00
#> GSM1658137     2   0.000      0.985 0.00 1.00
#> GSM1658138     2   0.000      0.985 0.00 1.00
#> GSM1658139     2   0.000      0.985 0.00 1.00
#> GSM1658140     2   0.000      0.985 0.00 1.00
#> GSM1658141     2   0.000      0.985 0.00 1.00
#> GSM1658142     1   0.000      0.997 1.00 0.00
#> GSM1658143     2   0.000      0.985 0.00 1.00
#> GSM1658144     1   0.000      0.997 1.00 0.00
#> GSM1658145     2   0.000      0.985 0.00 1.00
#> GSM1658146     2   0.000      0.985 0.00 1.00
#> GSM1658147     2   0.000      0.985 0.00 1.00
#> GSM1658148     2   0.000      0.985 0.00 1.00
#> GSM1658149     2   0.000      0.985 0.00 1.00
#> GSM1658150     2   0.000      0.985 0.00 1.00
#> GSM1658151     2   0.000      0.985 0.00 1.00
#> GSM1658152     2   0.000      0.985 0.00 1.00
#> GSM1658153     2   0.000      0.985 0.00 1.00
#> GSM1658154     1   0.000      0.997 1.00 0.00
#> GSM1658155     1   0.000      0.997 1.00 0.00
#> GSM1658156     2   0.000      0.985 0.00 1.00
#> GSM1658157     2   0.000      0.985 0.00 1.00
#> GSM1658158     2   0.000      0.985 0.00 1.00
#> GSM1658159     1   0.000      0.997 1.00 0.00
#> GSM1658160     2   0.000      0.985 0.00 1.00
#> GSM1658161     1   0.000      0.997 1.00 0.00
#> GSM1658162     1   0.000      0.997 1.00 0.00
#> GSM1658163     2   0.000      0.985 0.00 1.00
#> GSM1658164     1   0.000      0.997 1.00 0.00
#> GSM1658165     2   0.000      0.985 0.00 1.00
#> GSM1658166     2   0.000      0.985 0.00 1.00
#> GSM1658167     1   0.000      0.997 1.00 0.00
#> GSM1658168     2   0.000      0.985 0.00 1.00
#> GSM1658169     2   0.000      0.985 0.00 1.00
#> GSM1658170     2   0.000      0.985 0.00 1.00
#> GSM1658171     2   0.000      0.985 0.00 1.00
#> GSM1658172     2   0.000      0.985 0.00 1.00
#> GSM1658173     1   0.000      0.997 1.00 0.00
#> GSM1658174     1   0.000      0.997 1.00 0.00
#> GSM1658175     2   0.000      0.985 0.00 1.00
#> GSM1658176     2   0.000      0.985 0.00 1.00
#> GSM1658177     2   0.000      0.985 0.00 1.00
#> GSM1658178     1   0.000      0.997 1.00 0.00
#> GSM1658179     2   0.000      0.985 0.00 1.00
#> GSM1658180     1   0.000      0.997 1.00 0.00
#> GSM1658181     2   0.000      0.985 0.00 1.00
#> GSM1658182     2   0.000      0.985 0.00 1.00
#> GSM1658183     1   0.000      0.997 1.00 0.00
#> GSM1658184     1   0.000      0.997 1.00 0.00
#> GSM1658185     1   0.000      0.997 1.00 0.00
#> GSM1658186     1   0.000      0.997 1.00 0.00
#> GSM1658187     1   0.000      0.997 1.00 0.00
#> GSM1658188     1   0.000      0.997 1.00 0.00
#> GSM1658189     1   0.000      0.997 1.00 0.00
#> GSM1658190     1   0.000      0.997 1.00 0.00
#> GSM1658191     1   0.000      0.997 1.00 0.00
#> GSM1658192     2   0.000      0.985 0.00 1.00
#> GSM1658193     1   0.000      0.997 1.00 0.00
#> GSM1658194     1   0.000      0.997 1.00 0.00
#> GSM1658195     2   0.000      0.985 0.00 1.00
#> GSM1658196     1   0.000      0.997 1.00 0.00
#> GSM1658197     1   0.000      0.997 1.00 0.00
#> GSM1658198     1   0.000      0.997 1.00 0.00
#> GSM1658199     1   0.000      0.997 1.00 0.00
#> GSM1658200     1   0.000      0.997 1.00 0.00
#> GSM1658201     1   0.000      0.997 1.00 0.00
#> GSM1658202     1   0.000      0.997 1.00 0.00
#> GSM1658203     1   0.000      0.997 1.00 0.00
#> GSM1658204     1   0.000      0.997 1.00 0.00
#> GSM1658205     1   0.000      0.997 1.00 0.00
#> GSM1658206     1   0.000      0.997 1.00 0.00
#> GSM1658207     1   0.000      0.997 1.00 0.00
#> GSM1658208     1   0.000      0.997 1.00 0.00
#> GSM1658209     1   0.000      0.997 1.00 0.00
#> GSM1658210     1   0.000      0.997 1.00 0.00
#> GSM1658211     1   0.000      0.997 1.00 0.00
#> GSM1658212     1   0.000      0.997 1.00 0.00
#> GSM1658213     1   0.000      0.997 1.00 0.00
#> GSM1658214     1   0.000      0.997 1.00 0.00
#> GSM1658215     2   0.000      0.985 0.00 1.00
#> GSM1658216     1   0.000      0.997 1.00 0.00
#> GSM1658217     1   0.000      0.997 1.00 0.00
#> GSM1658218     1   0.000      0.997 1.00 0.00
#> GSM1658219     1   0.000      0.997 1.00 0.00
#> GSM1658220     1   0.000      0.997 1.00 0.00
#> GSM1658221     1   0.000      0.997 1.00 0.00
#> GSM1658222     1   0.000      0.997 1.00 0.00
#> GSM1658223     1   0.000      0.997 1.00 0.00
#> GSM1658224     1   0.000      0.997 1.00 0.00
#> GSM1658225     1   0.000      0.997 1.00 0.00
#> GSM1658226     1   0.000      0.997 1.00 0.00
#> GSM1658227     1   0.000      0.997 1.00 0.00
#> GSM1658228     1   0.000      0.997 1.00 0.00
#> GSM1658229     1   0.000      0.997 1.00 0.00
#> GSM1658230     1   0.000      0.997 1.00 0.00
#> GSM1658231     1   0.000      0.997 1.00 0.00
#> GSM1658232     1   0.000      0.997 1.00 0.00
#> GSM1658233     1   0.000      0.997 1.00 0.00
#> GSM1658234     1   0.000      0.997 1.00 0.00
#> GSM1658235     1   0.000      0.997 1.00 0.00
#> GSM1658236     1   0.000      0.997 1.00 0.00
#> GSM1658237     1   0.000      0.997 1.00 0.00
#> GSM1658238     1   0.000      0.997 1.00 0.00
#> GSM1658239     1   0.000      0.997 1.00 0.00
#> GSM1658240     1   0.000      0.997 1.00 0.00
#> GSM1658241     1   0.000      0.997 1.00 0.00
#> GSM1658242     1   0.000      0.997 1.00 0.00
#> GSM1658243     1   0.000      0.997 1.00 0.00
#> GSM1658244     1   0.000      0.997 1.00 0.00
#> GSM1658245     1   0.000      0.997 1.00 0.00
#> GSM1658246     1   0.000      0.997 1.00 0.00
#> GSM1658247     1   0.000      0.997 1.00 0.00
#> GSM1658248     2   0.000      0.985 0.00 1.00
#> GSM1658249     1   0.000      0.997 1.00 0.00
#> GSM1658251     1   0.000      0.997 1.00 0.00
#> GSM1658253     1   0.000      0.997 1.00 0.00
#> GSM1658255     2   0.000      0.985 0.00 1.00
#> GSM1658257     2   0.000      0.985 0.00 1.00
#> GSM1658259     2   0.000      0.985 0.00 1.00
#> GSM1658262     1   0.000      0.997 1.00 0.00
#> GSM1658264     1   0.000      0.997 1.00 0.00
#> GSM1658266     1   0.141      0.977 0.98 0.02
#> GSM1658268     2   0.529      0.862 0.12 0.88
#> GSM1658270     1   0.000      0.997 1.00 0.00
#> GSM1658272     1   0.000      0.997 1.00 0.00
#> GSM1658275     1   0.000      0.997 1.00 0.00
#> GSM1658277     1   0.000      0.997 1.00 0.00
#> GSM1658279     1   0.000      0.997 1.00 0.00
#> GSM1658281     2   0.795      0.692 0.24 0.76
#> GSM1658284     1   0.000      0.997 1.00 0.00
#> GSM1658286     1   0.000      0.997 1.00 0.00
#> GSM1658288     1   0.000      0.997 1.00 0.00
#> GSM1658290     1   0.000      0.997 1.00 0.00
#> GSM1658292     1   0.000      0.997 1.00 0.00
#> GSM1658294     2   0.000      0.985 0.00 1.00
#> GSM1658297     1   0.000      0.997 1.00 0.00
#> GSM1658299     2   0.000      0.985 0.00 1.00
#> GSM1658301     1   0.000      0.997 1.00 0.00
#> GSM1658304     1   0.000      0.997 1.00 0.00
#> GSM1658305     1   0.000      0.997 1.00 0.00
#> GSM1658306     1   0.000      0.997 1.00 0.00
#> GSM1658307     1   0.000      0.997 1.00 0.00
#> GSM1658308     1   0.000      0.997 1.00 0.00
#> GSM1658309     1   0.000      0.997 1.00 0.00
#> GSM1658310     1   0.000      0.997 1.00 0.00
#> GSM1658311     1   0.000      0.997 1.00 0.00
#> GSM1658312     1   0.000      0.997 1.00 0.00
#> GSM1658313     2   0.000      0.985 0.00 1.00
#> GSM1658314     1   0.000      0.997 1.00 0.00
#> GSM1658315     1   0.000      0.997 1.00 0.00
#> GSM1658316     1   0.000      0.997 1.00 0.00
#> GSM1658317     1   0.000      0.997 1.00 0.00
#> GSM1658318     1   0.000      0.997 1.00 0.00
#> GSM1658319     1   0.000      0.997 1.00 0.00
#> GSM1658320     1   0.000      0.997 1.00 0.00
#> GSM1658321     1   0.000      0.997 1.00 0.00
#> GSM1658322     1   0.000      0.997 1.00 0.00
#> GSM1658323     2   0.000      0.985 0.00 1.00
#> GSM1658324     1   0.000      0.997 1.00 0.00
#> GSM1658325     1   0.000      0.997 1.00 0.00
#> GSM1658326     1   0.000      0.997 1.00 0.00
#> GSM1658327     1   0.000      0.997 1.00 0.00
#> GSM1658328     1   0.000      0.997 1.00 0.00
#> GSM1658329     1   0.000      0.997 1.00 0.00
#> GSM1658330     1   0.000      0.997 1.00 0.00
#> GSM1658331     1   0.000      0.997 1.00 0.00
#> GSM1658332     1   0.000      0.997 1.00 0.00
#> GSM1658333     1   0.000      0.997 1.00 0.00
#> GSM1658334     1   0.000      0.997 1.00 0.00
#> GSM1658335     1   0.000      0.997 1.00 0.00
#> GSM1658336     1   0.000      0.997 1.00 0.00
#> GSM1658337     1   0.000      0.997 1.00 0.00
#> GSM1658338     1   0.000      0.997 1.00 0.00
#> GSM1658339     2   0.000      0.985 0.00 1.00
#> GSM1658340     1   0.529      0.862 0.88 0.12
#> GSM1658341     1   0.000      0.997 1.00 0.00
#> GSM1658342     1   0.000      0.997 1.00 0.00
#> GSM1658343     1   0.529      0.862 0.88 0.12
#> GSM1658344     1   0.000      0.997 1.00 0.00
#> GSM1658345     1   0.000      0.997 1.00 0.00
#> GSM1658346     1   0.000      0.997 1.00 0.00
#> GSM1658347     1   0.000      0.997 1.00 0.00
#> GSM1658348     2   0.327      0.928 0.06 0.94
#> GSM1658349     1   0.000      0.997 1.00 0.00
#> GSM1658350     1   0.000      0.997 1.00 0.00
#> GSM1658351     1   0.000      0.997 1.00 0.00
#> GSM1658352     2   0.000      0.985 0.00 1.00
#> GSM1658353     1   0.000      0.997 1.00 0.00
#> GSM1658354     1   0.000      0.997 1.00 0.00
#> GSM1658355     1   0.000      0.997 1.00 0.00
#> GSM1658356     1   0.000      0.997 1.00 0.00
#> GSM1658357     1   0.000      0.997 1.00 0.00
#> GSM1658358     1   0.000      0.997 1.00 0.00
#> GSM1658359     1   0.000      0.997 1.00 0.00
#> GSM1658360     1   0.000      0.997 1.00 0.00
#> GSM1658361     1   0.000      0.997 1.00 0.00
#> GSM1658362     1   0.000      0.997 1.00 0.00
#> GSM1658363     1   0.000      0.997 1.00 0.00
#> GSM1658364     1   0.000      0.997 1.00 0.00
#> GSM1658365     1   0.827      0.644 0.74 0.26
#> GSM1658366     1   0.000      0.997 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
#> GSM1657871     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657872     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657873     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657874     2  0.4555      0.697 0.20 0.80 0.00
#> GSM1657875     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657876     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657877     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657878     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657879     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657880     1  0.0892      0.972 0.98 0.00 0.02
#> GSM1657881     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657882     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657883     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657884     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657885     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657886     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657887     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657888     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657889     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657890     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657891     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657892     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657893     1  0.2066      0.931 0.94 0.00 0.06
#> GSM1657894     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657895     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657896     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657897     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657898     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657899     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657900     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657901     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657902     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657903     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657904     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657905     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657906     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657907     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657908     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657909     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657910     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657911     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657912     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657913     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657914     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657915     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657916     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657917     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657918     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657919     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657920     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657921     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657922     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657923     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657924     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657925     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657926     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657927     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657928     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657929     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657930     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657931     2  0.2959      0.851 0.10 0.90 0.00
#> GSM1657932     3  0.0000      0.988 0.00 0.00 1.00
#> GSM1657933     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657934     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657935     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657936     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657937     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657938     3  0.2959      0.879 0.10 0.00 0.90
#> GSM1657939     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657940     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657941     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657942     2  0.6280      0.156 0.46 0.54 0.00
#> GSM1657943     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657944     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657945     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657946     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657947     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657948     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657949     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657950     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657951     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657952     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657953     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657954     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657955     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657956     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657957     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657958     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657959     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657960     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657961     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657962     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657963     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657964     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657965     3  0.0000      0.988 0.00 0.00 1.00
#> GSM1657966     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657967     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657968     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657969     1  0.5706      0.529 0.68 0.00 0.32
#> GSM1657970     2  0.1529      0.935 0.04 0.96 0.00
#> GSM1657971     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657972     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657973     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657974     2  0.0892      0.961 0.02 0.98 0.00
#> GSM1657975     3  0.0000      0.988 0.00 0.00 1.00
#> GSM1657976     2  0.4796      0.663 0.22 0.78 0.00
#> GSM1657977     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657978     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657979     3  0.0000      0.988 0.00 0.00 1.00
#> GSM1657980     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657981     3  0.0000      0.988 0.00 0.00 1.00
#> GSM1657982     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657983     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657984     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657985     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657986     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657987     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657988     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657989     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657990     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657991     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1657992     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657993     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657994     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657995     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657996     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657997     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657998     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1657999     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658000     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658001     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658002     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658003     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658004     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658005     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658006     3  0.0000      0.988 0.00 0.00 1.00
#> GSM1658007     3  0.0000      0.988 0.00 0.00 1.00
#> GSM1658008     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658009     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658010     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658011     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658012     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658013     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658014     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658015     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658016     3  0.0000      0.988 0.00 0.00 1.00
#> GSM1658017     3  0.0000      0.988 0.00 0.00 1.00
#> GSM1658018     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658019     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658020     3  0.0000      0.988 0.00 0.00 1.00
#> GSM1658021     3  0.0000      0.988 0.00 0.00 1.00
#> GSM1658022     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658023     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658024     3  0.0000      0.988 0.00 0.00 1.00
#> GSM1658025     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658026     3  0.0000      0.988 0.00 0.00 1.00
#> GSM1658027     3  0.0000      0.988 0.00 0.00 1.00
#> GSM1658028     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658029     3  0.0000      0.988 0.00 0.00 1.00
#> GSM1658030     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658031     3  0.0000      0.988 0.00 0.00 1.00
#> GSM1658032     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658033     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658034     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658035     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658036     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658037     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658038     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658039     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658040     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658041     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658042     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658043     3  0.0000      0.988 0.00 0.00 1.00
#> GSM1658044     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658045     3  0.0000      0.988 0.00 0.00 1.00
#> GSM1658046     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658047     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658048     3  0.0000      0.988 0.00 0.00 1.00
#> GSM1658049     1  0.2537      0.907 0.92 0.00 0.08
#> GSM1658050     3  0.2066      0.927 0.00 0.06 0.94
#> GSM1658051     3  0.0000      0.988 0.00 0.00 1.00
#> GSM1658052     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658053     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658054     3  0.0000      0.988 0.00 0.00 1.00
#> GSM1658055     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658056     3  0.0000      0.988 0.00 0.00 1.00
#> GSM1658057     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658058     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658059     3  0.0000      0.988 0.00 0.00 1.00
#> GSM1658060     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658061     3  0.0000      0.988 0.00 0.00 1.00
#> GSM1658062     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658063     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658064     3  0.0000      0.988 0.00 0.00 1.00
#> GSM1658065     3  0.0000      0.988 0.00 0.00 1.00
#> GSM1658066     3  0.0000      0.988 0.00 0.00 1.00
#> GSM1658067     3  0.0000      0.988 0.00 0.00 1.00
#> GSM1658068     3  0.0000      0.988 0.00 0.00 1.00
#> GSM1658069     3  0.0000      0.988 0.00 0.00 1.00
#> GSM1658070     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658071     3  0.0000      0.988 0.00 0.00 1.00
#> GSM1658072     3  0.0000      0.988 0.00 0.00 1.00
#> GSM1658073     3  0.0000      0.988 0.00 0.00 1.00
#> GSM1658074     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658075     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658076     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658077     2  0.3686      0.831 0.00 0.86 0.14
#> GSM1658078     3  0.0000      0.988 0.00 0.00 1.00
#> GSM1658079     3  0.0000      0.988 0.00 0.00 1.00
#> GSM1658080     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658081     3  0.0000      0.988 0.00 0.00 1.00
#> GSM1658082     3  0.0000      0.988 0.00 0.00 1.00
#> GSM1658083     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658084     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658085     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658086     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658087     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658088     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658089     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658090     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658091     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658092     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658093     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658094     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658095     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658096     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658097     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658098     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658099     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658100     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658101     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658102     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658103     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658104     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658105     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658106     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658107     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658108     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658109     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658110     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658111     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658112     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658113     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658114     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658115     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658116     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658117     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658118     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658119     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658120     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658121     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658122     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658123     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658124     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658125     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658126     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658127     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658128     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658129     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658130     3  0.6126      0.326 0.40 0.00 0.60
#> GSM1658131     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658132     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658133     3  0.0000      0.988 0.00 0.00 1.00
#> GSM1658134     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658135     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658136     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658137     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658138     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658139     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658140     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658141     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658142     3  0.0000      0.988 0.00 0.00 1.00
#> GSM1658143     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658144     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658145     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658146     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658147     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658148     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658149     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658150     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658151     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658152     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658153     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658154     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658155     1  0.5216      0.647 0.74 0.00 0.26
#> GSM1658156     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658157     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658158     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658159     3  0.0000      0.988 0.00 0.00 1.00
#> GSM1658160     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658161     3  0.0000      0.988 0.00 0.00 1.00
#> GSM1658162     1  0.6126      0.332 0.60 0.00 0.40
#> GSM1658163     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658164     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658165     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658166     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658167     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658168     3  0.0000      0.988 0.00 0.00 1.00
#> GSM1658169     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658170     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658171     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658172     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658173     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658174     3  0.0000      0.988 0.00 0.00 1.00
#> GSM1658175     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658176     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658177     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658178     3  0.0000      0.988 0.00 0.00 1.00
#> GSM1658179     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658180     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658181     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658182     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658183     3  0.0000      0.988 0.00 0.00 1.00
#> GSM1658184     3  0.0000      0.988 0.00 0.00 1.00
#> GSM1658185     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658186     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658187     1  0.5948      0.436 0.64 0.00 0.36
#> GSM1658188     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658189     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658190     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658191     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658192     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658193     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658194     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658195     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658196     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658197     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658198     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658199     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658200     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658201     3  0.0000      0.988 0.00 0.00 1.00
#> GSM1658202     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658203     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658204     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658205     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658206     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658207     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658208     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658209     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658210     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658211     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658212     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658213     3  0.0000      0.988 0.00 0.00 1.00
#> GSM1658214     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658215     3  0.0000      0.988 0.00 0.00 1.00
#> GSM1658216     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658217     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658218     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658219     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658220     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658221     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658222     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658223     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658224     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658225     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658226     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658227     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658228     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658229     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658230     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658231     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658232     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658233     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658234     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658235     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658236     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658237     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658238     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658239     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658240     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658241     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658242     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658243     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658244     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658245     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658246     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658247     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658248     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658249     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658251     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658253     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658255     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658257     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658259     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658262     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658264     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658266     1  0.0892      0.968 0.98 0.02 0.00
#> GSM1658268     2  0.5216      0.595 0.26 0.74 0.00
#> GSM1658270     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658272     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658275     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658277     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658279     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658281     2  0.6045      0.387 0.38 0.62 0.00
#> GSM1658284     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658286     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658288     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658290     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658292     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658294     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658297     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658299     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658301     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658304     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658305     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658306     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658307     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658308     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658309     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658310     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658311     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658312     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658313     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658314     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658315     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658316     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658317     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658318     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658319     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658320     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658321     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658322     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658323     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658324     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658325     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658326     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658327     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658328     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658329     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658330     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658331     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658332     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658333     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658334     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658335     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658336     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658337     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658338     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658339     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658340     1  0.2066      0.919 0.94 0.06 0.00
#> GSM1658341     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658342     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658343     1  0.3340      0.839 0.88 0.12 0.00
#> GSM1658344     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658345     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658346     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658347     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658348     2  0.2066      0.908 0.06 0.94 0.00
#> GSM1658349     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658350     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658351     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658352     2  0.0000      0.986 0.00 1.00 0.00
#> GSM1658353     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658354     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658355     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658356     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658357     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658358     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658359     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658360     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658361     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658362     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658363     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658364     1  0.0000      0.991 1.00 0.00 0.00
#> GSM1658365     1  0.5216      0.620 0.74 0.26 0.00
#> GSM1658366     1  0.0000      0.991 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
#> GSM1657871     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657872     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1657873     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657874     2  0.5820     0.5852 0.24 0.68 0.00 0.08
#> GSM1657875     2  0.2011     0.9311 0.00 0.92 0.00 0.08
#> GSM1657876     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657877     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657878     1  0.2011     0.8938 0.92 0.00 0.00 0.08
#> GSM1657879     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1657880     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657881     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657882     2  0.2011     0.9311 0.00 0.92 0.00 0.08
#> GSM1657883     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1657884     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1657885     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657886     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1657887     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1657888     2  0.2011     0.9311 0.00 0.92 0.00 0.08
#> GSM1657889     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657890     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657891     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657892     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657893     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657894     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657895     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1657896     2  0.2011     0.9311 0.00 0.92 0.00 0.08
#> GSM1657897     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657898     2  0.2011     0.9311 0.00 0.92 0.00 0.08
#> GSM1657899     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657900     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657901     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657902     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657903     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657904     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657905     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657906     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657907     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657908     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657909     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657910     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657911     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657912     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1657913     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657914     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657915     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657916     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657917     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657918     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657919     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657920     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657921     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657922     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657923     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657924     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657925     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657926     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657927     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657928     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657929     1  0.2011     0.8938 0.92 0.00 0.00 0.08
#> GSM1657930     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1657931     2  0.4581     0.7832 0.12 0.80 0.00 0.08
#> GSM1657932     3  0.0000     0.9896 0.00 0.00 1.00 0.00
#> GSM1657933     2  0.0707     0.9694 0.00 0.98 0.00 0.02
#> GSM1657934     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657935     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1657936     2  0.2011     0.9311 0.00 0.92 0.00 0.08
#> GSM1657937     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1657938     1  0.4948     0.2339 0.56 0.00 0.44 0.00
#> GSM1657939     1  0.2011     0.8938 0.92 0.00 0.00 0.08
#> GSM1657940     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1657941     1  0.2011     0.8938 0.92 0.00 0.00 0.08
#> GSM1657942     1  0.6382     0.3645 0.58 0.34 0.00 0.08
#> GSM1657943     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1657944     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657945     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1657946     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1657947     2  0.2011     0.9311 0.00 0.92 0.00 0.08
#> GSM1657948     1  0.2011     0.8938 0.92 0.00 0.00 0.08
#> GSM1657949     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1657950     2  0.1637     0.9445 0.00 0.94 0.00 0.06
#> GSM1657951     1  0.2011     0.8938 0.92 0.00 0.00 0.08
#> GSM1657952     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1657953     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657954     2  0.2011     0.9311 0.00 0.92 0.00 0.08
#> GSM1657955     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1657956     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1657957     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1657958     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1657959     2  0.2011     0.9311 0.00 0.92 0.00 0.08
#> GSM1657960     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1657961     2  0.2011     0.9311 0.00 0.92 0.00 0.08
#> GSM1657962     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1657963     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1657964     2  0.2011     0.9311 0.00 0.92 0.00 0.08
#> GSM1657965     3  0.0000     0.9896 0.00 0.00 1.00 0.00
#> GSM1657966     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1657967     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1657968     2  0.2011     0.9311 0.00 0.92 0.00 0.08
#> GSM1657969     1  0.2345     0.8744 0.90 0.00 0.10 0.00
#> GSM1657970     2  0.4581     0.7829 0.12 0.80 0.00 0.08
#> GSM1657971     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1657972     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657973     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1657974     2  0.2706     0.9137 0.02 0.90 0.00 0.08
#> GSM1657975     3  0.0000     0.9896 0.00 0.00 1.00 0.00
#> GSM1657976     1  0.5962     0.5129 0.66 0.26 0.00 0.08
#> GSM1657977     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1657978     2  0.2011     0.9311 0.00 0.92 0.00 0.08
#> GSM1657979     3  0.0000     0.9896 0.00 0.00 1.00 0.00
#> GSM1657980     2  0.0707     0.9693 0.00 0.98 0.00 0.02
#> GSM1657981     3  0.0000     0.9896 0.00 0.00 1.00 0.00
#> GSM1657982     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1657983     2  0.2011     0.9311 0.00 0.92 0.00 0.08
#> GSM1657984     2  0.2011     0.9311 0.00 0.92 0.00 0.08
#> GSM1657985     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1657986     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1657987     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1657988     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1657989     1  0.2011     0.8938 0.92 0.00 0.00 0.08
#> GSM1657990     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1657991     2  0.1211     0.9573 0.00 0.96 0.00 0.04
#> GSM1657992     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657993     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657994     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657995     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657996     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657997     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657998     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1657999     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658000     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658001     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658002     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658003     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658004     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658005     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658006     3  0.0000     0.9896 0.00 0.00 1.00 0.00
#> GSM1658007     3  0.0000     0.9896 0.00 0.00 1.00 0.00
#> GSM1658008     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658009     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658010     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658011     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658012     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658013     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658014     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658015     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658016     3  0.0000     0.9896 0.00 0.00 1.00 0.00
#> GSM1658017     3  0.0000     0.9896 0.00 0.00 1.00 0.00
#> GSM1658018     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658019     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658020     3  0.0000     0.9896 0.00 0.00 1.00 0.00
#> GSM1658021     3  0.0000     0.9896 0.00 0.00 1.00 0.00
#> GSM1658022     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658023     2  0.2011     0.9311 0.00 0.92 0.00 0.08
#> GSM1658024     3  0.2011     0.9236 0.00 0.00 0.92 0.08
#> GSM1658025     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658026     3  0.0000     0.9896 0.00 0.00 1.00 0.00
#> GSM1658027     3  0.2345     0.8504 0.10 0.00 0.90 0.00
#> GSM1658028     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658029     3  0.0000     0.9896 0.00 0.00 1.00 0.00
#> GSM1658030     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658031     3  0.0000     0.9896 0.00 0.00 1.00 0.00
#> GSM1658032     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658033     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658034     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658035     2  0.0707     0.9693 0.00 0.98 0.00 0.02
#> GSM1658036     1  0.2011     0.8938 0.92 0.00 0.00 0.08
#> GSM1658037     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658038     2  0.2011     0.9311 0.00 0.92 0.00 0.08
#> GSM1658039     2  0.2011     0.9311 0.00 0.92 0.00 0.08
#> GSM1658040     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658041     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658042     2  0.2011     0.9311 0.00 0.92 0.00 0.08
#> GSM1658043     3  0.0000     0.9896 0.00 0.00 1.00 0.00
#> GSM1658044     2  0.2011     0.9311 0.00 0.92 0.00 0.08
#> GSM1658045     3  0.0000     0.9896 0.00 0.00 1.00 0.00
#> GSM1658046     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658047     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658048     3  0.2011     0.9236 0.00 0.00 0.92 0.08
#> GSM1658049     1  0.0707     0.9523 0.98 0.00 0.02 0.00
#> GSM1658050     3  0.1637     0.9162 0.00 0.06 0.94 0.00
#> GSM1658051     3  0.0000     0.9896 0.00 0.00 1.00 0.00
#> GSM1658052     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658053     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658054     3  0.0000     0.9896 0.00 0.00 1.00 0.00
#> GSM1658055     2  0.2011     0.9311 0.00 0.92 0.00 0.08
#> GSM1658056     3  0.0000     0.9896 0.00 0.00 1.00 0.00
#> GSM1658057     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658058     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658059     3  0.0000     0.9896 0.00 0.00 1.00 0.00
#> GSM1658060     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658061     3  0.0000     0.9896 0.00 0.00 1.00 0.00
#> GSM1658062     2  0.2011     0.9311 0.00 0.92 0.00 0.08
#> GSM1658063     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658064     3  0.0000     0.9896 0.00 0.00 1.00 0.00
#> GSM1658065     3  0.0000     0.9896 0.00 0.00 1.00 0.00
#> GSM1658066     3  0.0000     0.9896 0.00 0.00 1.00 0.00
#> GSM1658067     3  0.0000     0.9896 0.00 0.00 1.00 0.00
#> GSM1658068     3  0.0000     0.9896 0.00 0.00 1.00 0.00
#> GSM1658069     3  0.0000     0.9896 0.00 0.00 1.00 0.00
#> GSM1658070     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658071     3  0.0000     0.9896 0.00 0.00 1.00 0.00
#> GSM1658072     3  0.0000     0.9896 0.00 0.00 1.00 0.00
#> GSM1658073     3  0.0000     0.9896 0.00 0.00 1.00 0.00
#> GSM1658074     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658075     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658076     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658077     2  0.5077     0.7458 0.00 0.76 0.16 0.08
#> GSM1658078     3  0.0000     0.9896 0.00 0.00 1.00 0.00
#> GSM1658079     3  0.0000     0.9896 0.00 0.00 1.00 0.00
#> GSM1658080     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658081     3  0.0000     0.9896 0.00 0.00 1.00 0.00
#> GSM1658082     3  0.0000     0.9896 0.00 0.00 1.00 0.00
#> GSM1658083     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658084     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658085     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658086     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658087     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658088     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658089     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658090     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658091     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658092     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658093     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658094     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658095     2  0.1211     0.9574 0.00 0.96 0.00 0.04
#> GSM1658096     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658097     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658098     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658099     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658100     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658101     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658102     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658103     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658104     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658105     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658106     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658107     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658108     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658109     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658110     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658111     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658112     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658113     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658114     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658115     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658116     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658117     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658118     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658119     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658120     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658121     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658122     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658123     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658124     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658125     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658126     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658127     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658128     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658129     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658130     1  0.4977     0.1674 0.54 0.00 0.46 0.00
#> GSM1658131     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658132     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658133     3  0.0000     0.9896 0.00 0.00 1.00 0.00
#> GSM1658134     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658135     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658136     1  0.2011     0.8938 0.92 0.00 0.00 0.08
#> GSM1658137     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658138     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658139     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658140     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658141     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658142     3  0.0000     0.9896 0.00 0.00 1.00 0.00
#> GSM1658143     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658144     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658145     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658146     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658147     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658148     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658149     2  0.1637     0.9445 0.00 0.94 0.00 0.06
#> GSM1658150     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658151     2  0.2011     0.9311 0.00 0.92 0.00 0.08
#> GSM1658152     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658153     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658154     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658155     1  0.2921     0.8291 0.86 0.00 0.14 0.00
#> GSM1658156     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658157     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658158     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658159     3  0.0000     0.9896 0.00 0.00 1.00 0.00
#> GSM1658160     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658161     3  0.0000     0.9896 0.00 0.00 1.00 0.00
#> GSM1658162     1  0.2647     0.8535 0.88 0.00 0.12 0.00
#> GSM1658163     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658164     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658165     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658166     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658167     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658168     3  0.0000     0.9896 0.00 0.00 1.00 0.00
#> GSM1658169     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658170     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658171     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658172     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658173     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658174     3  0.0000     0.9896 0.00 0.00 1.00 0.00
#> GSM1658175     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658176     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658177     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658178     3  0.0000     0.9896 0.00 0.00 1.00 0.00
#> GSM1658179     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658180     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658181     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658182     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658183     3  0.0000     0.9896 0.00 0.00 1.00 0.00
#> GSM1658184     3  0.0000     0.9896 0.00 0.00 1.00 0.00
#> GSM1658185     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658186     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658187     1  0.1637     0.9156 0.94 0.00 0.06 0.00
#> GSM1658188     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658189     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658190     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658191     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658192     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658193     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658194     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658195     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658196     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658197     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658198     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658199     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658200     4  0.4624     0.5137 0.34 0.00 0.00 0.66
#> GSM1658201     3  0.0000     0.9896 0.00 0.00 1.00 0.00
#> GSM1658202     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658203     4  0.2647     0.9204 0.12 0.00 0.00 0.88
#> GSM1658204     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658205     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658206     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658207     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658208     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658209     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658210     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658211     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658212     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658213     3  0.2921     0.8347 0.00 0.00 0.86 0.14
#> GSM1658214     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658215     3  0.0000     0.9896 0.00 0.00 1.00 0.00
#> GSM1658216     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658217     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658218     1  0.3172     0.7814 0.84 0.00 0.00 0.16
#> GSM1658219     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658220     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658221     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658222     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658223     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658224     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658225     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658226     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658227     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658228     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658229     4  0.2011     0.9617 0.08 0.00 0.00 0.92
#> GSM1658230     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658231     4  0.2011     0.9617 0.08 0.00 0.00 0.92
#> GSM1658232     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658233     4  0.2011     0.9617 0.08 0.00 0.00 0.92
#> GSM1658234     1  0.3400     0.7495 0.82 0.00 0.00 0.18
#> GSM1658235     4  0.2011     0.9617 0.08 0.00 0.00 0.92
#> GSM1658236     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658237     4  0.2011     0.9617 0.08 0.00 0.00 0.92
#> GSM1658238     4  0.2011     0.9617 0.08 0.00 0.00 0.92
#> GSM1658239     4  0.2011     0.9617 0.08 0.00 0.00 0.92
#> GSM1658240     4  0.2011     0.9617 0.08 0.00 0.00 0.92
#> GSM1658241     4  0.2011     0.9617 0.08 0.00 0.00 0.92
#> GSM1658242     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658243     4  0.2011     0.9617 0.08 0.00 0.00 0.92
#> GSM1658244     4  0.2011     0.9617 0.08 0.00 0.00 0.92
#> GSM1658245     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658246     4  0.2011     0.9617 0.08 0.00 0.00 0.92
#> GSM1658247     4  0.2011     0.9617 0.08 0.00 0.00 0.92
#> GSM1658248     4  0.2011     0.8508 0.00 0.08 0.00 0.92
#> GSM1658249     4  0.2011     0.9617 0.08 0.00 0.00 0.92
#> GSM1658251     4  0.3400     0.8433 0.18 0.00 0.00 0.82
#> GSM1658253     4  0.2011     0.9617 0.08 0.00 0.00 0.92
#> GSM1658255     2  0.2921     0.8356 0.00 0.86 0.00 0.14
#> GSM1658257     4  0.2011     0.8508 0.00 0.08 0.00 0.92
#> GSM1658259     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658262     4  0.2011     0.9617 0.08 0.00 0.00 0.92
#> GSM1658264     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658266     4  0.2011     0.9617 0.08 0.00 0.00 0.92
#> GSM1658268     4  0.2011     0.8508 0.00 0.08 0.00 0.92
#> GSM1658270     4  0.2011     0.9617 0.08 0.00 0.00 0.92
#> GSM1658272     4  0.2011     0.9617 0.08 0.00 0.00 0.92
#> GSM1658275     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658277     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658279     4  0.2011     0.9617 0.08 0.00 0.00 0.92
#> GSM1658281     4  0.2411     0.9096 0.04 0.04 0.00 0.92
#> GSM1658284     4  0.2011     0.9617 0.08 0.00 0.00 0.92
#> GSM1658286     4  0.2011     0.9617 0.08 0.00 0.00 0.92
#> GSM1658288     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658290     4  0.2011     0.9617 0.08 0.00 0.00 0.92
#> GSM1658292     4  0.2011     0.9617 0.08 0.00 0.00 0.92
#> GSM1658294     4  0.2011     0.8508 0.00 0.08 0.00 0.92
#> GSM1658297     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658299     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658301     4  0.2011     0.9617 0.08 0.00 0.00 0.92
#> GSM1658304     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658305     4  0.2011     0.9617 0.08 0.00 0.00 0.92
#> GSM1658306     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658307     4  0.2011     0.9617 0.08 0.00 0.00 0.92
#> GSM1658308     1  0.2647     0.8382 0.88 0.00 0.00 0.12
#> GSM1658309     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658310     4  0.2011     0.9617 0.08 0.00 0.00 0.92
#> GSM1658311     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658312     4  0.2011     0.9617 0.08 0.00 0.00 0.92
#> GSM1658313     4  0.2011     0.8508 0.00 0.08 0.00 0.92
#> GSM1658314     4  0.2011     0.9617 0.08 0.00 0.00 0.92
#> GSM1658315     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658316     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658317     4  0.2011     0.9617 0.08 0.00 0.00 0.92
#> GSM1658318     4  0.2011     0.9617 0.08 0.00 0.00 0.92
#> GSM1658319     4  0.3400     0.8440 0.18 0.00 0.00 0.82
#> GSM1658320     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658321     4  0.2921     0.8957 0.14 0.00 0.00 0.86
#> GSM1658322     4  0.3172     0.8708 0.16 0.00 0.00 0.84
#> GSM1658323     4  0.2011     0.8508 0.00 0.08 0.00 0.92
#> GSM1658324     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658325     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658326     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658327     4  0.2011     0.9617 0.08 0.00 0.00 0.92
#> GSM1658328     4  0.2011     0.9617 0.08 0.00 0.00 0.92
#> GSM1658329     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658330     4  0.2345     0.9420 0.10 0.00 0.00 0.90
#> GSM1658331     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658332     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658333     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658334     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658335     4  0.2011     0.9617 0.08 0.00 0.00 0.92
#> GSM1658336     4  0.2011     0.9617 0.08 0.00 0.00 0.92
#> GSM1658337     1  0.4948     0.0872 0.56 0.00 0.00 0.44
#> GSM1658338     4  0.2011     0.9617 0.08 0.00 0.00 0.92
#> GSM1658339     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658340     4  0.2011     0.9617 0.08 0.00 0.00 0.92
#> GSM1658341     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658342     4  0.2011     0.9617 0.08 0.00 0.00 0.92
#> GSM1658343     4  0.2011     0.9617 0.08 0.00 0.00 0.92
#> GSM1658344     4  0.2011     0.9617 0.08 0.00 0.00 0.92
#> GSM1658345     1  0.2011     0.8884 0.92 0.00 0.00 0.08
#> GSM1658346     4  0.2011     0.9617 0.08 0.00 0.00 0.92
#> GSM1658347     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658348     4  0.2011     0.8508 0.00 0.08 0.00 0.92
#> GSM1658349     4  0.2345     0.9420 0.10 0.00 0.00 0.90
#> GSM1658350     1  0.4948     0.0880 0.56 0.00 0.00 0.44
#> GSM1658351     4  0.2011     0.9617 0.08 0.00 0.00 0.92
#> GSM1658352     2  0.0000     0.9808 0.00 1.00 0.00 0.00
#> GSM1658353     1  0.4977     0.0025 0.54 0.00 0.00 0.46
#> GSM1658354     4  0.2011     0.9617 0.08 0.00 0.00 0.92
#> GSM1658355     4  0.4134     0.7280 0.26 0.00 0.00 0.74
#> GSM1658356     4  0.2011     0.9617 0.08 0.00 0.00 0.92
#> GSM1658357     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658358     4  0.2011     0.9617 0.08 0.00 0.00 0.92
#> GSM1658359     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658360     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658361     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658362     4  0.2011     0.9617 0.08 0.00 0.00 0.92
#> GSM1658363     4  0.2647     0.9202 0.12 0.00 0.00 0.88
#> GSM1658364     1  0.0000     0.9712 1.00 0.00 0.00 0.00
#> GSM1658365     4  0.2335     0.9367 0.06 0.02 0.00 0.92
#> GSM1658366     1  0.0000     0.9712 1.00 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-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

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

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.

Signature heatmaps where rows are scaled:

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

Signature heatmaps where rows are not scaled:

get_signatures(res, k = 2, scale_rows = FALSE)

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

get_signatures(res, k = 3, scale_rows = FALSE)

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

get_signatures(res, k = 4, scale_rows = FALSE)

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

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

Following heatmap shows how subgroups are split when increasing k:

collect_classes(res)

plot of chunk node-0-collect-classes

Test correlation between subgroups and known annotations. If the known annotation is numeric, one-way ANOVA test is applied, and if the known annotation is discrete, chi-squared contingency table test is applied.

test_to_known_factors(res)
#>             n_sample age(p-value) cell.type(p-value) k
#> ATC:skmeans      462     2.67e-28           8.96e-52 2
#> ATC:skmeans      461     1.97e-52          7.69e-106 3
#> ATC:skmeans      460     1.99e-76          1.24e-139 4

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 , Node012 , Node013 , Node021 , Node022-leaf , Node031-leaf , Node032-leaf , Node033-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.
#>   On a matrix with 11418 rows and 238 columns.
#>   Top rows (1142) are extracted by 'ATC' method.
#>   Subgroups are detected by 'skmeans' method.
#>   Performed in total 150 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.997       0.999          0.503 0.498   0.498
#> 3 3 1.000           0.983       0.993          0.262 0.826   0.665
#> 4 4 0.844           0.937       0.953          0.123 0.901   0.738

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
#> GSM1657871     2   0.000      0.998 0.00 1.00
#> GSM1657873     2   0.000      0.998 0.00 1.00
#> GSM1657876     2   0.000      0.998 0.00 1.00
#> GSM1657877     2   0.000      0.998 0.00 1.00
#> GSM1657878     2   0.000      0.998 0.00 1.00
#> GSM1657880     2   0.000      0.998 0.00 1.00
#> GSM1657881     2   0.000      0.998 0.00 1.00
#> GSM1657885     2   0.000      0.998 0.00 1.00
#> GSM1657889     2   0.000      0.998 0.00 1.00
#> GSM1657890     2   0.000      0.998 0.00 1.00
#> GSM1657891     2   0.000      0.998 0.00 1.00
#> GSM1657892     2   0.000      0.998 0.00 1.00
#> GSM1657893     2   0.000      0.998 0.00 1.00
#> GSM1657894     2   0.000      0.998 0.00 1.00
#> GSM1657897     2   0.000      0.998 0.00 1.00
#> GSM1657899     2   0.000      0.998 0.00 1.00
#> GSM1657900     2   0.000      0.998 0.00 1.00
#> GSM1657901     2   0.000      0.998 0.00 1.00
#> GSM1657902     2   0.000      0.998 0.00 1.00
#> GSM1657903     2   0.000      0.998 0.00 1.00
#> GSM1657904     2   0.000      0.998 0.00 1.00
#> GSM1657905     2   0.000      0.998 0.00 1.00
#> GSM1657906     2   0.000      0.998 0.00 1.00
#> GSM1657907     2   0.000      0.998 0.00 1.00
#> GSM1657908     2   0.000      0.998 0.00 1.00
#> GSM1657909     2   0.000      0.998 0.00 1.00
#> GSM1657910     2   0.000      0.998 0.00 1.00
#> GSM1657911     2   0.000      0.998 0.00 1.00
#> GSM1657913     2   0.000      0.998 0.00 1.00
#> GSM1657914     2   0.000      0.998 0.00 1.00
#> GSM1657915     2   0.000      0.998 0.00 1.00
#> GSM1657916     2   0.000      0.998 0.00 1.00
#> GSM1657917     2   0.000      0.998 0.00 1.00
#> GSM1657918     2   0.000      0.998 0.00 1.00
#> GSM1657919     2   0.000      0.998 0.00 1.00
#> GSM1657920     2   0.000      0.998 0.00 1.00
#> GSM1657921     2   0.000      0.998 0.00 1.00
#> GSM1657922     2   0.000      0.998 0.00 1.00
#> GSM1657923     2   0.000      0.998 0.00 1.00
#> GSM1657924     2   0.000      0.998 0.00 1.00
#> GSM1657925     2   0.000      0.998 0.00 1.00
#> GSM1657926     2   0.000      0.998 0.00 1.00
#> GSM1657927     2   0.000      0.998 0.00 1.00
#> GSM1657928     2   0.000      0.998 0.00 1.00
#> GSM1657929     2   0.000      0.998 0.00 1.00
#> GSM1657934     2   0.000      0.998 0.00 1.00
#> GSM1657939     2   0.000      0.998 0.00 1.00
#> GSM1657941     2   0.000      0.998 0.00 1.00
#> GSM1657944     2   0.000      0.998 0.00 1.00
#> GSM1657948     2   0.000      0.998 0.00 1.00
#> GSM1657951     2   0.000      0.998 0.00 1.00
#> GSM1657953     2   0.000      0.998 0.00 1.00
#> GSM1657969     2   0.000      0.998 0.00 1.00
#> GSM1657972     2   0.000      0.998 0.00 1.00
#> GSM1657989     2   0.000      0.998 0.00 1.00
#> GSM1657992     2   0.000      0.998 0.00 1.00
#> GSM1657993     2   0.000      0.998 0.00 1.00
#> GSM1657994     2   0.000      0.998 0.00 1.00
#> GSM1657995     2   0.000      0.998 0.00 1.00
#> GSM1657996     2   0.000      0.998 0.00 1.00
#> GSM1657997     2   0.000      0.998 0.00 1.00
#> GSM1657998     2   0.000      0.998 0.00 1.00
#> GSM1657999     2   0.000      0.998 0.00 1.00
#> GSM1658000     2   0.000      0.998 0.00 1.00
#> GSM1658001     2   0.000      0.998 0.00 1.00
#> GSM1658003     1   0.000      0.999 1.00 0.00
#> GSM1658004     2   0.000      0.998 0.00 1.00
#> GSM1658018     2   0.000      0.998 0.00 1.00
#> GSM1658036     2   0.000      0.998 0.00 1.00
#> GSM1658049     2   0.000      0.998 0.00 1.00
#> GSM1658083     2   0.000      0.998 0.00 1.00
#> GSM1658085     2   0.000      0.998 0.00 1.00
#> GSM1658086     2   0.000      0.998 0.00 1.00
#> GSM1658088     2   0.000      0.998 0.00 1.00
#> GSM1658089     2   0.000      0.998 0.00 1.00
#> GSM1658092     2   0.000      0.998 0.00 1.00
#> GSM1658093     2   0.000      0.998 0.00 1.00
#> GSM1658094     2   0.000      0.998 0.00 1.00
#> GSM1658096     2   0.000      0.998 0.00 1.00
#> GSM1658097     2   0.000      0.998 0.00 1.00
#> GSM1658098     2   0.000      0.998 0.00 1.00
#> GSM1658099     2   0.000      0.998 0.00 1.00
#> GSM1658102     2   0.000      0.998 0.00 1.00
#> GSM1658109     2   0.000      0.998 0.00 1.00
#> GSM1658112     2   0.000      0.998 0.00 1.00
#> GSM1658116     2   0.000      0.998 0.00 1.00
#> GSM1658117     2   0.000      0.998 0.00 1.00
#> GSM1658118     2   0.000      0.998 0.00 1.00
#> GSM1658119     2   0.000      0.998 0.00 1.00
#> GSM1658120     2   0.000      0.998 0.00 1.00
#> GSM1658122     2   0.000      0.998 0.00 1.00
#> GSM1658123     2   0.000      0.998 0.00 1.00
#> GSM1658124     2   0.000      0.998 0.00 1.00
#> GSM1658125     2   0.000      0.998 0.00 1.00
#> GSM1658126     2   0.000      0.998 0.00 1.00
#> GSM1658136     2   0.000      0.998 0.00 1.00
#> GSM1658144     2   0.000      0.998 0.00 1.00
#> GSM1658154     2   0.000      0.998 0.00 1.00
#> GSM1658155     2   0.000      0.998 0.00 1.00
#> GSM1658162     2   0.000      0.998 0.00 1.00
#> GSM1658164     2   0.000      0.998 0.00 1.00
#> GSM1658167     2   0.000      0.998 0.00 1.00
#> GSM1658173     2   0.000      0.998 0.00 1.00
#> GSM1658180     2   0.000      0.998 0.00 1.00
#> GSM1658185     2   0.000      0.998 0.00 1.00
#> GSM1658186     2   0.000      0.998 0.00 1.00
#> GSM1658187     2   0.000      0.998 0.00 1.00
#> GSM1658188     2   0.000      0.998 0.00 1.00
#> GSM1658189     2   0.000      0.998 0.00 1.00
#> GSM1658190     2   0.000      0.998 0.00 1.00
#> GSM1658191     2   0.000      0.998 0.00 1.00
#> GSM1658193     2   0.000      0.998 0.00 1.00
#> GSM1658194     2   0.000      0.998 0.00 1.00
#> GSM1658196     2   0.000      0.998 0.00 1.00
#> GSM1658197     2   0.000      0.998 0.00 1.00
#> GSM1658198     2   0.000      0.998 0.00 1.00
#> GSM1658199     2   0.000      0.998 0.00 1.00
#> GSM1658200     1   0.327      0.936 0.94 0.06
#> GSM1658202     2   0.000      0.998 0.00 1.00
#> GSM1658203     1   0.000      0.999 1.00 0.00
#> GSM1658204     1   0.000      0.999 1.00 0.00
#> GSM1658205     1   0.000      0.999 1.00 0.00
#> GSM1658206     1   0.000      0.999 1.00 0.00
#> GSM1658207     1   0.000      0.999 1.00 0.00
#> GSM1658208     2   0.000      0.998 0.00 1.00
#> GSM1658209     1   0.000      0.999 1.00 0.00
#> GSM1658210     1   0.000      0.999 1.00 0.00
#> GSM1658211     1   0.000      0.999 1.00 0.00
#> GSM1658212     1   0.000      0.999 1.00 0.00
#> GSM1658214     1   0.000      0.999 1.00 0.00
#> GSM1658216     1   0.000      0.999 1.00 0.00
#> GSM1658217     1   0.000      0.999 1.00 0.00
#> GSM1658218     1   0.000      0.999 1.00 0.00
#> GSM1658219     1   0.000      0.999 1.00 0.00
#> GSM1658220     1   0.000      0.999 1.00 0.00
#> GSM1658221     1   0.000      0.999 1.00 0.00
#> GSM1658222     1   0.000      0.999 1.00 0.00
#> GSM1658223     2   0.760      0.718 0.22 0.78
#> GSM1658224     1   0.000      0.999 1.00 0.00
#> GSM1658225     1   0.000      0.999 1.00 0.00
#> GSM1658226     1   0.000      0.999 1.00 0.00
#> GSM1658227     1   0.000      0.999 1.00 0.00
#> GSM1658228     1   0.000      0.999 1.00 0.00
#> GSM1658229     1   0.000      0.999 1.00 0.00
#> GSM1658230     1   0.000      0.999 1.00 0.00
#> GSM1658231     1   0.000      0.999 1.00 0.00
#> GSM1658232     1   0.000      0.999 1.00 0.00
#> GSM1658233     1   0.000      0.999 1.00 0.00
#> GSM1658234     1   0.000      0.999 1.00 0.00
#> GSM1658235     1   0.000      0.999 1.00 0.00
#> GSM1658236     1   0.000      0.999 1.00 0.00
#> GSM1658237     1   0.000      0.999 1.00 0.00
#> GSM1658238     1   0.000      0.999 1.00 0.00
#> GSM1658239     1   0.000      0.999 1.00 0.00
#> GSM1658240     1   0.000      0.999 1.00 0.00
#> GSM1658241     1   0.000      0.999 1.00 0.00
#> GSM1658242     1   0.000      0.999 1.00 0.00
#> GSM1658243     1   0.000      0.999 1.00 0.00
#> GSM1658244     1   0.000      0.999 1.00 0.00
#> GSM1658245     1   0.000      0.999 1.00 0.00
#> GSM1658246     1   0.000      0.999 1.00 0.00
#> GSM1658247     1   0.000      0.999 1.00 0.00
#> GSM1658249     1   0.000      0.999 1.00 0.00
#> GSM1658251     1   0.000      0.999 1.00 0.00
#> GSM1658253     1   0.000      0.999 1.00 0.00
#> GSM1658262     1   0.000      0.999 1.00 0.00
#> GSM1658264     1   0.000      0.999 1.00 0.00
#> GSM1658266     1   0.000      0.999 1.00 0.00
#> GSM1658270     1   0.000      0.999 1.00 0.00
#> GSM1658272     1   0.000      0.999 1.00 0.00
#> GSM1658275     1   0.000      0.999 1.00 0.00
#> GSM1658277     1   0.000      0.999 1.00 0.00
#> GSM1658279     1   0.000      0.999 1.00 0.00
#> GSM1658284     1   0.000      0.999 1.00 0.00
#> GSM1658286     1   0.000      0.999 1.00 0.00
#> GSM1658288     1   0.000      0.999 1.00 0.00
#> GSM1658290     1   0.000      0.999 1.00 0.00
#> GSM1658292     1   0.000      0.999 1.00 0.00
#> GSM1658297     1   0.000      0.999 1.00 0.00
#> GSM1658301     1   0.000      0.999 1.00 0.00
#> GSM1658304     2   0.000      0.998 0.00 1.00
#> GSM1658305     1   0.000      0.999 1.00 0.00
#> GSM1658306     1   0.000      0.999 1.00 0.00
#> GSM1658307     1   0.000      0.999 1.00 0.00
#> GSM1658308     1   0.000      0.999 1.00 0.00
#> GSM1658309     1   0.000      0.999 1.00 0.00
#> GSM1658310     1   0.000      0.999 1.00 0.00
#> GSM1658311     1   0.000      0.999 1.00 0.00
#> GSM1658312     1   0.000      0.999 1.00 0.00
#> GSM1658314     1   0.000      0.999 1.00 0.00
#> GSM1658315     1   0.000      0.999 1.00 0.00
#> GSM1658316     1   0.000      0.999 1.00 0.00
#> GSM1658317     1   0.000      0.999 1.00 0.00
#> GSM1658318     1   0.000      0.999 1.00 0.00
#> GSM1658319     1   0.000      0.999 1.00 0.00
#> GSM1658320     1   0.000      0.999 1.00 0.00
#> GSM1658321     1   0.000      0.999 1.00 0.00
#> GSM1658322     1   0.000      0.999 1.00 0.00
#> GSM1658324     1   0.000      0.999 1.00 0.00
#> GSM1658325     1   0.000      0.999 1.00 0.00
#> GSM1658326     1   0.000      0.999 1.00 0.00
#> GSM1658327     1   0.000      0.999 1.00 0.00
#> GSM1658328     1   0.000      0.999 1.00 0.00
#> GSM1658329     1   0.000      0.999 1.00 0.00
#> GSM1658330     1   0.000      0.999 1.00 0.00
#> GSM1658331     1   0.000      0.999 1.00 0.00
#> GSM1658332     1   0.000      0.999 1.00 0.00
#> GSM1658333     1   0.000      0.999 1.00 0.00
#> GSM1658334     1   0.000      0.999 1.00 0.00
#> GSM1658335     1   0.000      0.999 1.00 0.00
#> GSM1658336     1   0.000      0.999 1.00 0.00
#> GSM1658337     1   0.000      0.999 1.00 0.00
#> GSM1658338     1   0.000      0.999 1.00 0.00
#> GSM1658340     1   0.000      0.999 1.00 0.00
#> GSM1658341     1   0.000      0.999 1.00 0.00
#> GSM1658342     1   0.000      0.999 1.00 0.00
#> GSM1658343     1   0.000      0.999 1.00 0.00
#> GSM1658344     1   0.000      0.999 1.00 0.00
#> GSM1658345     1   0.000      0.999 1.00 0.00
#> GSM1658346     1   0.000      0.999 1.00 0.00
#> GSM1658347     1   0.000      0.999 1.00 0.00
#> GSM1658349     1   0.000      0.999 1.00 0.00
#> GSM1658350     1   0.000      0.999 1.00 0.00
#> GSM1658351     1   0.000      0.999 1.00 0.00
#> GSM1658353     1   0.000      0.999 1.00 0.00
#> GSM1658354     1   0.000      0.999 1.00 0.00
#> GSM1658355     1   0.000      0.999 1.00 0.00
#> GSM1658356     1   0.000      0.999 1.00 0.00
#> GSM1658357     1   0.000      0.999 1.00 0.00
#> GSM1658358     1   0.000      0.999 1.00 0.00
#> GSM1658359     1   0.000      0.999 1.00 0.00
#> GSM1658360     1   0.000      0.999 1.00 0.00
#> GSM1658361     1   0.000      0.999 1.00 0.00
#> GSM1658362     1   0.000      0.999 1.00 0.00
#> GSM1658363     1   0.000      0.999 1.00 0.00
#> GSM1658364     1   0.000      0.999 1.00 0.00
#> GSM1658365     1   0.000      0.999 1.00 0.00
#> GSM1658366     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
#> GSM1657871     3   0.000      1.000 0.00 0.00 1.00
#> GSM1657873     3   0.000      1.000 0.00 0.00 1.00
#> GSM1657876     3   0.000      1.000 0.00 0.00 1.00
#> GSM1657877     3   0.000      1.000 0.00 0.00 1.00
#> GSM1657878     2   0.000      0.983 0.00 1.00 0.00
#> GSM1657880     3   0.000      1.000 0.00 0.00 1.00
#> GSM1657881     3   0.000      1.000 0.00 0.00 1.00
#> GSM1657885     2   0.000      0.983 0.00 1.00 0.00
#> GSM1657889     3   0.000      1.000 0.00 0.00 1.00
#> GSM1657890     3   0.000      1.000 0.00 0.00 1.00
#> GSM1657891     3   0.000      1.000 0.00 0.00 1.00
#> GSM1657892     3   0.000      1.000 0.00 0.00 1.00
#> GSM1657893     3   0.000      1.000 0.00 0.00 1.00
#> GSM1657894     3   0.000      1.000 0.00 0.00 1.00
#> GSM1657897     3   0.000      1.000 0.00 0.00 1.00
#> GSM1657899     3   0.000      1.000 0.00 0.00 1.00
#> GSM1657900     3   0.000      1.000 0.00 0.00 1.00
#> GSM1657901     3   0.000      1.000 0.00 0.00 1.00
#> GSM1657902     3   0.000      1.000 0.00 0.00 1.00
#> GSM1657903     2   0.000      0.983 0.00 1.00 0.00
#> GSM1657904     2   0.000      0.983 0.00 1.00 0.00
#> GSM1657905     2   0.000      0.983 0.00 1.00 0.00
#> GSM1657906     3   0.000      1.000 0.00 0.00 1.00
#> GSM1657907     3   0.000      1.000 0.00 0.00 1.00
#> GSM1657908     3   0.000      1.000 0.00 0.00 1.00
#> GSM1657909     2   0.000      0.983 0.00 1.00 0.00
#> GSM1657910     2   0.000      0.983 0.00 1.00 0.00
#> GSM1657911     2   0.000      0.983 0.00 1.00 0.00
#> GSM1657913     3   0.000      1.000 0.00 0.00 1.00
#> GSM1657914     2   0.000      0.983 0.00 1.00 0.00
#> GSM1657915     2   0.000      0.983 0.00 1.00 0.00
#> GSM1657916     3   0.000      1.000 0.00 0.00 1.00
#> GSM1657917     3   0.000      1.000 0.00 0.00 1.00
#> GSM1657918     3   0.000      1.000 0.00 0.00 1.00
#> GSM1657919     2   0.000      0.983 0.00 1.00 0.00
#> GSM1657920     2   0.000      0.983 0.00 1.00 0.00
#> GSM1657921     2   0.000      0.983 0.00 1.00 0.00
#> GSM1657922     3   0.000      1.000 0.00 0.00 1.00
#> GSM1657923     3   0.000      1.000 0.00 0.00 1.00
#> GSM1657924     2   0.000      0.983 0.00 1.00 0.00
#> GSM1657925     2   0.000      0.983 0.00 1.00 0.00
#> GSM1657926     2   0.000      0.983 0.00 1.00 0.00
#> GSM1657927     2   0.000      0.983 0.00 1.00 0.00
#> GSM1657928     2   0.455      0.745 0.00 0.80 0.20
#> GSM1657929     2   0.000      0.983 0.00 1.00 0.00
#> GSM1657934     2   0.000      0.983 0.00 1.00 0.00
#> GSM1657939     2   0.000      0.983 0.00 1.00 0.00
#> GSM1657941     2   0.000      0.983 0.00 1.00 0.00
#> GSM1657944     3   0.000      1.000 0.00 0.00 1.00
#> GSM1657948     2   0.000      0.983 0.00 1.00 0.00
#> GSM1657951     2   0.000      0.983 0.00 1.00 0.00
#> GSM1657953     2   0.000      0.983 0.00 1.00 0.00
#> GSM1657969     2   0.000      0.983 0.00 1.00 0.00
#> GSM1657972     2   0.000      0.983 0.00 1.00 0.00
#> GSM1657989     2   0.000      0.983 0.00 1.00 0.00
#> GSM1657992     2   0.000      0.983 0.00 1.00 0.00
#> GSM1657993     2   0.000      0.983 0.00 1.00 0.00
#> GSM1657994     2   0.000      0.983 0.00 1.00 0.00
#> GSM1657995     2   0.000      0.983 0.00 1.00 0.00
#> GSM1657996     2   0.000      0.983 0.00 1.00 0.00
#> GSM1657997     2   0.000      0.983 0.00 1.00 0.00
#> GSM1657998     2   0.000      0.983 0.00 1.00 0.00
#> GSM1657999     2   0.000      0.983 0.00 1.00 0.00
#> GSM1658000     2   0.000      0.983 0.00 1.00 0.00
#> GSM1658001     2   0.000      0.983 0.00 1.00 0.00
#> GSM1658003     1   0.334      0.859 0.88 0.12 0.00
#> GSM1658004     2   0.000      0.983 0.00 1.00 0.00
#> GSM1658018     3   0.000      1.000 0.00 0.00 1.00
#> GSM1658036     2   0.000      0.983 0.00 1.00 0.00
#> GSM1658049     2   0.000      0.983 0.00 1.00 0.00
#> GSM1658083     2   0.000      0.983 0.00 1.00 0.00
#> GSM1658085     3   0.000      1.000 0.00 0.00 1.00
#> GSM1658086     2   0.000      0.983 0.00 1.00 0.00
#> GSM1658088     3   0.000      1.000 0.00 0.00 1.00
#> GSM1658089     2   0.000      0.983 0.00 1.00 0.00
#> GSM1658092     2   0.000      0.983 0.00 1.00 0.00
#> GSM1658093     3   0.000      1.000 0.00 0.00 1.00
#> GSM1658094     2   0.000      0.983 0.00 1.00 0.00
#> GSM1658096     2   0.254      0.903 0.00 0.92 0.08
#> GSM1658097     3   0.000      1.000 0.00 0.00 1.00
#> GSM1658098     2   0.000      0.983 0.00 1.00 0.00
#> GSM1658099     2   0.000      0.983 0.00 1.00 0.00
#> GSM1658102     2   0.000      0.983 0.00 1.00 0.00
#> GSM1658109     3   0.000      1.000 0.00 0.00 1.00
#> GSM1658112     3   0.000      1.000 0.00 0.00 1.00
#> GSM1658116     2   0.000      0.983 0.00 1.00 0.00
#> GSM1658117     2   0.000      0.983 0.00 1.00 0.00
#> GSM1658118     3   0.000      1.000 0.00 0.00 1.00
#> GSM1658119     3   0.000      1.000 0.00 0.00 1.00
#> GSM1658120     3   0.000      1.000 0.00 0.00 1.00
#> GSM1658122     2   0.000      0.983 0.00 1.00 0.00
#> GSM1658123     3   0.000      1.000 0.00 0.00 1.00
#> GSM1658124     3   0.000      1.000 0.00 0.00 1.00
#> GSM1658125     3   0.000      1.000 0.00 0.00 1.00
#> GSM1658126     2   0.000      0.983 0.00 1.00 0.00
#> GSM1658136     2   0.000      0.983 0.00 1.00 0.00
#> GSM1658144     3   0.000      1.000 0.00 0.00 1.00
#> GSM1658154     2   0.000      0.983 0.00 1.00 0.00
#> GSM1658155     3   0.000      1.000 0.00 0.00 1.00
#> GSM1658162     3   0.000      1.000 0.00 0.00 1.00
#> GSM1658164     3   0.000      1.000 0.00 0.00 1.00
#> GSM1658167     3   0.000      1.000 0.00 0.00 1.00
#> GSM1658173     3   0.000      1.000 0.00 0.00 1.00
#> GSM1658180     3   0.000      1.000 0.00 0.00 1.00
#> GSM1658185     2   0.000      0.983 0.00 1.00 0.00
#> GSM1658186     2   0.000      0.983 0.00 1.00 0.00
#> GSM1658187     2   0.000      0.983 0.00 1.00 0.00
#> GSM1658188     2   0.000      0.983 0.00 1.00 0.00
#> GSM1658189     2   0.000      0.983 0.00 1.00 0.00
#> GSM1658190     2   0.000      0.983 0.00 1.00 0.00
#> GSM1658191     2   0.000      0.983 0.00 1.00 0.00
#> GSM1658193     2   0.000      0.983 0.00 1.00 0.00
#> GSM1658194     2   0.000      0.983 0.00 1.00 0.00
#> GSM1658196     2   0.000      0.983 0.00 1.00 0.00
#> GSM1658197     2   0.000      0.983 0.00 1.00 0.00
#> GSM1658198     2   0.000      0.983 0.00 1.00 0.00
#> GSM1658199     2   0.000      0.983 0.00 1.00 0.00
#> GSM1658200     2   0.000      0.983 0.00 1.00 0.00
#> GSM1658202     2   0.000      0.983 0.00 1.00 0.00
#> GSM1658203     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658204     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658205     2   0.000      0.983 0.00 1.00 0.00
#> GSM1658206     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658207     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658208     2   0.000      0.983 0.00 1.00 0.00
#> GSM1658209     1   0.334      0.859 0.88 0.12 0.00
#> GSM1658210     2   0.334      0.842 0.12 0.88 0.00
#> GSM1658211     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658212     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658214     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658216     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658217     2   0.595      0.443 0.36 0.64 0.00
#> GSM1658218     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658219     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658220     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658221     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658222     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658223     2   0.000      0.983 0.00 1.00 0.00
#> GSM1658224     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658225     2   0.556      0.576 0.30 0.70 0.00
#> GSM1658226     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658227     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658228     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658229     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658230     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658231     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658232     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658233     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658234     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658235     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658236     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658237     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658238     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658239     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658240     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658241     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658242     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658243     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658244     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658245     2   0.254      0.891 0.08 0.92 0.00
#> GSM1658246     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658247     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658249     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658251     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658253     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658262     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658264     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658266     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658270     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658272     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658275     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658277     2   0.000      0.983 0.00 1.00 0.00
#> GSM1658279     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658284     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658286     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658288     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658290     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658292     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658297     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658301     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658304     2   0.000      0.983 0.00 1.00 0.00
#> GSM1658305     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658306     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658307     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658308     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658309     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658310     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658311     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658312     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658314     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658315     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658316     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658317     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658318     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658319     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658320     1   0.153      0.953 0.96 0.04 0.00
#> GSM1658321     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658322     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658324     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658325     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658326     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658327     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658328     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658329     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658330     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658331     2   0.000      0.983 0.00 1.00 0.00
#> GSM1658332     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658333     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658334     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658335     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658336     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658337     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658338     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658340     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658341     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658342     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658343     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658344     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658345     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658346     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658347     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658349     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658350     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658351     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658353     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658354     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658355     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658356     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658357     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658358     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658359     1   0.480      0.717 0.78 0.22 0.00
#> GSM1658360     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658361     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658362     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658363     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658364     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658365     1   0.000      0.995 1.00 0.00 0.00
#> GSM1658366     1   0.000      0.995 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
#> GSM1657871     3  0.0000      0.993 0.00 0.00 1.00 0.00
#> GSM1657873     3  0.0000      0.993 0.00 0.00 1.00 0.00
#> GSM1657876     3  0.0000      0.993 0.00 0.00 1.00 0.00
#> GSM1657877     3  0.0000      0.993 0.00 0.00 1.00 0.00
#> GSM1657878     2  0.2921      0.921 0.00 0.86 0.00 0.14
#> GSM1657880     3  0.0000      0.993 0.00 0.00 1.00 0.00
#> GSM1657881     3  0.0000      0.993 0.00 0.00 1.00 0.00
#> GSM1657885     2  0.2921      0.921 0.00 0.86 0.00 0.14
#> GSM1657889     3  0.0000      0.993 0.00 0.00 1.00 0.00
#> GSM1657890     3  0.0000      0.993 0.00 0.00 1.00 0.00
#> GSM1657891     3  0.0000      0.993 0.00 0.00 1.00 0.00
#> GSM1657892     3  0.0000      0.993 0.00 0.00 1.00 0.00
#> GSM1657893     3  0.0000      0.993 0.00 0.00 1.00 0.00
#> GSM1657894     3  0.0000      0.993 0.00 0.00 1.00 0.00
#> GSM1657897     3  0.0000      0.993 0.00 0.00 1.00 0.00
#> GSM1657899     3  0.0000      0.993 0.00 0.00 1.00 0.00
#> GSM1657900     3  0.0000      0.993 0.00 0.00 1.00 0.00
#> GSM1657901     3  0.0000      0.993 0.00 0.00 1.00 0.00
#> GSM1657902     3  0.0000      0.993 0.00 0.00 1.00 0.00
#> GSM1657903     4  0.0000      0.984 0.00 0.00 0.00 1.00
#> GSM1657904     4  0.0000      0.984 0.00 0.00 0.00 1.00
#> GSM1657905     4  0.0000      0.984 0.00 0.00 0.00 1.00
#> GSM1657906     3  0.0000      0.993 0.00 0.00 1.00 0.00
#> GSM1657907     3  0.0000      0.993 0.00 0.00 1.00 0.00
#> GSM1657908     3  0.0707      0.970 0.00 0.00 0.98 0.02
#> GSM1657909     4  0.0000      0.984 0.00 0.00 0.00 1.00
#> GSM1657910     4  0.0000      0.984 0.00 0.00 0.00 1.00
#> GSM1657911     2  0.2921      0.921 0.00 0.86 0.00 0.14
#> GSM1657913     3  0.0000      0.993 0.00 0.00 1.00 0.00
#> GSM1657914     2  0.2921      0.921 0.00 0.86 0.00 0.14
#> GSM1657915     2  0.2921      0.921 0.00 0.86 0.00 0.14
#> GSM1657916     3  0.0000      0.993 0.00 0.00 1.00 0.00
#> GSM1657917     3  0.0000      0.993 0.00 0.00 1.00 0.00
#> GSM1657918     3  0.0000      0.993 0.00 0.00 1.00 0.00
#> GSM1657919     4  0.0000      0.984 0.00 0.00 0.00 1.00
#> GSM1657920     4  0.0000      0.984 0.00 0.00 0.00 1.00
#> GSM1657921     2  0.2921      0.921 0.00 0.86 0.00 0.14
#> GSM1657922     3  0.4277      0.613 0.00 0.00 0.72 0.28
#> GSM1657923     3  0.0000      0.993 0.00 0.00 1.00 0.00
#> GSM1657924     4  0.0000      0.984 0.00 0.00 0.00 1.00
#> GSM1657925     4  0.0000      0.984 0.00 0.00 0.00 1.00
#> GSM1657926     4  0.0000      0.984 0.00 0.00 0.00 1.00
#> GSM1657927     4  0.0000      0.984 0.00 0.00 0.00 1.00
#> GSM1657928     2  0.3525      0.892 0.00 0.86 0.04 0.10
#> GSM1657929     2  0.2921      0.921 0.00 0.86 0.00 0.14
#> GSM1657934     4  0.0000      0.984 0.00 0.00 0.00 1.00
#> GSM1657939     2  0.2921      0.921 0.00 0.86 0.00 0.14
#> GSM1657941     2  0.2921      0.921 0.00 0.86 0.00 0.14
#> GSM1657944     3  0.0000      0.993 0.00 0.00 1.00 0.00
#> GSM1657948     2  0.2921      0.921 0.00 0.86 0.00 0.14
#> GSM1657951     2  0.2921      0.921 0.00 0.86 0.00 0.14
#> GSM1657953     2  0.2921      0.921 0.00 0.86 0.00 0.14
#> GSM1657969     2  0.2921      0.921 0.00 0.86 0.00 0.14
#> GSM1657972     4  0.0000      0.984 0.00 0.00 0.00 1.00
#> GSM1657989     2  0.2921      0.921 0.00 0.86 0.00 0.14
#> GSM1657992     2  0.2921      0.921 0.00 0.86 0.00 0.14
#> GSM1657993     4  0.0000      0.984 0.00 0.00 0.00 1.00
#> GSM1657994     4  0.0000      0.984 0.00 0.00 0.00 1.00
#> GSM1657995     4  0.0000      0.984 0.00 0.00 0.00 1.00
#> GSM1657996     4  0.0000      0.984 0.00 0.00 0.00 1.00
#> GSM1657997     4  0.0000      0.984 0.00 0.00 0.00 1.00
#> GSM1657998     2  0.2921      0.921 0.00 0.86 0.00 0.14
#> GSM1657999     4  0.0000      0.984 0.00 0.00 0.00 1.00
#> GSM1658000     2  0.2921      0.921 0.00 0.86 0.00 0.14
#> GSM1658001     2  0.2921      0.921 0.00 0.86 0.00 0.14
#> GSM1658003     2  0.0000      0.844 0.00 1.00 0.00 0.00
#> GSM1658004     4  0.0000      0.984 0.00 0.00 0.00 1.00
#> GSM1658018     3  0.0000      0.993 0.00 0.00 1.00 0.00
#> GSM1658036     2  0.2921      0.921 0.00 0.86 0.00 0.14
#> GSM1658049     2  0.2921      0.921 0.00 0.86 0.00 0.14
#> GSM1658083     4  0.0000      0.984 0.00 0.00 0.00 1.00
#> GSM1658085     3  0.0000      0.993 0.00 0.00 1.00 0.00
#> GSM1658086     4  0.0000      0.984 0.00 0.00 0.00 1.00
#> GSM1658088     3  0.0000      0.993 0.00 0.00 1.00 0.00
#> GSM1658089     4  0.0000      0.984 0.00 0.00 0.00 1.00
#> GSM1658092     4  0.0000      0.984 0.00 0.00 0.00 1.00
#> GSM1658093     3  0.0000      0.993 0.00 0.00 1.00 0.00
#> GSM1658094     4  0.0000      0.984 0.00 0.00 0.00 1.00
#> GSM1658096     4  0.0000      0.984 0.00 0.00 0.00 1.00
#> GSM1658097     3  0.0000      0.993 0.00 0.00 1.00 0.00
#> GSM1658098     4  0.0000      0.984 0.00 0.00 0.00 1.00
#> GSM1658099     4  0.0000      0.984 0.00 0.00 0.00 1.00
#> GSM1658102     4  0.0000      0.984 0.00 0.00 0.00 1.00
#> GSM1658109     3  0.0000      0.993 0.00 0.00 1.00 0.00
#> GSM1658112     3  0.0000      0.993 0.00 0.00 1.00 0.00
#> GSM1658116     4  0.0000      0.984 0.00 0.00 0.00 1.00
#> GSM1658117     4  0.0000      0.984 0.00 0.00 0.00 1.00
#> GSM1658118     3  0.0000      0.993 0.00 0.00 1.00 0.00
#> GSM1658119     3  0.0000      0.993 0.00 0.00 1.00 0.00
#> GSM1658120     3  0.0000      0.993 0.00 0.00 1.00 0.00
#> GSM1658122     4  0.0000      0.984 0.00 0.00 0.00 1.00
#> GSM1658123     3  0.0000      0.993 0.00 0.00 1.00 0.00
#> GSM1658124     3  0.0000      0.993 0.00 0.00 1.00 0.00
#> GSM1658125     3  0.0000      0.993 0.00 0.00 1.00 0.00
#> GSM1658126     4  0.0000      0.984 0.00 0.00 0.00 1.00
#> GSM1658136     2  0.2921      0.921 0.00 0.86 0.00 0.14
#> GSM1658144     3  0.0000      0.993 0.00 0.00 1.00 0.00
#> GSM1658154     2  0.2921      0.921 0.00 0.86 0.00 0.14
#> GSM1658155     3  0.0000      0.993 0.00 0.00 1.00 0.00
#> GSM1658162     3  0.0000      0.993 0.00 0.00 1.00 0.00
#> GSM1658164     3  0.0000      0.993 0.00 0.00 1.00 0.00
#> GSM1658167     3  0.0000      0.993 0.00 0.00 1.00 0.00
#> GSM1658173     3  0.0000      0.993 0.00 0.00 1.00 0.00
#> GSM1658180     3  0.0000      0.993 0.00 0.00 1.00 0.00
#> GSM1658185     2  0.2921      0.921 0.00 0.86 0.00 0.14
#> GSM1658186     2  0.2921      0.921 0.00 0.86 0.00 0.14
#> GSM1658187     2  0.2921      0.921 0.00 0.86 0.00 0.14
#> GSM1658188     4  0.0000      0.984 0.00 0.00 0.00 1.00
#> GSM1658189     4  0.0000      0.984 0.00 0.00 0.00 1.00
#> GSM1658190     2  0.2921      0.921 0.00 0.86 0.00 0.14
#> GSM1658191     2  0.2921      0.921 0.00 0.86 0.00 0.14
#> GSM1658193     2  0.2921      0.921 0.00 0.86 0.00 0.14
#> GSM1658194     2  0.2921      0.921 0.00 0.86 0.00 0.14
#> GSM1658196     4  0.0000      0.984 0.00 0.00 0.00 1.00
#> GSM1658197     2  0.2921      0.921 0.00 0.86 0.00 0.14
#> GSM1658198     2  0.2921      0.921 0.00 0.86 0.00 0.14
#> GSM1658199     2  0.2921      0.921 0.00 0.86 0.00 0.14
#> GSM1658200     2  0.2921      0.921 0.00 0.86 0.00 0.14
#> GSM1658202     2  0.2921      0.921 0.00 0.86 0.00 0.14
#> GSM1658203     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658204     1  0.2921      0.898 0.86 0.14 0.00 0.00
#> GSM1658205     2  0.0000      0.844 0.00 1.00 0.00 0.00
#> GSM1658206     1  0.2345      0.917 0.90 0.10 0.00 0.00
#> GSM1658207     1  0.2921      0.898 0.86 0.14 0.00 0.00
#> GSM1658208     2  0.3400      0.729 0.00 0.82 0.00 0.18
#> GSM1658209     4  0.6933      0.360 0.30 0.14 0.00 0.56
#> GSM1658210     2  0.4907      0.137 0.00 0.58 0.00 0.42
#> GSM1658211     1  0.2921      0.898 0.86 0.14 0.00 0.00
#> GSM1658212     1  0.2921      0.898 0.86 0.14 0.00 0.00
#> GSM1658214     1  0.4491      0.846 0.80 0.14 0.00 0.06
#> GSM1658216     1  0.2921      0.898 0.86 0.14 0.00 0.00
#> GSM1658217     2  0.0000      0.844 0.00 1.00 0.00 0.00
#> GSM1658218     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658219     1  0.2921      0.898 0.86 0.14 0.00 0.00
#> GSM1658220     1  0.2921      0.898 0.86 0.14 0.00 0.00
#> GSM1658221     1  0.2647      0.908 0.88 0.12 0.00 0.00
#> GSM1658222     1  0.2921      0.898 0.86 0.14 0.00 0.00
#> GSM1658223     2  0.0000      0.844 0.00 1.00 0.00 0.00
#> GSM1658224     1  0.2921      0.898 0.86 0.14 0.00 0.00
#> GSM1658225     2  0.0000      0.844 0.00 1.00 0.00 0.00
#> GSM1658226     1  0.4522      0.664 0.68 0.32 0.00 0.00
#> GSM1658227     1  0.2921      0.898 0.86 0.14 0.00 0.00
#> GSM1658228     1  0.2921      0.898 0.86 0.14 0.00 0.00
#> GSM1658229     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658230     1  0.2921      0.898 0.86 0.14 0.00 0.00
#> GSM1658231     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658232     1  0.2921      0.898 0.86 0.14 0.00 0.00
#> GSM1658233     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658234     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658235     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658236     1  0.2921      0.898 0.86 0.14 0.00 0.00
#> GSM1658237     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658238     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658239     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658240     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658241     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658242     1  0.2921      0.898 0.86 0.14 0.00 0.00
#> GSM1658243     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658244     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658245     2  0.0000      0.844 0.00 1.00 0.00 0.00
#> GSM1658246     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658247     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658249     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658251     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658253     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658262     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658264     1  0.2921      0.898 0.86 0.14 0.00 0.00
#> GSM1658266     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658270     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658272     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658275     1  0.0707      0.952 0.98 0.02 0.00 0.00
#> GSM1658277     2  0.0000      0.844 0.00 1.00 0.00 0.00
#> GSM1658279     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658284     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658286     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658288     1  0.0707      0.952 0.98 0.02 0.00 0.00
#> GSM1658290     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658292     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658297     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658301     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658304     2  0.2921      0.921 0.00 0.86 0.00 0.14
#> GSM1658305     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658306     1  0.2921      0.898 0.86 0.14 0.00 0.00
#> GSM1658307     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658308     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658309     1  0.2921      0.898 0.86 0.14 0.00 0.00
#> GSM1658310     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658311     2  0.0000      0.844 0.00 1.00 0.00 0.00
#> GSM1658312     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658314     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658315     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658316     1  0.2921      0.898 0.86 0.14 0.00 0.00
#> GSM1658317     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658318     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658319     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658320     2  0.0000      0.844 0.00 1.00 0.00 0.00
#> GSM1658321     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658322     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658324     1  0.2647      0.908 0.88 0.12 0.00 0.00
#> GSM1658325     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658326     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658327     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658328     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658329     2  0.3172      0.661 0.16 0.84 0.00 0.00
#> GSM1658330     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658331     2  0.0000      0.844 0.00 1.00 0.00 0.00
#> GSM1658332     1  0.2921      0.898 0.86 0.14 0.00 0.00
#> GSM1658333     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658334     1  0.2921      0.898 0.86 0.14 0.00 0.00
#> GSM1658335     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658336     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658337     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658338     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658340     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658341     2  0.4406      0.430 0.30 0.70 0.00 0.00
#> GSM1658342     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658343     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658344     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658345     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658346     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658347     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658349     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658350     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658351     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658353     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658354     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658355     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658356     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658357     1  0.2921      0.898 0.86 0.14 0.00 0.00
#> GSM1658358     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658359     2  0.0000      0.844 0.00 1.00 0.00 0.00
#> GSM1658360     2  0.1211      0.810 0.04 0.96 0.00 0.00
#> GSM1658361     1  0.2921      0.898 0.86 0.14 0.00 0.00
#> GSM1658362     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658363     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658364     1  0.2647      0.908 0.88 0.12 0.00 0.00
#> GSM1658365     1  0.0000      0.959 1.00 0.00 0.00 0.00
#> GSM1658366     1  0.2921      0.898 0.86 0.14 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-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

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

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.

Signature heatmaps where rows are scaled:

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

Signature heatmaps where rows are not scaled:

get_signatures(res, k = 2, scale_rows = FALSE)

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

get_signatures(res, k = 3, scale_rows = FALSE)

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

get_signatures(res, k = 4, scale_rows = FALSE)

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

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

Following heatmap shows how subgroups are split when increasing k:

collect_classes(res)

plot of chunk node-01-collect-classes

Test correlation between subgroups and known annotations. If the known annotation is numeric, one-way ANOVA test is applied, and if the known annotation is discrete, chi-squared contingency table test is applied.

test_to_known_factors(res)
#>             n_sample age(p-value) cell.type(p-value) k
#> ATC:skmeans      238     5.16e-44           8.65e-44 2
#> ATC:skmeans      237     1.48e-47           2.49e-64 3
#> ATC:skmeans      235     1.04e-47           7.54e-86 4

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.


Node011

Parent node: Node01. Child nodes: Node0111-leaf , Node0112 , Node0121-leaf , Node0122-leaf , Node0123-leaf , Node0124-leaf , Node0131-leaf , Node0132-leaf , Node0133-leaf , Node0211-leaf , Node0212-leaf .

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

res = res_rh["011"]

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

res
#> A 'ConsensusPartition' object with k = 2, 3, 4.
#>   On a matrix with 10941 rows and 110 columns.
#>   Top rows (974) are extracted by 'ATC' method.
#>   Subgroups are detected by 'skmeans' method.
#>   Performed in total 150 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-011-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-011-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.991          0.505 0.495   0.495
#> 3 3 0.984           0.949       0.981          0.241 0.808   0.637
#> 4 4 0.905           0.903       0.945          0.152 0.883   0.696

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 3

There is also optional best \(k\) = 2 3 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
#> GSM1658003     2   0.000      0.992 0.00 1.00
#> GSM1658203     2   0.000      0.992 0.00 1.00
#> GSM1658204     2   0.000      0.992 0.00 1.00
#> GSM1658206     2   0.000      0.992 0.00 1.00
#> GSM1658207     2   0.000      0.992 0.00 1.00
#> GSM1658209     2   0.000      0.992 0.00 1.00
#> GSM1658211     2   0.000      0.992 0.00 1.00
#> GSM1658212     2   0.000      0.992 0.00 1.00
#> GSM1658214     2   0.000      0.992 0.00 1.00
#> GSM1658216     2   0.000      0.992 0.00 1.00
#> GSM1658218     2   0.000      0.992 0.00 1.00
#> GSM1658219     2   0.000      0.992 0.00 1.00
#> GSM1658220     2   0.000      0.992 0.00 1.00
#> GSM1658221     2   0.000      0.992 0.00 1.00
#> GSM1658222     2   0.000      0.992 0.00 1.00
#> GSM1658224     2   0.000      0.992 0.00 1.00
#> GSM1658226     2   0.000      0.992 0.00 1.00
#> GSM1658227     2   0.000      0.992 0.00 1.00
#> GSM1658228     2   0.000      0.992 0.00 1.00
#> GSM1658229     1   0.000      0.990 1.00 0.00
#> GSM1658230     2   0.000      0.992 0.00 1.00
#> GSM1658231     1   0.000      0.990 1.00 0.00
#> GSM1658232     2   0.000      0.992 0.00 1.00
#> GSM1658233     1   0.000      0.990 1.00 0.00
#> GSM1658234     2   0.000      0.992 0.00 1.00
#> GSM1658235     1   0.000      0.990 1.00 0.00
#> GSM1658236     2   0.000      0.992 0.00 1.00
#> GSM1658237     1   0.000      0.990 1.00 0.00
#> GSM1658238     1   0.000      0.990 1.00 0.00
#> GSM1658239     1   0.000      0.990 1.00 0.00
#> GSM1658240     1   0.000      0.990 1.00 0.00
#> GSM1658241     1   0.000      0.990 1.00 0.00
#> GSM1658242     2   0.000      0.992 0.00 1.00
#> GSM1658243     1   0.000      0.990 1.00 0.00
#> GSM1658244     1   0.000      0.990 1.00 0.00
#> GSM1658246     1   0.000      0.990 1.00 0.00
#> GSM1658247     1   0.000      0.990 1.00 0.00
#> GSM1658249     1   0.000      0.990 1.00 0.00
#> GSM1658251     1   0.000      0.990 1.00 0.00
#> GSM1658253     1   0.000      0.990 1.00 0.00
#> GSM1658262     1   0.000      0.990 1.00 0.00
#> GSM1658264     2   0.000      0.992 0.00 1.00
#> GSM1658266     1   0.000      0.990 1.00 0.00
#> GSM1658270     1   0.000      0.990 1.00 0.00
#> GSM1658272     1   0.000      0.990 1.00 0.00
#> GSM1658275     2   0.000      0.992 0.00 1.00
#> GSM1658279     1   0.000      0.990 1.00 0.00
#> GSM1658284     1   0.000      0.990 1.00 0.00
#> GSM1658286     1   0.000      0.990 1.00 0.00
#> GSM1658288     2   0.000      0.992 0.00 1.00
#> GSM1658290     1   0.000      0.990 1.00 0.00
#> GSM1658292     1   0.000      0.990 1.00 0.00
#> GSM1658297     2   0.000      0.992 0.00 1.00
#> GSM1658301     1   0.000      0.990 1.00 0.00
#> GSM1658305     1   0.402      0.906 0.92 0.08
#> GSM1658306     2   0.000      0.992 0.00 1.00
#> GSM1658307     1   0.000      0.990 1.00 0.00
#> GSM1658308     2   0.000      0.992 0.00 1.00
#> GSM1658309     2   0.000      0.992 0.00 1.00
#> GSM1658310     1   0.000      0.990 1.00 0.00
#> GSM1658311     2   0.000      0.992 0.00 1.00
#> GSM1658312     1   0.000      0.990 1.00 0.00
#> GSM1658314     1   0.000      0.990 1.00 0.00
#> GSM1658315     2   0.000      0.992 0.00 1.00
#> GSM1658316     2   0.000      0.992 0.00 1.00
#> GSM1658317     1   0.000      0.990 1.00 0.00
#> GSM1658318     1   0.000      0.990 1.00 0.00
#> GSM1658319     2   0.000      0.992 0.00 1.00
#> GSM1658320     2   0.000      0.992 0.00 1.00
#> GSM1658321     1   0.000      0.990 1.00 0.00
#> GSM1658322     1   0.000      0.990 1.00 0.00
#> GSM1658324     2   0.000      0.992 0.00 1.00
#> GSM1658325     2   0.981      0.263 0.42 0.58
#> GSM1658326     2   0.000      0.992 0.00 1.00
#> GSM1658327     1   0.000      0.990 1.00 0.00
#> GSM1658328     1   0.000      0.990 1.00 0.00
#> GSM1658329     2   0.000      0.992 0.00 1.00
#> GSM1658330     1   0.000      0.990 1.00 0.00
#> GSM1658332     2   0.000      0.992 0.00 1.00
#> GSM1658333     2   0.000      0.992 0.00 1.00
#> GSM1658334     2   0.000      0.992 0.00 1.00
#> GSM1658335     1   0.000      0.990 1.00 0.00
#> GSM1658336     1   0.000      0.990 1.00 0.00
#> GSM1658337     2   0.000      0.992 0.00 1.00
#> GSM1658338     1   0.000      0.990 1.00 0.00
#> GSM1658340     1   0.000      0.990 1.00 0.00
#> GSM1658341     2   0.000      0.992 0.00 1.00
#> GSM1658342     1   0.000      0.990 1.00 0.00
#> GSM1658343     1   0.000      0.990 1.00 0.00
#> GSM1658344     1   0.000      0.990 1.00 0.00
#> GSM1658345     2   0.000      0.992 0.00 1.00
#> GSM1658346     1   0.000      0.990 1.00 0.00
#> GSM1658347     2   0.000      0.992 0.00 1.00
#> GSM1658349     1   0.000      0.990 1.00 0.00
#> GSM1658350     1   0.995      0.139 0.54 0.46
#> GSM1658351     1   0.000      0.990 1.00 0.00
#> GSM1658353     2   0.000      0.992 0.00 1.00
#> GSM1658354     1   0.000      0.990 1.00 0.00
#> GSM1658355     2   0.000      0.992 0.00 1.00
#> GSM1658356     1   0.000      0.990 1.00 0.00
#> GSM1658357     2   0.000      0.992 0.00 1.00
#> GSM1658358     1   0.000      0.990 1.00 0.00
#> GSM1658359     2   0.000      0.992 0.00 1.00
#> GSM1658360     2   0.000      0.992 0.00 1.00
#> GSM1658361     2   0.000      0.992 0.00 1.00
#> GSM1658362     1   0.000      0.990 1.00 0.00
#> GSM1658363     1   0.000      0.990 1.00 0.00
#> GSM1658364     2   0.000      0.992 0.00 1.00
#> GSM1658365     1   0.000      0.990 1.00 0.00
#> GSM1658366     2   0.000      0.992 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
#> GSM1658003     2  0.0000     0.9799 0.00 1.00 0.00
#> GSM1658203     3  0.0000     0.9786 0.00 0.00 1.00
#> GSM1658204     3  0.0000     0.9786 0.00 0.00 1.00
#> GSM1658206     3  0.0000     0.9786 0.00 0.00 1.00
#> GSM1658207     3  0.0000     0.9786 0.00 0.00 1.00
#> GSM1658209     3  0.0000     0.9786 0.00 0.00 1.00
#> GSM1658211     3  0.0000     0.9786 0.00 0.00 1.00
#> GSM1658212     2  0.0892     0.9602 0.00 0.98 0.02
#> GSM1658214     3  0.0000     0.9786 0.00 0.00 1.00
#> GSM1658216     3  0.0000     0.9786 0.00 0.00 1.00
#> GSM1658218     3  0.0000     0.9786 0.00 0.00 1.00
#> GSM1658219     3  0.0000     0.9786 0.00 0.00 1.00
#> GSM1658220     3  0.0000     0.9786 0.00 0.00 1.00
#> GSM1658221     2  0.0000     0.9799 0.00 1.00 0.00
#> GSM1658222     3  0.0000     0.9786 0.00 0.00 1.00
#> GSM1658224     3  0.0000     0.9786 0.00 0.00 1.00
#> GSM1658226     2  0.0000     0.9799 0.00 1.00 0.00
#> GSM1658227     2  0.0000     0.9799 0.00 1.00 0.00
#> GSM1658228     3  0.5948     0.4358 0.00 0.36 0.64
#> GSM1658229     1  0.0000     0.9756 1.00 0.00 0.00
#> GSM1658230     2  0.0000     0.9799 0.00 1.00 0.00
#> GSM1658231     1  0.0000     0.9756 1.00 0.00 0.00
#> GSM1658232     2  0.0000     0.9799 0.00 1.00 0.00
#> GSM1658233     1  0.0000     0.9756 1.00 0.00 0.00
#> GSM1658234     2  0.0000     0.9799 0.00 1.00 0.00
#> GSM1658235     1  0.0000     0.9756 1.00 0.00 0.00
#> GSM1658236     2  0.0000     0.9799 0.00 1.00 0.00
#> GSM1658237     1  0.0000     0.9756 1.00 0.00 0.00
#> GSM1658238     1  0.0000     0.9756 1.00 0.00 0.00
#> GSM1658239     1  0.0000     0.9756 1.00 0.00 0.00
#> GSM1658240     1  0.0000     0.9756 1.00 0.00 0.00
#> GSM1658241     1  0.0000     0.9756 1.00 0.00 0.00
#> GSM1658242     3  0.0000     0.9786 0.00 0.00 1.00
#> GSM1658243     1  0.0000     0.9756 1.00 0.00 0.00
#> GSM1658244     1  0.0000     0.9756 1.00 0.00 0.00
#> GSM1658246     1  0.0000     0.9756 1.00 0.00 0.00
#> GSM1658247     1  0.0000     0.9756 1.00 0.00 0.00
#> GSM1658249     1  0.0000     0.9756 1.00 0.00 0.00
#> GSM1658251     1  0.0000     0.9756 1.00 0.00 0.00
#> GSM1658253     1  0.0000     0.9756 1.00 0.00 0.00
#> GSM1658262     1  0.0000     0.9756 1.00 0.00 0.00
#> GSM1658264     2  0.0000     0.9799 0.00 1.00 0.00
#> GSM1658266     1  0.0000     0.9756 1.00 0.00 0.00
#> GSM1658270     1  0.0000     0.9756 1.00 0.00 0.00
#> GSM1658272     1  0.0000     0.9756 1.00 0.00 0.00
#> GSM1658275     2  0.0000     0.9799 0.00 1.00 0.00
#> GSM1658279     1  0.0000     0.9756 1.00 0.00 0.00
#> GSM1658284     1  0.0000     0.9756 1.00 0.00 0.00
#> GSM1658286     1  0.0000     0.9756 1.00 0.00 0.00
#> GSM1658288     2  0.0000     0.9799 0.00 1.00 0.00
#> GSM1658290     1  0.0000     0.9756 1.00 0.00 0.00
#> GSM1658292     1  0.0000     0.9756 1.00 0.00 0.00
#> GSM1658297     2  0.0000     0.9799 0.00 1.00 0.00
#> GSM1658301     1  0.0000     0.9756 1.00 0.00 0.00
#> GSM1658305     2  0.0000     0.9799 0.00 1.00 0.00
#> GSM1658306     2  0.0000     0.9799 0.00 1.00 0.00
#> GSM1658307     1  0.0000     0.9756 1.00 0.00 0.00
#> GSM1658308     2  0.0000     0.9799 0.00 1.00 0.00
#> GSM1658309     2  0.0000     0.9799 0.00 1.00 0.00
#> GSM1658310     1  0.0000     0.9756 1.00 0.00 0.00
#> GSM1658311     2  0.0000     0.9799 0.00 1.00 0.00
#> GSM1658312     1  0.0000     0.9756 1.00 0.00 0.00
#> GSM1658314     1  0.0000     0.9756 1.00 0.00 0.00
#> GSM1658315     2  0.0000     0.9799 0.00 1.00 0.00
#> GSM1658316     2  0.0000     0.9799 0.00 1.00 0.00
#> GSM1658317     1  0.0000     0.9756 1.00 0.00 0.00
#> GSM1658318     1  0.0000     0.9756 1.00 0.00 0.00
#> GSM1658319     2  0.0000     0.9799 0.00 1.00 0.00
#> GSM1658320     2  0.0000     0.9799 0.00 1.00 0.00
#> GSM1658321     1  0.5560     0.5710 0.70 0.30 0.00
#> GSM1658322     1  0.3340     0.8409 0.88 0.12 0.00
#> GSM1658324     2  0.0000     0.9799 0.00 1.00 0.00
#> GSM1658325     2  0.0000     0.9799 0.00 1.00 0.00
#> GSM1658326     2  0.0000     0.9799 0.00 1.00 0.00
#> GSM1658327     1  0.0000     0.9756 1.00 0.00 0.00
#> GSM1658328     1  0.0000     0.9756 1.00 0.00 0.00
#> GSM1658329     2  0.0000     0.9799 0.00 1.00 0.00
#> GSM1658330     1  0.2959     0.8669 0.90 0.10 0.00
#> GSM1658332     2  0.0000     0.9799 0.00 1.00 0.00
#> GSM1658333     2  0.0000     0.9799 0.00 1.00 0.00
#> GSM1658334     2  0.0000     0.9799 0.00 1.00 0.00
#> GSM1658335     1  0.0000     0.9756 1.00 0.00 0.00
#> GSM1658336     1  0.0000     0.9756 1.00 0.00 0.00
#> GSM1658337     2  0.0000     0.9799 0.00 1.00 0.00
#> GSM1658338     1  0.0000     0.9756 1.00 0.00 0.00
#> GSM1658340     1  0.0000     0.9756 1.00 0.00 0.00
#> GSM1658341     2  0.0000     0.9799 0.00 1.00 0.00
#> GSM1658342     2  0.5016     0.6589 0.24 0.76 0.00
#> GSM1658343     1  0.0000     0.9756 1.00 0.00 0.00
#> GSM1658344     1  0.0000     0.9756 1.00 0.00 0.00
#> GSM1658345     2  0.0000     0.9799 0.00 1.00 0.00
#> GSM1658346     3  0.0000     0.9786 0.00 0.00 1.00
#> GSM1658347     3  0.0000     0.9786 0.00 0.00 1.00
#> GSM1658349     1  0.6302     0.0744 0.52 0.48 0.00
#> GSM1658350     2  0.0000     0.9799 0.00 1.00 0.00
#> GSM1658351     2  0.6192     0.2613 0.42 0.58 0.00
#> GSM1658353     2  0.0000     0.9799 0.00 1.00 0.00
#> GSM1658354     1  0.0000     0.9756 1.00 0.00 0.00
#> GSM1658355     3  0.0000     0.9786 0.00 0.00 1.00
#> GSM1658356     1  0.0000     0.9756 1.00 0.00 0.00
#> GSM1658357     2  0.0000     0.9799 0.00 1.00 0.00
#> GSM1658358     1  0.0000     0.9756 1.00 0.00 0.00
#> GSM1658359     2  0.0000     0.9799 0.00 1.00 0.00
#> GSM1658360     2  0.0000     0.9799 0.00 1.00 0.00
#> GSM1658361     2  0.0000     0.9799 0.00 1.00 0.00
#> GSM1658362     1  0.0000     0.9756 1.00 0.00 0.00
#> GSM1658363     2  0.0000     0.9799 0.00 1.00 0.00
#> GSM1658364     2  0.0000     0.9799 0.00 1.00 0.00
#> GSM1658365     1  0.0000     0.9756 1.00 0.00 0.00
#> GSM1658366     2  0.0000     0.9799 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
#> GSM1658003     2  0.0000      0.962 0.00 1.00 0.00 0.00
#> GSM1658203     3  0.0000      0.996 0.00 0.00 1.00 0.00
#> GSM1658204     3  0.0000      0.996 0.00 0.00 1.00 0.00
#> GSM1658206     3  0.0000      0.996 0.00 0.00 1.00 0.00
#> GSM1658207     3  0.0000      0.996 0.00 0.00 1.00 0.00
#> GSM1658209     3  0.0000      0.996 0.00 0.00 1.00 0.00
#> GSM1658211     3  0.0000      0.996 0.00 0.00 1.00 0.00
#> GSM1658212     2  0.0707      0.951 0.00 0.98 0.02 0.00
#> GSM1658214     3  0.0000      0.996 0.00 0.00 1.00 0.00
#> GSM1658216     3  0.0000      0.996 0.00 0.00 1.00 0.00
#> GSM1658218     3  0.0000      0.996 0.00 0.00 1.00 0.00
#> GSM1658219     3  0.0000      0.996 0.00 0.00 1.00 0.00
#> GSM1658220     3  0.0000      0.996 0.00 0.00 1.00 0.00
#> GSM1658221     2  0.0000      0.962 0.00 1.00 0.00 0.00
#> GSM1658222     3  0.0000      0.996 0.00 0.00 1.00 0.00
#> GSM1658224     3  0.0000      0.996 0.00 0.00 1.00 0.00
#> GSM1658226     2  0.0000      0.962 0.00 1.00 0.00 0.00
#> GSM1658227     2  0.0000      0.962 0.00 1.00 0.00 0.00
#> GSM1658228     2  0.4977      0.155 0.00 0.54 0.46 0.00
#> GSM1658229     1  0.0000      0.927 1.00 0.00 0.00 0.00
#> GSM1658230     2  0.0000      0.962 0.00 1.00 0.00 0.00
#> GSM1658231     1  0.0000      0.927 1.00 0.00 0.00 0.00
#> GSM1658232     2  0.0000      0.962 0.00 1.00 0.00 0.00
#> GSM1658233     1  0.0000      0.927 1.00 0.00 0.00 0.00
#> GSM1658234     2  0.0707      0.951 0.00 0.98 0.00 0.02
#> GSM1658235     1  0.0000      0.927 1.00 0.00 0.00 0.00
#> GSM1658236     2  0.0000      0.962 0.00 1.00 0.00 0.00
#> GSM1658237     1  0.0000      0.927 1.00 0.00 0.00 0.00
#> GSM1658238     4  0.2345      0.903 0.10 0.00 0.00 0.90
#> GSM1658239     4  0.2011      0.915 0.08 0.00 0.00 0.92
#> GSM1658240     1  0.0000      0.927 1.00 0.00 0.00 0.00
#> GSM1658241     1  0.0707      0.922 0.98 0.00 0.00 0.02
#> GSM1658242     3  0.0000      0.996 0.00 0.00 1.00 0.00
#> GSM1658243     1  0.0000      0.927 1.00 0.00 0.00 0.00
#> GSM1658244     1  0.0707      0.922 0.98 0.00 0.00 0.02
#> GSM1658246     1  0.1211      0.911 0.96 0.00 0.00 0.04
#> GSM1658247     1  0.0000      0.927 1.00 0.00 0.00 0.00
#> GSM1658249     1  0.3172      0.789 0.84 0.00 0.00 0.16
#> GSM1658251     1  0.1211      0.905 0.96 0.00 0.00 0.04
#> GSM1658253     4  0.1637      0.912 0.06 0.00 0.00 0.94
#> GSM1658262     1  0.0000      0.927 1.00 0.00 0.00 0.00
#> GSM1658264     2  0.0000      0.962 0.00 1.00 0.00 0.00
#> GSM1658266     1  0.1637      0.896 0.94 0.00 0.00 0.06
#> GSM1658270     4  0.2011      0.915 0.08 0.00 0.00 0.92
#> GSM1658272     1  0.0707      0.922 0.98 0.00 0.00 0.02
#> GSM1658275     2  0.0000      0.962 0.00 1.00 0.00 0.00
#> GSM1658279     1  0.0000      0.927 1.00 0.00 0.00 0.00
#> GSM1658284     4  0.2011      0.915 0.08 0.00 0.00 0.92
#> GSM1658286     1  0.0707      0.917 0.98 0.00 0.00 0.02
#> GSM1658288     2  0.0000      0.962 0.00 1.00 0.00 0.00
#> GSM1658290     1  0.0707      0.922 0.98 0.00 0.00 0.02
#> GSM1658292     1  0.0707      0.922 0.98 0.00 0.00 0.02
#> GSM1658297     2  0.0707      0.951 0.00 0.98 0.00 0.02
#> GSM1658301     1  0.0000      0.927 1.00 0.00 0.00 0.00
#> GSM1658305     2  0.5902      0.655 0.16 0.70 0.00 0.14
#> GSM1658306     2  0.0000      0.962 0.00 1.00 0.00 0.00
#> GSM1658307     1  0.2011      0.877 0.92 0.00 0.00 0.08
#> GSM1658308     2  0.1637      0.933 0.00 0.94 0.00 0.06
#> GSM1658309     2  0.0000      0.962 0.00 1.00 0.00 0.00
#> GSM1658310     1  0.0707      0.917 0.98 0.00 0.00 0.02
#> GSM1658311     2  0.0000      0.962 0.00 1.00 0.00 0.00
#> GSM1658312     4  0.4790      0.406 0.38 0.00 0.00 0.62
#> GSM1658314     1  0.4977      0.231 0.54 0.00 0.00 0.46
#> GSM1658315     2  0.1637      0.933 0.00 0.94 0.00 0.06
#> GSM1658316     2  0.0000      0.962 0.00 1.00 0.00 0.00
#> GSM1658317     1  0.0000      0.927 1.00 0.00 0.00 0.00
#> GSM1658318     1  0.2345      0.852 0.90 0.00 0.00 0.10
#> GSM1658319     2  0.2011      0.918 0.00 0.92 0.00 0.08
#> GSM1658320     2  0.0000      0.962 0.00 1.00 0.00 0.00
#> GSM1658321     1  0.4292      0.787 0.82 0.08 0.00 0.10
#> GSM1658322     1  0.2706      0.865 0.90 0.02 0.00 0.08
#> GSM1658324     2  0.0000      0.962 0.00 1.00 0.00 0.00
#> GSM1658325     2  0.1637      0.930 0.00 0.94 0.00 0.06
#> GSM1658326     2  0.1637      0.933 0.00 0.94 0.00 0.06
#> GSM1658327     4  0.1637      0.912 0.06 0.00 0.00 0.94
#> GSM1658328     1  0.1211      0.911 0.96 0.00 0.00 0.04
#> GSM1658329     2  0.0000      0.962 0.00 1.00 0.00 0.00
#> GSM1658330     1  0.3037      0.854 0.88 0.02 0.00 0.10
#> GSM1658332     2  0.0000      0.962 0.00 1.00 0.00 0.00
#> GSM1658333     2  0.0707      0.954 0.00 0.98 0.00 0.02
#> GSM1658334     2  0.0000      0.962 0.00 1.00 0.00 0.00
#> GSM1658335     4  0.1637      0.912 0.06 0.00 0.00 0.94
#> GSM1658336     1  0.0707      0.922 0.98 0.00 0.00 0.02
#> GSM1658337     2  0.1637      0.933 0.00 0.94 0.00 0.06
#> GSM1658338     4  0.1637      0.912 0.06 0.00 0.00 0.94
#> GSM1658340     4  0.3172      0.851 0.16 0.00 0.00 0.84
#> GSM1658341     2  0.0000      0.962 0.00 1.00 0.00 0.00
#> GSM1658342     4  0.3037      0.788 0.02 0.10 0.00 0.88
#> GSM1658343     4  0.2011      0.915 0.08 0.00 0.00 0.92
#> GSM1658344     4  0.2345      0.905 0.10 0.00 0.00 0.90
#> GSM1658345     2  0.0707      0.954 0.00 0.98 0.00 0.02
#> GSM1658346     3  0.1637      0.934 0.00 0.00 0.94 0.06
#> GSM1658347     3  0.0000      0.996 0.00 0.00 1.00 0.00
#> GSM1658349     1  0.6248      0.499 0.64 0.26 0.00 0.10
#> GSM1658350     2  0.2921      0.865 0.00 0.86 0.00 0.14
#> GSM1658351     4  0.7845      0.196 0.32 0.28 0.00 0.40
#> GSM1658353     2  0.1211      0.944 0.00 0.96 0.00 0.04
#> GSM1658354     4  0.2011      0.915 0.08 0.00 0.00 0.92
#> GSM1658355     3  0.0000      0.996 0.00 0.00 1.00 0.00
#> GSM1658356     4  0.1637      0.912 0.06 0.00 0.00 0.94
#> GSM1658357     2  0.0000      0.962 0.00 1.00 0.00 0.00
#> GSM1658358     4  0.1637      0.912 0.06 0.00 0.00 0.94
#> GSM1658359     2  0.0000      0.962 0.00 1.00 0.00 0.00
#> GSM1658360     2  0.0000      0.962 0.00 1.00 0.00 0.00
#> GSM1658361     2  0.0000      0.962 0.00 1.00 0.00 0.00
#> GSM1658362     4  0.2011      0.915 0.08 0.00 0.00 0.92
#> GSM1658363     2  0.4227      0.823 0.06 0.82 0.00 0.12
#> GSM1658364     2  0.0707      0.954 0.00 0.98 0.00 0.02
#> GSM1658365     1  0.3400      0.760 0.82 0.00 0.00 0.18
#> GSM1658366     2  0.0000      0.962 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-011-consensus-heatmap-1

consensus_heatmap(res, k = 3)

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

consensus_heatmap(res, k = 4)

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

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-011-membership-heatmap-1

membership_heatmap(res, k = 3)

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

membership_heatmap(res, k = 4)

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

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.

Signature heatmaps where rows are scaled:

get_signatures(res, k = 2)

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

get_signatures(res, k = 3)

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

get_signatures(res, k = 4)

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

Signature heatmaps where rows are not scaled:

get_signatures(res, k = 2, scale_rows = FALSE)

plot of chunk tab-node-011-get-signatures-no-scale-1

get_signatures(res, k = 3, scale_rows = FALSE)

plot of chunk tab-node-011-get-signatures-no-scale-2

get_signatures(res, k = 4, scale_rows = FALSE)

plot of chunk tab-node-011-get-signatures-no-scale-3

Compare the overlap of signatures from different k:

compare_signatures(res)

plot of chunk node-011-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-011-dimension-reduction-1

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

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

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

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

Following heatmap shows how subgroups are split when increasing k:

collect_classes(res)

plot of chunk node-011-collect-classes

Test correlation between subgroups and known annotations. If the known annotation is numeric, one-way ANOVA test is applied, and if the known annotation is discrete, chi-squared contingency table test is applied.

test_to_known_factors(res)
#>             n_sample age(p-value) cell.type(p-value) k
#> ATC:skmeans      108        1.000           1.14e-05 2
#> ATC:skmeans      107        0.458           7.60e-21 3
#> ATC:skmeans      105        0.665           1.42e-19 4

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.


Node0112

Parent node: Node011. Child nodes: Node01121-leaf , Node01122-leaf .

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

res = res_rh["0112"]

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

res
#> A 'ConsensusPartition' object with k = 2, 3, 4.
#>   On a matrix with 10102 rows and 55 columns.
#>   Top rows (1010) are extracted by 'ATC' method.
#>   Subgroups are detected by 'skmeans' method.
#>   Performed in total 150 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-0112-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-0112-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.986       0.994          0.431 0.565   0.565
#> 3 3 0.756           0.833       0.915          0.227 0.945   0.903
#> 4 4 0.468           0.548       0.776          0.267 0.826   0.665

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
#> GSM1658003     1   0.000      1.000 1.00 0.00
#> GSM1658203     2   0.000      0.980 0.00 1.00
#> GSM1658204     2   0.000      0.980 0.00 1.00
#> GSM1658206     2   0.000      0.980 0.00 1.00
#> GSM1658207     2   0.000      0.980 0.00 1.00
#> GSM1658209     2   0.000      0.980 0.00 1.00
#> GSM1658211     2   0.000      0.980 0.00 1.00
#> GSM1658212     1   0.000      1.000 1.00 0.00
#> GSM1658214     2   0.000      0.980 0.00 1.00
#> GSM1658216     2   0.000      0.980 0.00 1.00
#> GSM1658218     2   0.000      0.980 0.00 1.00
#> GSM1658219     2   0.000      0.980 0.00 1.00
#> GSM1658220     2   0.000      0.980 0.00 1.00
#> GSM1658221     1   0.000      1.000 1.00 0.00
#> GSM1658222     2   0.000      0.980 0.00 1.00
#> GSM1658224     2   0.000      0.980 0.00 1.00
#> GSM1658226     1   0.000      1.000 1.00 0.00
#> GSM1658227     1   0.000      1.000 1.00 0.00
#> GSM1658228     2   0.904      0.529 0.32 0.68
#> GSM1658230     1   0.000      1.000 1.00 0.00
#> GSM1658232     1   0.000      1.000 1.00 0.00
#> GSM1658234     1   0.000      1.000 1.00 0.00
#> GSM1658236     1   0.000      1.000 1.00 0.00
#> GSM1658242     2   0.000      0.980 0.00 1.00
#> GSM1658264     1   0.000      1.000 1.00 0.00
#> GSM1658275     1   0.000      1.000 1.00 0.00
#> GSM1658288     1   0.000      1.000 1.00 0.00
#> GSM1658297     1   0.000      1.000 1.00 0.00
#> GSM1658306     1   0.000      1.000 1.00 0.00
#> GSM1658308     1   0.000      1.000 1.00 0.00
#> GSM1658309     1   0.000      1.000 1.00 0.00
#> GSM1658311     1   0.000      1.000 1.00 0.00
#> GSM1658315     1   0.000      1.000 1.00 0.00
#> GSM1658316     1   0.000      1.000 1.00 0.00
#> GSM1658319     1   0.000      1.000 1.00 0.00
#> GSM1658320     1   0.000      1.000 1.00 0.00
#> GSM1658324     1   0.000      1.000 1.00 0.00
#> GSM1658325     1   0.000      1.000 1.00 0.00
#> GSM1658326     1   0.000      1.000 1.00 0.00
#> GSM1658329     1   0.000      1.000 1.00 0.00
#> GSM1658332     1   0.000      1.000 1.00 0.00
#> GSM1658333     1   0.000      1.000 1.00 0.00
#> GSM1658334     1   0.000      1.000 1.00 0.00
#> GSM1658337     1   0.000      1.000 1.00 0.00
#> GSM1658341     1   0.000      1.000 1.00 0.00
#> GSM1658345     1   0.000      1.000 1.00 0.00
#> GSM1658347     2   0.000      0.980 0.00 1.00
#> GSM1658353     1   0.000      1.000 1.00 0.00
#> GSM1658355     2   0.000      0.980 0.00 1.00
#> GSM1658357     1   0.000      1.000 1.00 0.00
#> GSM1658359     1   0.000      1.000 1.00 0.00
#> GSM1658360     1   0.000      1.000 1.00 0.00
#> GSM1658361     1   0.000      1.000 1.00 0.00
#> GSM1658364     1   0.000      1.000 1.00 0.00
#> GSM1658366     1   0.000      1.000 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
#> GSM1658003     1  0.0892      0.927 0.98 0.00 0.02
#> GSM1658203     2  0.0000      0.894 0.00 1.00 0.00
#> GSM1658204     2  0.0000      0.894 0.00 1.00 0.00
#> GSM1658206     2  0.0000      0.894 0.00 1.00 0.00
#> GSM1658207     3  0.4002      0.578 0.00 0.16 0.84
#> GSM1658209     2  0.6192      0.329 0.00 0.58 0.42
#> GSM1658211     2  0.6192      0.285 0.00 0.58 0.42
#> GSM1658212     3  0.5397      0.384 0.28 0.00 0.72
#> GSM1658214     2  0.2537      0.843 0.00 0.92 0.08
#> GSM1658216     3  0.5560      0.355 0.00 0.30 0.70
#> GSM1658218     2  0.0000      0.894 0.00 1.00 0.00
#> GSM1658219     2  0.0892      0.887 0.00 0.98 0.02
#> GSM1658220     2  0.0892      0.887 0.00 0.98 0.02
#> GSM1658221     1  0.6244      0.341 0.56 0.00 0.44
#> GSM1658222     2  0.4291      0.757 0.00 0.82 0.18
#> GSM1658224     2  0.2066      0.866 0.00 0.94 0.06
#> GSM1658226     1  0.5560      0.656 0.70 0.00 0.30
#> GSM1658227     1  0.3686      0.861 0.86 0.00 0.14
#> GSM1658228     3  0.2414      0.624 0.04 0.02 0.94
#> GSM1658230     1  0.1529      0.924 0.96 0.00 0.04
#> GSM1658232     1  0.1529      0.917 0.96 0.00 0.04
#> GSM1658234     1  0.2537      0.896 0.92 0.00 0.08
#> GSM1658236     1  0.1529      0.923 0.96 0.00 0.04
#> GSM1658242     2  0.0000      0.894 0.00 1.00 0.00
#> GSM1658264     1  0.1529      0.925 0.96 0.00 0.04
#> GSM1658275     1  0.4555      0.810 0.80 0.00 0.20
#> GSM1658288     1  0.0892      0.927 0.98 0.00 0.02
#> GSM1658297     1  0.0892      0.927 0.98 0.00 0.02
#> GSM1658306     1  0.0892      0.927 0.98 0.00 0.02
#> GSM1658308     1  0.4555      0.809 0.80 0.00 0.20
#> GSM1658309     1  0.2066      0.917 0.94 0.00 0.06
#> GSM1658311     1  0.0892      0.927 0.98 0.00 0.02
#> GSM1658315     1  0.4002      0.853 0.84 0.00 0.16
#> GSM1658316     1  0.0892      0.927 0.98 0.00 0.02
#> GSM1658319     1  0.1529      0.924 0.96 0.00 0.04
#> GSM1658320     1  0.0892      0.927 0.98 0.00 0.02
#> GSM1658324     1  0.1529      0.928 0.96 0.00 0.04
#> GSM1658325     1  0.0892      0.927 0.98 0.00 0.02
#> GSM1658326     1  0.2066      0.916 0.94 0.00 0.06
#> GSM1658329     1  0.0000      0.928 1.00 0.00 0.00
#> GSM1658332     1  0.1529      0.923 0.96 0.00 0.04
#> GSM1658333     1  0.0000      0.928 1.00 0.00 0.00
#> GSM1658334     1  0.1529      0.928 0.96 0.00 0.04
#> GSM1658337     1  0.5016      0.742 0.76 0.00 0.24
#> GSM1658341     1  0.0000      0.928 1.00 0.00 0.00
#> GSM1658345     1  0.3340      0.880 0.88 0.00 0.12
#> GSM1658347     2  0.0000      0.894 0.00 1.00 0.00
#> GSM1658353     1  0.2537      0.919 0.92 0.00 0.08
#> GSM1658355     2  0.0000      0.894 0.00 1.00 0.00
#> GSM1658357     1  0.0892      0.927 0.98 0.00 0.02
#> GSM1658359     1  0.0000      0.928 1.00 0.00 0.00
#> GSM1658360     1  0.0000      0.928 1.00 0.00 0.00
#> GSM1658361     1  0.0892      0.927 0.98 0.00 0.02
#> GSM1658364     1  0.0892      0.927 0.98 0.00 0.02
#> GSM1658366     1  0.2066      0.916 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
#> GSM1658003     1  0.2647     0.6857 0.88 0.00 0.00 0.12
#> GSM1658203     2  0.0000     0.8520 0.00 1.00 0.00 0.00
#> GSM1658204     2  0.0707     0.8496 0.00 0.98 0.02 0.00
#> GSM1658206     2  0.0707     0.8496 0.00 0.98 0.02 0.00
#> GSM1658207     3  0.3611     0.7026 0.00 0.06 0.86 0.08
#> GSM1658209     2  0.4977    -0.1001 0.00 0.54 0.46 0.00
#> GSM1658211     3  0.4994     0.0731 0.00 0.48 0.52 0.00
#> GSM1658212     4  0.5860    -0.0802 0.04 0.00 0.38 0.58
#> GSM1658214     2  0.3801     0.5948 0.00 0.78 0.22 0.00
#> GSM1658216     3  0.4284     0.6453 0.00 0.20 0.78 0.02
#> GSM1658218     2  0.0000     0.8520 0.00 1.00 0.00 0.00
#> GSM1658219     2  0.3400     0.7327 0.00 0.82 0.18 0.00
#> GSM1658220     2  0.0707     0.8496 0.00 0.98 0.02 0.00
#> GSM1658221     4  0.6808     0.5087 0.32 0.00 0.12 0.56
#> GSM1658222     2  0.4624     0.4564 0.00 0.66 0.34 0.00
#> GSM1658224     2  0.2921     0.7704 0.00 0.86 0.14 0.00
#> GSM1658226     4  0.6649     0.4971 0.34 0.00 0.10 0.56
#> GSM1658227     4  0.6586     0.3014 0.42 0.00 0.08 0.50
#> GSM1658228     3  0.3400     0.6302 0.00 0.00 0.82 0.18
#> GSM1658230     1  0.4491     0.5951 0.80 0.00 0.06 0.14
#> GSM1658232     1  0.5636     0.3352 0.68 0.00 0.06 0.26
#> GSM1658234     1  0.5512     0.1930 0.66 0.00 0.04 0.30
#> GSM1658236     1  0.5062     0.4671 0.68 0.00 0.02 0.30
#> GSM1658242     2  0.0000     0.8520 0.00 1.00 0.00 0.00
#> GSM1658264     1  0.4642     0.5253 0.74 0.00 0.02 0.24
#> GSM1658275     4  0.6336     0.2927 0.46 0.00 0.06 0.48
#> GSM1658288     1  0.3198     0.6740 0.88 0.00 0.04 0.08
#> GSM1658297     1  0.3611     0.6677 0.86 0.00 0.06 0.08
#> GSM1658306     1  0.1913     0.6810 0.94 0.00 0.02 0.04
#> GSM1658308     4  0.5487     0.4202 0.40 0.00 0.02 0.58
#> GSM1658309     1  0.4406     0.5033 0.70 0.00 0.00 0.30
#> GSM1658311     1  0.1637     0.6900 0.94 0.00 0.00 0.06
#> GSM1658315     4  0.4855     0.4315 0.40 0.00 0.00 0.60
#> GSM1658316     1  0.1637     0.6913 0.94 0.00 0.00 0.06
#> GSM1658319     1  0.3606     0.6203 0.84 0.00 0.02 0.14
#> GSM1658320     1  0.1637     0.6897 0.94 0.00 0.00 0.06
#> GSM1658324     1  0.3610     0.6451 0.80 0.00 0.00 0.20
#> GSM1658325     1  0.3606     0.6614 0.84 0.00 0.02 0.14
#> GSM1658326     1  0.4790     0.4314 0.62 0.00 0.00 0.38
#> GSM1658329     1  0.2921     0.6781 0.86 0.00 0.00 0.14
#> GSM1658332     1  0.4134     0.5446 0.74 0.00 0.00 0.26
#> GSM1658333     1  0.3172     0.6541 0.84 0.00 0.00 0.16
#> GSM1658334     1  0.3400     0.6359 0.82 0.00 0.00 0.18
#> GSM1658337     4  0.4797     0.5401 0.26 0.00 0.02 0.72
#> GSM1658341     1  0.2706     0.6897 0.90 0.00 0.02 0.08
#> GSM1658345     1  0.5535    -0.0795 0.56 0.00 0.02 0.42
#> GSM1658347     2  0.0000     0.8520 0.00 1.00 0.00 0.00
#> GSM1658353     4  0.4994     0.0403 0.48 0.00 0.00 0.52
#> GSM1658355     2  0.0000     0.8520 0.00 1.00 0.00 0.00
#> GSM1658357     1  0.3198     0.6772 0.88 0.00 0.04 0.08
#> GSM1658359     1  0.2335     0.6783 0.92 0.00 0.02 0.06
#> GSM1658360     1  0.4939     0.5395 0.74 0.00 0.04 0.22
#> GSM1658361     1  0.5793     0.2498 0.60 0.00 0.04 0.36
#> GSM1658364     1  0.2921     0.6820 0.86 0.00 0.00 0.14
#> GSM1658366     1  0.4948     0.1664 0.56 0.00 0.00 0.44

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-0112-consensus-heatmap-1

consensus_heatmap(res, k = 3)

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

consensus_heatmap(res, k = 4)

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

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-0112-membership-heatmap-1

membership_heatmap(res, k = 3)

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

membership_heatmap(res, k = 4)

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

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.

Signature heatmaps where rows are scaled:

get_signatures(res, k = 2)

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

get_signatures(res, k = 3)

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

get_signatures(res, k = 4)

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

Signature heatmaps where rows are not scaled:

get_signatures(res, k = 2, scale_rows = FALSE)

plot of chunk tab-node-0112-get-signatures-no-scale-1

get_signatures(res, k = 3, scale_rows = FALSE)

plot of chunk tab-node-0112-get-signatures-no-scale-2

get_signatures(res, k = 4, scale_rows = FALSE)

plot of chunk tab-node-0112-get-signatures-no-scale-3

Compare the overlap of signatures from different k:

compare_signatures(res)

plot of chunk node-0112-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-0112-dimension-reduction-1

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

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

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

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

Following heatmap shows how subgroups are split when increasing k:

collect_classes(res)

plot of chunk node-0112-collect-classes

Test correlation between subgroups and known annotations. If the known annotation is numeric, one-way ANOVA test is applied, and if the known annotation is discrete, chi-squared contingency table test is applied.

test_to_known_factors(res)
#>             n_sample age(p-value) cell.type(p-value) k
#> ATC:skmeans       55        1.000           1.04e-11 2
#> ATC:skmeans       50        0.820           1.39e-11 3
#> ATC:skmeans       38        0.862           2.83e-08 4

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: Node0111-leaf , Node0112 , Node0121-leaf , Node0122-leaf , Node0123-leaf , Node0124-leaf , Node0131-leaf , Node0132-leaf , Node0133-leaf , Node0211-leaf , Node0212-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.
#>   On a matrix with 11155 rows and 81 columns.
#>   Top rows (965) are extracted by 'ATC' method.
#>   Subgroups are detected by 'skmeans' method.
#>   Performed in total 150 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-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           0.987       0.994          0.501 0.500   0.500
#> 3 3 0.738           0.866       0.844          0.257 0.865   0.735
#> 4 4 0.959           0.954       0.969          0.189 0.835   0.585

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
#> GSM1657878     2   0.000      0.991 0.00 1.00
#> GSM1657885     2   0.000      0.991 0.00 1.00
#> GSM1657903     1   0.000      0.998 1.00 0.00
#> GSM1657904     1   0.141      0.979 0.98 0.02
#> GSM1657905     1   0.242      0.958 0.96 0.04
#> GSM1657909     1   0.000      0.998 1.00 0.00
#> GSM1657910     1   0.000      0.998 1.00 0.00
#> GSM1657911     2   0.000      0.991 0.00 1.00
#> GSM1657914     2   0.000      0.991 0.00 1.00
#> GSM1657915     2   0.000      0.991 0.00 1.00
#> GSM1657919     1   0.000      0.998 1.00 0.00
#> GSM1657920     1   0.000      0.998 1.00 0.00
#> GSM1657921     2   0.000      0.991 0.00 1.00
#> GSM1657924     1   0.000      0.998 1.00 0.00
#> GSM1657925     1   0.000      0.998 1.00 0.00
#> GSM1657926     1   0.000      0.998 1.00 0.00
#> GSM1657927     1   0.000      0.998 1.00 0.00
#> GSM1657928     2   0.000      0.991 0.00 1.00
#> GSM1657929     2   0.000      0.991 0.00 1.00
#> GSM1657934     1   0.000      0.998 1.00 0.00
#> GSM1657939     2   0.000      0.991 0.00 1.00
#> GSM1657941     2   0.000      0.991 0.00 1.00
#> GSM1657948     2   0.000      0.991 0.00 1.00
#> GSM1657951     2   0.000      0.991 0.00 1.00
#> GSM1657953     2   0.000      0.991 0.00 1.00
#> GSM1657969     2   0.000      0.991 0.00 1.00
#> GSM1657972     1   0.000      0.998 1.00 0.00
#> GSM1657989     2   0.000      0.991 0.00 1.00
#> GSM1657992     2   0.000      0.991 0.00 1.00
#> GSM1657993     1   0.000      0.998 1.00 0.00
#> GSM1657994     1   0.000      0.998 1.00 0.00
#> GSM1657995     1   0.000      0.998 1.00 0.00
#> GSM1657996     1   0.000      0.998 1.00 0.00
#> GSM1657997     1   0.000      0.998 1.00 0.00
#> GSM1657998     2   0.000      0.991 0.00 1.00
#> GSM1657999     1   0.000      0.998 1.00 0.00
#> GSM1658000     2   0.000      0.991 0.00 1.00
#> GSM1658001     2   0.000      0.991 0.00 1.00
#> GSM1658004     1   0.000      0.998 1.00 0.00
#> GSM1658036     2   0.000      0.991 0.00 1.00
#> GSM1658049     2   0.000      0.991 0.00 1.00
#> GSM1658083     1   0.000      0.998 1.00 0.00
#> GSM1658086     1   0.000      0.998 1.00 0.00
#> GSM1658089     1   0.000      0.998 1.00 0.00
#> GSM1658092     1   0.000      0.998 1.00 0.00
#> GSM1658094     1   0.000      0.998 1.00 0.00
#> GSM1658096     1   0.000      0.998 1.00 0.00
#> GSM1658098     1   0.000      0.998 1.00 0.00
#> GSM1658099     1   0.000      0.998 1.00 0.00
#> GSM1658102     1   0.000      0.998 1.00 0.00
#> GSM1658116     1   0.000      0.998 1.00 0.00
#> GSM1658117     1   0.000      0.998 1.00 0.00
#> GSM1658122     1   0.000      0.998 1.00 0.00
#> GSM1658126     1   0.000      0.998 1.00 0.00
#> GSM1658136     2   0.000      0.991 0.00 1.00
#> GSM1658154     2   0.000      0.991 0.00 1.00
#> GSM1658185     2   0.000      0.991 0.00 1.00
#> GSM1658186     2   0.000      0.991 0.00 1.00
#> GSM1658187     2   0.000      0.991 0.00 1.00
#> GSM1658188     1   0.000      0.998 1.00 0.00
#> GSM1658189     1   0.000      0.998 1.00 0.00
#> GSM1658190     2   0.000      0.991 0.00 1.00
#> GSM1658191     2   0.000      0.991 0.00 1.00
#> GSM1658193     2   0.000      0.991 0.00 1.00
#> GSM1658194     2   0.000      0.991 0.00 1.00
#> GSM1658196     1   0.000      0.998 1.00 0.00
#> GSM1658197     2   0.000      0.991 0.00 1.00
#> GSM1658198     2   0.000      0.991 0.00 1.00
#> GSM1658199     2   0.000      0.991 0.00 1.00
#> GSM1658200     2   0.000      0.991 0.00 1.00
#> GSM1658202     2   0.000      0.991 0.00 1.00
#> GSM1658205     2   0.000      0.991 0.00 1.00
#> GSM1658208     2   0.529      0.863 0.12 0.88
#> GSM1658210     2   0.855      0.618 0.28 0.72
#> GSM1658217     2   0.000      0.991 0.00 1.00
#> GSM1658223     2   0.000      0.991 0.00 1.00
#> GSM1658225     2   0.000      0.991 0.00 1.00
#> GSM1658245     2   0.000      0.991 0.00 1.00
#> GSM1658277     2   0.000      0.991 0.00 1.00
#> GSM1658304     2   0.000      0.991 0.00 1.00
#> GSM1658331     2   0.000      0.991 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
#> GSM1657878     2   0.000      0.822 0.00 1.00 0.00
#> GSM1657885     2   0.571      0.855 0.00 0.68 0.32
#> GSM1657903     1   0.000      0.947 1.00 0.00 0.00
#> GSM1657904     1   0.522      0.600 0.74 0.26 0.00
#> GSM1657905     1   0.571      0.528 0.68 0.32 0.00
#> GSM1657909     1   0.000      0.947 1.00 0.00 0.00
#> GSM1657910     1   0.000      0.947 1.00 0.00 0.00
#> GSM1657911     2   0.455      0.843 0.00 0.80 0.20
#> GSM1657914     2   0.000      0.822 0.00 1.00 0.00
#> GSM1657915     2   0.000      0.822 0.00 1.00 0.00
#> GSM1657919     1   0.000      0.947 1.00 0.00 0.00
#> GSM1657920     1   0.000      0.947 1.00 0.00 0.00
#> GSM1657921     2   0.000      0.822 0.00 1.00 0.00
#> GSM1657924     1   0.000      0.947 1.00 0.00 0.00
#> GSM1657925     1   0.000      0.947 1.00 0.00 0.00
#> GSM1657926     1   0.000      0.947 1.00 0.00 0.00
#> GSM1657927     1   0.000      0.947 1.00 0.00 0.00
#> GSM1657928     2   0.000      0.822 0.00 1.00 0.00
#> GSM1657929     2   0.000      0.822 0.00 1.00 0.00
#> GSM1657934     1   0.000      0.947 1.00 0.00 0.00
#> GSM1657939     2   0.000      0.822 0.00 1.00 0.00
#> GSM1657941     2   0.000      0.822 0.00 1.00 0.00
#> GSM1657948     2   0.000      0.822 0.00 1.00 0.00
#> GSM1657951     2   0.000      0.822 0.00 1.00 0.00
#> GSM1657953     2   0.571      0.855 0.00 0.68 0.32
#> GSM1657969     2   0.571      0.855 0.00 0.68 0.32
#> GSM1657972     3   0.571      0.927 0.32 0.00 0.68
#> GSM1657989     2   0.000      0.822 0.00 1.00 0.00
#> GSM1657992     2   0.571      0.855 0.00 0.68 0.32
#> GSM1657993     3   0.571      0.927 0.32 0.00 0.68
#> GSM1657994     1   0.000      0.947 1.00 0.00 0.00
#> GSM1657995     3   0.571      0.927 0.32 0.00 0.68
#> GSM1657996     1   0.000      0.947 1.00 0.00 0.00
#> GSM1657997     1   0.000      0.947 1.00 0.00 0.00
#> GSM1657998     2   0.571      0.855 0.00 0.68 0.32
#> GSM1657999     1   0.000      0.947 1.00 0.00 0.00
#> GSM1658000     2   0.571      0.855 0.00 0.68 0.32
#> GSM1658001     2   0.000      0.822 0.00 1.00 0.00
#> GSM1658004     3   0.571      0.927 0.32 0.00 0.68
#> GSM1658036     2   0.000      0.822 0.00 1.00 0.00
#> GSM1658049     2   0.571      0.855 0.00 0.68 0.32
#> GSM1658083     3   0.571      0.927 0.32 0.00 0.68
#> GSM1658086     3   0.571      0.927 0.32 0.00 0.68
#> GSM1658089     3   0.571      0.927 0.32 0.00 0.68
#> GSM1658092     3   0.571      0.927 0.32 0.00 0.68
#> GSM1658094     3   0.571      0.927 0.32 0.00 0.68
#> GSM1658096     3   0.571      0.927 0.32 0.00 0.68
#> GSM1658098     3   0.571      0.927 0.32 0.00 0.68
#> GSM1658099     3   0.571      0.927 0.32 0.00 0.68
#> GSM1658102     3   0.571      0.927 0.32 0.00 0.68
#> GSM1658116     1   0.000      0.947 1.00 0.00 0.00
#> GSM1658117     3   0.571      0.927 0.32 0.00 0.68
#> GSM1658122     3   0.571      0.927 0.32 0.00 0.68
#> GSM1658126     3   0.571      0.927 0.32 0.00 0.68
#> GSM1658136     2   0.000      0.822 0.00 1.00 0.00
#> GSM1658154     2   0.000      0.822 0.00 1.00 0.00
#> GSM1658185     2   0.571      0.855 0.00 0.68 0.32
#> GSM1658186     2   0.571      0.855 0.00 0.68 0.32
#> GSM1658187     2   0.571      0.855 0.00 0.68 0.32
#> GSM1658188     1   0.000      0.947 1.00 0.00 0.00
#> GSM1658189     1   0.000      0.947 1.00 0.00 0.00
#> GSM1658190     2   0.571      0.855 0.00 0.68 0.32
#> GSM1658191     2   0.571      0.855 0.00 0.68 0.32
#> GSM1658193     2   0.571      0.855 0.00 0.68 0.32
#> GSM1658194     2   0.000      0.822 0.00 1.00 0.00
#> GSM1658196     1   0.000      0.947 1.00 0.00 0.00
#> GSM1658197     2   0.000      0.822 0.00 1.00 0.00
#> GSM1658198     2   0.000      0.822 0.00 1.00 0.00
#> GSM1658199     2   0.571      0.855 0.00 0.68 0.32
#> GSM1658200     2   0.000      0.822 0.00 1.00 0.00
#> GSM1658202     2   0.571      0.855 0.00 0.68 0.32
#> GSM1658205     2   0.571      0.855 0.00 0.68 0.32
#> GSM1658208     3   0.207      0.469 0.00 0.06 0.94
#> GSM1658210     3   0.000      0.532 0.00 0.00 1.00
#> GSM1658217     2   0.571      0.855 0.00 0.68 0.32
#> GSM1658223     2   0.571      0.855 0.00 0.68 0.32
#> GSM1658225     2   0.571      0.855 0.00 0.68 0.32
#> GSM1658245     2   0.571      0.855 0.00 0.68 0.32
#> GSM1658277     2   0.571      0.855 0.00 0.68 0.32
#> GSM1658304     2   0.571      0.855 0.00 0.68 0.32
#> GSM1658331     2   0.571      0.855 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
#> GSM1657878     4  0.0000      0.948 0.00 0.00 0.00 1.00
#> GSM1657885     2  0.1211      0.969 0.00 0.96 0.00 0.04
#> GSM1657903     1  0.0000      0.999 1.00 0.00 0.00 0.00
#> GSM1657904     1  0.0707      0.974 0.98 0.02 0.00 0.00
#> GSM1657905     4  0.1211      0.908 0.04 0.00 0.00 0.96
#> GSM1657909     1  0.0000      0.999 1.00 0.00 0.00 0.00
#> GSM1657910     1  0.0000      0.999 1.00 0.00 0.00 0.00
#> GSM1657911     2  0.2921      0.859 0.00 0.86 0.00 0.14
#> GSM1657914     4  0.3610      0.790 0.00 0.20 0.00 0.80
#> GSM1657915     4  0.3400      0.815 0.00 0.18 0.00 0.82
#> GSM1657919     1  0.0000      0.999 1.00 0.00 0.00 0.00
#> GSM1657920     1  0.0000      0.999 1.00 0.00 0.00 0.00
#> GSM1657921     4  0.3172      0.836 0.00 0.16 0.00 0.84
#> GSM1657924     1  0.0000      0.999 1.00 0.00 0.00 0.00
#> GSM1657925     1  0.0000      0.999 1.00 0.00 0.00 0.00
#> GSM1657926     1  0.0000      0.999 1.00 0.00 0.00 0.00
#> GSM1657927     1  0.0000      0.999 1.00 0.00 0.00 0.00
#> GSM1657928     4  0.3610      0.790 0.00 0.20 0.00 0.80
#> GSM1657929     4  0.0000      0.948 0.00 0.00 0.00 1.00
#> GSM1657934     1  0.0000      0.999 1.00 0.00 0.00 0.00
#> GSM1657939     4  0.0000      0.948 0.00 0.00 0.00 1.00
#> GSM1657941     4  0.0000      0.948 0.00 0.00 0.00 1.00
#> GSM1657948     4  0.0000      0.948 0.00 0.00 0.00 1.00
#> GSM1657951     4  0.0000      0.948 0.00 0.00 0.00 1.00
#> GSM1657953     2  0.0707      0.957 0.00 0.98 0.02 0.00
#> GSM1657969     2  0.1211      0.969 0.00 0.96 0.00 0.04
#> GSM1657972     3  0.0707      0.976 0.02 0.00 0.98 0.00
#> GSM1657989     4  0.0000      0.948 0.00 0.00 0.00 1.00
#> GSM1657992     2  0.1211      0.969 0.00 0.96 0.00 0.04
#> GSM1657993     3  0.0707      0.976 0.02 0.00 0.98 0.00
#> GSM1657994     1  0.0000      0.999 1.00 0.00 0.00 0.00
#> GSM1657995     3  0.0707      0.976 0.02 0.00 0.98 0.00
#> GSM1657996     1  0.0000      0.999 1.00 0.00 0.00 0.00
#> GSM1657997     1  0.0000      0.999 1.00 0.00 0.00 0.00
#> GSM1657998     2  0.1211      0.969 0.00 0.96 0.00 0.04
#> GSM1657999     1  0.0000      0.999 1.00 0.00 0.00 0.00
#> GSM1658000     2  0.1211      0.969 0.00 0.96 0.00 0.04
#> GSM1658001     4  0.0000      0.948 0.00 0.00 0.00 1.00
#> GSM1658004     3  0.0707      0.976 0.02 0.00 0.98 0.00
#> GSM1658036     4  0.0000      0.948 0.00 0.00 0.00 1.00
#> GSM1658049     2  0.1211      0.969 0.00 0.96 0.00 0.04
#> GSM1658083     3  0.0707      0.976 0.02 0.00 0.98 0.00
#> GSM1658086     3  0.0707      0.976 0.02 0.00 0.98 0.00
#> GSM1658089     3  0.0707      0.976 0.02 0.00 0.98 0.00
#> GSM1658092     3  0.0707      0.976 0.02 0.00 0.98 0.00
#> GSM1658094     3  0.0707      0.976 0.02 0.00 0.98 0.00
#> GSM1658096     3  0.0707      0.976 0.02 0.00 0.98 0.00
#> GSM1658098     3  0.0707      0.976 0.02 0.00 0.98 0.00
#> GSM1658099     3  0.0707      0.976 0.02 0.00 0.98 0.00
#> GSM1658102     3  0.0707      0.976 0.02 0.00 0.98 0.00
#> GSM1658116     1  0.0000      0.999 1.00 0.00 0.00 0.00
#> GSM1658117     3  0.0707      0.976 0.02 0.00 0.98 0.00
#> GSM1658122     3  0.0707      0.976 0.02 0.00 0.98 0.00
#> GSM1658126     3  0.0707      0.976 0.02 0.00 0.98 0.00
#> GSM1658136     4  0.0000      0.948 0.00 0.00 0.00 1.00
#> GSM1658154     4  0.2647      0.872 0.00 0.12 0.00 0.88
#> GSM1658185     2  0.1211      0.969 0.00 0.96 0.00 0.04
#> GSM1658186     2  0.1211      0.969 0.00 0.96 0.00 0.04
#> GSM1658187     2  0.1211      0.969 0.00 0.96 0.00 0.04
#> GSM1658188     1  0.0000      0.999 1.00 0.00 0.00 0.00
#> GSM1658189     1  0.0000      0.999 1.00 0.00 0.00 0.00
#> GSM1658190     2  0.1211      0.969 0.00 0.96 0.00 0.04
#> GSM1658191     2  0.1211      0.969 0.00 0.96 0.00 0.04
#> GSM1658193     2  0.1211      0.969 0.00 0.96 0.00 0.04
#> GSM1658194     4  0.0000      0.948 0.00 0.00 0.00 1.00
#> GSM1658196     1  0.0000      0.999 1.00 0.00 0.00 0.00
#> GSM1658197     4  0.0000      0.948 0.00 0.00 0.00 1.00
#> GSM1658198     4  0.0000      0.948 0.00 0.00 0.00 1.00
#> GSM1658199     2  0.1211      0.969 0.00 0.96 0.00 0.04
#> GSM1658200     4  0.0000      0.948 0.00 0.00 0.00 1.00
#> GSM1658202     2  0.1211      0.969 0.00 0.96 0.00 0.04
#> GSM1658205     2  0.0707      0.957 0.00 0.98 0.02 0.00
#> GSM1658208     2  0.1211      0.946 0.00 0.96 0.04 0.00
#> GSM1658210     3  0.4624      0.474 0.00 0.34 0.66 0.00
#> GSM1658217     2  0.0707      0.957 0.00 0.98 0.02 0.00
#> GSM1658223     2  0.0707      0.957 0.00 0.98 0.02 0.00
#> GSM1658225     2  0.0707      0.957 0.00 0.98 0.02 0.00
#> GSM1658245     2  0.0707      0.957 0.00 0.98 0.02 0.00
#> GSM1658277     2  0.0707      0.957 0.00 0.98 0.02 0.00
#> GSM1658304     2  0.0707      0.957 0.00 0.98 0.02 0.00
#> GSM1658331     2  0.1411      0.950 0.00 0.96 0.02 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-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

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

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.

Signature heatmaps where rows are scaled:

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

Signature heatmaps where rows are not scaled:

get_signatures(res, k = 2, scale_rows = FALSE)

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

get_signatures(res, k = 3, scale_rows = FALSE)

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

get_signatures(res, k = 4, scale_rows = FALSE)

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

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

Following heatmap shows how subgroups are split when increasing k:

collect_classes(res)

plot of chunk node-012-collect-classes

Test correlation between subgroups and known annotations. If the known annotation is numeric, one-way ANOVA test is applied, and if the known annotation is discrete, chi-squared contingency table test is applied.

test_to_known_factors(res)
#>             n_sample age(p-value) cell.type(p-value) k
#> ATC:skmeans       81     1.68e-04           4.43e-12 2
#> ATC:skmeans       80     2.00e-06           4.98e-22 3
#> ATC:skmeans       80     9.54e-09           3.23e-33 4

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: Node0111-leaf , Node0112 , Node0121-leaf , Node0122-leaf , Node0123-leaf , Node0124-leaf , Node0131-leaf , Node0132-leaf , Node0133-leaf , Node0211-leaf , Node0212-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.
#>   On a matrix with 10373 rows and 47 columns.
#>   Top rows (1037) are extracted by 'ATC' method.
#>   Subgroups are detected by 'skmeans' method.
#>   Performed in total 150 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-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           0.987       0.994         0.4050 0.591   0.591
#> 3 3 1.000           0.977       0.991         0.6445 0.684   0.490
#> 4 4 0.836           0.759       0.895         0.0918 0.958   0.875

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
#> GSM1657871     2   0.327      0.929 0.06 0.94
#> GSM1657873     1   0.000      0.999 1.00 0.00
#> GSM1657876     2   0.000      0.978 0.00 1.00
#> GSM1657877     1   0.000      0.999 1.00 0.00
#> GSM1657880     2   0.722      0.760 0.20 0.80
#> GSM1657881     1   0.000      0.999 1.00 0.00
#> GSM1657889     1   0.000      0.999 1.00 0.00
#> GSM1657890     1   0.000      0.999 1.00 0.00
#> GSM1657891     1   0.000      0.999 1.00 0.00
#> GSM1657892     1   0.000      0.999 1.00 0.00
#> GSM1657893     2   0.000      0.978 0.00 1.00
#> GSM1657894     1   0.000      0.999 1.00 0.00
#> GSM1657897     1   0.000      0.999 1.00 0.00
#> GSM1657899     1   0.000      0.999 1.00 0.00
#> GSM1657900     1   0.000      0.999 1.00 0.00
#> GSM1657901     1   0.000      0.999 1.00 0.00
#> GSM1657902     1   0.000      0.999 1.00 0.00
#> GSM1657906     2   0.000      0.978 0.00 1.00
#> GSM1657907     2   0.000      0.978 0.00 1.00
#> GSM1657908     2   0.000      0.978 0.00 1.00
#> GSM1657913     2   0.000      0.978 0.00 1.00
#> GSM1657916     2   0.000      0.978 0.00 1.00
#> GSM1657917     2   0.000      0.978 0.00 1.00
#> GSM1657918     2   0.000      0.978 0.00 1.00
#> GSM1657922     2   0.000      0.978 0.00 1.00
#> GSM1657923     1   0.000      0.999 1.00 0.00
#> GSM1657944     1   0.000      0.999 1.00 0.00
#> GSM1658018     1   0.000      0.999 1.00 0.00
#> GSM1658085     1   0.000      0.999 1.00 0.00
#> GSM1658088     1   0.000      0.999 1.00 0.00
#> GSM1658093     1   0.000      0.999 1.00 0.00
#> GSM1658097     1   0.000      0.999 1.00 0.00
#> GSM1658109     1   0.242      0.957 0.96 0.04
#> GSM1658112     1   0.000      0.999 1.00 0.00
#> GSM1658118     1   0.000      0.999 1.00 0.00
#> GSM1658119     1   0.000      0.999 1.00 0.00
#> GSM1658120     1   0.000      0.999 1.00 0.00
#> GSM1658123     1   0.000      0.999 1.00 0.00
#> GSM1658124     1   0.000      0.999 1.00 0.00
#> GSM1658125     1   0.000      0.999 1.00 0.00
#> GSM1658144     2   0.000      0.978 0.00 1.00
#> GSM1658155     1   0.000      0.999 1.00 0.00
#> GSM1658162     1   0.000      0.999 1.00 0.00
#> GSM1658164     1   0.000      0.999 1.00 0.00
#> GSM1658167     1   0.000      0.999 1.00 0.00
#> GSM1658173     1   0.000      0.999 1.00 0.00
#> GSM1658180     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
#> GSM1657871     3   0.000      0.993 0.00  0 1.00
#> GSM1657873     3   0.000      0.993 0.00  0 1.00
#> GSM1657876     2   0.000      1.000 0.00  1 0.00
#> GSM1657877     3   0.000      0.993 0.00  0 1.00
#> GSM1657880     3   0.000      0.993 0.00  0 1.00
#> GSM1657881     3   0.000      0.993 0.00  0 1.00
#> GSM1657889     3   0.000      0.993 0.00  0 1.00
#> GSM1657890     3   0.000      0.993 0.00  0 1.00
#> GSM1657891     3   0.000      0.993 0.00  0 1.00
#> GSM1657892     3   0.000      0.993 0.00  0 1.00
#> GSM1657893     2   0.000      1.000 0.00  1 0.00
#> GSM1657894     3   0.000      0.993 0.00  0 1.00
#> GSM1657897     3   0.000      0.993 0.00  0 1.00
#> GSM1657899     3   0.000      0.993 0.00  0 1.00
#> GSM1657900     3   0.000      0.993 0.00  0 1.00
#> GSM1657901     3   0.000      0.993 0.00  0 1.00
#> GSM1657902     3   0.000      0.993 0.00  0 1.00
#> GSM1657906     2   0.000      1.000 0.00  1 0.00
#> GSM1657907     2   0.000      1.000 0.00  1 0.00
#> GSM1657908     2   0.000      1.000 0.00  1 0.00
#> GSM1657913     2   0.000      1.000 0.00  1 0.00
#> GSM1657916     2   0.000      1.000 0.00  1 0.00
#> GSM1657917     2   0.000      1.000 0.00  1 0.00
#> GSM1657918     2   0.000      1.000 0.00  1 0.00
#> GSM1657922     2   0.000      1.000 0.00  1 0.00
#> GSM1657923     3   0.000      0.993 0.00  0 1.00
#> GSM1657944     1   0.000      0.979 1.00  0 0.00
#> GSM1658018     1   0.000      0.979 1.00  0 0.00
#> GSM1658085     1   0.000      0.979 1.00  0 0.00
#> GSM1658088     1   0.000      0.979 1.00  0 0.00
#> GSM1658093     3   0.000      0.993 0.00  0 1.00
#> GSM1658097     1   0.000      0.979 1.00  0 0.00
#> GSM1658109     1   0.000      0.979 1.00  0 0.00
#> GSM1658112     1   0.000      0.979 1.00  0 0.00
#> GSM1658118     1   0.571      0.522 0.68  0 0.32
#> GSM1658119     1   0.000      0.979 1.00  0 0.00
#> GSM1658120     1   0.000      0.979 1.00  0 0.00
#> GSM1658123     1   0.000      0.979 1.00  0 0.00
#> GSM1658124     1   0.000      0.979 1.00  0 0.00
#> GSM1658125     3   0.296      0.883 0.10  0 0.90
#> GSM1658144     2   0.000      1.000 0.00  1 0.00
#> GSM1658155     1   0.000      0.979 1.00  0 0.00
#> GSM1658162     1   0.000      0.979 1.00  0 0.00
#> GSM1658164     1   0.000      0.979 1.00  0 0.00
#> GSM1658167     1   0.000      0.979 1.00  0 0.00
#> GSM1658173     1   0.000      0.979 1.00  0 0.00
#> GSM1658180     1   0.000      0.979 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
#> GSM1657871     3  0.3801      0.772 0.00 0.00 0.78 0.22
#> GSM1657873     3  0.0707      0.876 0.00 0.00 0.98 0.02
#> GSM1657876     2  0.0000      0.994 0.00 1.00 0.00 0.00
#> GSM1657877     3  0.0000      0.886 0.00 0.00 1.00 0.00
#> GSM1657880     3  0.4134      0.739 0.00 0.00 0.74 0.26
#> GSM1657881     3  0.0000      0.886 0.00 0.00 1.00 0.00
#> GSM1657889     3  0.0000      0.886 0.00 0.00 1.00 0.00
#> GSM1657890     3  0.0000      0.886 0.00 0.00 1.00 0.00
#> GSM1657891     3  0.3610      0.787 0.00 0.00 0.80 0.20
#> GSM1657892     3  0.0000      0.886 0.00 0.00 1.00 0.00
#> GSM1657893     2  0.0000      0.994 0.00 1.00 0.00 0.00
#> GSM1657894     3  0.0000      0.886 0.00 0.00 1.00 0.00
#> GSM1657897     3  0.0000      0.886 0.00 0.00 1.00 0.00
#> GSM1657899     3  0.2011      0.857 0.00 0.00 0.92 0.08
#> GSM1657900     3  0.0000      0.886 0.00 0.00 1.00 0.00
#> GSM1657901     3  0.0000      0.886 0.00 0.00 1.00 0.00
#> GSM1657902     3  0.3400      0.802 0.00 0.00 0.82 0.18
#> GSM1657906     2  0.0000      0.994 0.00 1.00 0.00 0.00
#> GSM1657907     2  0.0000      0.994 0.00 1.00 0.00 0.00
#> GSM1657908     2  0.0000      0.994 0.00 1.00 0.00 0.00
#> GSM1657913     2  0.0000      0.994 0.00 1.00 0.00 0.00
#> GSM1657916     2  0.0000      0.994 0.00 1.00 0.00 0.00
#> GSM1657917     2  0.0000      0.994 0.00 1.00 0.00 0.00
#> GSM1657918     2  0.1637      0.942 0.00 0.94 0.00 0.06
#> GSM1657922     2  0.0000      0.994 0.00 1.00 0.00 0.00
#> GSM1657923     3  0.2011      0.854 0.00 0.00 0.92 0.08
#> GSM1657944     1  0.4522      0.376 0.68 0.00 0.00 0.32
#> GSM1658018     1  0.4855      0.117 0.60 0.00 0.00 0.40
#> GSM1658085     4  0.4907      0.280 0.42 0.00 0.00 0.58
#> GSM1658088     1  0.0707      0.819 0.98 0.00 0.00 0.02
#> GSM1658093     3  0.5256      0.539 0.04 0.00 0.70 0.26
#> GSM1658097     1  0.0707      0.813 0.98 0.00 0.00 0.02
#> GSM1658109     4  0.4624      0.390 0.34 0.00 0.00 0.66
#> GSM1658112     1  0.4948     -0.111 0.56 0.00 0.00 0.44
#> GSM1658118     4  0.7877      0.192 0.28 0.00 0.36 0.36
#> GSM1658119     1  0.0707      0.813 0.98 0.00 0.00 0.02
#> GSM1658120     1  0.4624      0.253 0.66 0.00 0.00 0.34
#> GSM1658123     1  0.0000      0.821 1.00 0.00 0.00 0.00
#> GSM1658124     1  0.0707      0.819 0.98 0.00 0.00 0.02
#> GSM1658125     3  0.6881      0.110 0.12 0.00 0.54 0.34
#> GSM1658144     2  0.0000      0.994 0.00 1.00 0.00 0.00
#> GSM1658155     1  0.0707      0.819 0.98 0.00 0.00 0.02
#> GSM1658162     1  0.0707      0.819 0.98 0.00 0.00 0.02
#> GSM1658164     1  0.0707      0.813 0.98 0.00 0.00 0.02
#> GSM1658167     1  0.0000      0.821 1.00 0.00 0.00 0.00
#> GSM1658173     1  0.0000      0.821 1.00 0.00 0.00 0.00
#> GSM1658180     1  0.0707      0.813 0.98 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-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

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

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.

Signature heatmaps where rows are scaled:

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

Signature heatmaps where rows are not scaled:

get_signatures(res, k = 2, scale_rows = FALSE)

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

get_signatures(res, k = 3, scale_rows = FALSE)

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

get_signatures(res, k = 4, scale_rows = FALSE)

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

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

Following heatmap shows how subgroups are split when increasing k:

collect_classes(res)

plot of chunk node-013-collect-classes

Test correlation between subgroups and known annotations. If the known annotation is numeric, one-way ANOVA test is applied, and if the known annotation is discrete, chi-squared contingency table test is applied.

test_to_known_factors(res)
#>             n_sample age(p-value) cell.type(p-value) k
#> ATC:skmeans       47     3.39e-02           2.08e-06 2
#> ATC:skmeans       47     1.13e-05           1.75e-06 3
#> ATC:skmeans       39     2.89e-06           3.22e-05 4

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 , Node012 , Node013 , Node021 , Node022-leaf , Node031-leaf , Node032-leaf , Node033-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.
#>   On a matrix with 11426 rows and 176 columns.
#>   Top rows (1143) are extracted by 'ATC' method.
#>   Subgroups are detected by 'skmeans' method.
#>   Performed in total 150 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           0.996       0.998         0.5024 0.498   0.498
#> 3 3 0.942           0.934       0.970         0.2102 0.877   0.758
#> 4 4 0.869           0.825       0.918         0.0791 0.947   0.866

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
#> GSM1657872     2   0.000      0.999 0.00 1.00
#> GSM1657874     2   0.000      0.999 0.00 1.00
#> GSM1657875     2   0.000      0.999 0.00 1.00
#> GSM1657879     2   0.000      0.999 0.00 1.00
#> GSM1657882     2   0.000      0.999 0.00 1.00
#> GSM1657883     1   0.000      0.997 1.00 0.00
#> GSM1657884     2   0.000      0.999 0.00 1.00
#> GSM1657886     2   0.000      0.999 0.00 1.00
#> GSM1657887     2   0.000      0.999 0.00 1.00
#> GSM1657888     2   0.000      0.999 0.00 1.00
#> GSM1657895     1   0.000      0.997 1.00 0.00
#> GSM1657896     2   0.000      0.999 0.00 1.00
#> GSM1657898     2   0.000      0.999 0.00 1.00
#> GSM1657912     1   0.000      0.997 1.00 0.00
#> GSM1657930     1   0.000      0.997 1.00 0.00
#> GSM1657931     2   0.000      0.999 0.00 1.00
#> GSM1657933     2   0.000      0.999 0.00 1.00
#> GSM1657935     2   0.000      0.999 0.00 1.00
#> GSM1657936     2   0.000      0.999 0.00 1.00
#> GSM1657937     2   0.000      0.999 0.00 1.00
#> GSM1657940     2   0.000      0.999 0.00 1.00
#> GSM1657942     2   0.000      0.999 0.00 1.00
#> GSM1657943     2   0.000      0.999 0.00 1.00
#> GSM1657945     2   0.000      0.999 0.00 1.00
#> GSM1657946     1   0.000      0.997 1.00 0.00
#> GSM1657947     2   0.000      0.999 0.00 1.00
#> GSM1657949     2   0.327      0.936 0.06 0.94
#> GSM1657950     2   0.000      0.999 0.00 1.00
#> GSM1657952     1   0.000      0.997 1.00 0.00
#> GSM1657954     2   0.000      0.999 0.00 1.00
#> GSM1657955     2   0.000      0.999 0.00 1.00
#> GSM1657956     1   0.000      0.997 1.00 0.00
#> GSM1657957     1   0.000      0.997 1.00 0.00
#> GSM1657958     1   0.000      0.997 1.00 0.00
#> GSM1657959     2   0.000      0.999 0.00 1.00
#> GSM1657960     1   0.000      0.997 1.00 0.00
#> GSM1657961     2   0.000      0.999 0.00 1.00
#> GSM1657962     1   0.000      0.997 1.00 0.00
#> GSM1657963     1   0.000      0.997 1.00 0.00
#> GSM1657964     2   0.000      0.999 0.00 1.00
#> GSM1657966     1   0.000      0.997 1.00 0.00
#> GSM1657967     1   0.000      0.997 1.00 0.00
#> GSM1657968     2   0.000      0.999 0.00 1.00
#> GSM1657970     2   0.000      0.999 0.00 1.00
#> GSM1657971     1   0.000      0.997 1.00 0.00
#> GSM1657973     1   0.000      0.997 1.00 0.00
#> GSM1657974     2   0.000      0.999 0.00 1.00
#> GSM1657976     2   0.000      0.999 0.00 1.00
#> GSM1657977     1   0.000      0.997 1.00 0.00
#> GSM1657978     2   0.000      0.999 0.00 1.00
#> GSM1657980     2   0.000      0.999 0.00 1.00
#> GSM1657982     1   0.000      0.997 1.00 0.00
#> GSM1657983     2   0.000      0.999 0.00 1.00
#> GSM1657984     2   0.000      0.999 0.00 1.00
#> GSM1657985     2   0.000      0.999 0.00 1.00
#> GSM1657986     1   0.000      0.997 1.00 0.00
#> GSM1657987     1   0.000      0.997 1.00 0.00
#> GSM1657988     2   0.000      0.999 0.00 1.00
#> GSM1657990     1   0.000      0.997 1.00 0.00
#> GSM1657991     2   0.000      0.999 0.00 1.00
#> GSM1658002     1   0.000      0.997 1.00 0.00
#> GSM1658005     2   0.000      0.999 0.00 1.00
#> GSM1658008     1   0.000      0.997 1.00 0.00
#> GSM1658009     1   0.000      0.997 1.00 0.00
#> GSM1658010     1   0.000      0.997 1.00 0.00
#> GSM1658011     1   0.000      0.997 1.00 0.00
#> GSM1658012     1   0.000      0.997 1.00 0.00
#> GSM1658013     1   0.000      0.997 1.00 0.00
#> GSM1658014     1   0.000      0.997 1.00 0.00
#> GSM1658015     1   0.000      0.997 1.00 0.00
#> GSM1658019     1   0.000      0.997 1.00 0.00
#> GSM1658022     1   0.000      0.997 1.00 0.00
#> GSM1658023     2   0.000      0.999 0.00 1.00
#> GSM1658025     2   0.000      0.999 0.00 1.00
#> GSM1658028     1   0.000      0.997 1.00 0.00
#> GSM1658030     2   0.000      0.999 0.00 1.00
#> GSM1658032     1   0.000      0.997 1.00 0.00
#> GSM1658033     1   0.000      0.997 1.00 0.00
#> GSM1658034     1   0.000      0.997 1.00 0.00
#> GSM1658035     2   0.000      0.999 0.00 1.00
#> GSM1658037     1   0.000      0.997 1.00 0.00
#> GSM1658038     2   0.000      0.999 0.00 1.00
#> GSM1658039     2   0.000      0.999 0.00 1.00
#> GSM1658040     1   0.000      0.997 1.00 0.00
#> GSM1658041     1   0.000      0.997 1.00 0.00
#> GSM1658042     2   0.000      0.999 0.00 1.00
#> GSM1658044     2   0.000      0.999 0.00 1.00
#> GSM1658046     2   0.000      0.999 0.00 1.00
#> GSM1658047     1   0.000      0.997 1.00 0.00
#> GSM1658052     1   0.000      0.997 1.00 0.00
#> GSM1658053     2   0.000      0.999 0.00 1.00
#> GSM1658055     2   0.000      0.999 0.00 1.00
#> GSM1658057     1   0.000      0.997 1.00 0.00
#> GSM1658058     1   0.000      0.997 1.00 0.00
#> GSM1658060     1   0.529      0.865 0.88 0.12
#> GSM1658062     2   0.000      0.999 0.00 1.00
#> GSM1658063     1   0.000      0.997 1.00 0.00
#> GSM1658070     1   0.000      0.997 1.00 0.00
#> GSM1658074     1   0.000      0.997 1.00 0.00
#> GSM1658075     1   0.000      0.997 1.00 0.00
#> GSM1658076     1   0.000      0.997 1.00 0.00
#> GSM1658077     2   0.000      0.999 0.00 1.00
#> GSM1658080     1   0.000      0.997 1.00 0.00
#> GSM1658084     1   0.000      0.997 1.00 0.00
#> GSM1658087     1   0.000      0.997 1.00 0.00
#> GSM1658090     1   0.000      0.997 1.00 0.00
#> GSM1658091     1   0.000      0.997 1.00 0.00
#> GSM1658095     2   0.000      0.999 0.00 1.00
#> GSM1658100     1   0.000      0.997 1.00 0.00
#> GSM1658101     1   0.141      0.978 0.98 0.02
#> GSM1658103     1   0.000      0.997 1.00 0.00
#> GSM1658104     2   0.000      0.999 0.00 1.00
#> GSM1658105     1   0.000      0.997 1.00 0.00
#> GSM1658106     2   0.000      0.999 0.00 1.00
#> GSM1658107     1   0.000      0.997 1.00 0.00
#> GSM1658108     2   0.000      0.999 0.00 1.00
#> GSM1658110     1   0.000      0.997 1.00 0.00
#> GSM1658111     1   0.000      0.997 1.00 0.00
#> GSM1658113     2   0.000      0.999 0.00 1.00
#> GSM1658114     2   0.000      0.999 0.00 1.00
#> GSM1658115     2   0.000      0.999 0.00 1.00
#> GSM1658121     1   0.000      0.997 1.00 0.00
#> GSM1658127     1   0.000      0.997 1.00 0.00
#> GSM1658128     2   0.000      0.999 0.00 1.00
#> GSM1658129     1   0.000      0.997 1.00 0.00
#> GSM1658131     2   0.000      0.999 0.00 1.00
#> GSM1658132     1   0.000      0.997 1.00 0.00
#> GSM1658134     1   0.000      0.997 1.00 0.00
#> GSM1658135     2   0.000      0.999 0.00 1.00
#> GSM1658137     1   0.000      0.997 1.00 0.00
#> GSM1658138     2   0.000      0.999 0.00 1.00
#> GSM1658139     2   0.000      0.999 0.00 1.00
#> GSM1658140     1   0.000      0.997 1.00 0.00
#> GSM1658141     1   0.000      0.997 1.00 0.00
#> GSM1658143     2   0.000      0.999 0.00 1.00
#> GSM1658145     1   0.000      0.997 1.00 0.00
#> GSM1658146     2   0.000      0.999 0.00 1.00
#> GSM1658147     1   0.000      0.997 1.00 0.00
#> GSM1658148     1   0.000      0.997 1.00 0.00
#> GSM1658149     2   0.000      0.999 0.00 1.00
#> GSM1658150     2   0.000      0.999 0.00 1.00
#> GSM1658151     2   0.000      0.999 0.00 1.00
#> GSM1658152     2   0.000      0.999 0.00 1.00
#> GSM1658153     2   0.000      0.999 0.00 1.00
#> GSM1658156     1   0.000      0.997 1.00 0.00
#> GSM1658157     1   0.000      0.997 1.00 0.00
#> GSM1658158     1   0.000      0.997 1.00 0.00
#> GSM1658160     1   0.000      0.997 1.00 0.00
#> GSM1658163     1   0.000      0.997 1.00 0.00
#> GSM1658165     1   0.000      0.997 1.00 0.00
#> GSM1658166     1   0.000      0.997 1.00 0.00
#> GSM1658169     1   0.000      0.997 1.00 0.00
#> GSM1658170     1   0.000      0.997 1.00 0.00
#> GSM1658171     2   0.000      0.999 0.00 1.00
#> GSM1658172     1   0.000      0.997 1.00 0.00
#> GSM1658175     2   0.000      0.999 0.00 1.00
#> GSM1658176     1   0.000      0.997 1.00 0.00
#> GSM1658177     1   0.000      0.997 1.00 0.00
#> GSM1658179     1   0.000      0.997 1.00 0.00
#> GSM1658181     2   0.000      0.999 0.00 1.00
#> GSM1658182     1   0.000      0.997 1.00 0.00
#> GSM1658192     2   0.000      0.999 0.00 1.00
#> GSM1658195     2   0.000      0.999 0.00 1.00
#> GSM1658248     2   0.000      0.999 0.00 1.00
#> GSM1658255     2   0.000      0.999 0.00 1.00
#> GSM1658257     1   0.469      0.890 0.90 0.10
#> GSM1658259     1   0.000      0.997 1.00 0.00
#> GSM1658268     2   0.000      0.999 0.00 1.00
#> GSM1658281     2   0.000      0.999 0.00 1.00
#> GSM1658294     2   0.000      0.999 0.00 1.00
#> GSM1658299     1   0.000      0.997 1.00 0.00
#> GSM1658313     2   0.000      0.999 0.00 1.00
#> GSM1658323     1   0.000      0.997 1.00 0.00
#> GSM1658339     1   0.000      0.997 1.00 0.00
#> GSM1658348     2   0.000      0.999 0.00 1.00
#> GSM1658352     1   0.000      0.997 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
#> GSM1657872     3  0.5397      0.636 0.00 0.28 0.72
#> GSM1657874     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1657875     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1657879     3  0.6280      0.233 0.00 0.46 0.54
#> GSM1657882     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1657883     3  0.2537      0.850 0.08 0.00 0.92
#> GSM1657884     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1657886     3  0.5560      0.605 0.00 0.30 0.70
#> GSM1657887     3  0.2537      0.845 0.00 0.08 0.92
#> GSM1657888     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1657895     3  0.2066      0.861 0.06 0.00 0.94
#> GSM1657896     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1657898     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1657912     3  0.2537      0.850 0.08 0.00 0.92
#> GSM1657930     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1657931     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1657933     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1657935     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1657936     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1657937     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1657940     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1657942     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1657943     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1657945     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1657946     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1657947     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1657949     2  0.2066      0.906 0.06 0.94 0.00
#> GSM1657950     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1657952     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1657954     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1657955     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1657956     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1657957     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1657958     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1657959     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1657960     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1657961     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1657962     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1657963     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1657964     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1657966     1  0.1529      0.942 0.96 0.00 0.04
#> GSM1657967     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1657968     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1657970     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1657971     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1657973     1  0.0892      0.959 0.98 0.00 0.02
#> GSM1657974     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1657976     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1657977     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1657978     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1657980     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1657982     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1657983     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1657984     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1657985     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1657986     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1657987     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1657988     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1657990     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1657991     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1658002     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1658005     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1658008     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1658009     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1658010     1  0.6126      0.297 0.60 0.00 0.40
#> GSM1658011     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1658012     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1658013     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1658014     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1658015     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1658019     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1658022     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1658023     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1658025     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1658028     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1658030     3  0.5948      0.461 0.00 0.36 0.64
#> GSM1658032     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1658033     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1658034     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1658035     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1658037     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1658038     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1658039     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1658040     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1658041     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1658042     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1658044     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1658046     2  0.3340      0.854 0.00 0.88 0.12
#> GSM1658047     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1658052     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1658053     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1658055     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1658057     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1658058     1  0.1529      0.943 0.96 0.00 0.04
#> GSM1658060     3  0.6758      0.447 0.36 0.02 0.62
#> GSM1658062     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1658063     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1658070     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1658074     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1658075     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1658076     1  0.1781      0.942 0.96 0.02 0.02
#> GSM1658077     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1658080     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1658084     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1658087     1  0.2066      0.925 0.94 0.00 0.06
#> GSM1658090     1  0.3340      0.864 0.88 0.00 0.12
#> GSM1658091     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1658095     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1658100     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1658101     1  0.4796      0.735 0.78 0.00 0.22
#> GSM1658103     1  0.3340      0.864 0.88 0.00 0.12
#> GSM1658104     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1658105     1  0.2537      0.905 0.92 0.00 0.08
#> GSM1658106     2  0.5216      0.630 0.00 0.74 0.26
#> GSM1658107     3  0.0892      0.876 0.02 0.00 0.98
#> GSM1658108     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1658110     1  0.4555      0.764 0.80 0.00 0.20
#> GSM1658111     1  0.4555      0.766 0.80 0.00 0.20
#> GSM1658113     2  0.0892      0.968 0.00 0.98 0.02
#> GSM1658114     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1658115     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1658121     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1658127     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1658128     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1658129     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1658131     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1658132     3  0.5216      0.643 0.26 0.00 0.74
#> GSM1658134     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1658135     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1658137     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1658138     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1658139     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1658140     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1658141     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1658143     2  0.5397      0.572 0.00 0.72 0.28
#> GSM1658145     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1658146     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1658147     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1658148     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1658149     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1658150     2  0.1529      0.947 0.00 0.96 0.04
#> GSM1658151     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1658152     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1658153     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1658156     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1658157     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1658158     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1658160     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1658163     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1658165     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1658166     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1658169     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1658170     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1658171     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1658172     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1658175     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1658176     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1658177     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1658179     1  0.5948      0.412 0.64 0.00 0.36
#> GSM1658181     2  0.0892      0.968 0.00 0.98 0.02
#> GSM1658182     1  0.0000      0.975 1.00 0.00 0.00
#> GSM1658192     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1658195     2  0.0000      0.987 0.00 1.00 0.00
#> GSM1658248     3  0.0000      0.881 0.00 0.00 1.00
#> GSM1658255     3  0.0000      0.881 0.00 0.00 1.00
#> GSM1658257     3  0.0000      0.881 0.00 0.00 1.00
#> GSM1658259     3  0.2959      0.827 0.10 0.00 0.90
#> GSM1658268     3  0.0000      0.881 0.00 0.00 1.00
#> GSM1658281     3  0.0000      0.881 0.00 0.00 1.00
#> GSM1658294     3  0.2959      0.831 0.00 0.10 0.90
#> GSM1658299     3  0.0000      0.881 0.00 0.00 1.00
#> GSM1658313     3  0.0000      0.881 0.00 0.00 1.00
#> GSM1658323     3  0.0000      0.881 0.00 0.00 1.00
#> GSM1658339     3  0.0000      0.881 0.00 0.00 1.00
#> GSM1658348     3  0.0000      0.881 0.00 0.00 1.00
#> GSM1658352     1  0.0000      0.975 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
#> GSM1657872     4  0.4079     0.6356 0.00 0.18 0.02 0.80
#> GSM1657874     2  0.0000     0.9606 0.00 1.00 0.00 0.00
#> GSM1657875     2  0.0000     0.9606 0.00 1.00 0.00 0.00
#> GSM1657879     4  0.4797     0.5805 0.00 0.26 0.02 0.72
#> GSM1657882     2  0.0707     0.9467 0.00 0.98 0.00 0.02
#> GSM1657883     4  0.1411     0.6084 0.02 0.00 0.02 0.96
#> GSM1657884     2  0.4948     0.0989 0.00 0.56 0.00 0.44
#> GSM1657886     4  0.4284     0.6280 0.00 0.20 0.02 0.78
#> GSM1657887     4  0.1913     0.6133 0.00 0.04 0.02 0.94
#> GSM1657888     2  0.2011     0.8917 0.00 0.92 0.00 0.08
#> GSM1657895     4  0.1411     0.6084 0.02 0.00 0.02 0.96
#> GSM1657896     2  0.0707     0.9467 0.00 0.98 0.00 0.02
#> GSM1657898     2  0.0000     0.9606 0.00 1.00 0.00 0.00
#> GSM1657912     4  0.1411     0.6084 0.02 0.00 0.02 0.96
#> GSM1657930     1  0.0000     0.9447 1.00 0.00 0.00 0.00
#> GSM1657931     2  0.0000     0.9606 0.00 1.00 0.00 0.00
#> GSM1657933     2  0.0000     0.9606 0.00 1.00 0.00 0.00
#> GSM1657935     2  0.1913     0.9162 0.00 0.94 0.02 0.04
#> GSM1657936     2  0.0707     0.9467 0.00 0.98 0.00 0.02
#> GSM1657937     2  0.2011     0.8886 0.00 0.92 0.08 0.00
#> GSM1657940     2  0.0000     0.9606 0.00 1.00 0.00 0.00
#> GSM1657942     2  0.0000     0.9606 0.00 1.00 0.00 0.00
#> GSM1657943     2  0.0000     0.9606 0.00 1.00 0.00 0.00
#> GSM1657945     2  0.0000     0.9606 0.00 1.00 0.00 0.00
#> GSM1657946     1  0.0000     0.9447 1.00 0.00 0.00 0.00
#> GSM1657947     2  0.0000     0.9606 0.00 1.00 0.00 0.00
#> GSM1657949     2  0.5383     0.5932 0.16 0.74 0.10 0.00
#> GSM1657950     2  0.0000     0.9606 0.00 1.00 0.00 0.00
#> GSM1657952     1  0.0000     0.9447 1.00 0.00 0.00 0.00
#> GSM1657954     2  0.0000     0.9606 0.00 1.00 0.00 0.00
#> GSM1657955     2  0.0000     0.9606 0.00 1.00 0.00 0.00
#> GSM1657956     1  0.0000     0.9447 1.00 0.00 0.00 0.00
#> GSM1657957     1  0.0000     0.9447 1.00 0.00 0.00 0.00
#> GSM1657958     1  0.0000     0.9447 1.00 0.00 0.00 0.00
#> GSM1657959     2  0.0000     0.9606 0.00 1.00 0.00 0.00
#> GSM1657960     1  0.0000     0.9447 1.00 0.00 0.00 0.00
#> GSM1657961     2  0.0000     0.9606 0.00 1.00 0.00 0.00
#> GSM1657962     1  0.0000     0.9447 1.00 0.00 0.00 0.00
#> GSM1657963     1  0.0000     0.9447 1.00 0.00 0.00 0.00
#> GSM1657964     2  0.0000     0.9606 0.00 1.00 0.00 0.00
#> GSM1657966     1  0.4406     0.5823 0.70 0.00 0.30 0.00
#> GSM1657967     1  0.0000     0.9447 1.00 0.00 0.00 0.00
#> GSM1657968     2  0.0000     0.9606 0.00 1.00 0.00 0.00
#> GSM1657970     2  0.0000     0.9606 0.00 1.00 0.00 0.00
#> GSM1657971     1  0.0000     0.9447 1.00 0.00 0.00 0.00
#> GSM1657973     1  0.2647     0.8378 0.88 0.00 0.12 0.00
#> GSM1657974     2  0.0000     0.9606 0.00 1.00 0.00 0.00
#> GSM1657976     2  0.0000     0.9606 0.00 1.00 0.00 0.00
#> GSM1657977     1  0.0000     0.9447 1.00 0.00 0.00 0.00
#> GSM1657978     2  0.0000     0.9606 0.00 1.00 0.00 0.00
#> GSM1657980     2  0.0000     0.9606 0.00 1.00 0.00 0.00
#> GSM1657982     1  0.0000     0.9447 1.00 0.00 0.00 0.00
#> GSM1657983     2  0.0000     0.9606 0.00 1.00 0.00 0.00
#> GSM1657984     2  0.0000     0.9606 0.00 1.00 0.00 0.00
#> GSM1657985     2  0.0000     0.9606 0.00 1.00 0.00 0.00
#> GSM1657986     1  0.0000     0.9447 1.00 0.00 0.00 0.00
#> GSM1657987     1  0.0000     0.9447 1.00 0.00 0.00 0.00
#> GSM1657988     2  0.0000     0.9606 0.00 1.00 0.00 0.00
#> GSM1657990     1  0.0000     0.9447 1.00 0.00 0.00 0.00
#> GSM1657991     2  0.0000     0.9606 0.00 1.00 0.00 0.00
#> GSM1658002     1  0.0000     0.9447 1.00 0.00 0.00 0.00
#> GSM1658005     2  0.0000     0.9606 0.00 1.00 0.00 0.00
#> GSM1658008     1  0.1211     0.9274 0.96 0.00 0.00 0.04
#> GSM1658009     1  0.0000     0.9447 1.00 0.00 0.00 0.00
#> GSM1658010     4  0.5820     0.3497 0.24 0.00 0.08 0.68
#> GSM1658011     1  0.1211     0.9274 0.96 0.00 0.00 0.04
#> GSM1658012     1  0.0000     0.9447 1.00 0.00 0.00 0.00
#> GSM1658013     1  0.1211     0.9274 0.96 0.00 0.00 0.04
#> GSM1658014     1  0.0000     0.9447 1.00 0.00 0.00 0.00
#> GSM1658015     1  0.1211     0.9274 0.96 0.00 0.00 0.04
#> GSM1658019     1  0.1211     0.9274 0.96 0.00 0.00 0.04
#> GSM1658022     1  0.1211     0.9274 0.96 0.00 0.00 0.04
#> GSM1658023     2  0.0000     0.9606 0.00 1.00 0.00 0.00
#> GSM1658025     2  0.2011     0.8919 0.00 0.92 0.00 0.08
#> GSM1658028     1  0.1211     0.9274 0.96 0.00 0.00 0.04
#> GSM1658030     3  0.0707     0.5196 0.00 0.02 0.98 0.00
#> GSM1658032     1  0.0000     0.9447 1.00 0.00 0.00 0.00
#> GSM1658033     1  0.1211     0.9274 0.96 0.00 0.00 0.04
#> GSM1658034     1  0.1211     0.9274 0.96 0.00 0.00 0.04
#> GSM1658035     2  0.0000     0.9606 0.00 1.00 0.00 0.00
#> GSM1658037     1  0.0000     0.9447 1.00 0.00 0.00 0.00
#> GSM1658038     2  0.0000     0.9606 0.00 1.00 0.00 0.00
#> GSM1658039     2  0.0000     0.9606 0.00 1.00 0.00 0.00
#> GSM1658040     1  0.0000     0.9447 1.00 0.00 0.00 0.00
#> GSM1658041     1  0.0000     0.9447 1.00 0.00 0.00 0.00
#> GSM1658042     2  0.0000     0.9606 0.00 1.00 0.00 0.00
#> GSM1658044     2  0.0000     0.9606 0.00 1.00 0.00 0.00
#> GSM1658046     2  0.7220    -0.1319 0.00 0.44 0.42 0.14
#> GSM1658047     1  0.1211     0.9274 0.96 0.00 0.00 0.04
#> GSM1658052     1  0.1211     0.9274 0.96 0.00 0.00 0.04
#> GSM1658053     2  0.1913     0.9120 0.00 0.94 0.02 0.04
#> GSM1658055     2  0.0000     0.9606 0.00 1.00 0.00 0.00
#> GSM1658057     1  0.1211     0.9274 0.96 0.00 0.00 0.04
#> GSM1658058     1  0.4134     0.6488 0.74 0.00 0.26 0.00
#> GSM1658060     4  0.3972     0.5449 0.08 0.00 0.08 0.84
#> GSM1658062     2  0.0000     0.9606 0.00 1.00 0.00 0.00
#> GSM1658063     1  0.1211     0.9274 0.96 0.00 0.00 0.04
#> GSM1658070     1  0.1211     0.9274 0.96 0.00 0.00 0.04
#> GSM1658074     1  0.1211     0.9274 0.96 0.00 0.00 0.04
#> GSM1658075     1  0.1211     0.9274 0.96 0.00 0.00 0.04
#> GSM1658076     1  0.7744     0.0577 0.48 0.02 0.36 0.14
#> GSM1658077     2  0.0000     0.9606 0.00 1.00 0.00 0.00
#> GSM1658080     1  0.0000     0.9447 1.00 0.00 0.00 0.00
#> GSM1658084     1  0.0000     0.9447 1.00 0.00 0.00 0.00
#> GSM1658087     1  0.4994     0.1262 0.52 0.00 0.48 0.00
#> GSM1658090     1  0.5000     0.0692 0.50 0.00 0.50 0.00
#> GSM1658091     1  0.0000     0.9447 1.00 0.00 0.00 0.00
#> GSM1658095     2  0.0000     0.9606 0.00 1.00 0.00 0.00
#> GSM1658100     1  0.1211     0.9274 0.96 0.00 0.00 0.04
#> GSM1658101     3  0.3606     0.4303 0.14 0.00 0.84 0.02
#> GSM1658103     3  0.5487     0.2062 0.40 0.00 0.58 0.02
#> GSM1658104     2  0.0000     0.9606 0.00 1.00 0.00 0.00
#> GSM1658105     1  0.4977     0.1927 0.54 0.00 0.46 0.00
#> GSM1658106     3  0.3172     0.3645 0.00 0.16 0.84 0.00
#> GSM1658107     3  0.5487     0.0588 0.02 0.00 0.58 0.40
#> GSM1658108     2  0.0000     0.9606 0.00 1.00 0.00 0.00
#> GSM1658110     3  0.5915     0.1935 0.40 0.00 0.56 0.04
#> GSM1658111     3  0.5986     0.2422 0.32 0.00 0.62 0.06
#> GSM1658113     2  0.2647     0.8452 0.00 0.88 0.12 0.00
#> GSM1658114     2  0.1637     0.9131 0.00 0.94 0.06 0.00
#> GSM1658115     2  0.0000     0.9606 0.00 1.00 0.00 0.00
#> GSM1658121     1  0.0000     0.9447 1.00 0.00 0.00 0.00
#> GSM1658127     1  0.0000     0.9447 1.00 0.00 0.00 0.00
#> GSM1658128     2  0.2011     0.8930 0.00 0.92 0.08 0.00
#> GSM1658129     1  0.0000     0.9447 1.00 0.00 0.00 0.00
#> GSM1658131     2  0.3037     0.8436 0.00 0.88 0.02 0.10
#> GSM1658132     4  0.7274     0.1061 0.22 0.00 0.24 0.54
#> GSM1658134     1  0.0000     0.9447 1.00 0.00 0.00 0.00
#> GSM1658135     2  0.0000     0.9606 0.00 1.00 0.00 0.00
#> GSM1658137     1  0.2345     0.8582 0.90 0.00 0.10 0.00
#> GSM1658138     2  0.0000     0.9606 0.00 1.00 0.00 0.00
#> GSM1658139     2  0.0000     0.9606 0.00 1.00 0.00 0.00
#> GSM1658140     1  0.1211     0.9274 0.96 0.00 0.00 0.04
#> GSM1658141     1  0.0000     0.9447 1.00 0.00 0.00 0.00
#> GSM1658143     4  0.5594     0.5952 0.00 0.18 0.10 0.72
#> GSM1658145     1  0.0000     0.9447 1.00 0.00 0.00 0.00
#> GSM1658146     2  0.2830     0.8755 0.00 0.90 0.06 0.04
#> GSM1658147     1  0.0000     0.9447 1.00 0.00 0.00 0.00
#> GSM1658148     1  0.0000     0.9447 1.00 0.00 0.00 0.00
#> GSM1658149     2  0.0000     0.9606 0.00 1.00 0.00 0.00
#> GSM1658150     4  0.4522     0.5138 0.00 0.32 0.00 0.68
#> GSM1658151     2  0.0000     0.9606 0.00 1.00 0.00 0.00
#> GSM1658152     2  0.0000     0.9606 0.00 1.00 0.00 0.00
#> GSM1658153     2  0.0707     0.9461 0.00 0.98 0.02 0.00
#> GSM1658156     1  0.0000     0.9447 1.00 0.00 0.00 0.00
#> GSM1658157     1  0.0000     0.9447 1.00 0.00 0.00 0.00
#> GSM1658158     1  0.0000     0.9447 1.00 0.00 0.00 0.00
#> GSM1658160     1  0.0000     0.9447 1.00 0.00 0.00 0.00
#> GSM1658163     1  0.0000     0.9447 1.00 0.00 0.00 0.00
#> GSM1658165     1  0.0000     0.9447 1.00 0.00 0.00 0.00
#> GSM1658166     1  0.0000     0.9447 1.00 0.00 0.00 0.00
#> GSM1658169     1  0.0000     0.9447 1.00 0.00 0.00 0.00
#> GSM1658170     1  0.0000     0.9447 1.00 0.00 0.00 0.00
#> GSM1658171     2  0.0000     0.9606 0.00 1.00 0.00 0.00
#> GSM1658172     1  0.0000     0.9447 1.00 0.00 0.00 0.00
#> GSM1658175     2  0.0000     0.9606 0.00 1.00 0.00 0.00
#> GSM1658176     1  0.0000     0.9447 1.00 0.00 0.00 0.00
#> GSM1658177     1  0.0707     0.9320 0.98 0.00 0.02 0.00
#> GSM1658179     1  0.7028     0.2734 0.56 0.00 0.16 0.28
#> GSM1658181     2  0.3821     0.7951 0.00 0.84 0.04 0.12
#> GSM1658182     1  0.0000     0.9447 1.00 0.00 0.00 0.00
#> GSM1658192     2  0.0000     0.9606 0.00 1.00 0.00 0.00
#> GSM1658195     2  0.0707     0.9462 0.00 0.98 0.02 0.00
#> GSM1658248     3  0.4134     0.6554 0.00 0.00 0.74 0.26
#> GSM1658255     3  0.4134     0.6554 0.00 0.00 0.74 0.26
#> GSM1658257     3  0.4134     0.6554 0.00 0.00 0.74 0.26
#> GSM1658259     3  0.4406     0.6208 0.00 0.00 0.70 0.30
#> GSM1658268     3  0.4134     0.6554 0.00 0.00 0.74 0.26
#> GSM1658281     3  0.4134     0.6554 0.00 0.00 0.74 0.26
#> GSM1658294     3  0.7845     0.0489 0.00 0.32 0.40 0.28
#> GSM1658299     3  0.4134     0.6554 0.00 0.00 0.74 0.26
#> GSM1658313     3  0.4134     0.6554 0.00 0.00 0.74 0.26
#> GSM1658323     3  0.4134     0.6554 0.00 0.00 0.74 0.26
#> GSM1658339     3  0.4134     0.6554 0.00 0.00 0.74 0.26
#> GSM1658348     3  0.4134     0.6554 0.00 0.00 0.74 0.26
#> GSM1658352     1  0.0000     0.9447 1.00 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

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

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.

Signature heatmaps where rows are scaled:

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

Signature heatmaps where rows are not scaled:

get_signatures(res, k = 2, scale_rows = FALSE)

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

get_signatures(res, k = 3, scale_rows = FALSE)

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

get_signatures(res, k = 4, scale_rows = FALSE)

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

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

Following heatmap shows how subgroups are split when increasing k:

collect_classes(res)

plot of chunk node-02-collect-classes

Test correlation between subgroups and known annotations. If the known annotation is numeric, one-way ANOVA test is applied, and if the known annotation is discrete, chi-squared contingency table test is applied.

test_to_known_factors(res)
#>             n_sample age(p-value) cell.type(p-value) k
#> ATC:skmeans      176     1.51e-02           8.14e-01 2
#> ATC:skmeans      171     1.09e-20           6.02e-18 3
#> ATC:skmeans      160     3.78e-32           5.66e-26 4

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.


Node021

Parent node: Node02. Child nodes: Node0111-leaf , Node0112 , Node0121-leaf , Node0122-leaf , Node0123-leaf , Node0124-leaf , Node0131-leaf , Node0132-leaf , Node0133-leaf , Node0211-leaf , Node0212-leaf .

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

res = res_rh["021"]

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

res
#> A 'ConsensusPartition' object with k = 2, 3, 4.
#>   On a matrix with 11415 rows and 92 columns.
#>   Top rows (1142) are extracted by 'ATC' method.
#>   Subgroups are detected by 'skmeans' method.
#>   Performed in total 150 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-021-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-021-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.985       0.993          0.489 0.514   0.514
#> 3 3 0.861           0.884       0.953          0.312 0.753   0.560
#> 4 4 0.685           0.751       0.860          0.145 0.812   0.537

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
#> GSM1657883     1   0.000      0.988 1.00 0.00
#> GSM1657895     1   0.000      0.988 1.00 0.00
#> GSM1657912     1   0.000      0.988 1.00 0.00
#> GSM1657930     2   0.000      1.000 0.00 1.00
#> GSM1657946     2   0.000      1.000 0.00 1.00
#> GSM1657952     1   0.000      0.988 1.00 0.00
#> GSM1657956     1   0.000      0.988 1.00 0.00
#> GSM1657957     1   0.000      0.988 1.00 0.00
#> GSM1657958     1   0.000      0.988 1.00 0.00
#> GSM1657960     2   0.000      1.000 0.00 1.00
#> GSM1657962     2   0.000      1.000 0.00 1.00
#> GSM1657963     1   0.000      0.988 1.00 0.00
#> GSM1657966     1   0.000      0.988 1.00 0.00
#> GSM1657967     1   0.000      0.988 1.00 0.00
#> GSM1657971     2   0.000      1.000 0.00 1.00
#> GSM1657973     1   0.000      0.988 1.00 0.00
#> GSM1657977     2   0.000      1.000 0.00 1.00
#> GSM1657982     2   0.000      1.000 0.00 1.00
#> GSM1657986     1   0.000      0.988 1.00 0.00
#> GSM1657987     1   0.680      0.784 0.82 0.18
#> GSM1657990     1   0.000      0.988 1.00 0.00
#> GSM1658002     1   0.000      0.988 1.00 0.00
#> GSM1658008     1   0.760      0.725 0.78 0.22
#> GSM1658009     2   0.000      1.000 0.00 1.00
#> GSM1658010     2   0.000      1.000 0.00 1.00
#> GSM1658011     2   0.000      1.000 0.00 1.00
#> GSM1658012     1   0.000      0.988 1.00 0.00
#> GSM1658013     2   0.000      1.000 0.00 1.00
#> GSM1658014     2   0.000      1.000 0.00 1.00
#> GSM1658015     2   0.000      1.000 0.00 1.00
#> GSM1658019     2   0.000      1.000 0.00 1.00
#> GSM1658022     2   0.000      1.000 0.00 1.00
#> GSM1658028     2   0.000      1.000 0.00 1.00
#> GSM1658032     2   0.000      1.000 0.00 1.00
#> GSM1658033     2   0.000      1.000 0.00 1.00
#> GSM1658034     2   0.000      1.000 0.00 1.00
#> GSM1658037     2   0.000      1.000 0.00 1.00
#> GSM1658040     2   0.000      1.000 0.00 1.00
#> GSM1658041     2   0.000      1.000 0.00 1.00
#> GSM1658047     2   0.000      1.000 0.00 1.00
#> GSM1658052     2   0.000      1.000 0.00 1.00
#> GSM1658057     2   0.000      1.000 0.00 1.00
#> GSM1658058     1   0.000      0.988 1.00 0.00
#> GSM1658060     2   0.000      1.000 0.00 1.00
#> GSM1658063     2   0.000      1.000 0.00 1.00
#> GSM1658070     2   0.000      1.000 0.00 1.00
#> GSM1658074     2   0.000      1.000 0.00 1.00
#> GSM1658075     2   0.000      1.000 0.00 1.00
#> GSM1658076     1   0.000      0.988 1.00 0.00
#> GSM1658080     2   0.000      1.000 0.00 1.00
#> GSM1658084     1   0.000      0.988 1.00 0.00
#> GSM1658087     1   0.000      0.988 1.00 0.00
#> GSM1658090     1   0.000      0.988 1.00 0.00
#> GSM1658091     1   0.000      0.988 1.00 0.00
#> GSM1658100     1   0.000      0.988 1.00 0.00
#> GSM1658101     1   0.000      0.988 1.00 0.00
#> GSM1658103     1   0.000      0.988 1.00 0.00
#> GSM1658105     1   0.000      0.988 1.00 0.00
#> GSM1658107     1   0.000      0.988 1.00 0.00
#> GSM1658110     1   0.000      0.988 1.00 0.00
#> GSM1658111     1   0.000      0.988 1.00 0.00
#> GSM1658121     1   0.000      0.988 1.00 0.00
#> GSM1658127     1   0.000      0.988 1.00 0.00
#> GSM1658129     1   0.000      0.988 1.00 0.00
#> GSM1658132     1   0.000      0.988 1.00 0.00
#> GSM1658134     1   0.000      0.988 1.00 0.00
#> GSM1658137     1   0.000      0.988 1.00 0.00
#> GSM1658140     1   0.000      0.988 1.00 0.00
#> GSM1658141     2   0.000      1.000 0.00 1.00
#> GSM1658145     1   0.000      0.988 1.00 0.00
#> GSM1658147     2   0.000      1.000 0.00 1.00
#> GSM1658148     2   0.000      1.000 0.00 1.00
#> GSM1658156     2   0.000      1.000 0.00 1.00
#> GSM1658157     1   0.795      0.691 0.76 0.24
#> GSM1658158     1   0.000      0.988 1.00 0.00
#> GSM1658160     1   0.000      0.988 1.00 0.00
#> GSM1658163     1   0.000      0.988 1.00 0.00
#> GSM1658165     1   0.000      0.988 1.00 0.00
#> GSM1658166     1   0.000      0.988 1.00 0.00
#> GSM1658169     1   0.000      0.988 1.00 0.00
#> GSM1658170     2   0.000      1.000 0.00 1.00
#> GSM1658172     1   0.000      0.988 1.00 0.00
#> GSM1658176     1   0.000      0.988 1.00 0.00
#> GSM1658177     1   0.000      0.988 1.00 0.00
#> GSM1658179     1   0.000      0.988 1.00 0.00
#> GSM1658182     2   0.000      1.000 0.00 1.00
#> GSM1658257     1   0.000      0.988 1.00 0.00
#> GSM1658259     1   0.000      0.988 1.00 0.00
#> GSM1658299     1   0.000      0.988 1.00 0.00
#> GSM1658323     1   0.000      0.988 1.00 0.00
#> GSM1658339     1   0.000      0.988 1.00 0.00
#> GSM1658352     1   0.000      0.988 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
#> GSM1657883     1  0.0000    0.95073 1.00 0.00 0.00
#> GSM1657895     1  0.0000    0.95073 1.00 0.00 0.00
#> GSM1657912     1  0.0000    0.95073 1.00 0.00 0.00
#> GSM1657930     3  0.0000    0.91272 0.00 0.00 1.00
#> GSM1657946     3  0.0000    0.91272 0.00 0.00 1.00
#> GSM1657952     1  0.0000    0.95073 1.00 0.00 0.00
#> GSM1657956     1  0.0000    0.95073 1.00 0.00 0.00
#> GSM1657957     1  0.0000    0.95073 1.00 0.00 0.00
#> GSM1657958     3  0.0000    0.91272 0.00 0.00 1.00
#> GSM1657960     3  0.0000    0.91272 0.00 0.00 1.00
#> GSM1657962     3  0.0000    0.91272 0.00 0.00 1.00
#> GSM1657963     1  0.0000    0.95073 1.00 0.00 0.00
#> GSM1657966     1  0.0000    0.95073 1.00 0.00 0.00
#> GSM1657967     3  0.2066    0.87056 0.06 0.00 0.94
#> GSM1657971     3  0.0000    0.91272 0.00 0.00 1.00
#> GSM1657973     1  0.0000    0.95073 1.00 0.00 0.00
#> GSM1657977     3  0.0000    0.91272 0.00 0.00 1.00
#> GSM1657982     3  0.0000    0.91272 0.00 0.00 1.00
#> GSM1657986     1  0.0000    0.95073 1.00 0.00 0.00
#> GSM1657987     3  0.0000    0.91272 0.00 0.00 1.00
#> GSM1657990     1  0.5706    0.54211 0.68 0.00 0.32
#> GSM1658002     3  0.0000    0.91272 0.00 0.00 1.00
#> GSM1658008     2  0.0892    0.96223 0.02 0.98 0.00
#> GSM1658009     3  0.6126    0.32069 0.00 0.40 0.60
#> GSM1658010     2  0.0000    0.98334 0.00 1.00 0.00
#> GSM1658011     2  0.0000    0.98334 0.00 1.00 0.00
#> GSM1658012     1  0.0000    0.95073 1.00 0.00 0.00
#> GSM1658013     2  0.0000    0.98334 0.00 1.00 0.00
#> GSM1658014     2  0.2959    0.88609 0.00 0.90 0.10
#> GSM1658015     2  0.0000    0.98334 0.00 1.00 0.00
#> GSM1658019     2  0.0000    0.98334 0.00 1.00 0.00
#> GSM1658022     2  0.0000    0.98334 0.00 1.00 0.00
#> GSM1658028     2  0.0000    0.98334 0.00 1.00 0.00
#> GSM1658032     3  0.5016    0.65573 0.00 0.24 0.76
#> GSM1658033     2  0.0000    0.98334 0.00 1.00 0.00
#> GSM1658034     2  0.0000    0.98334 0.00 1.00 0.00
#> GSM1658037     3  0.4291    0.74262 0.00 0.18 0.82
#> GSM1658040     3  0.0000    0.91272 0.00 0.00 1.00
#> GSM1658041     3  0.0000    0.91272 0.00 0.00 1.00
#> GSM1658047     2  0.0000    0.98334 0.00 1.00 0.00
#> GSM1658052     2  0.0000    0.98334 0.00 1.00 0.00
#> GSM1658057     2  0.0000    0.98334 0.00 1.00 0.00
#> GSM1658058     1  0.0000    0.95073 1.00 0.00 0.00
#> GSM1658060     2  0.0000    0.98334 0.00 1.00 0.00
#> GSM1658063     2  0.0000    0.98334 0.00 1.00 0.00
#> GSM1658070     2  0.0000    0.98334 0.00 1.00 0.00
#> GSM1658074     2  0.0000    0.98334 0.00 1.00 0.00
#> GSM1658075     2  0.0000    0.98334 0.00 1.00 0.00
#> GSM1658076     1  0.1529    0.91561 0.96 0.04 0.00
#> GSM1658080     3  0.3340    0.81380 0.00 0.12 0.88
#> GSM1658084     1  0.0000    0.95073 1.00 0.00 0.00
#> GSM1658087     1  0.0000    0.95073 1.00 0.00 0.00
#> GSM1658090     1  0.0000    0.95073 1.00 0.00 0.00
#> GSM1658091     1  0.5948    0.45635 0.64 0.00 0.36
#> GSM1658100     1  0.0000    0.95073 1.00 0.00 0.00
#> GSM1658101     1  0.0000    0.95073 1.00 0.00 0.00
#> GSM1658103     1  0.0000    0.95073 1.00 0.00 0.00
#> GSM1658105     1  0.0000    0.95073 1.00 0.00 0.00
#> GSM1658107     1  0.0000    0.95073 1.00 0.00 0.00
#> GSM1658110     1  0.0000    0.95073 1.00 0.00 0.00
#> GSM1658111     1  0.0000    0.95073 1.00 0.00 0.00
#> GSM1658121     1  0.0000    0.95073 1.00 0.00 0.00
#> GSM1658127     3  0.0000    0.91272 0.00 0.00 1.00
#> GSM1658129     3  0.0892    0.90081 0.02 0.00 0.98
#> GSM1658132     1  0.0000    0.95073 1.00 0.00 0.00
#> GSM1658134     1  0.4555    0.74118 0.80 0.00 0.20
#> GSM1658137     1  0.0000    0.95073 1.00 0.00 0.00
#> GSM1658140     1  0.0000    0.95073 1.00 0.00 0.00
#> GSM1658141     3  0.0000    0.91272 0.00 0.00 1.00
#> GSM1658145     1  0.0000    0.95073 1.00 0.00 0.00
#> GSM1658147     3  0.0000    0.91272 0.00 0.00 1.00
#> GSM1658148     3  0.0000    0.91272 0.00 0.00 1.00
#> GSM1658156     2  0.4291    0.77926 0.00 0.82 0.18
#> GSM1658157     3  0.1529    0.88736 0.04 0.00 0.96
#> GSM1658158     3  0.4002    0.76801 0.16 0.00 0.84
#> GSM1658160     3  0.5397    0.58403 0.28 0.00 0.72
#> GSM1658163     1  0.0000    0.95073 1.00 0.00 0.00
#> GSM1658165     1  0.5948    0.45196 0.64 0.00 0.36
#> GSM1658166     1  0.6309    0.01960 0.50 0.00 0.50
#> GSM1658169     3  0.6302    0.00329 0.48 0.00 0.52
#> GSM1658170     3  0.0000    0.91272 0.00 0.00 1.00
#> GSM1658172     1  0.0000    0.95073 1.00 0.00 0.00
#> GSM1658176     1  0.4796    0.71359 0.78 0.00 0.22
#> GSM1658177     1  0.0000    0.95073 1.00 0.00 0.00
#> GSM1658179     1  0.0000    0.95073 1.00 0.00 0.00
#> GSM1658182     3  0.0892    0.90149 0.00 0.02 0.98
#> GSM1658257     1  0.0000    0.95073 1.00 0.00 0.00
#> GSM1658259     1  0.0000    0.95073 1.00 0.00 0.00
#> GSM1658299     1  0.0000    0.95073 1.00 0.00 0.00
#> GSM1658323     1  0.0000    0.95073 1.00 0.00 0.00
#> GSM1658339     1  0.0000    0.95073 1.00 0.00 0.00
#> GSM1658352     1  0.0000    0.95073 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
#> GSM1657883     4  0.1637     0.8170 0.06 0.00 0.00 0.94
#> GSM1657895     4  0.2921     0.8177 0.14 0.00 0.00 0.86
#> GSM1657912     4  0.2345     0.8278 0.10 0.00 0.00 0.90
#> GSM1657930     3  0.0707     0.8941 0.02 0.00 0.98 0.00
#> GSM1657946     3  0.0000     0.8930 0.00 0.00 1.00 0.00
#> GSM1657952     1  0.3172     0.7503 0.84 0.00 0.00 0.16
#> GSM1657956     1  0.4277     0.7084 0.72 0.00 0.00 0.28
#> GSM1657957     1  0.3172     0.7115 0.84 0.00 0.00 0.16
#> GSM1657958     3  0.4406     0.7048 0.30 0.00 0.70 0.00
#> GSM1657960     3  0.1637     0.8857 0.06 0.00 0.94 0.00
#> GSM1657962     3  0.2011     0.8772 0.08 0.00 0.92 0.00
#> GSM1657963     1  0.2921     0.7459 0.86 0.00 0.00 0.14
#> GSM1657966     1  0.3975     0.7310 0.76 0.00 0.00 0.24
#> GSM1657967     1  0.5173     0.2650 0.66 0.00 0.32 0.02
#> GSM1657971     3  0.0000     0.8930 0.00 0.00 1.00 0.00
#> GSM1657973     1  0.3400     0.7487 0.82 0.00 0.00 0.18
#> GSM1657977     3  0.0707     0.8941 0.02 0.00 0.98 0.00
#> GSM1657982     3  0.1211     0.8910 0.04 0.00 0.96 0.00
#> GSM1657986     1  0.3172     0.7484 0.84 0.00 0.00 0.16
#> GSM1657987     3  0.3610     0.7831 0.20 0.00 0.80 0.00
#> GSM1657990     1  0.0000     0.6965 1.00 0.00 0.00 0.00
#> GSM1658002     1  0.3610     0.5564 0.80 0.00 0.20 0.00
#> GSM1658008     2  0.4134     0.6655 0.00 0.74 0.00 0.26
#> GSM1658009     3  0.2921     0.7914 0.00 0.14 0.86 0.00
#> GSM1658010     2  0.0707     0.9398 0.00 0.98 0.00 0.02
#> GSM1658011     2  0.0000     0.9465 0.00 1.00 0.00 0.00
#> GSM1658012     1  0.4855     0.5228 0.60 0.00 0.00 0.40
#> GSM1658013     2  0.0000     0.9465 0.00 1.00 0.00 0.00
#> GSM1658014     3  0.4994     0.0493 0.00 0.48 0.52 0.00
#> GSM1658015     2  0.0000     0.9465 0.00 1.00 0.00 0.00
#> GSM1658019     2  0.0707     0.9462 0.00 0.98 0.02 0.00
#> GSM1658022     2  0.0707     0.9398 0.00 0.98 0.00 0.02
#> GSM1658028     2  0.0707     0.9462 0.00 0.98 0.02 0.00
#> GSM1658032     3  0.1211     0.8773 0.00 0.04 0.96 0.00
#> GSM1658033     2  0.0707     0.9462 0.00 0.98 0.02 0.00
#> GSM1658034     2  0.0707     0.9462 0.00 0.98 0.02 0.00
#> GSM1658037     3  0.1637     0.8690 0.00 0.06 0.94 0.00
#> GSM1658040     3  0.0000     0.8930 0.00 0.00 1.00 0.00
#> GSM1658041     3  0.0000     0.8930 0.00 0.00 1.00 0.00
#> GSM1658047     2  0.0707     0.9398 0.00 0.98 0.00 0.02
#> GSM1658052     2  0.0707     0.9462 0.00 0.98 0.02 0.00
#> GSM1658057     2  0.0707     0.9462 0.00 0.98 0.02 0.00
#> GSM1658058     1  0.4977     0.3834 0.54 0.00 0.00 0.46
#> GSM1658060     2  0.0707     0.9398 0.00 0.98 0.00 0.02
#> GSM1658063     2  0.0707     0.9462 0.00 0.98 0.02 0.00
#> GSM1658070     2  0.0000     0.9465 0.00 1.00 0.00 0.00
#> GSM1658074     2  0.0707     0.9462 0.00 0.98 0.02 0.00
#> GSM1658075     2  0.0000     0.9465 0.00 1.00 0.00 0.00
#> GSM1658076     4  0.2921     0.7854 0.14 0.00 0.00 0.86
#> GSM1658080     3  0.1637     0.8653 0.00 0.06 0.94 0.00
#> GSM1658084     1  0.4134     0.7189 0.74 0.00 0.00 0.26
#> GSM1658087     1  0.4277     0.7084 0.72 0.00 0.00 0.28
#> GSM1658090     1  0.4277     0.7084 0.72 0.00 0.00 0.28
#> GSM1658091     1  0.7206    -0.0677 0.46 0.00 0.14 0.40
#> GSM1658100     4  0.1411     0.8101 0.02 0.02 0.00 0.96
#> GSM1658101     1  0.4277     0.7084 0.72 0.00 0.00 0.28
#> GSM1658103     1  0.4277     0.7084 0.72 0.00 0.00 0.28
#> GSM1658105     1  0.4134     0.7219 0.74 0.00 0.00 0.26
#> GSM1658107     1  0.4406     0.6868 0.70 0.00 0.00 0.30
#> GSM1658110     1  0.4713     0.6062 0.64 0.00 0.00 0.36
#> GSM1658111     1  0.4977     0.3678 0.54 0.00 0.00 0.46
#> GSM1658121     4  0.4907     0.0883 0.42 0.00 0.00 0.58
#> GSM1658127     3  0.4277     0.7198 0.28 0.00 0.72 0.00
#> GSM1658129     1  0.3400     0.5629 0.82 0.00 0.18 0.00
#> GSM1658132     4  0.0707     0.7985 0.00 0.02 0.00 0.98
#> GSM1658134     1  0.0707     0.6881 0.98 0.00 0.02 0.00
#> GSM1658137     1  0.3172     0.7498 0.84 0.00 0.00 0.16
#> GSM1658140     4  0.1411     0.7837 0.02 0.02 0.00 0.96
#> GSM1658141     3  0.0707     0.8941 0.02 0.00 0.98 0.00
#> GSM1658145     1  0.4624     0.6409 0.66 0.00 0.00 0.34
#> GSM1658147     3  0.0707     0.8941 0.02 0.00 0.98 0.00
#> GSM1658148     3  0.1211     0.8910 0.04 0.00 0.96 0.00
#> GSM1658156     2  0.6554     0.1855 0.00 0.52 0.40 0.08
#> GSM1658157     3  0.6921     0.5636 0.16 0.00 0.58 0.26
#> GSM1658158     1  0.2647     0.6090 0.88 0.00 0.12 0.00
#> GSM1658160     1  0.0707     0.6886 0.98 0.00 0.02 0.00
#> GSM1658163     1  0.3400     0.7476 0.82 0.00 0.00 0.18
#> GSM1658165     4  0.5006     0.6319 0.16 0.02 0.04 0.78
#> GSM1658166     1  0.1211     0.6752 0.96 0.00 0.04 0.00
#> GSM1658169     1  0.1637     0.6620 0.94 0.00 0.06 0.00
#> GSM1658170     3  0.0000     0.8930 0.00 0.00 1.00 0.00
#> GSM1658172     1  0.2345     0.7354 0.90 0.00 0.00 0.10
#> GSM1658176     1  0.0707     0.6886 0.98 0.00 0.02 0.00
#> GSM1658177     1  0.3801     0.7391 0.78 0.00 0.00 0.22
#> GSM1658179     4  0.0707     0.7985 0.00 0.02 0.00 0.98
#> GSM1658182     3  0.4766     0.8019 0.04 0.02 0.80 0.14
#> GSM1658257     4  0.3172     0.8074 0.16 0.00 0.00 0.84
#> GSM1658259     4  0.1637     0.8274 0.06 0.00 0.00 0.94
#> GSM1658299     4  0.3172     0.8074 0.16 0.00 0.00 0.84
#> GSM1658323     4  0.3172     0.8074 0.16 0.00 0.00 0.84
#> GSM1658339     4  0.3172     0.8074 0.16 0.00 0.00 0.84
#> GSM1658352     4  0.3801     0.7128 0.22 0.00 0.00 0.78

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-021-consensus-heatmap-1

consensus_heatmap(res, k = 3)

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

consensus_heatmap(res, k = 4)

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

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-021-membership-heatmap-1

membership_heatmap(res, k = 3)

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

membership_heatmap(res, k = 4)

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

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.

Signature heatmaps where rows are scaled:

get_signatures(res, k = 2)

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

get_signatures(res, k = 3)

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

get_signatures(res, k = 4)

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

Signature heatmaps where rows are not scaled:

get_signatures(res, k = 2, scale_rows = FALSE)

plot of chunk tab-node-021-get-signatures-no-scale-1

get_signatures(res, k = 3, scale_rows = FALSE)

plot of chunk tab-node-021-get-signatures-no-scale-2

get_signatures(res, k = 4, scale_rows = FALSE)

plot of chunk tab-node-021-get-signatures-no-scale-3

Compare the overlap of signatures from different k:

compare_signatures(res)

plot of chunk node-021-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-021-dimension-reduction-1

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

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

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

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

Following heatmap shows how subgroups are split when increasing k:

collect_classes(res)

plot of chunk node-021-collect-classes

Test correlation between subgroups and known annotations. If the known annotation is numeric, one-way ANOVA test is applied, and if the known annotation is discrete, chi-squared contingency table test is applied.

test_to_known_factors(res)
#>             n_sample age(p-value) cell.type(p-value) k
#> ATC:skmeans       92     2.61e-07           2.31e-02 2
#> ATC:skmeans       87     8.27e-11           1.50e-06 3
#> ATC:skmeans       85     8.23e-16           9.27e-15 4

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 , Node012 , Node013 , Node021 , Node022-leaf , Node031-leaf , Node032-leaf , Node033-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.
#>   On a matrix with 11068 rows and 52 columns.
#>   Top rows (1107) are extracted by 'ATC' method.
#>   Subgroups are detected by 'skmeans' method.
#>   Performed in total 150 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.711           0.957       0.974          0.361 0.660   0.660
#> 3 3 1.000           0.969       0.987          0.798 0.663   0.500
#> 4 4 0.880           0.903       0.953          0.148 0.874   0.658

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
#> GSM1657932     1   0.529      0.894 0.88 0.12
#> GSM1657938     1   0.529      0.894 0.88 0.12
#> GSM1657965     1   0.529      0.894 0.88 0.12
#> GSM1657975     1   0.529      0.894 0.88 0.12
#> GSM1657979     1   0.529      0.894 0.88 0.12
#> GSM1657981     1   0.000      0.966 1.00 0.00
#> GSM1658006     1   0.000      0.966 1.00 0.00
#> GSM1658007     1   0.000      0.966 1.00 0.00
#> GSM1658016     1   0.000      0.966 1.00 0.00
#> GSM1658017     1   0.000      0.966 1.00 0.00
#> GSM1658020     1   0.000      0.966 1.00 0.00
#> GSM1658021     1   0.000      0.966 1.00 0.00
#> GSM1658024     2   0.000      1.000 0.00 1.00
#> GSM1658026     1   0.000      0.966 1.00 0.00
#> GSM1658027     1   0.000      0.966 1.00 0.00
#> GSM1658029     1   0.000      0.966 1.00 0.00
#> GSM1658031     1   0.327      0.933 0.94 0.06
#> GSM1658043     1   0.000      0.966 1.00 0.00
#> GSM1658045     1   0.000      0.966 1.00 0.00
#> GSM1658048     2   0.000      1.000 0.00 1.00
#> GSM1658050     1   0.000      0.966 1.00 0.00
#> GSM1658051     1   0.000      0.966 1.00 0.00
#> GSM1658054     1   0.000      0.966 1.00 0.00
#> GSM1658056     1   0.000      0.966 1.00 0.00
#> GSM1658059     1   0.000      0.966 1.00 0.00
#> GSM1658061     1   0.000      0.966 1.00 0.00
#> GSM1658064     1   0.000      0.966 1.00 0.00
#> GSM1658065     1   0.000      0.966 1.00 0.00
#> GSM1658066     1   0.000      0.966 1.00 0.00
#> GSM1658067     1   0.000      0.966 1.00 0.00
#> GSM1658068     1   0.000      0.966 1.00 0.00
#> GSM1658069     1   0.000      0.966 1.00 0.00
#> GSM1658071     1   0.000      0.966 1.00 0.00
#> GSM1658072     1   0.000      0.966 1.00 0.00
#> GSM1658073     1   0.000      0.966 1.00 0.00
#> GSM1658078     1   0.000      0.966 1.00 0.00
#> GSM1658079     1   0.000      0.966 1.00 0.00
#> GSM1658081     1   0.529      0.894 0.88 0.12
#> GSM1658082     1   0.000      0.966 1.00 0.00
#> GSM1658130     2   0.000      1.000 0.00 1.00
#> GSM1658133     2   0.000      1.000 0.00 1.00
#> GSM1658142     2   0.000      1.000 0.00 1.00
#> GSM1658159     2   0.000      1.000 0.00 1.00
#> GSM1658161     2   0.000      1.000 0.00 1.00
#> GSM1658168     1   0.722      0.804 0.80 0.20
#> GSM1658174     1   0.529      0.894 0.88 0.12
#> GSM1658178     2   0.000      1.000 0.00 1.00
#> GSM1658183     2   0.000      1.000 0.00 1.00
#> GSM1658184     1   0.529      0.894 0.88 0.12
#> GSM1658201     1   0.529      0.894 0.88 0.12
#> GSM1658213     2   0.000      1.000 0.00 1.00
#> GSM1658215     2   0.000      1.000 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
#> GSM1657932     3  0.0000      0.977 0.00 0.00 1.00
#> GSM1657938     3  0.0000      0.977 0.00 0.00 1.00
#> GSM1657965     3  0.0000      0.977 0.00 0.00 1.00
#> GSM1657975     3  0.0000      0.977 0.00 0.00 1.00
#> GSM1657979     3  0.0000      0.977 0.00 0.00 1.00
#> GSM1657981     3  0.0000      0.977 0.00 0.00 1.00
#> GSM1658006     1  0.0000      0.999 1.00 0.00 0.00
#> GSM1658007     1  0.0892      0.976 0.98 0.00 0.02
#> GSM1658016     3  0.0000      0.977 0.00 0.00 1.00
#> GSM1658017     3  0.0000      0.977 0.00 0.00 1.00
#> GSM1658020     3  0.1529      0.935 0.04 0.00 0.96
#> GSM1658021     3  0.0892      0.957 0.02 0.00 0.98
#> GSM1658024     3  0.5948      0.430 0.00 0.36 0.64
#> GSM1658026     3  0.0000      0.977 0.00 0.00 1.00
#> GSM1658027     3  0.0000      0.977 0.00 0.00 1.00
#> GSM1658029     1  0.0000      0.999 1.00 0.00 0.00
#> GSM1658031     3  0.0000      0.977 0.00 0.00 1.00
#> GSM1658043     1  0.0000      0.999 1.00 0.00 0.00
#> GSM1658045     3  0.0000      0.977 0.00 0.00 1.00
#> GSM1658048     2  0.6000      0.727 0.20 0.76 0.04
#> GSM1658050     1  0.0000      0.999 1.00 0.00 0.00
#> GSM1658051     1  0.0000      0.999 1.00 0.00 0.00
#> GSM1658054     1  0.0000      0.999 1.00 0.00 0.00
#> GSM1658056     1  0.0000      0.999 1.00 0.00 0.00
#> GSM1658059     1  0.0000      0.999 1.00 0.00 0.00
#> GSM1658061     1  0.0000      0.999 1.00 0.00 0.00
#> GSM1658064     1  0.0000      0.999 1.00 0.00 0.00
#> GSM1658065     1  0.0000      0.999 1.00 0.00 0.00
#> GSM1658066     1  0.0000      0.999 1.00 0.00 0.00
#> GSM1658067     1  0.0000      0.999 1.00 0.00 0.00
#> GSM1658068     1  0.0000      0.999 1.00 0.00 0.00
#> GSM1658069     1  0.0000      0.999 1.00 0.00 0.00
#> GSM1658071     1  0.0000      0.999 1.00 0.00 0.00
#> GSM1658072     1  0.0000      0.999 1.00 0.00 0.00
#> GSM1658073     1  0.0000      0.999 1.00 0.00 0.00
#> GSM1658078     1  0.0000      0.999 1.00 0.00 0.00
#> GSM1658079     1  0.0000      0.999 1.00 0.00 0.00
#> GSM1658081     3  0.0000      0.977 0.00 0.00 1.00
#> GSM1658082     1  0.0000      0.999 1.00 0.00 0.00
#> GSM1658130     2  0.0000      0.974 0.00 1.00 0.00
#> GSM1658133     2  0.0000      0.974 0.00 1.00 0.00
#> GSM1658142     2  0.0000      0.974 0.00 1.00 0.00
#> GSM1658159     2  0.0000      0.974 0.00 1.00 0.00
#> GSM1658161     2  0.0000      0.974 0.00 1.00 0.00
#> GSM1658168     3  0.0000      0.977 0.00 0.00 1.00
#> GSM1658174     3  0.0000      0.977 0.00 0.00 1.00
#> GSM1658178     2  0.0000      0.974 0.00 1.00 0.00
#> GSM1658183     2  0.0000      0.974 0.00 1.00 0.00
#> GSM1658184     3  0.0000      0.977 0.00 0.00 1.00
#> GSM1658201     3  0.0000      0.977 0.00 0.00 1.00
#> GSM1658213     2  0.0000      0.974 0.00 1.00 0.00
#> GSM1658215     2  0.0000      0.974 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
#> GSM1657932     3  0.0000      0.939 0.00 0.00 1.00 0.00
#> GSM1657938     3  0.0000      0.939 0.00 0.00 1.00 0.00
#> GSM1657965     3  0.0000      0.939 0.00 0.00 1.00 0.00
#> GSM1657975     3  0.0000      0.939 0.00 0.00 1.00 0.00
#> GSM1657979     3  0.0000      0.939 0.00 0.00 1.00 0.00
#> GSM1657981     3  0.2011      0.888 0.00 0.00 0.92 0.08
#> GSM1658006     4  0.0707      0.924 0.02 0.00 0.00 0.98
#> GSM1658007     4  0.0000      0.909 0.00 0.00 0.00 1.00
#> GSM1658016     3  0.0000      0.939 0.00 0.00 1.00 0.00
#> GSM1658017     3  0.0707      0.932 0.00 0.00 0.98 0.02
#> GSM1658020     3  0.4948      0.279 0.00 0.00 0.56 0.44
#> GSM1658021     4  0.3172      0.751 0.00 0.00 0.16 0.84
#> GSM1658024     3  0.4079      0.764 0.00 0.18 0.80 0.02
#> GSM1658026     3  0.0707      0.932 0.00 0.00 0.98 0.02
#> GSM1658027     3  0.3525      0.844 0.10 0.00 0.86 0.04
#> GSM1658029     4  0.0707      0.924 0.02 0.00 0.00 0.98
#> GSM1658031     3  0.0000      0.939 0.00 0.00 1.00 0.00
#> GSM1658043     4  0.0707      0.924 0.02 0.00 0.00 0.98
#> GSM1658045     3  0.1211      0.923 0.00 0.00 0.96 0.04
#> GSM1658048     1  0.3247      0.850 0.88 0.06 0.06 0.00
#> GSM1658050     1  0.2011      0.901 0.92 0.00 0.00 0.08
#> GSM1658051     4  0.2345      0.865 0.10 0.00 0.00 0.90
#> GSM1658054     1  0.0707      0.941 0.98 0.00 0.00 0.02
#> GSM1658056     1  0.1211      0.932 0.96 0.00 0.00 0.04
#> GSM1658059     1  0.0000      0.947 1.00 0.00 0.00 0.00
#> GSM1658061     1  0.0000      0.947 1.00 0.00 0.00 0.00
#> GSM1658064     1  0.4406      0.576 0.70 0.00 0.00 0.30
#> GSM1658065     1  0.0000      0.947 1.00 0.00 0.00 0.00
#> GSM1658066     1  0.0000      0.947 1.00 0.00 0.00 0.00
#> GSM1658067     4  0.4624      0.471 0.34 0.00 0.00 0.66
#> GSM1658068     1  0.0000      0.947 1.00 0.00 0.00 0.00
#> GSM1658069     1  0.0000      0.947 1.00 0.00 0.00 0.00
#> GSM1658071     1  0.1637      0.919 0.94 0.00 0.00 0.06
#> GSM1658072     1  0.0000      0.947 1.00 0.00 0.00 0.00
#> GSM1658073     4  0.0707      0.924 0.02 0.00 0.00 0.98
#> GSM1658078     4  0.0707      0.924 0.02 0.00 0.00 0.98
#> GSM1658079     4  0.0707      0.924 0.02 0.00 0.00 0.98
#> GSM1658081     3  0.1211      0.917 0.04 0.00 0.96 0.00
#> GSM1658082     1  0.0707      0.941 0.98 0.00 0.00 0.02
#> GSM1658130     2  0.0000      1.000 0.00 1.00 0.00 0.00
#> GSM1658133     2  0.0000      1.000 0.00 1.00 0.00 0.00
#> GSM1658142     2  0.0000      1.000 0.00 1.00 0.00 0.00
#> GSM1658159     2  0.0000      1.000 0.00 1.00 0.00 0.00
#> GSM1658161     2  0.0000      1.000 0.00 1.00 0.00 0.00
#> GSM1658168     3  0.2647      0.851 0.00 0.00 0.88 0.12
#> GSM1658174     3  0.0000      0.939 0.00 0.00 1.00 0.00
#> GSM1658178     2  0.0000      1.000 0.00 1.00 0.00 0.00
#> GSM1658183     2  0.0000      1.000 0.00 1.00 0.00 0.00
#> GSM1658184     3  0.0000      0.939 0.00 0.00 1.00 0.00
#> GSM1658201     3  0.0000      0.939 0.00 0.00 1.00 0.00
#> GSM1658213     2  0.0000      1.000 0.00 1.00 0.00 0.00
#> GSM1658215     2  0.0000      1.000 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-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

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

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.

Signature heatmaps where rows are scaled:

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

Signature heatmaps where rows are not scaled:

get_signatures(res, k = 2, scale_rows = FALSE)

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

get_signatures(res, k = 3, scale_rows = FALSE)

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

get_signatures(res, k = 4, scale_rows = FALSE)

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

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

Following heatmap shows how subgroups are split when increasing k:

collect_classes(res)

plot of chunk node-03-collect-classes

Test correlation between subgroups and known annotations. If the known annotation is numeric, one-way ANOVA test is applied, and if the known annotation is discrete, chi-squared contingency table test is applied.

test_to_known_factors(res)
#>             n_sample age(p-value) cell.type(p-value) k
#> ATC:skmeans       52     2.53e-06           8.08e-09 2
#> ATC:skmeans       51     1.97e-08           7.48e-07 3
#> ATC:skmeans       50     6.04e-08           1.29e-05 4

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      parallel  stats4    stats     graphics  grDevices utils     datasets  methods  
#> [10] base     
#> 
#> other attached packages:
#>  [1] genefilter_1.74.0           ComplexHeatmap_2.8.0        markdown_1.1               
#>  [4] knitr_1.33                  scRNAseq_2.6.1              SingleCellExperiment_1.14.1
#>  [7] SummarizedExperiment_1.22.0 Biobase_2.52.0              GenomicRanges_1.44.0       
#> [10] GenomeInfoDb_1.28.1         IRanges_2.26.0              S4Vectors_0.30.0           
#> [13] BiocGenerics_0.38.0         MatrixGenerics_1.4.0        matrixStats_0.59.0         
#> [16] cola_1.9.4                 
#> 
#> loaded via a namespace (and not attached):
#>   [1] circlize_0.4.13               AnnotationHub_3.0.1           BiocFileCache_2.0.0          
#>   [4] lazyeval_0.2.2                polylabelr_0.2.0              splines_4.1.0                
#>   [7] Polychrome_1.3.1              BiocParallel_1.26.1           ggplot2_3.3.5                
#>  [10] digest_0.6.27                 foreach_1.5.1                 ensembldb_2.16.3             
#>  [13] htmltools_0.5.1.1             viridis_0.6.1                 fansi_0.5.0                  
#>  [16] magrittr_2.0.1                memoise_2.0.0                 cluster_2.1.2                
#>  [19] doParallel_1.0.16             Biostrings_2.60.1             annotate_1.70.0              
#>  [22] askpass_1.1                   prettyunits_1.1.1             colorspace_2.0-2             
#>  [25] blob_1.2.1                    rappdirs_0.3.3                xfun_0.24                    
#>  [28] dplyr_1.0.7                   crayon_1.4.1                  RCurl_1.98-1.3               
#>  [31] microbenchmark_1.4-7          jsonlite_1.7.2                impute_1.66.0                
#>  [34] brew_1.0-6                    survival_3.2-11               iterators_1.0.13             
#>  [37] glue_1.4.2                    polyclip_1.10-0               gtable_0.3.0                 
#>  [40] zlibbioc_1.38.0               XVector_0.32.0                GetoptLong_1.0.5             
#>  [43] DelayedArray_0.18.0           shape_1.4.6                   scales_1.1.1                 
#>  [46] data.tree_1.0.0               DBI_1.1.1                     Rcpp_1.0.7                   
#>  [49] viridisLite_0.4.0             xtable_1.8-4                  progress_1.2.2               
#>  [52] clue_0.3-59                   reticulate_1.20               bit_4.0.4                    
#>  [55] mclust_5.4.7                  umap_0.2.7.0                  httr_1.4.2                   
#>  [58] RColorBrewer_1.1-2            ellipsis_0.3.2                pkgconfig_2.0.3              
#>  [61] XML_3.99-0.6                  dbplyr_2.1.1                  utf8_1.2.1                   
#>  [64] tidyselect_1.1.1              rlang_0.4.11                  later_1.2.0                  
#>  [67] AnnotationDbi_1.54.1          munsell_0.5.0                 BiocVersion_3.13.1           
#>  [70] tools_4.1.0                   cachem_1.0.5                  generics_0.1.0               
#>  [73] RSQLite_2.2.7                 ExperimentHub_2.0.0           evaluate_0.14                
#>  [76] stringr_1.4.0                 fastmap_1.1.0                 yaml_2.2.1                   
#>  [79] bit64_4.0.5                   purrr_0.3.4                   dendextend_1.15.1            
#>  [82] KEGGREST_1.32.0               AnnotationFilter_1.16.0       mime_0.11                    
#>  [85] slam_0.1-48                   xml2_1.3.2                    biomaRt_2.48.2               
#>  [88] compiler_4.1.0                rstudioapi_0.13               filelock_1.0.2               
#>  [91] curl_4.3.2                    png_0.1-7                     interactiveDisplayBase_1.30.0
#>  [94] tibble_3.1.2                  stringi_1.7.3                 highr_0.9                    
#>  [97] GenomicFeatures_1.44.0        RSpectra_0.16-0               lattice_0.20-44              
#> [100] ProtGenerics_1.24.0           Matrix_1.3-4                  vctrs_0.3.8                  
#> [103] pillar_1.6.1                  lifecycle_1.0.0               BiocManager_1.30.16          
#> [106] eulerr_6.1.0                  GlobalOptions_0.1.2           bitops_1.0-7                 
#> [109] irlba_2.3.3                   httpuv_1.6.1                  rtracklayer_1.52.0           
#> [112] R6_2.5.0                      BiocIO_1.2.0                  promises_1.2.0.1             
#> [115] gridExtra_2.3                 codetools_0.2-18              assertthat_0.2.1             
#> [118] openssl_1.4.4                 rjson_0.2.20                  GenomicAlignments_1.28.0     
#> [121] Rsamtools_2.8.0               GenomeInfoDbData_1.2.6        hms_1.1.0                    
#> [124] skmeans_0.2-13                Cairo_1.5-12.2                scatterplot3d_0.3-41         
#> [127] shiny_1.6.0                   restfulr_0.0.13