Computes the lengths, in codons, of all ORFs in a gff.table.
Usage
orfLength(gff.table)
Arguments
gff.table
A gff.table (data.frame) with genomic features information.
Value
A vector of ORF lengths, measured as the number of codons.
Details
Note that the length returned is the number of codons in the ORF, not the number of bases. The number
of bases should be 3 times the length. The number of amino acids should be the length minus 1 (stop codon) if the ORF is
not truncated. See findOrfs for more on gff.tables.