HilbertCurve-class.Rd
The HilbertCurve class
Hilbert curve (https://en.wikipedia.org/wiki/Hilbert_curve ) is a type of space-filling curves that folds one-dimensional axis into a two-dimensional space, but still keeps the locality. It has advantages to visualize data with long axis with high resolution.
This package aims to provide an easy and flexible way to visualize data through Hilbert curve. The implementation and example figures are based on following sources:
The HilbertCurve-class
provides following methods:
HilbertCurve
: constructor method;
hc_points,HilbertCurve-method
: add points;
hc_segments,HilbertCurve-method
: add lines;
hc_rect,HilbertCurve-method
: add rectangles;
hc_polygon,HilbertCurve-method
: add polygons;
hc_text,HilbertCurve-method
: add text;
hc_layer,HilbertCurve-method
: add layers, works under "pixel" mode;
hc_png,HilbertCurve-method
: save plot as PNG format, works under "pixel" mode.
The GenomicHilbertCurve-class
inherits HilbertCurve-class
and is designed specifically for handling genomic data.
NULL
#> NULL