ACheatmap_hcl: Heatmap of a matrix with hcl palettes.

View source: R/ACutils_export.R

ACheatmap_hclR Documentation

Heatmap of a matrix with hcl palettes.

Description

It plots the heatmap of a given matrix using one of the hcl palettes. It is a quicker version of the more complete function ACheatmap

Usage

ACheatmap_hcl(
  Mat,
  palette.name = "RdGy",
  col.n_breaks = 64,
  use_x11_device = TRUE,
  remove_diag = FALSE,
  main = " ",
  x_label = " ",
  y_label = " ",
  horizontal = TRUE
)

Arguments

Mat

the matrix to be plotted.

palette.name

the name of the hcl palette to be used. See here for possible names https://developer.r-project.org/Blog/public/2019/04/01/hcl-based-color-palettes-in-grdevices/

col.n_breaks

the refinement of the palette.

use_x11_device

boolean, if x11() device has to be activated or not.

remove_diag

boolean, if the diagonal has to be removed or not.

main

the title of the plot.

x_label

the name of the x-axis in the plot.

y_label

the name of the y-axis in the plot.

horizontal

boolean, if the heatmap bar has to be horizontal or not.

Value

this function does not return anything


alessandrocolombi/ACutils documentation built on March 3, 2023, 4:06 a.m.