calculate coverage

Share:

Description

calculate coverage for GRanges, GAlignments or GAlignmentPairs

Usage

1
coverageGR(gr)

Arguments

gr

an object of RGanges, GAlignments or GAlignmentPairs

Value

an object of GRanges

Author(s)

Jianhong Ou

See Also

See Also as coverage, coverage-methods

Examples

1
2
3
4
    bed <- system.file("extdata", "fox2.bed", package="trackViewer",
                       mustWork=TRUE)
    fox2 <- importScore(bed)
    fox2@dat <- coverageGR(fox2@dat)