top_rows_heatmap-ConsensusPartition-method.Rd
Heatmap of top rows
# S4 method for ConsensusPartition
top_rows_heatmap(object, top_n = min(object@top_n), k = NULL,
anno = get_anno(object), anno_col = get_anno_col(object),
scale_rows = object@scale_rows, ...)
A ConsensusPartition-class
object.
Number of top rows.
Number of subgroups. If it is not specified, it uses the "best k".
A data frame of annotations.
A list of colors (color is defined as a named vector) for the annotations. If anno
is a data frame, anno_col
should be a named list where names correspond to the column names in anno
.
Wether to scale rows.
Pass to top_rows_heatmap,matrix-method
.
No value is returned.
# \donttest{
data(golub_cola)
top_rows_heatmap(golub_cola["ATC:skmeans"])
# }