readBedFile: readBedFile

View source: R/utilities.R

readBedFileR 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)

drighelli/DEScan2 documentation built on March 21, 2023, 3:06 p.m.