plotNorm2 {prada}R Documentation

Plot fitted bivariate normal distribution.

Description

Plots objects derived from function fitNorm2 in false color represenation.

Usage

plotNorm2(fn, colrange=c("gray82", "blue"), center=TRUE, selection=FALSE,
                      ellipse=FALSE, pch=20, cex=1, col="dens", ...)

Arguments

fn List. Object derived from function fitNorm2
colrange Character vector with valid color identifiers (eg name or RGB values) from which a smooth color palette is derived.
center Logical. Assign center of distribution.
selection Logical. Mark all points beyond selection.
ellipse Logical. Plot area and borders of selection as ellipse.
pch see par
cex see par
col see par or special cases dens for coloring according to density and prob for coloring according to probability.
... further arguments that are passed on to plot.

Details

Produces a scatterplot of paired data showing the densities of the fitted bivariate distribution from function fitNorm in false color representation. Additionally a selection of data points can be highlighted either by marking outliers or by showing its area.

Value

A list containing items p, cov, mu, S (density values for each data pair, resulting object from call to cov.rob, midpoint of distribution, covariance matrix).

Author(s)

Florian Hahne

See Also

fitNorm2, addEllipse

Examples

 sampdat <- readFCS(system.file("extdata",
   "fas-Bcl2-plate323-04-04.A01", package="prada"))
 nfit   <- fitNorm2(exprs(sampdat[,1:2]), scalefac=2)
 plotNorm2(nfit, selection=TRUE, ellipse=TRUE)

[Package prada version 1.12.0 Index]