Produce a scatterplot that shows density with color and is annotated by the correlation, MSE, and regression line.
verboseIplot(
x, y,
xlim = NA, ylim = NA,
nBinsX = 150, nBinsY = 150,
ztransf = function(x) {x}, gamma = 1,
sample = NULL, corFnc = "cor", corOptions = "use = 'p'",
main = "", xlab = NA, ylab = NA, cex = 1,
cex.axis = 1.5, cex.lab = 1.5, cex.main = 1.5,
abline = FALSE, abline.color = 1, abline.lty = 1,
corLabel = corFnc, showMSE = TRUE, ...)
If sample above is given, the indices of the plotted points are returned invisibly.
numerical vector to be plotted along the x axis.
numerical vector to be plotted along the y axis.
define the range in x axis
define the range in y axis
number of bins along the x axis
number of bins along the y axis
Function to transform the number of counts per pixel, which will be mapped by the function in colramp to well defined colors. The user has to make sure that the transformed density lies in the range [0,zmax], where zmax is any positive number (>=2).
color correction power
either a number of points to be sampled or a vector of indices input x
and y
for points to be plotted. Useful when the input vectors are large and plotting all points is not practical.
character string giving the correlation function to annotate the plot.
character string giving further options to the correlation function.
main title for the plot.
label for the x-axis.
label for the y-axis.
character expansion factor for plot annotations.
character expansion factor for axis annotations.
character expansion factor for axis labels.
character expansion factor for the main title.
logical: should the linear regression fit line be plotted?
color specification for the fit line.
line type for the fit line.
character string to be used as the label for the correlation value printed in the main title.
logical: should the MSE be added to the main title?
other arguments to the function plot.
Chaochao Cai, Steve Horvath
Irrespective of the specified correlation function, the MSE is always calculated based on the residuals of a linear model.
image for more parameters