readBedFile {DEScan2} | R Documentation |
read a bed file into a GenomicRanges like format. forcing UCSC format for chromosomes names.
readBedFile(filename, arePeaks = FALSE)
filename |
the bed filename. |
arePeaks |
a flag indicating if the the bed file represents peaks. |
GRanges object
bedFile <- list.files(system.file("extdata/bed",package="DEScan2"), full.names=TRUE) gr <- readBedFile(bedFile)