hc_points-GenomicHilbertCurve-method.Rd
Add points to the Hilbert curve
a GenomicHilbertCurve-class
object
a GRanges
object which contains the genomic regions to be mapped to the curve
pass to hc_points,HilbertCurve-method
size of points when np <= 1
, pass to hc_points,HilbertCurve-method
shape of the points when np <= 1
, pass to hc_points,HilbertCurve-method
graphic parameters of the points when np <= 1
, pass to hc_points,HilbertCurve-method
pass to hc_points,HilbertCurve-method
shape of the points when np >= 2
, pass to hc_points,HilbertCurve-method
It is basically a wrapper of hc_points,HilbertCurve-method
.
Refer to hc_points,HilbertCurve-method
require(circlize)
require(GenomicRanges)
bed = generateRandomBed(nr = 100)
gr = GRanges(seqnames = bed[[1]], ranges = IRanges(bed[[2]], bed[[3]]))
hc = GenomicHilbertCurve()
hc_points(hc, gr, gp = gpar(fill = rand_color(length(gr))))