get_codon_table | R Documentation |
get_codon_table
creates a standardized codon table based on genetic
codes cataloged by NCBI. This function provides the mapping between codons
and amino acids for different organisms and organelles, which is essential
for accurate codon usage analysis.
get_codon_table(gcid = "1")
gcid |
A character string specifying the NCBI genetic code ID. Use
|
A data.table with four columns:
aa_code
: Single-letter amino acid code
amino_acid
: Three-letter amino acid abbreviation
codon
: Three-nucleotide codon sequence
subfam
: Codon subfamily identifier (amino_acid_XY format)
# Standard genetic code (used by most organisms)
standard_code <- get_codon_table()
head(standard_code)
# Vertebrate mitochondrial genetic code
mito_code <- get_codon_table(gcid = '2')
head(mito_code)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.