draw_nonzero_boxplot | R Documentation |
This draws a boxplot, with overlaid data points, of the number of non-zero expressed genes per sample.
draw_nonzero_boxplot(object, position = position_jitter(0.2), alpha = 0.25)
object |
( |
position |
( |
alpha |
( |
The ggplot
object with the boxplot.
# Default boxplot.
result <- hermes_data
draw_nonzero_boxplot(result)
# Reusing the same position for labeling.
library(ggrepel)
pos <- position_jitter(0.5)
draw_nonzero_boxplot(result, position = pos) +
geom_text_repel(aes(label = samples(result)), position = pos)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.