fread.bed {ORFik} | R Documentation |
Wraps around import.bed
and
tries to speed up loading with the
use of data.table. Supports gzip, gz, bgz and bed formats.
Also safer chromosome naming with the argument chrStyle
fread.bed(filePath, chrStyle = NULL)
filePath |
The location of the bed file |
chrStyle |
a GRanges object, TxDb, FaFile,
or a |
a GRanges
object
Other utils:
bedToGR()
,
convertToOneBasedRanges()
,
export.bed12()
,
export.wiggle()
,
fimport()
,
findFa()
,
optimizeReads()
,
readBam()
,
readWig()
# path to example CageSeq data from hg19 heart sample cageData <- system.file("extdata", "cage-seq-heart.bed.bgz", package = "ORFik") fread.bed(cageData)