
Compute the total plot height and inter-row margin fraction needed to lay out n_genes faceted boxplots over ncol columns without rows overlapping
Source: R/topgeneboxplot.R
topgeneBoxplotLayout.RdCompute the total plot height and inter-row margin fraction needed to lay
out n_genes faceted boxplots over ncol columns without rows
overlapping
Value
A list with nrows, height (total plot height in
pixels) and vertical_margin (top/bottom margin fraction to pass
to subplot so the gap between rows is
topgeneboxplot_gap_px regardless of height)