Learn R Programming

DAPAR (version 1.4.7)

heatmap.DAPAR: This function is inspired from the function heatmap.2 that displays quantitative data in the exprs() table of an object of class MSnSet. For more information, please refer to the help of the heatmap.2 function.

Description

Heatmap inspired by the heatmap.2 function.

Usage

heatmap.DAPAR(x, col = heat.colors(100), srtCol = NULL, labCol = NULL, labRow = NULL, key = TRUE, key.title = NULL, main = NULL, ylab = NULL)

Arguments

x
A dataframe that contains quantitative data.
col
colors used for the image. Defaults to heat colors (heat.colors).
srtCol
angle of column labels, in degrees from horizontal
labCol
character vectors with column labels to use.
labRow
character vectors with row labels to use.
key
logical indicating whether a color-key should be shown.
key.title
main title of the color key. If set to NA no title will be plotted.
main
main title; default to none.
ylab
y-axis title; default to none.

Value

A heatmap

Examples

Run this code
data(testWithoutNA)
qData <- Biobase::exprs(testWithoutNA)
heatmapD(qData)

Run the code above in your browser using DataLab