Skip to contents

An internal S7 class that represents a collection of aligned plots along with their layout configuration, titles, tags, and theme. It is primarily used within the ggalign system for plot composition and layout management.

Usage

class_alignpatches(
  plots = list(),
  layout = list(ncol = NULL, nrow = NULL, byrow = TRUE, widths = NA, heights = NA, area =
    NULL, guides = waiver()),
  titles = list(title = NULL, subtitle = NULL, caption = NULL),
  tags = list(tags = waiver(), sep = NULL, prefix = NULL, suffix = NULL),
  theme = NULL
)

Properties

  • plots: A list of plot objects.

  • layout: A list specifying layout options, including:

    • ncol, nrow, byrow: grid layout parameters.

    • widths, heights: relative dimensions of rows/columns.

    • area: custom area specification.

    • guides: guide handling (default: waiver()).

  • titles: A list specifying title options (title, subtitle, caption).

  • tags: A list specifying tag options (tags, sep, prefix, suffix).

  • theme: A theme configuration object.