Given the results from
calcWidth, plots a histogram with
plotQTHist( x, EndBarColor = "gray57", MiddleBarColor = "gray27", quantThresh = NULL, bins = NULL, indep = FALSE, numbers = FALSE )
Data values to plot - vector or list of vectors
Color for the quantile bars on both ends of the graph (optional)
Color for the bars in the middle of the graph (optional)
Quantile of data to be contained in each end bar (optional) quantThresh values must be under .2, optimal size is under .1
The number of bins for the histogram to allocate data to. (optional)
logical value which returns a list of plots that have had their bins calculated independently; the normal version will plot them on the same x and y axis.
a logical indicating whether the raw numbers should be displayed, rather than percentages (optional).
A ggplot2 plot object
x-axis breaks for the frequency calculations are based on the "divisions"
results from helper function
regWidths = calcWidth(vistaEnhancers) qtHist = plotQTHist(regWidths) qtHist2 = plotQTHist(regWidths, quantThresh=0.1)