readBedFile {DEScan2} | R Documentation

## readBedFile

### Description

read a bed file into a GenomicRanges like format. forcing UCSC format for chromosomes names.

### Usage

    readBedFile(filename, arePeaks = FALSE)

### Arguments

`filename` | the bed filename.
`arePeaks` | a flag indicating if the the bed file represents peaks.

### Value

GRanges object

### Examples

    bedFile <- list.files(system.file("extdata/bed",package="DEScan2"),
                            full.names=TRUE)
    gr <- readBedFile(bedFile)

[Package DEScan2 version 1.2.1 Index]