coverageGR: calculate coverage

Description Usage Arguments Value See Also Examples

View source: R/coverageGR.R

Description

calculate coverage for GRanges, GAlignments or GAlignmentPairs

Usage

1

Arguments

gr

an object of RGanges, GAlignments or GAlignmentPairs

Value

an object of GRanges

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)

trackViewer documentation built on Feb. 11, 2021, 2 a.m.