hc_text-GenomicHilbertCurve-method.Rd
Add text to Hilbert curve
a GenomicHilbertCurve-class
object
a GRanges
object which contains the genomic regions to be mapped to the curve
pass to hc_text,HilbertCurve-method
pass to hc_text,HilbertCurve-method
how to define the "center" of the interval represented in Hilbert curve. Pass to hc_text,HilbertCurve-method
.
pass to hc_text,HilbertCurve-method
It is basically a wrapper of hc_text,HilbertCurve-method
.
Refer to hc_text,HilbertCurve-method
require(circlize)
require(GenomicRanges)
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))