add_tile() from a `InputHeatmap` object, adds a tile annotation layer.

add_tile(.data, .column, palette = NULL, size = NULL, ...)

# S4 method for InputHeatmap
add_tile(.data, .column, palette = NULL, size = NULL, ...)

Arguments

.data

A `tbl_df` formatted as | <ELEMENT> | <FEATURE> | <VALUE> | <...> |

.column

Vector of quotes

palette

A character vector of colors, or a function such as colorRamp2 (see examples).

size

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 top_annotation or left_annotation of the ComplexHeatmap container

Value

A `InputHeatmap` object that gets evaluated to a `ComplexHeatmap`

A `InputHeatmap` object that gets evaluated to a `ComplexHeatmap`

Details

[Maturing]

It uses `ComplexHeatmap` as visualisation tool.

Examples


print("DEPRECATED") 
#> [1] "DEPRECATED"