Description Usage Arguments Value
View source: R/plottingAndStats.R
Uses metadata DataFrame to plot the distribution of reads in ggplot. Can plot read quality in stacked bars, manipulate the width of bins.
1 2 3 4 5 6 7 8 9 10 11 |
df |
DataFrame of read metadata |
bin.num |
Number of Bins |
plotQual |
TRUE or FALSE, default FALSE, plot quality distribution as fill |
qual.bins |
a vector of quality cutoffs for use with plotQual |
binWidth |
the width of each bar in b |
barColor |
the name or hex string of a color if not plotting quality |
barColorRamp |
a vector of rcolors to be used when mapping two datasets |
colorMapVar |
name of a column in df to map fill to |
dodgeAdjust |
a number to adjust the spacing of color mapped bars. Default is 10kb. |
a ggplot2 plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.