covBars_buildMain {GenVisR} | R Documentation |
given a data frame construct a plot to display coverage as percentage bars for a group of samples
covBars_buildMain(data_frame, col, plot_title = NULL, x_lab_size = 12, y_lab_size = 12, facet_lab_size = 10, layers = NULL)
data_frame |
object of class data frame containing columns depth, sample, bp |
col |
vector of colors for the coverage bars |
plot_title |
character string for title of plot |
x_lab_size |
integer specifying the size of the X label |
y_lab_size |
integer specifying the size of the Y label |
facet_lab_size |
integer specifying the size of the faceted labels |
layers |
Additional layers to be plotted, can be a theme but must be a ggplot layer |
ggplot object