Description Usage Arguments Value input types Author(s) Examples
A 2 panel plot of a sorted numeric vector (from low to
high), and a boxplot on the right. Additionally, a
percentiles axis is added to the top, and a grid is
plotted if do.percentiles=TRUE
. Useful for
plotting gene expression data for determining a cutoff.
1 2 3 4 5 6 7 | comboplot_scatter_boxplot(x, main, xlab, ylab,
do.percentiles, do.layout, ylim, ...)
comboplot_scatter_boxplot.ExpressionSet(x, main = "",
xlab = "Index", ylab = "Expression level (log2)",
do.percentiles = TRUE, do.layout = TRUE,
ylim = range(exprs(x), na.rm = TRUE), ...)
|
x |
a |
main |
see |
xlab |
see |
ylab |
see |
do.percentiles |
logical: if |
do.layout |
logical: if |
ylim |
numeric(2) of the min and max on the y-axis. |
... |
arguments passed to |
nothing.
x
can be a numeric vector
; x
can be
an ExpressionSet
, with >=1 features/genes (1 plot
will be made per feature).
Mark Cowley, 2012-09-12
1 2 3 4 5 | if( interactive() ) {
dat <- rnorm(100)
comboplot_scatter_boxplot(dat)
comboplot_scatter_boxplot(dat, do.percentiles=FALSE)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.