HeatMap: Heat map

Description Usage Arguments Author(s) See Also

View source: R/HeatMap.r

Description

Produces a heat map of a metabolomics data matrix optionally clustered according to specified methods.

Usage

1
2
3
4
5
6
HeatMap(inputdata, colramp = redgreen(75), 
    scale = c("row", "column", "none"), 
    dendrogram = c("column", "row", "both", "none"),
    distmethod = "euclidean", aggmethod = "complete", 
    margins = c(5, 5), key = TRUE, keysize = 1.5, 
    cexRow = 0.5, ColSideColors = NULL, ...)

Arguments

inputdata

A data frame in the input data format. See metabolomics for details.

colramp

Colours for the image.

scale

A character indicating if the values should be scaled metabolite-wise ("row") or group-wise ("column").

dendrogram

A character indicating whether to draw "none", "row", "column" or "both" dendrograms.

distmethod

The distance measure to be used. This must be one of "euclidean", "maximum", "manhattan", "canberra", "binary" or "minkowski".

aggmethod

The agglomeration method to be used. This should be one of "ward", "single", "complete", "average", "mcquitty", "median" or "centroid".

margins

A numeric vector of length 2 containing the margins for group and metabolite names, respectively.

key

A logical indicating whether a colour key must be drawn.

keysize

A numeric indicating the size of the key.

cexRow

A numeric indicating the size of the metabolite names.

ColSideColors

A character vector indicating the colours different groups.

...

Arguments to be passed on to other methods.

Author(s)

Alysha M De Livera, Jairus B Bowne

See Also

par, heatmap.2.


metabolomics documentation built on May 29, 2017, 3:32 p.m.