Learn R Programming

microseq (version 1.3)

orfLength: ORF lengths

Description

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.

See Also

findOrfs, lorfs.

Examples

Run this code
# NOT RUN {
# See the example in the Help-file for findOrfs.

# }

Run the code above in your browser using DataLab