ggHeat: Plots a heatmap using ggplot2

View source: R/swne_plotting.R

ggHeatR Documentation

Plots a heatmap using ggplot2

Description

Plots a heatmap using ggplot2

Usage

ggHeat(
  m,
  rescaling = "none",
  clustering = "none",
  labCol = T,
  labRow = T,
  border = F,
  heatscale = c(low = "skyblue", mid = "white", high = "tomato"),
  legend.title = NULL,
  x.lab.size = 10,
  y.lab.size = 10,
  dot.highlight.cutoff = Inf
)

Arguments

m

Matrix to plot heatmap for

rescaling

Scale by row or columns

clustering

Cluster by row or columns

labCol

Label columns

labRow

Label rows

border

Plot heatmap border

heatscale

Color map

legend.title

Title of heatmap legend

x.lab.size

x label size

y.lab.size

y label size

dot.highlight.cutoff

Heatmap cells above this value will be highlighted with a dot

Value

ggplot2 heatmap


yanwu2014/swne documentation built on Aug. 5, 2023, 4:42 a.m.