Add points to the Hilbert curve

# S4 method for HilbertCurve
hc_normal_points(object, ir = NULL, x1 = NULL, x2 = x1, gp = gpar(),
    pch = 1, size = unit(1, "char"))

Arguments

object

A HilbertCurve-class object.

ir

an IRanges object which specifies the input intervals.

x1

if start positions are not integers, they can be set by x1.

x2

if end positions are not integers, they can be set by x2.

size

size of the points. It should be a unit object, pass to grid.points.

pch

shape of points, pass to grid.points.

gp

graphic parameters for points. It should be specified by gpar.

Details

Points are added at the middle of the intervals in ir (or x1 and x2), so there is only one point for each interval.

This function is used internally. Please use hc_points,HilbertCurve-method instead.

Value

A data frame which contains coordinates (in the 2D space) of points.

Author

Zuguang Gu <z.gu@dkfz.de>

Examples

# see documentation of hc_points
NULL
#> NULL