hc_polygon-GenomicHilbertCurve-method | R Documentation |
Add text to Hilbert curve
## S4 method for signature 'GenomicHilbertCurve'
hc_polygon(object, gr, gp = gpar(),
end_type = c("average", "expanding", "shrinking"))
object |
a |
gr |
a |
gp |
pass to |
end_type |
pass to |
It is basically a wrapper of hc_polygon,HilbertCurve-method
.
Refer to hc_polygon,HilbertCurve-method
Zuguang Gu <z.gu@dkfz.de>
require(circlize)
require(GenomicRanges)
bed = generateRandomBed(nr = 20)
gr = GRanges(seqnames = bed[[1]], ranges = IRanges(bed[[2]], bed[[3]]))
hc = GenomicHilbertCurve()
hc_polygon(hc, gr)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.