Learn R Programming

LSD (version 2.5)

heatmaplot: Heat MA plot

Description

A colored MA plot based on a 2d density computed by kde2d.

Usage

heatmaplot(x, y, pch = 19, cexplot = 0.5, ncol = 30, grid = 100, colpal = "heat", xlim = NULL, ylim = NULL, xlab = "M-values", ylab = "A-values", main = "heatmaplot", cor = FALSE, alpha = NULL, add.contour = FALSE, nlevels = 10, color.contour = "black", add.line = TRUE, color.line = "darkgrey", lwd = 2, greyscale = FALSE, ...)

Arguments

x
x-vector
y
y-vector
pch
plotting character
cexplot
cex of the points
ncol
the number of colors to use
grid
size of the grid ( see kde2d )
colpal
which colorpalette should be chosen ( see disco() )
xlim
xlimits, standard graphics parameter
ylim
ylimits, standard graphics parameter
xlab
xlab, standard graphics parameter
ylab
ylab, standard graphics parameter
main
the title of the plot
cor
should the (spearman) correlation be added to the title
alpha
alpha value for color opacity
add.contour
should the contour lines be added
nlevels
number of levels of the contour lines
color.contour
color of the contour lines
add.line
add horizontal line to the plot
color.line
color of the horizontal line
lwd
lwd, standard graphics parameter
greyscale
should the colorpalette be in greyscales
...
additional parameters to be passed to points and plot

See Also

heatmapairs,heatpairs,LSD.demo.tour

Examples

Run this code
demo.heatmaplot()

Run the code above in your browser using DataLab