Create a new seq_plot
Usage
seq_plot(
layout = NULL,
aesthetics = aes(),
show_legend = TRUE,
legend = NULL,
windows = NULL,
plot_margin = 0.02,
highlight_margins = FALSE,
...
)Arguments
- layout
Either NULL (positional layout, default) or a multiline character string defining a patchwork layout. When a layout string is given, track positions are determined entirely by
track_idmatching —directiononseq_track()is ignored.- aesthetics
A SeqAes object from
aes()for plot-wide aesthetics.- show_legend
Logical. Global legend switch — when
FALSEno legend is drawn regardless of element or track settings. DefaultTRUE.- legend
Convenience alias:
legend = FALSEis sugar forshow_legend = FALSE. All other values are ignored.- windows
Optional plot-wide
GRanges. Tracks that do not set their ownwindows(and genomic scales nested in them) inherit from this value.- plot_margin
Numeric. Outermost canvas margin in NPC units (default
0.02). Per-side overrides viaaesthetics = aes(margins = list(top = …, …))still win.- highlight_margins
Logical. When
TRUE, overlay translucent coloured rects on every margin band — a development aid. DefaultFALSE.- ...
Additional arguments reserved for future use.

