numCodons: Get number of codons

Description Usage Arguments Value

Description

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

Usage

1
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


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