boxplotplus2: Box plot of group of values with corresponding jittered...

Description Usage Arguments Value Note Author(s) See Also Examples

Description

This function allows for display a boxplot with jittered points.

Usage

1
2
3
boxplotplus2(x, .jit = 0.25, .las = 1, .ylim, box.col = "lightgrey",
  pt.col = "blue", pt.cex = 0.5, pt.pch = 16, med.line = FALSE,
  med.col = "goldenrod", ...)

Arguments

x

x could be a list of group values or a matrix (each group is a row).

.jit

Amount of jittering noise.

.las

Numeric in 0,1,2,3; the style of axis labels.

.ylim

Range for y axis.

box.col

Color for boxes.

pt.col

Color for groups (jittered points).

pt.cex

A numerical value giving the amount by which plotting jittered points should be magnified relative to the default.

pt.pch

Either an integer specifying a symbol or a single character to be used as the default in plotting jittered points. See points for possible values and their interpretation.

med.line

TRUE if a line should link the median of each group, FALSE otherwise.

med.col

Color of med.line.

...

Additional parameters for boxplot function.

Value

Number of samples in each group.

Note

2.21.2006 - Christos Hatzis, Nuvera Biosciences

Author(s)

Christos Hatzis

See Also

boxplot, jitter

Examples

1
2
3
4
dd <- list("G1"=runif(20), "G2"=rexp(30) * -1.1, "G3"=rnorm(15) * 1.3)
boxplotplus2(x=dd, .las=3, .jit=0.75, .ylim=c(-3,3), pt.cex=0.75,
  pt.col=c(rep("darkred", 20), rep("darkgreen", 30), rep("darkblue", 15)),
  pt.pch=c(0, 9, 17))

genefu documentation built on May 2, 2018, 2:10 a.m.