heat_numbers: Aesthetic settings for drawing numbers on heatmap tiles

View source: R/heatmaps.R

heat_numbersR Documentation

Aesthetic settings for drawing numbers on heatmap tiles

Description

Works with comp_heatmap() and cor_heatmap(). See the help for those functions.

Usage

heat_numbers(
  decimals = 0,
  fontsize = 7,
  col = "darkgrey",
  fontface = "bold",
  fmt = NULL,
  ...
)

Arguments

decimals

number of decimal places to print

fontsize

fontsize specification,

col

colour of font

fontface

plain, bold, italic

fmt

NULL or number print format, see ?sprintf, overrides decimals arg if set

...

passed to grid::gpar() for grid.text

Value

list


david-barnett/microViz documentation built on April 17, 2025, 4:25 a.m.