plotReadFrequencies: Plotting a Barplot

plotReadFrequenciesR Documentation

Plotting a Barplot

Description

Generates a barplot visualising the abundances of unique read count frequencies.

Usage

plotReadFrequencies(
  BC_dat,
  b = 30,
  bw = NULL,
  show_it = FALSE,
  log = FALSE,
  dens = FALSE
)

Arguments

BC_dat

a BCdat object.

b

an integer value, defining the number of bins. Overridden by bw. Defaults to 30. (see '?ggplot2::geom_histogram')

bw

an integer value, defining the width of the bins.

show_it

a logical vaue. If TRUE, the respective values are printed on the console?

log

a logical vaue. If TRUE, the y-axis will be on a log scale.

dens

a logical vaue. If TRUE, the density of the read frequencies will be plotted.

Value

ggplot2 object

Examples

data(BC_dat)
plotReadFrequencies <- function(BC_dat, b = 10, show_it = TRUE)

genBaRcode documentation built on March 31, 2023, 11:02 p.m.