importFIMO,TabixFile,GRanges-method {TFutils} | R Documentation

## import a FIMO bed-like file@importFrom utils read.delim

### Description

import a FIMO bed-like file@importFrom utils read.delim

### Usage

    ## S4 method for signature 'TabixFile,GRanges'
    importFIMO(src, parms, ...)

    ## S4 method for signature 'character,missing'
    importFIMO(src, parms, ...)

### Arguments

`src` | TabixFile instance
`parms` | a GRanges instance delimiting the import; multiple GRanges can be used
`...` | passed to GenomicRanges::GRanges

### Value

instance of GRanges

### Examples

    if (requireNamespace("Rsamtools")) {
     tf = Rsamtools::TabixFile(system.file("M5946_1/chr1.bed.gz", package="TFutils"))
     importFIMO(tf, GenomicRanges::GRanges("chr1", IRanges::IRanges(1e6,11e6)))
     }

[Package TFutils version 1.4.0 Index]