optimizeReads {ORFik} | R Documentation

## Find optimized subset of valid reads

### Description

If more than a million reads, keep only the ones that overlap within the grl ranges.

### Usage

    optimizeReads(grl, reads)

### Arguments

`grl` | a `GRangesList` or GRanges object
`reads` | a GRanges or GAlignment object

### Value

the reads as GRanges or GAlignment

### See Also

Other utils: `bedToGR()`, `convertToOneBasedRanges()`, `fimport()`, `findFa()`, `fread.bed()`, `readBam()`, `readWig()`

[Package ORFik version 1.6.9 Index]