Learn R Programming

sparseBC (version 1.2)

image.sparseBC: Image plot of an object of class sparseBC or matrixBC

Description

This function plots a sparseBC or matrixBC object --- the estimated bicluster mean matrix for the observations and features

Usage

# S3 method for sparseBC
image(x, labelx = TRUE, labely = TRUE, arrangex = FALSE, arrangey = FALSE, …)

Arguments

x

an object of class sparseBC or matrixBC

labelx

label the x-axis with the features number. The default is labelx=TRUE

labely

label the y-axis with the observations number. The default is labely=TRUE

arrangex

Rearrange the features/columns such that they are grouped into their respective clusters for the image plot. The default is arrangex=FALSE

arrangey

Rearrange the observations/rows such that they are grouped into their respective clusters for the image plot. The default is arrangey=FALSE.

additional parameters to be passed to image

Details

This function plots the estimated mean matrix from sparseBC or matrixBC. The columns are the features and the rows are the observations.

References

#

See Also

sparseBC matrixBC summary.sparseBC sparseBC.BIC sparseBC.choosekr

Examples

Run this code
# NOT RUN {
# See example in sparseBC
# }

Run the code above in your browser using DataLab