rnb.plot.biseq.coverage.hist {RnBeads} | R Documentation

## rnb.plot.biseq.coverage.hist

### Description

Plots the histograms of the coverage

### Usage

    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 `TRUE`substitute 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

[Package RnBeads version 2.4.0 Index]