AS_heatmap: Heatmap with top annotation bar

Description Usage Arguments Value Examples

View source: R/AS_heatmap.R

Description

Heatmap with top annotation bar

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
AS_heatmap(
  data,
  col = c("green", "white", "red"),
  col_lim = c(-3, 0, 3),
  reverse = F,
  distance = "euclidean",
  rownames = TRUE,
  colnames = FALSE,
  Hsize = c(12, 6),
  g_legend = "Group",
  h_legend = "Intensity",
  T_size = 10,
  R_size = 7,
  C_size = 5,
  Gcol = c(ASD = "black", HGH = "red", LAC = "blue", LUE = "grey", SDF = "yellow", WEI
    = "green"),
  Title = "Sample Heatmap",
  dend_h = 0.5,
  a_h = 0.2
)

Arguments

data

data inheriting from D_tran

col

colors for heatmap

col_lim

color boundaries c(-3, 0, 3)

reverse

Reverse column and rows

distance

"pearson", "manhattan","euclidean","spearman","kendall"

rownames

rownames

colnames

colnames

Hsize

Width & Height c(a,b)

g_legend

Annotation legend title

h_legend

Heatmap legend title

T_size

Title text size

R_size

row text size

C_size

column text size

Gcol

Color for top_annotation bar c("ASD" = "black","HGH"="red","LAC"="blue","LUE" ="grey","SDF" = "yellow","WEI"="green")

Title

title

dend_h

dendrite height

a_h

top annotation height

Value

Heatmap

Examples

1
2
3
4

CHKim5/LMSstat documentation built on Dec. 17, 2021, 12:55 p.m.