annotation_bar() from a `InputHeatmap` object, adds a bar annotation layer.
annotation_bar(.data, .column, palette = NULL, size = NULL, ...)# S4 method for InputHeatmap
annotation_bar(.data, .column, palette = NULL, size = NULL, ...)
A `InputHeatmap` object that gets evaluated to a `ComplexHeatmap`
A `InputHeatmap` object that gets evaluated to a `ComplexHeatmap`
a `InputHeatmap` object created calling `tidyHeatmap::heatmap()`
Vector of quotes
A character vector of colors, or a function such as colorRamp2 (see examples).
A grid::unit object, e.g. unit(2, "cm"). This is the height or width of the annotation depending on the orientation.
The arguments that will be passed to
anno_barplot
and
HeatmapAnnotation
if you want to fine tune the aesthetics.
lifecycle::badge("maturing")
It uses `ComplexHeatmap` as visualisation tool.
Mangiola, S. and Papenfuss, A.T., 2020. "tidyHeatmap: an R package for modular heatmap production based on tidy principles." Journal of Open Source Software. doi:10.21105/joss.02472.
hm =
tidyHeatmap::N52 |>
tidyHeatmap::heatmap(
.row = symbol_ct,
.column = UBR,
.value = `read count normalised log`
)
hm |> annotation_bar(inflection)
Run the code above in your browser using DataLab