Learn R Programming

groHMM (version 1.6.0)

readBed: readBed Returns a GenomicRanges object constrcuted from the specified bed file.

Description

Bed file format is assumed to be either four column: seqnames, start, end, strand columns; or six column: seqnames, start, end, name, score, and strand. Three column format is also possible when there is no strand information.

Usage

readBed(file, ...)

Arguments

file
Path to the input file.
...
Extra argument passed to read.table

Value

Returns GRanges object representing mapped reads.

Details

Any additional arguments availiable to read.table can be specified.