View source: R/utils_imports.R
fread.bed | 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,
, a |
a GRanges
object
Other utils:
bedToGR()
,
convertToOneBasedRanges()
,
export.bed12()
,
export.bigWig()
,
export.fstwig()
,
export.wiggle()
,
fimport()
,
findFa()
,
optimizeReads()
,
readBam()
,
readBigWig()
,
readWig()
# path to example CageSeq data from hg19 heart sample
cageData <- system.file("extdata", "cage-seq-heart.bed.bgz",
package = "ORFik")
fread.bed(cageData)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.