get_fop | R Documentation |
get_fop
calculates the fraction of optimal codons (Fop) of each CDS.
get_fop(cf, op = NULL, codon_table = get_codon_table(), ...)
cf |
matrix of codon frequencies as calculated by |
op |
a character vector of optimal codons. Can be determined automatically by running
|
codon_table |
a table of genetic code derived from |
... |
other arguments passed to |
a named vector of fop values.
Ikemura T. 1981. Correlation between the abundance of Escherichia coli transfer RNAs and the occurrence of the respective codons in its protein genes: a proposal for a synonymous codon choice that is optimal for the E. coli translational system. J Mol Biol 151:389-409.
# estimate Fop of yeast genes
cf_all <- count_codons(yeast_cds)
fop <- get_fop(cf_all)
head(fop)
hist(fop)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.