rnb.plot.biseq.coverage.hist: rnb.plot.biseq.coverage.hist

Description Usage Arguments Value Author(s)

View source: R/controlPlotsBiSeq.R

Description

Plots the histograms of the coverage

Usage

1
2
3
4
5
6
7
8
9
rnb.plot.biseq.coverage.hist(
  rnbs.set,
  sample,
  type = "sites",
  writeToFile = FALSE,
  numeric.names = FALSE,
  covg.max.percentile = 1,
  ...
)

Arguments

rnbs.set

RnBiseqSet object

sample

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

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

writeToFile

a flag specifying whether the output should be saved as ReportPlot

numeric.names

if TRUE and writeToFile is TRUEsubstitute the plot options in the plot file name with digits

covg.max.percentile

the maximum percentile of the coverage to 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)

Pavlo Lutsik


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