Description Usage Arguments Details Value Author(s) Examples
Add line segments to Hilbert curve
1 2 | ## S4 method for signature 'GenomicHilbertCurve'
hc_segments(object, gr, gp = gpar(lty = 1, lwd = 1, col = 1))
|
object |
a |
gr |
a |
gp |
pass to |
It is basically a wrapper of hc_segments,HilbertCurve-method
.
Refer to hc_segments,HilbertCurve-method
Zuguang Gu <z.gu@dkfz.de>
1 2 3 4 5 | require(circlize)
bed = generateRandomBed(nr = 100)
gr = GRanges(seqnames = bed[[1]], ranges = IRanges(bed[[2]], bed[[3]]))
hc = GenomicHilbertCurve()
hc_segments(hc, gr, gp = gpar(col = rand_color(length(gr))))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.