Draws a filled quadrilateral whose bottom edge spans a region in track
t0 and whose top edge spans a homologous region in track t1. Use to
highlight syntenic blocks, orthologous segments, or otherwise paired
intervals across two stacked tracks.
Usage
seq_synteny(
data = NULL,
mapping = NULL,
t0 = NULL,
t1 = NULL,
aesthetics = aes(),
...
)Arguments
- data
Optional
GRangesordata.frame.- mapping
Optional
map().- t0, t1
Track identifiers. Locked to the parent track when added inside a
seq_track().- aesthetics
Optional
aes():fill/color(fill color),alpha(default0.4),linewidth(border width).- ...
Reserved.
Details
data may be a GRanges or a data.frame. Required map() fields are
x0 and x1; x0_end and x1_end default to one base past x0/x1
when absent. y0 and y1 default to the bottom edge of t0's inner panel
and the top edge of t1's inner panel respectively — no scale conversion is
applied in that case.