add_point | R Documentation |
add_point() from a 'InputHeatmap' object, adds a point annotation layer.
add_point(.data, .column, palette = NULL, size = NULL, ...) ## S4 method for signature 'InputHeatmap' add_point(.data, .column, palette = NULL, size = NULL, ...)
.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 |
maturing
It uses 'ComplexHeatmap' as visualisation tool.
A 'InputHeatmap' object that gets evaluated to a 'ComplexHeatmap'
A 'InputHeatmap' object that gets evaluated to a 'ComplexHeatmap'
library(dplyr) hm = tidyHeatmap::N52 %>% tidyHeatmap::heatmap( .row = symbol_ct, .column = UBR, .value = `read count normalised log` ) hm %>% add_point(inflection)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.