numCodons {ORFik} | R Documentation

## Get number of codons

### Description

Length of object / 3. Choose either only whole codons, or with stubs. For orfs stubs are not relevant, since there are no correctly defined ORFs that are 17 bases long etc.

### Usage

    numCodons(grl, as.integer = TRUE, keep.names = FALSE)

### Arguments

`grl` | a `GRangesList` object
`as.integer` | a logical (TRUE), remove stub codons
`keep.names` | a logical (FALSE)

### Value

an integer vector

[Package ORFik version 1.6.9 Index]