Description Usage Arguments Value Examples
Use ggplot2 to generate Histograms input data and display the summary statistics next to the plot.
1 | rnalab_hist_plot(data, vars, nbins)
|
data |
Dataset to use for ggplot2 plots |
vars |
A list or vector of variables to plot as the x variable in individual histograms |
nbins |
An integer number of bins to use for all histograms |
A grid graphical object consisting of a ggplot2 histogram with printed summary statistics.
1 2 3 4 | # Plot the distribution and summary stats for a single variable in the dnaseqs data set
rnalab_hist_plot(dnaseqs, 'length', 100)
# Plot the distribution and summary stats for multiple variables in the dnaseqs data set
rnalab_hist_plot(dnaseqs, c('length', 'yield'), 100)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.