subset_to_frame {ORFik} | R Documentation

## Subset GRanges to get desired frame. GRanges object should be beforehand tiled to size of 1. This subsetting takes account for strand.

### Description

Subset GRanges to get desired frame. GRanges object should be beforehand tiled to size of 1. This subsetting takes account for strand.

### Usage

    subset_to_frame(x, frame)

### Arguments

`x` | A tiled to size of 1 GRanges object
`frame` | A numeric indicating which frame to extract

### Value

GRanges object reduced to only first frame

[Package ORFik version 1.0.0 Index]