Learn R Programming

plsgenomics (version 1.5-3)

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, ...)

Value

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

Arguments

mat

the matrix to visualize

...

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

Author

Ghislain Durif (https://gdurif.perso.math.cnrs.fr/).

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
### 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