Description Usage Arguments Value Examples
Get the heatmap positions on the graphic device
1 | ht_pos_on_device(ht_list, unit = "inch", valueOnly = FALSE)
|
ht_list |
A |
unit |
The unit. |
valueOnly |
Whether only return the numeric values. |
It returns a DataFrame
object of the positions of every heatmap slice.
1 2 3 4 5 6 7 8 | if(interactive()) {
m = matrix(rnorm(100), 10)
ht = Heatmap(m, row_km = 2, column_km = 2)
ht = draw(ht)
pos = ht_pos_on_device(ht)
ComplexHeatmap:::redraw_ht_vp(pos)
}
|
Loading required package: grid
========================================
ComplexHeatmap version 2.6.2
Bioconductor page: http://bioconductor.org/packages/ComplexHeatmap/
Github page: https://github.com/jokergoo/ComplexHeatmap
Documentation: http://jokergoo.github.io/ComplexHeatmap-reference
If you use it in published research, please cite:
Gu, Z. Complex heatmaps reveal patterns and correlations in multidimensional
genomic data. Bioinformatics 2016.
This message can be suppressed by:
suppressPackageStartupMessages(library(ComplexHeatmap))
========================================
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.