Description Usage Arguments Details Value Author(s) Examples
Heatmap of top rows from different top-value methods
1 2 3 4 5 | ## 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 to 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>
1 2 3 | set.seed(123)
mat = matrix(rnorm(1000), nrow = 100)
top_rows_heatmap(mat, top_n = 25)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.