Single Bezier arch with no stems. Anchors live on the same track:
when added inside a seq_track() via %+%, both t0 and t1 are
locked to the parent track.
Usage
seq_arc(
data = NULL,
mapping = NULL,
t0 = NULL,
t1 = NULL,
aesthetics = aes(),
...
)Arguments
- data
Optional
GRangesordata.frame. Falls back to the parent track's data.- mapping
Optional
map().- t0, t1
Track identifiers. Locked to the parent track when added inside a
seq_track().- aesthetics
Optional
aes():color,linewidth,orientation("+"/"-"/"*"),curve("length","equal", or numeric).- ...
Reserved.
Details
data may be a GRanges (with anchor-1 columns in mcols) or a
data.frame (BEDPE-like). map() field names are explicit:
x0,x1required — genomic position of each anchor.
chrom0,chrom1optional for GRanges (default
seqnames(data)); required fordata.frame.y0,y1optional baselines (default
0).heightoptional arch peak height in data-scale units (default
1).