add_tile-method: DEPRECATED. Adds a tile annotation layer to a 'InputHeatmap',...

add_tileR Documentation

DEPRECATED. Adds a tile annotation layer to a 'InputHeatmap', that on evaluation creates a 'ComplexHeatmap'

Description

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

Usage

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

## S4 method for signature '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

Details

\lifecycle

maturing

It uses 'ComplexHeatmap' as visualisation tool.

Value

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

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

Source

[Mangiola and Papenfuss., 2020](https://joss.theoj.org/papers/10.21105/joss.02472)

References

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.

Examples


print("DEPRECATED") 


stemangiola/tidyHeatmap documentation built on Nov. 2, 2024, 12:54 p.m.