View source: R/swne_plotting.R
ggHeat | R Documentation |
Plots a heatmap using ggplot2
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
)
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 |
ggplot2 heatmap
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.