fread.bed {ORFik} | R Documentation |
Wraps around rtracklayer::import.bed and tries to speed up loading with the use of data.table. Supports gzip, gz, bgz and bed formats.
fread.bed(filePath)
filePath |
The location of the bed file |
a GRanges object
# path to example CageSeq data from hg19 heart sample cageData <- system.file("extdata", "cage-seq-heart.bed.bgz", package = "ORFik") fread.bed(cageData)