Convert experiment design into reasonable plot panel layout

design2layout(SE, group_colname = NULL, run_colname = NULL, ...)

Value

list with elements:

  • nrow: number of panel rows

  • ncol: number of panel columns

  • blank_pos: integer vector for blank panels, if any

  • Group_ctm: summary info about the panel layout

  • isamples: character vector indicating order to plot

Details

This function is in development, and is intended for a specific scenario where an experiment design with optional batch/run can be represented in a sensible layout, with appropriate number of panel columns, and number of panel rows.