MAPK.smooth.scatter: smooth scatter using grid raster

Description Usage Arguments Details Author(s) See Also

View source: R/mysmoothScatter.R

Description

This function is a reimplementation of smoothScatter. For nicer graphics output the background image is written by grid.raster. It is recommended to use the smoothScatter function from the graphics package.

Usage

1
2
3
4
5
MAPK.smooth.scatter(x, y, n = 75,
    nrpoints = 100, col = "blue", 
    pch = 20, size = unit(0.3, "char"), cex = 1.2,
    colramp = colorRampPalette(c("white", "blue", "green", "yellow", "red"))(256),
    xlab = "", ylab = "", respect = FALSE)

Arguments

x

x-values.

y

y-values. Has to be the same length as x.

n

nr of bins used for the kernel density estimation.

nrpoints

nrpoints points in the lowest density region will be plotted. This allows the identification of outliers.

col

color of points.

pch

symbol to plot points.

size

The size of the points.

cex

The size of the label text.

colramp

color ramp for the density plot.

xlab,ylab

axis labels.

respect

A logical value indicating if the height and width of the axis scales should respect each other.

Details

Plots a density plot with grid graphics.

Author(s)

Bernd Fischer

See Also

RNAinteractMAPK-package, smoothScatter


Huber-group-EMBL/RNAinteractMAPK documentation built on Dec. 31, 2020, 1:01 p.m.