Learn R Programming

GMD (version 0.3.3)

bedgraph.to.depth: Convert a BedGraph fiel to a vector of depth-like signals

Description

Convert a BedGraph fiel to a vector of depth-like signals

Usage

bedgraph.to.depth(inFpath, chr, start, end, reverse = FALSE)

Arguments

inFpath
character, the path of a bedgraph file
chr
character, the chromosome
start
numeric, the start position (0-base)
end
numeric, the end position
reverse
logical, whether a reverse strand

Value

numeric