rnb.plot.biseq.coverage.violin: rnb.plot.biseq.coverage.violin

Description Usage Arguments Value Author(s)

View source: R/controlPlotsBiSeq.R

Description

Plots the violin plots of the coverage distribution

Usage

1
2
3
4
5
6
7
8
rnb.plot.biseq.coverage.violin(
  rnbs.set,
  samples,
  fname = NULL,
  type = "sites",
  covg.range = NULL,
  ...
)

Arguments

rnbs.set

RnBiseqSet object

samples

unique sample identifiers. In case rnb.getOption("identifiers.column") is not NULL, samples should attain values from the corresponding column, or colnames(meth(rnb.set)) otherwise

fname

base filename for the files to be plotted. If NULL, the plot will not be written to file

type

character singleton. If site the coverage information is plotted for each methylation site. Otherwise should be one of the regions returned by rnb.region.types

covg.range

Vector of length 2 specifying the range of coverage to be plotted. if NULL (default) the entire range will be plotted

...

other arguments to createReportPlot

Value

plot as an object of type ReportPlot if writeToFile is TRUE and of class ggplot otherwise.

Author(s)

Fabian Mueller


RnBeads documentation built on March 3, 2021, 2 a.m.