% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ORFs_helpers.R
\name{numCodons}
\alias{numCodons}
\title{Get number of codons}
\usage{
numCodons(grl, as.integer = TRUE, keep.names = FALSE)
}
\arguments{
\item{grl}{a \code{\link{GRangesList}} object}

\item{as.integer}{a logical (TRUE), remove stub codons}

\item{keep.names}{a logical (FALSE)}
}
\value{
an integer vector
}
\description{
Choose only whole codons, or with stubs.
But usually there are no ORFs that are 17 bases etc.
}
