arrange_poster: Put text and figures into a poster

Description Usage Arguments Value

Description

Empirally, I find one figure best correspond to 12 lines

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
arrange_poster(
  grob_list,
  save_path,
  config_arr,
  plot_width = 7,
  plot_height = 7,
  margin_width = 0.79,
  margin_height = 0.79,
  page_width = NULL,
  page_height = NULL
)

Arguments

grob_list

a named list of objects to plot

save_path

where to save the poster

config_arr

a data.frame with the following columns: label: label for the item that matches the name of the item in grob_list row.order: order of the item along the row row.num: number of rows column.start: from which column the item span starts column.num: number of columns text.style: a string specifying the style of the text, available options are 'fontsize', 'font_fam', 'fontface', 'xpos', 'ypos', 'hjust', 'vjust' and any arguments that pass into grid::grid.text

The function calculate internally: column.end: from which column the item span ends row.start: from which row the item span starts row.end: from which row the item span ends

Value

a saved pdf file


Yutong441/TBdev documentation built on Dec. 18, 2021, 8:22 p.m.