\name{corplot-methods} \docType{methods} \alias{corplot-methods} \alias{corplot} \title{Array-Array Expression Level Correlation Plot} \description{ A heat map of the array-array Spearman rank correlation coefficients. \emph{Usage} \code{ corplot(x, which = "UnitName", transfo = log2, method = "spearman", col = NULL, names = "namepart", sort = FALSE, reverse = TRUE, bmar = NULL, add.legend = FALSE, ...) } } \arguments{ \item{x}{object of class \code{\link{ExprTreeSet}}.} \item{which}{type of probes to be used, for details see \code{\link{validData}}.} \item{transfo}{a valid function to transform the data, usually \dQuote{log2}, or \dQuote{0}.} \item{method}{a character string indicating which correlation coefficient is to be computed.} \item{col}{vector of colors for plot, length is number of samples.} \item{names}{optional vector of sample names.} \item{sort}{logical, if TRUE the correlation matrix will be sorted decreasingly.} \item{reverse}{logical, if TRUE the correlation matrix will be replaced by \code{1 - cor()}.} \item{bmar}{optional \code{list} for bottom margin and axis label magnification \code{cex.axis}.} \item{add.legend}{logical, if TRUE then a color bar will be drawn.} \item{\dots}{optional arguments to be passed to \code{plot}.} } \details{ Produces a heat map of the array-array Spearman rank correlation coefficients for slot \code{data} for an object of class \code{\link{ExprTreeSet}}. For \code{names=NULL} full column names of slot \code{data} will be displayed while for \code{names="namepart"} column names will be displayed without name extension. If \code{names} is a vector of column names, only these columns will displayed as \code{corplot}. For \code{bmar=NULL} the default list \code{bmar = list(b=6, cex.axis=1.0)} will be used initially. However, both bottom margin and axis label magnification will be adjusted depending on the number of label characters and the number of samples. } \author{Christian Stratowa} \note{ Setting \code{reverse = FALSE} displays the correlation heat map as in package \code{affyQCReport}. } \seealso{\code{\link{plotCorr}}, \code{\link{madplot}}} \keyword{methods}