hc_text-GenomicHilbertCurve-method {HilbertCurve} | R Documentation |
Add text to Hilbert curve
## S4 method for signature 'GenomicHilbertCurve' hc_text(object, gr, labels, gp = gpar(), ...)
object |
a |
gr |
a |
labels |
pass to |
gp |
pass to |
... |
pass to |
It is basically a wrapper of hc_text,HilbertCurve-method
.
Refer to hc_text,HilbertCurve-method
Zuguang Gu <z.gu@dkfz.de>
require(circlize) bed = generateRandomBed(nr = 20) gr = GRanges(seqnames = bed[[1]], ranges = IRanges(bed[[2]], bed[[3]])) hc = GenomicHilbertCurve() hc_text(hc, gr, labels = sample(letters, nrow(bed), replace = TRUE))