hc_segmented_points-HilbertCurve-method {HilbertCurve} | R Documentation |
Add points to the Hilbert curve
## S4 method for signature 'HilbertCurve' hc_segmented_points(object, ir, x1 = NULL, x2 = NULL, gp = gpar(), np = max(c(2, 10 - hc_level(object))), mean_mode = c("w0", "absolute", "weighted"), shape = "circle")
object |
A |
ir |
an |
x1 |
if start positions are not integers, they can be set by |
x2 |
if end positions are not integers, they can be set by |
np |
number of points (a circle or a square, ...) that are put in a segment. |
gp |
graphic parameters for points. It should be specified by |
mean_mode |
when a segment in the curve overlaps with intervals in |
shape |
shape of points. Possible values are "circle", "square", "triangle", "hexagon", "star". |
Every segment on the curve is split by np
points.
This function is used internally, please use hc_points,HilbertCurve-method
directly.
A data frame which contains coordinates (in the 2D space) of points.
Zuguang Gu <z.gu@dkfz.de>
# see documentation of hc_points NULL