readBed {groHMM} | R Documentation

## 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

### Details

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

### Value

Returns GRanges object representing mapped reads.

### Author(s)

Minho Chae and Charles G. Danko.

[Package groHMM version 1.18.0 Index]