Learn R Programming

Starr (version 1.28.0)

plotRatioScatter: Plot ratios of all possible combinations of IP and CONTROL

Description

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

Usage

plotRatioScatter(eSet, ip, control, density=F, sample=NULL, cluster=T, cex=1)

Arguments

eSet
an ExprssionSet or matrix, containing the data
ip
an integer, or boolean vector, that indicates, which columns in the ExpressionSet are IP experiments
control
an integer, or boolean vector, that indicates, which columns in the ExpressionSet are CONTROL or REFERENCE experiments
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)
z <- y*2
mat <- matrix(c(x,y,z), ncol=3)
colnames(mat) <- c("A", "B1", "B2")
plotRatioScatter(mat, c(TRUE, FALSE, FALSE), c(FALSE, TRUE, TRUE), density=TRUE)

Run the code above in your browser using DataLab