add_line() from a `InputHeatmap` object, adds a line annotation layer.
add_line(.data, .column, palette = NULL, size = NULL, ...)# S4 method for InputHeatmap
add_line(.data, .column, palette = NULL, size = NULL, ...)
A `tbl_df` formatted as | <ELEMENT> | <FEATURE> | <VALUE> | <...> |
Vector of quotes
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).
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
A `InputHeatmap` object that gets evaluated to a `ComplexHeatmap`
A `InputHeatmap` object that gets evaluated to a `ComplexHeatmap`
maturing
It uses `ComplexHeatmap` as visualisation tool.
# NOT RUN {
library(dplyr)
hm =
tidyHeatmap::N52 %>%
tidyHeatmap::heatmap(
.row = symbol_ct,
.column = UBR,
.value = `read count normalised log`
)
hm %>% add_line()
# }
Run the code above in your browser using DataLab