numCodons: Get number of codons

numCodonsR Documentation

Get number of codons

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

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


JokingHero/ORFik documentation built on Dec. 21, 2024, 12:01 a.m.