hc_text-HilbertCurve-method.Rd
Add text to Hilbert curve
A HilbertCurve-class
object.
an IRanges
object that contains positions which correspond to text. The middle point of the interval will be the position of the text.
text corresponding to intervals in ir
.
if start positions are not integers, they can be set by x1
.
if end positions are not integers, they can be set by x2
.
graphic parameters for text. It should be specified by gpar
.
how to define the "center" of the interval represented in Hilbert curve. See Details section.
pass to grid.text
. E.g. you can set text justification by just
here.
If centered_by == "interval"
, the text is added correspoding to the middle of each interval in ir
,
while if centered_by == "polygon"
, the text is put in the visual center of the polygon of the interval
in the Hilbert curve.
A data frame which contains coordinates (in the 2D space) of text.