readBedFile: readBedFile

Description Usage Arguments Value Examples

View source: R/utilities.R

Description

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

Usage

1
readBedFile(filename, arePeaks = FALSE)

Arguments

filename

the bed filename.

arePeaks

a flag indicating if the the bed file represents peaks.

Value

GRanges object

Examples

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

DEScan2 documentation built on Nov. 8, 2020, 5:01 p.m.