hc_polygon-GenomicHilbertCurve-method: Add text to Hilbert curve

hc_polygon-GenomicHilbertCurve-methodR Documentation

Add text to Hilbert curve

Description

Add text to Hilbert curve

Usage

## S4 method for signature 'GenomicHilbertCurve'
hc_polygon(object, gr, gp = gpar(),
    end_type = c("average", "expanding", "shrinking"))

Arguments

object

a GenomicHilbertCurve-class object

gr

a GRanges object which contains the genomic regions to be mapped to the curve

gp

pass to hc_polygon,HilbertCurve-method

end_type

pass to hc_polygon,HilbertCurve-method

Details

It is basically a wrapper of hc_polygon,HilbertCurve-method.

Value

Refer to hc_polygon,HilbertCurve-method

Author(s)

Zuguang Gu <z.gu@dkfz.de>

Examples

require(circlize)
require(GenomicRanges)
bed = generateRandomBed(nr = 20)
gr = GRanges(seqnames = bed[[1]], ranges = IRanges(bed[[2]], bed[[3]]))
hc = GenomicHilbertCurve()
hc_polygon(hc, gr)

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