Learn R Programming

Starr (version 1.28.0)

plotScatter: High level scatterplot of experiments

Description

A matrix of pairwise scatterplots is created. The lower panle shows the correlation of the data.

Usage

plotScatter(eSet, density=F, cluster=T, sample=NULL, cex=1)

Arguments

eSet
an ExprssionSet or matrix, containing the data
density
if TRUE, a density scatter plot is plotted. This plot shows the density of the data.
sample
An integer, indicating the number of subsamples to take for the density scatterplot. This is only recommended if the data is very large, as the density computation takes some time.
cluster
if cluster=T, the experiments are clustered and similiar experiments are plotted together.
cex
see ?par

See Also

pairs, densityscatter

Examples

Run this code
##
points <- 10^4
x <- rnorm(points/2)
x <- c(x,x+2.5)
x <- sign(x)*abs(x)^1.3
y <- x + rnorm(points,sd=0.8)
mat <- matrix(c(x,y), ncol=2)
colnames(mat) <- c("a", "b")
plotScatter(mat, density=TRUE)

Run the code above in your browser using DataLab