anno_hc_rect: Square annotation

Description Usage Arguments Details Value Author(s)

View source: R/annotation.R

Description

Draw the cluster square mark on the correlation matrix plot.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
anno_hc_rect(
  k = 2,
  labels = "",
  fill = NA,
  colour = "black",
  size = 2,
  rows = NULL,
  cols = NULL,
  mapping = NULL,
  color
)

anno_hc_bar(
  k = 2,
  fill = NULL,
  size = 0.125,
  pos = "right",
  width = 1,
  height = 1,
  space = 0,
  shift = TRUE
)

Arguments

k

an integer scalar or vector with the desired number of groups.

labels

label of the rect.

fill

the colour of fill.

colour, color

the colour of boder.

size

size of square boder line.

rows, cols

id of rows or columns.

mapping

aesthetic mappings parameters.

pos

position of the bar.

width, height

width or height of the bar.

space

scala numeric value.

shift

logical value.

Details

Square annotation

Value

square layer.

Author(s)

Houyun Huang, Lei Zhou, Jian Chen, Taiyun Wei


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