Heatmap of pairwise adjusted rand indices between solutions
Source:R/heatmaps.R
adjusted_rand_index_heatmap.Rd
Heatmap of pairwise adjusted rand indices between solutions
Usage
adjusted_rand_index_heatmap(
aris,
order = NULL,
cluster_rows = FALSE,
cluster_columns = FALSE,
log_graph = FALSE,
scale_diag = "none",
min_colour = "#282828",
max_colour = "firebrick2",
col = circlize::colorRamp2(c(min(aris), max(aris)), c(min_colour, max_colour)),
...
)
Arguments
- aris
Matrix of adjusted rand indices from
calc_aris()
- order
Numeric vector containing row order of the heatmap.
- cluster_rows
Whether rows should be clustered.
- cluster_columns
Whether columns should be clustered.
- log_graph
If TRUE, log transforms the graph.
- scale_diag
Method of rescaling matrix diagonals. Can be "none" (don't change diagonals), "mean" (replace diagonals with average value of off-diagonals), or "zero" (replace diagonals with 0).
- min_colour
Colour used for the lowest value in the heatmap.
- max_colour
Colour used for the highest value in the heatmap.
- col
Colour ramp to use for the heatmap.
- ...
Additional parameters passed to
similarity_matrix_heatmap()
, the function that this function wraps.