covPlot: Coverage plot

covPlotR Documentation

Coverage plot

Description

Generates coverage plots of all subject datasets and stores them as a list, that can be accessed by metadata(OGREDataSet)$covPlot

Usage

covPlot(
  OGREDataSet,
  datasets = names(OGREDataSet)[seq(2, length(OGREDataSet))],
  nbin = 100
)

Arguments

OGREDataSet

An OGREDataSet

datasets

character vector of subject dataset names. Default: Generates a coverage plots for all subjects

nbin

Number of bins

Value

OGREDataSet.

Examples

myOGRE <- makeExampleOGREDataSet()
myOGRE <- loadAnnotations(myOGRE)
myOGRE <- fOverlaps(myOGRE)
myOGRE <- covPlot(myOGRE)
metadata(myOGRE)$covPlot

svenbioinf/OGRE documentation built on Jan. 30, 2023, 10:55 p.m.