plothm: Plot heatmap

Description Usage Arguments Value

View source: R/Plotting.R

Description

This function produce a heatmap plot from a numerical matrix

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
plothm(
  x,
  color = c("royalblue", "firebrick2"),
  gama = 1,
  cex = 1,
  grid = T,
  scale = F,
  scmax = 0,
  box = TRUE,
  ...
)

Arguments

x

Numerical matrix

color

Two character strings vector describing the colors for the heatmap

gama

Number, indicating the exponential transformation for the color scale

cex

Number indicating the magnification factor for the labels

grid

Logical, whether a grid should be ploted

scale

Number between 0 and .9 indicating the proportion of vertical space used to draw the color scale

scmax

Optional number indicating the maximum value to be allowed for the heatmap

box

Logical, whether to draw a box around the plot

...

Additional parameters to pass to the plot function

Value

Nothing, a heatmap is produced in the default output device


fossbert/binilib documentation built on April 23, 2021, 10:31 p.m.