Description Usage Arguments Details Value Author(s) Examples
Add a new layer to the Hilbert curve
1 2 3 4 | ## S4 method for signature 'GenomicHilbertCurve'
hc_layer(object, gr, col = "red", border = NA,
mean_mode = c("w0", "absolute", "weighted"), grid_line = 0,
grid_line_col = "black", overlay = default_overlay)
|
object |
a |
gr |
a |
col |
a scalar or a vector of colors which correspond to regions in |
border |
a scalar or a vector of colors which correspond to the borders of regions. Set it to |
mean_mode |
Under 'pixel' mode, each pixel represents a small window. This argument provides methods to summarize value for the small window if the input genomic regions can not completely overlap with the window, pass to |
grid_line |
whether add grid lines to show blocks of the Hilber curve, pass to |
grid_line_col |
color for the grid lines, pass to |
overlay |
a self-defined function which defines how to overlay new layer to the plot, pass to |
It is basically a wrapper of hc_layer,HilbertCurve-method
.
Refer to hc_layer,HilbertCurve-method
Zuguang Gu <z.gu@dkfz.de>
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.