Learn R Programming

plsgenomics (version 1.5)

matrix.heatmap: Heatmap visualization for matrix

Description

Visualization of matrix entries in heatmap format, the color scale depends on the numerical values.

Usage

matrix.heatmap(mat, ...)

Arguments

mat

the matrix to visualize

...

any argument that could be pass to the functions image.plot or image.

Value

No return, just plot the heatmap in the current graphic window.

Details

The function matrix.heatmap is a wrapper for the function image.plot from the 'fields' package.

See Also

logit.spls, stability.selection, stability.selection.heatmap

Examples

Run this code
# NOT RUN {
### load plsgenomics library
library(plsgenomics)

### generate a matrix
A = matrix(runif(10*10), ncol=10)

### heatmap of estimated probabilities
matrix.heatmap(A)

# }

Run the code above in your browser using DataLab