importFIMO,TabixFile,GRanges-method {TFutils} | R Documentation |
import a FIMO bed-like file
## S4 method for signature 'TabixFile,GRanges' importFIMO(src, parms, ...) ## S4 method for signature 'character,missing' importFIMO(src, parms, ...)
src |
TabixFile instance |
parms |
a GRanges instance delimiting the import; multiple GRanges can be used |
... |
passed to GenomicRanges::GRanges |
instance of GRanges
if (requireNamespace("Rsamtools")) { tf = Rsamtools::TabixFile(system.file("M5946_1/chr1.bed.gz", package="TFutils")) importFIMO(tf, GenomicRanges::GRanges("chr1", IRanges::IRanges(1e6,11e6))) }