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

hc_normal_points-HilbertCurve-methodR Documentation

Add points to the Hilbert curve

Description

Add points to the Hilbert curve

Usage

## S4 method for signature '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(s)

Zuguang Gu <z.gu@dkfz.de>

See Also

hc_points,HilbertCurve-method

Examples

# see documentation of hc_points
NULL

jokergoo/HilbertCurve documentation built on Feb. 27, 2024, 6:44 p.m.