IsoPlot {IsoGene} | R Documentation |
Plot of the data points and the sample means at each dose
IsoPlot(x, y, type=c("continuous", "ordinal"), add.curve = FALSE)
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 . |
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.
This function produces a plot for a single gene.
Lin et al.
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)