create_annot_leg_params: Creates legend paramaters for 'HeatmapAnnotation'

create_annot_leg_paramsR Documentation

Creates legend paramaters for HeatmapAnnotation

Description

The reason I made a function here is that I could never remember how the parameter list is supposed to be formatted. So it's somewhat superfluous except that this is hard to google.

Usage

create_annot_leg_params(
  tit = NULL,
  leg_size = 7.5,
  leg_width = NULL,
  leg_height = NULL,
  font_size = 14,
  direction = "vertical"
)

Arguments

tit

title

leg_size

legend size (in mm)

leg_width

legend width (in mm)

leg_height

legend height (in mm)

font_size

font size

direction

direction of legend (either horizontal or vertical )


lefeverde/QSPpaper documentation built on Jan. 12, 2023, 11:14 a.m.