The figure functions grow the canvas with the number of clocks, modules and
panels they were given, and record the result. tage_fig_size() reads
it back so the same size can be reused for ggsave(), a knitr chunk
(fig.width / fig.height) or a manual tweak.
Arguments
- p
A plot from
tage_clock_forestortage_module_heatmap.
Value
Named numeric vector with width and height in inches,
or NULL when the plot carries no recorded size.
Examples
if (FALSE) { # \dontrun{
p <- tage_clock_forest(results, clocks_meta = clocks,
group_column = "Genotype", reference_group = "WT")
tage_fig_size(p)
} # }