Learn R Programming

tidyHeatmap (version 1.8.1)

layer_point: Adds a layers of symbols above the heatmap tiles to a `InputHeatmap`, that on evaluation creates a `ComplexHeatmap`

Description

layer_point() from a `InputHeatmap` object, adds a bar annotation layer.

Usage

layer_point(.data, ...)

# S4 method for InputHeatmap layer_point(.data, ...)

Arguments

.data

A `InputHeatmap`

...

Expressions that return a logical value, and are defined in terms of the variables in .data. If multiple expressions are included, they are combined with the & operator. Only rows for which all conditions evaluate to TRUE are kept.

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

Run this code
# NOT RUN {
library(dplyr)

hm = 
  tidyHeatmap::N52 %>%
  tidyHeatmap::heatmap(
    .row = symbol_ct,
    .column = UBR,
    .value = `read count normalised log`
)

hm %>% layer_point()


# }

Run the code above in your browser using DataLab