IsoPlot

Description

Plot of the data points and the sample means at each dose

Usage

1
IsoPlot(x, y, type=c("continuous", "ordinal"), add.curve = FALSE)

Arguments

x

indicates the dose levels

y

is the gene expression for one gene

type

specifies the dose levels to "continuous" or "ordinal". The default is "continous".

add.curve

specifies whether a fitted isotonic regression curve with a likely direction is added or not. The default is FALSE.

Value

Plot of the data points, the sample means for each dose (either as continuous or ordinal), and a fitted isotonic regression curve (optional) is produced.

Note

This function produces a plot for a single gene.

Author(s)

Lin et al.

References

Lin D., Shkedy Z., Yekutieli D., Amaratunga D., and Bijnens, L. (editors). (2012) Modeling Dose-response Microarray Data in Early Drug Development Experiments Using R. Springer.

IsoGene: An R Package for Analyzing Dose-response Studies in Microarray Experiments, Pramana S., Lin D., Haldermans P., Shkedy Z., Verbeke T., De Bondt A., Talloen W., Goehlmann H., Bijnens L. 2010, R Journal 2/1.

Examples

1
2
3
4
  x <- c(rep(1,3), rep(2,3), rep(3,3), rep(4,3))
  y <- c(rnorm(3,1,1), rnorm(3,2,1), rnorm(3,3,1), rnorm(3,4,1))
  IsoPlot(x, y)
  IsoPlot(x, y, type="ordinal", add.curve=TRUE)