subsetToFrame: Subset GRanges to get desired frame.

Description Usage Arguments Details Value

View source: R/ranges_helpers.R

Description

Usually used for ORFs to get specific frame (0-2): frame 0, frame 1, frame 2

Usage

1

Arguments

x

A tiled to size of 1 GRanges object

frame

A numeric indicating which frame to extract

Details

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

Value

GRanges object reduced to only first frame


ORFik documentation built on March 27, 2021, 6 p.m.