plotHeatmap: Plot a customized heatmap with a symmetrical scale that is...

Description Usage Arguments Value Author(s)

Description

Plot a customized heatmap with a symmetrical scale that is not stretched by extreme values

Usage

1
2
3
4
plotHeatmap(mat, main = "", lim = Inf, fixedRange = FALSE,
  stripOut = 0.05, col = colorRampPalette(c("deepskyblue", "white",
  "red1")), textCol = "gray10", sig_numbers = 2, show_values = TRUE,
  scale_rows = F)

Arguments

mat

a numeric matrix that should be plotted

main

a character string representing the title to be passed

lim

a single number indicating the maximal range [-lim lim] for the color map

fixedRange

logical indicating whether the range of lim should at all means be kept (ensures comparability with other heatmaps)

stripOut

numeric between [0 1] to determine the range of colors (excluding outliers from distorting the colormap)

col

colorRampPalette object indicating the colormap

textCol

string denoting the color of inset text

sig_numbers

number of significant parameters to display in the heatmap

show_values

Whether the values should be printed in the heatmap boxes or not.

scale_rows

Transforms color code to show differences between columns by formula: x-rowmean/abs(rowmean)

Value

Nothing

Author(s)

Bertram Klinger bertram.klinger@charite.de


MathurinD/STASNet documentation built on May 28, 2019, 1:50 p.m.