View source: R/visualizations.R
showGene | R Documentation |
A combined beeswarm / boxplot
showGene(
data,
group,
main = "",
pch = 19,
xlab = "",
ylab = "log2 expression",
las = 2,
pwcol = NULL,
...
)
data |
a vector of numeric values to be plotted |
group |
factor describing the groups |
main |
title of the plot |
pch |
character to plot the points |
xlab, ylab |
x and y axis labels |
las |
see par() |
pwcol |
colors of the points (see beeswarm) |
... |
any additional parameters to be passed to the beeswarm command |
This is just a simple wrapper around the beeswarm() and boxplot() commands.
data(Egambia)
E <- as.matrix(Egambia[,-c(1:3)])
showGene(E["20799",], rep(c("CTRL", "TB"), each=15))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.