Learn R Programming

GenVisR (version 1.0.4)

genCov_buildCov: build coverage plot

Description

given data build a coverage plot to represent the data

Usage

genCov_buildCov(data_frame, x_limits = NULL, display_x_axis = TRUE, colour = "blue", plot_type = "point", layers = NULL)

Arguments

data_frame
an object of class data frame containing columns stop and cov
x_limits
vector giving x-axis limits for plot, inferred from data if not specified
display_x_axis
boolean specifying whether to plot x-axis labels
colour
character string specifying the color of the data in the plot
plot_type
character string specifying one of line, bar, or point for data display
layers
additional ggplot2 layers to plot

Value

ggplot object