Description Usage Arguments Value Author(s)
Plot a customized heatmap with a symmetrical scale that is not stretched by extreme values
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 = FALSE)
|
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) |
Nothing
Bertram Klinger bertram.klinger@charite.de
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.