readBW: Read data from one BigWig file

Description Usage Arguments Details Value Author(s) Examples

Description

Compute sum score of BigWig file over an input genomic region

Usage

1
readBW(filename, seqname, start, end)

Arguments

filename

filename of the BigWig file.

seqname

chromosome ID.

start

numeric value of start position.

end

numeric value of end position.

Details

'readBW' returns a numeric value which sums scores from the corresponding genomic loci of the BigWig file.

Value

A numeric value of the density scores of the BigWig file.

Author(s)

Qi Wang

Examples

1
data <- readBW(system.file("data", "test.bw", package="irene"),"chr1",100000,123000)

qwang-big/irene documentation built on May 23, 2019, 1:47 p.m.