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
anno_hc_rect(k = 2, fill = NA, colour = "black", size = 2, 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.

fill

the colour of fill.

colour, color

the colour of boder.

size

size of square boder line.

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


shinepreventer/ggcor-hou documentation built on Dec. 23, 2021, 1:23 a.m.