plot_libsize | R Documentation |
It is often useful to have a quick view of which samples have more/fewer reads. This does that and maintains one's favorite color scheme and tries to make it pretty!
plot_libsize(
data,
condition = NULL,
colors = NULL,
text = TRUE,
order = NULL,
plot_title = NULL,
yscale = NULL,
expt_names = NULL,
label_chars = 10,
...
)
data |
Expt, dataframe, or expressionset of samples. |
condition |
Vector of sample condition names. |
colors |
Color scheme if the data is not an expt. |
text |
Add the numeric values inside the top of the bars of the plot? |
order |
Explicitly set the order of samples in the plot? |
plot_title |
Title for the plot. |
yscale |
Whether or not to log10 the y-axis. |
expt_names |
Design column or manually selected names for printing sample names. |
label_chars |
Maximum number of characters before abbreviating sample names. |
... |
More parameters for your good time! |
a ggplot2 bar plot of every sample's size
[ggplot2] [prettyNum] [plot_sample_bars()]
## Not run:
libsize_plot <- plot_libsize(expt = expt)
libsize_plot ## ooo pretty bargraph
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.