top_rows_heatmap-matrix-method {cola} | R Documentation |
Heatmap of top rows from different top-value methods
## S4 method for signature 'matrix' top_rows_heatmap(object, all_top_value_list = NULL, top_value_method = all_top_value_methods(), bottom_annotation = NULL, top_n = round(0.25*nrow(object)), scale_rows = TRUE)
object |
a numeric matrix. |
all_top_value_list |
top-values that have already been calculated from the matrix. If it is |
top_value_method |
methods defined in |
bottom_annotation |
a |
top_n |
number of top rows to show in the heatmap. |
scale_rows |
whether scale rows. |
The function makes heatmaps where the rows are scaled (or not scaled) for the top n rows from different top-value methods.
The top n rows are used for subgroup classification in cola analysis, so the heatmaps show which top-value method gives better candidate rows for the classification.
No value is returned.
Zuguang Gu <z.gu@dkfz.de>
set.seed(123) mat = matrix(rnorm(1000), nrow = 100) top_rows_heatmap(mat, top_n = 25)