selectOps {CrispRVariants} | R Documentation

## selectOps

### Description

select CIGAR operations in a region of interest.

### Usage

    selectOps(cigar, ...)

    ## S4 method for signature 'character'
    selectOps(cigar, ...,
      ops = GenomicAlignments::CIGAR_OPS, op.regions = NULL, pos = 1L)

### Arguments

`cigar` | CIGAR strings
`...` | Extra arguments (Not currently used)
`ops` | CIGAR operations to consider (Default: all)
`op.regions` | (GRanges) Return operations only in these regions
`pos` | An offset for the cigar ranges

### Value

A GRanges list of opertion locations in reference space with a metadata column for the operation width in query space.

### Author(s)

Helen Lindsay

[Package CrispRVariants version 1.20.0 Index]