Learn R Programming

mixOmics (version 4.1-4)

image: Plot the cross-validation score.

Description

This function provide a image map (checkerboard plot) of the cross-validation score obtained by the estim.regul function.

Usage

## S3 method for class 'estim.regul':
image(x, col = heat.colors, \ldots)

Arguments

x
object returned by estim.regul.
col
a character string specifying the colors function to use: terrain.colors, topo.colors, rainbow<
...
not used currently.

encoding

latin1

Details

image.estim.regul creates an image map of the matrix object$mat containing the cross-validation score obtained by the estim.regul function. Also a color scales strip is plotted.

See Also

estim.regul, image.

Examples

Run this code
data(nutrimouse)
X <- nutrimouse$lipid
Y <- nutrimouse$gene

## this can take some seconds
cv.score <- estim.regul(X, Y, validation = "Mfold", plt = FALSE)
image(cv.score)

Run the code above in your browser using DataLab