anno_bar: Bar and boxplot annotation

Description Usage Arguments Value Author(s)

View source: R/annotation.R

Description

Bar and boxplot annotation

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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
anno_bar(
  data,
  mapping,
  align = TRUE,
  flip = FALSE,
  pos = NULL,
  width = 0.2,
  height = 0.2,
  trans = NULL,
  scale = NULL,
  theme = NULL,
  ...
)

anno_bar2(
  data,
  mapping,
  align = TRUE,
  flip = FALSE,
  pos = NULL,
  width = 0.2,
  height = 0.2,
  trans = NULL,
  scale = NULL,
  theme = NULL,
  ...
)

anno_boxplot(
  data,
  mapping,
  align = TRUE,
  pos = NULL,
  width = 0.2,
  height = 0.2,
  trans = NULL,
  scale = NULL,
  theme = NULL,
  ...
)

Arguments

data

a data frame.

mapping

aesthetic mappings parameters.

align

align base on main plot.

flip

a logical value. If TRUE, the annotation on the left or on the bottom side will be flipped.

pos

position of annotation.

width, height

width and height of annotation.

trans

the name of a transformation object or the object itself.

scale

scale object.

theme

theme object or the name.

...

extra parameters.

Value

a anno_* object.

Author(s)

Houyun Huang, Lei Zhou, Jian Chen, Taiyun Wei


houyunhuang/ggcor documentation built on July 22, 2020, 8:31 p.m.