Description Usage Arguments Value Author(s) Examples
Get Column Order from a Aeatmap List
1 2 | ## S4 method for signature 'Heatmap'
column_order(object)
|
object |
A |
The format of the returned object depends on whether rows/columns of the heatmaps are split.
Zuguang Gu <z.gu@dkfz.de>
1 2 3 4 5 6 7 | mat = matrix(rnorm(100), 10)
ht = Heatmap(mat)
ht = draw(ht)
column_order(ht)
ht = Heatmap(mat, column_km = 2)
ht = draw(ht)
column_order(ht)
|
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))
========================================
[1] 4 2 7 8 3 5 6 10 9 1
$`1`
[1] 4 5 6 10 9
$`2`
[1] 2 7 8 3 1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.