covBars_buildMain {GenVisR} | R Documentation

## Construct coverage cohort plot

### Description

given a data frame construct a plot to display coverage as percentage bars for a group of samples

### Usage

    covBars_buildMain(data_frame, col, plot_title = NULL, x_lab_size = 12,
      y_lab_size = 12, facet_lab_size = 10, layers = NULL)

### Arguments

`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

### Value

ggplot object

[Package GenVisR version 1.8.1 Index]