layer-methods: Adds a layers of symbols above the heatmap tiles to a...

Description Usage Arguments Details Value Examples

Description

layer_arrow_up() from a 'InputHeatmap' object, adds a bar annotation layer.

layer_arrow_down() from a 'InputHeatmap' object, adds a bar annotation layer.

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

layer_square() from a 'InputHeatmap' object, adds a bar annotation layer.

layer_diamond() from a 'InputHeatmap' object, adds a bar annotation layer.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
layer_arrow_up(.data, ...)

## S4 method for signature 'InputHeatmap'
layer_arrow_up(.data, ...)

layer_arrow_down(.data, ...)

## S4 method for signature 'InputHeatmap'
layer_arrow_down(.data, ...)

layer_point(.data, ...)

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

layer_square(.data, ...)

## S4 method for signature 'InputHeatmap'
layer_square(.data, ...)

layer_diamond(.data, ...)

## S4 method for signature 'InputHeatmap'
layer_diamond(.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.

Details

\lifecycle

maturing

It uses 'ComplexHeatmap' as visualisation tool.

\lifecycle

maturing

It uses 'ComplexHeatmap' as visualisation tool.

\lifecycle

maturing

It uses 'ComplexHeatmap' as visualisation tool.

\lifecycle

maturing

It uses 'ComplexHeatmap' as visualisation tool.

\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'

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

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

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

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

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

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

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

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

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
library(dplyr)

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

hm %>% layer_arrow_up()



library(dplyr)

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

hm %>% layer_arrow_down()



library(dplyr)

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

hm %>% layer_point()



library(dplyr)

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

hm %>% layer_square()



library(dplyr)

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

hm %>% layer_diamond()

tidyHeatmap documentation built on July 7, 2021, 9:07 a.m.