plot_counts | R Documentation |
Plot counts for a single gene
plot_counts(
x,
intgroup,
n = 25,
geom = "jitter",
ylab = "Log2 counts",
reorder,
ncol = NULL,
scales = "fixed",
...
)
x |
a tibble from |
intgroup |
column name in |
n |
total number of genes to plot, default 25 |
geom |
geom type, default jitter or point, boxplot and violin |
ylab |
y-axis label |
reorder |
level names to reorder factor levels on x-axis |
ncol |
number of columsn for facet_wrap |
scales |
scales for facet_wrap, default fixed |
... |
additional options passed to geom_jitter or other geom |
A ggplot
See link{plot_interactions}
to plot many genes.
Chris Stubben
x <- top_counts(pasilla$results, pasilla$rlog, top=12)
plot_counts(x, "condition")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.