add_line: Adds a line annotation layer to a `InputHeatmap`, that on evaluation creates a `ComplexHeatmap`
Description
add_line() from a `InputHeatmap` object, adds a line annotation layer.
Usage
add_line(.data, .column, palette = NULL)
Arguments
.data
A `tbl_df` formatted as | <ELEMENT> | <FEATURE> | <VALUE> | <...> |
.column
Vector of quotes
palette
A character vector of colors This is the list of palettes that will be used for horizontal and vertical discrete annotations. The discrete classification of annotations depends on the column type of your input tibble (e.g., character and factor).
Value
A `InputHeatmap` object that gets evaluated to a `ComplexHeatmap`