collect_classes-ConsensusPartition-method {cola} | R Documentation |
Collect subgroups from ConsensusPartition object
## S4 method for signature 'ConsensusPartition' collect_classes(object, internal = FALSE, show_row_names = FALSE, row_names_gp = gpar(fontsize = 8), anno = object@anno, anno_col = object@anno_col)
object |
A |
internal |
Used internally. |
show_row_names |
Whether to show row names in the heatmap (which is the column name in the original matrix). |
row_names_gp |
Graphics parameters for row names. |
anno |
A data frame of annotations for the original matrix columns. By default it uses the annotations specified in |
anno_col |
A list of colors (color is defined as a named vector) for the annotations. If |
The percent membership matrix and the subgroup labels for each k are plotted in the heatmaps.
Same row in all heatmaps corresponds to the same column in the original matrix.
No value is returned.
Zuguang Gu <z.gu@dkfz.de>
data(golub_cola) collect_classes(golub_cola["ATC", "skmeans"])