Description Usage Arguments Value Author(s) Examples
add lines to a new or exsited track
1 | add_lines_track(gr, value, area = FALSE, baseline = "bottom", gp = gpar(), ...)
|
gr |
genomic regions, it can be a data frame or a |
value |
numeric values associated with |
area |
whether draw polygon for the area under the line |
baseline |
baseline for drawing polygon |
gp |
graphic settings, should be specified by |
... |
other arguments passed to |
No value is returned.
Zuguang Gu <z.gu@dkfz.de>
1 2 3 4 5 | require(circlize)
bed = generateRandomBed(200)
gtrellis_layout(n_track = 2, track_ylim = rep(range(bed[[4]]), 2), nrow = 3, byrow = FALSE)
add_lines_track(bed, bed[[4]])
add_lines_track(bed, bed[[4]], area = TRUE, gp = gpar(fill = "grey", col = NA))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.