Learn R Programming

HilbertCurve (version 1.2.2)

hc_normal_points-HilbertCurve-method: Add points to the Hilbert curve

Description

Add points to the Hilbert curve

Usage

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

Arguments

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.

Value

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

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.

See Also

hc_points,HilbertCurve-method

Examples

Run this code
# see documentation of hc_points
NULL

Run the code above in your browser using DataLab