powered by
## S3 method for class 'HilbertCurve': hc_segments(object, ir, x1 = NULL, x2 = NULL, gp = gpar(lty = 1, lwd = 1, col = 1))
HilbertCurve-class
IRanges
x1
x2
gpar
linejoin
lineend
hc = HilbertCurve(1, 100, level = 4, reference = TRUE) x = sort(sample(100, 20)) s = x[1:10*2 - 1] e = x[1:10*2] ir = IRanges(s, e) hc_segments(hc, ir)
Run the code above in your browser using DataLab