Description Usage Arguments Details Value Author(s) Examples
Add text to Hilbert curve
1 2 3 |
object |
A |
ir |
an |
labels |
text corresponding to intervals in |
x1 |
if start positions are not integers, they can be set by |
x2 |
if end positions are not integers, they can be set by |
gp |
graphic parameters for text. It should be specified by |
centered_by |
how to define the "center" of the interval represented in Hilbert curve. See Details section. |
... |
pass to |
If centered_by == "interval"
, the text is added correspoding to the middle of each interval in ir
,
while if centered_by == "polygon"
, the text is put in the visual center of the polygon of the interval
in the Hilbert curve.
A data frame which contains coordinates (in the 2D space) of text.
Zuguang Gu <z.gu@dkfz.de>
1 2 3 4 5 6 7 8 9 10 |
Loading required package: grid
Loading required package: IRanges
Loading required package: BiocGenerics
Loading required package: parallel
Attaching package: 'BiocGenerics'
The following objects are masked from 'package:parallel':
clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
clusterExport, clusterMap, parApply, parCapply, parLapply,
parLapplyLB, parRapply, parSapply, parSapplyLB
The following objects are masked from 'package:stats':
IQR, mad, sd, var, xtabs
The following objects are masked from 'package:base':
Filter, Find, Map, Position, Reduce, anyDuplicated, append,
as.data.frame, basename, cbind, colMeans, colSums, colnames,
dirname, do.call, duplicated, eval, evalq, get, grep, grepl,
intersect, is.unsorted, lapply, lengths, mapply, match, mget,
order, paste, pmax, pmax.int, pmin, pmin.int, rank, rbind,
rowMeans, rowSums, rownames, sapply, setdiff, sort, table, tapply,
union, unique, unsplit, which, which.max, which.min
Loading required package: S4Vectors
Loading required package: stats4
Attaching package: 'S4Vectors'
The following object is masked from 'package:base':
expand.grid
Loading required package: GenomicRanges
Loading required package: GenomeInfoDb
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.