Build HeatmapAnnotation with safe parameter merge
Usage
build_heatmap_annotation(
annotations,
which,
show_annotation_name = TRUE,
annotation_name_side = NULL,
border = NULL,
params = NULL
)Arguments
- annotations
Named list of annotation components (for example,
anno_simple,anno_block,anno_customize).- which
Annotation direction (
"row"or"column").- show_annotation_name
Whether to show annotation names.
- annotation_name_side
Side for annotation names.
- border
Whether to draw a rectangle border around the block.
- params
Additional user parameters; duplicated keys are ignored if already set explicitly.
Value
A ComplexHeatmap::HeatmapAnnotation object.