Description Usage Arguments Details Examples
View source: R/HeatmapAnnotation-class.R
Concatenate Heatmap Annotations
1 2 |
... |
|
gap |
Gap between the groups of annotations. |
The heatmap annotations should have same number of observations.
1 2 3 4 5 6 7 | ha1 = HeatmapAnnotation(foo = 1:10)
ha2 = HeatmapAnnotation(bar = anno_points(10:1))
ha = c(ha1, ha2)
ha
ha3 = HeatmapAnnotation(sth = cbind(1:10, 10:1))
ha = c(ha1, ha2, ha3, gap = unit(c(1, 4), "mm"))
ha
|
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))
========================================
A HeatmapAnnotation object with 2 annotations
name: heatmap_annotation_0
position: column
items: 10
width: 1npc
height: 15.3514598035146mm
this object is subsetable
5.13831111111111mm extension on the left
7.11716666666666mm extension on the right
name annotation_type color_mapping height
foo continuous vector random 5mm
bar anno_points() 10mm
A HeatmapAnnotation object with 3 annotations
name: heatmap_annotation_0
position: column
items: 10
width: 1npc
height: 30mm
this object is subsetable
5.13831111111111mm extension on the left
7.11716666666666mm extension on the right
name annotation_type color_mapping height
foo continuous vector random 5mm
bar anno_points() 10mm
sth continuous matrix random 10mm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.