Skip to contents

Scales settings matrix values between 0 and 1 and plots as a heatmap. Rows can be reordered to match prior meta clustering results.

Usage

settings_matrix_heatmap(
  settings_matrix,
  order = NULL,
  remove_fixed_columns = TRUE,
  show_column_names = TRUE,
  show_row_names = TRUE,
  rect_gp = grid::gpar(col = "black"),
  colour_breaks = c(0, 1),
  colours = c("black", "darkseagreen"),
  column_split_vector = NULL,
  row_split_vector = NULL,
  column_split = NULL,
  row_split = NULL,
  column_title = NULL,
  ...
)

Arguments

settings_matrix

Matrix indicating parameters to iterate SNF through.

order

Numeric vector indicating row ordering of settings matrix.

remove_fixed_columns

Whether columns that have no variation should be removed.

show_column_names

Whether column names should be shown.

show_row_names

Whether row names should be shown.

rect_gp

Cell border function for ComplexHeatmap::Heatmap.

colour_breaks

Numeric vector of breaks for the legend.

colours

Vector of colours to use for the heatmap. Should match the length of colour_breaks.

column_split_vector

Vector of indices to split columns by.

row_split_vector

Vector of indices to split rows by.

column_split

Standard parameter of ComplexHeatmap::Heatmap.

row_split

Standard parameter of ComplexHeatmap::Heatmap.

column_title

Standard parameter of ComplexHeatmap::Heatmap.

...

Additional parameters passed to ComplexHeatmap::Heatmap.